1. Packages
  2. Packages
  3. AWS
  4. API Docs
  5. lex
  6. V2modelsIntent
Viewing docs for AWS v7.30.0
published on Thursday, May 14, 2026 by Pulumi
aws logo
Viewing docs for AWS v7.30.0
published on Thursday, May 14, 2026 by Pulumi

    Resource for managing an AWS Lex V2 Models Intent.

    Example Usage

    Basic Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as aws from "@pulumi/aws";
    
    const current = aws.getPartition({});
    const test = new aws.iam.Role("test", {
        name: "botens_namn",
        assumeRolePolicy: JSON.stringify({
            Version: "2012-10-17",
            Statement: [{
                Action: "sts:AssumeRole",
                Effect: "Allow",
                Sid: "",
                Principal: {
                    Service: "lexv2.amazonaws.com",
                },
            }],
        }),
    });
    const testRolePolicyAttachment = new aws.iam.RolePolicyAttachment("test", {
        role: test.name,
        policyArn: current.then(current => `arn:${current.partition}:iam::aws:policy/AmazonLexFullAccess`),
    });
    const testV2modelsBot = new aws.lex.V2modelsBot("test", {
        name: "botens_namn",
        idleSessionTtlInSeconds: 60,
        roleArn: test.arn,
        dataPrivacies: [{
            childDirected: true,
        }],
    });
    const testV2modelsBotLocale = new aws.lex.V2modelsBotLocale("test", {
        localeId: "en_US",
        botId: testV2modelsBot.id,
        botVersion: "DRAFT",
        nLuIntentConfidenceThreshold: 0.7,
    });
    const testV2modelsBotVersion = new aws.lex.V2modelsBotVersion("test", {
        botId: testV2modelsBot.id,
        localeSpecification: testV2modelsBotLocale.localeId.apply(localeId => {
            [localeId]: {
                sourceBotVersion: "DRAFT",
            },
        }),
    });
    const example = new aws.lex.V2modelsIntent("example", {
        botId: testV2modelsBot.id,
        botVersion: testV2modelsBotLocale.botVersion,
        name: "botens_namn",
        localeId: testV2modelsBotLocale.localeId,
    });
    
    import pulumi
    import json
    import pulumi_aws as aws
    
    current = aws.get_partition()
    test = aws.iam.Role("test",
        name="botens_namn",
        assume_role_policy=json.dumps({
            "Version": "2012-10-17",
            "Statement": [{
                "Action": "sts:AssumeRole",
                "Effect": "Allow",
                "Sid": "",
                "Principal": {
                    "Service": "lexv2.amazonaws.com",
                },
            }],
        }))
    test_role_policy_attachment = aws.iam.RolePolicyAttachment("test",
        role=test.name,
        policy_arn=f"arn:{current.partition}:iam::aws:policy/AmazonLexFullAccess")
    test_v2models_bot = aws.lex.V2modelsBot("test",
        name="botens_namn",
        idle_session_ttl_in_seconds=60,
        role_arn=test.arn,
        data_privacies=[{
            "child_directed": True,
        }])
    test_v2models_bot_locale = aws.lex.V2modelsBotLocale("test",
        locale_id="en_US",
        bot_id=test_v2models_bot.id,
        bot_version="DRAFT",
        n_lu_intent_confidence_threshold=0.7)
    test_v2models_bot_version = aws.lex.V2modelsBotVersion("test",
        bot_id=test_v2models_bot.id,
        locale_specification=test_v2models_bot_locale.locale_id.apply(lambda locale_id: {
            locale_id: {
                "sourceBotVersion": "DRAFT",
            },
        }))
    example = aws.lex.V2modelsIntent("example",
        bot_id=test_v2models_bot.id,
        bot_version=test_v2models_bot_locale.bot_version,
        name="botens_namn",
        locale_id=test_v2models_bot_locale.locale_id)
    
    package main
    
    import (
    	"encoding/json"
    
    	"github.com/pulumi/pulumi-aws/sdk/v7/go/aws"
    	"github.com/pulumi/pulumi-aws/sdk/v7/go/aws/iam"
    	"github.com/pulumi/pulumi-aws/sdk/v7/go/aws/lex"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    func main() {
    pulumi.Run(func(ctx *pulumi.Context) error {
    current, err := aws.GetPartition(ctx, &aws.GetPartitionArgs{
    }, nil);
    if err != nil {
    return err
    }
    tmpJSON0, err := json.Marshal(map[string]interface{}{
    "Version": "2012-10-17",
    "Statement": []map[string]interface{}{
    map[string]interface{}{
    "Action": "sts:AssumeRole",
    "Effect": "Allow",
    "Sid": "",
    "Principal": map[string]interface{}{
    "Service": "lexv2.amazonaws.com",
    },
    },
    },
    })
    if err != nil {
    return err
    }
    json0 := string(tmpJSON0)
    test, err := iam.NewRole(ctx, "test", &iam.RoleArgs{
    Name: pulumi.String("botens_namn"),
    AssumeRolePolicy: pulumi.String(pulumi.String(json0)),
    })
    if err != nil {
    return err
    }
    _, err = iam.NewRolePolicyAttachment(ctx, "test", &iam.RolePolicyAttachmentArgs{
    Role: test.Name,
    PolicyArn: pulumi.Sprintf("arn:%v:iam::aws:policy/AmazonLexFullAccess", current.Partition),
    })
    if err != nil {
    return err
    }
    testV2modelsBot, err := lex.NewV2modelsBot(ctx, "test", &lex.V2modelsBotArgs{
    Name: pulumi.String("botens_namn"),
    IdleSessionTtlInSeconds: pulumi.Int(60),
    RoleArn: test.Arn,
    DataPrivacies: lex.V2modelsBotDataPrivacyArray{
    &lex.V2modelsBotDataPrivacyArgs{
    ChildDirected: pulumi.Bool(true),
    },
    },
    })
    if err != nil {
    return err
    }
    testV2modelsBotLocale, err := lex.NewV2modelsBotLocale(ctx, "test", &lex.V2modelsBotLocaleArgs{
    LocaleId: pulumi.String("en_US"),
    BotId: testV2modelsBot.ID(),
    BotVersion: pulumi.String("DRAFT"),
    NLuIntentConfidenceThreshold: pulumi.Float64(0.7),
    })
    if err != nil {
    return err
    }
    _, err = lex.NewV2modelsBotVersion(ctx, "test", &lex.V2modelsBotVersionArgs{
    BotId: testV2modelsBot.ID(),
    LocaleSpecification: testV2modelsBotLocale.LocaleId.ApplyT(func(localeId string) (map[string]map[string]interface{}, error) {
    return map[string]map[string]interface{}{
    localeId: map[string]interface{}{
    "sourceBotVersion": "DRAFT",
    },
    }, nil
    }).(pulumi.Map[string]map[string]interface{}Output),
    })
    if err != nil {
    return err
    }
    _, err = lex.NewV2modelsIntent(ctx, "example", &lex.V2modelsIntentArgs{
    BotId: testV2modelsBot.ID(),
    BotVersion: testV2modelsBotLocale.BotVersion,
    Name: pulumi.String("botens_namn"),
    LocaleId: testV2modelsBotLocale.LocaleId,
    })
    if err != nil {
    return err
    }
    return nil
    })
    }
    
    using System.Collections.Generic;
    using System.Linq;
    using System.Text.Json;
    using Pulumi;
    using Aws = Pulumi.Aws;
    
    return await Deployment.RunAsync(() => 
    {
        var current = Aws.GetPartition.Invoke();
    
        var test = new Aws.Iam.Role("test", new()
        {
            Name = "botens_namn",
            AssumeRolePolicy = JsonSerializer.Serialize(new Dictionary<string, object?>
            {
                ["Version"] = "2012-10-17",
                ["Statement"] = new[]
                {
                    new Dictionary<string, object?>
                    {
                        ["Action"] = "sts:AssumeRole",
                        ["Effect"] = "Allow",
                        ["Sid"] = "",
                        ["Principal"] = new Dictionary<string, object?>
                        {
                            ["Service"] = "lexv2.amazonaws.com",
                        },
                    },
                },
            }),
        });
    
        var testRolePolicyAttachment = new Aws.Iam.RolePolicyAttachment("test", new()
        {
            Role = test.Name,
            PolicyArn = $"arn:{current.Apply(getPartitionResult => getPartitionResult.Partition)}:iam::aws:policy/AmazonLexFullAccess",
        });
    
        var testV2modelsBot = new Aws.Lex.V2modelsBot("test", new()
        {
            Name = "botens_namn",
            IdleSessionTtlInSeconds = 60,
            RoleArn = test.Arn,
            DataPrivacies = new[]
            {
                new Aws.Lex.Inputs.V2modelsBotDataPrivacyArgs
                {
                    ChildDirected = true,
                },
            },
        });
    
        var testV2modelsBotLocale = new Aws.Lex.V2modelsBotLocale("test", new()
        {
            LocaleId = "en_US",
            BotId = testV2modelsBot.Id,
            BotVersion = "DRAFT",
            NLuIntentConfidenceThreshold = 0.7,
        });
    
        var testV2modelsBotVersion = new Aws.Lex.V2modelsBotVersion("test", new()
        {
            BotId = testV2modelsBot.Id,
            LocaleSpecification = testV2modelsBotLocale.LocaleId.Apply(localeId => 
            {
                { localeId, 
                {
                    { "sourceBotVersion", "DRAFT" },
                } },
            }),
        });
    
        var example = new Aws.Lex.V2modelsIntent("example", new()
        {
            BotId = testV2modelsBot.Id,
            BotVersion = testV2modelsBotLocale.BotVersion,
            Name = "botens_namn",
            LocaleId = testV2modelsBotLocale.LocaleId,
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.aws.AwsFunctions;
    import com.pulumi.aws.inputs.GetPartitionArgs;
    import com.pulumi.aws.iam.Role;
    import com.pulumi.aws.iam.RoleArgs;
    import com.pulumi.aws.iam.RolePolicyAttachment;
    import com.pulumi.aws.iam.RolePolicyAttachmentArgs;
    import com.pulumi.aws.lex.V2modelsBot;
    import com.pulumi.aws.lex.V2modelsBotArgs;
    import com.pulumi.aws.lex.inputs.V2modelsBotDataPrivacyArgs;
    import com.pulumi.aws.lex.V2modelsBotLocale;
    import com.pulumi.aws.lex.V2modelsBotLocaleArgs;
    import com.pulumi.aws.lex.V2modelsBotVersion;
    import com.pulumi.aws.lex.V2modelsBotVersionArgs;
    import com.pulumi.aws.lex.V2modelsIntent;
    import com.pulumi.aws.lex.V2modelsIntentArgs;
    import static com.pulumi.codegen.internal.Serialization.*;
    import java.util.ArrayList;
    import java.util.Arrays;
    import java.util.Map;
    import java.io.File;
    import java.nio.file.Files;
    import java.nio.file.Paths;
    
    public class App {
        public static void main(String[] args) {
            Pulumi.run(App::stack);
        }
    
        public static void stack(Context ctx) {
            final var current = AwsFunctions.getPartition(GetPartitionArgs.builder()
                .build());
    
            var test = new Role("test", RoleArgs.builder()
                .name("botens_namn")
                .assumeRolePolicy(serializeJson(
                    jsonObject(
                        jsonProperty("Version", "2012-10-17"),
                        jsonProperty("Statement", jsonArray(jsonObject(
                            jsonProperty("Action", "sts:AssumeRole"),
                            jsonProperty("Effect", "Allow"),
                            jsonProperty("Sid", ""),
                            jsonProperty("Principal", jsonObject(
                                jsonProperty("Service", "lexv2.amazonaws.com")
                            ))
                        )))
                    )))
                .build());
    
            var testRolePolicyAttachment = new RolePolicyAttachment("testRolePolicyAttachment", RolePolicyAttachmentArgs.builder()
                .role(test.name())
                .policyArn(String.format("arn:%s:iam::aws:policy/AmazonLexFullAccess", current.partition()))
                .build());
    
            var testV2modelsBot = new V2modelsBot("testV2modelsBot", V2modelsBotArgs.builder()
                .name("botens_namn")
                .idleSessionTtlInSeconds(60)
                .roleArn(test.arn())
                .dataPrivacies(V2modelsBotDataPrivacyArgs.builder()
                    .childDirected(true)
                    .build())
                .build());
    
            var testV2modelsBotLocale = new V2modelsBotLocale("testV2modelsBotLocale", V2modelsBotLocaleArgs.builder()
                .localeId("en_US")
                .botId(testV2modelsBot.id())
                .botVersion("DRAFT")
                .nLuIntentConfidenceThreshold(0.7)
                .build());
    
            var testV2modelsBotVersion = new V2modelsBotVersion("testV2modelsBotVersion", V2modelsBotVersionArgs.builder()
                .botId(testV2modelsBot.id())
                .localeSpecification(testV2modelsBotLocale.localeId().applyValue(_localeId -> Map.of(_localeId, Map.of("sourceBotVersion", "DRAFT"))))
                .build());
    
            var example = new V2modelsIntent("example", V2modelsIntentArgs.builder()
                .botId(testV2modelsBot.id())
                .botVersion(testV2modelsBotLocale.botVersion())
                .name("botens_namn")
                .localeId(testV2modelsBotLocale.localeId())
                .build());
    
        }
    }
    
    resources:
      test:
        type: aws:iam:Role
        properties:
          name: botens_namn
          assumeRolePolicy:
            fn::toJSON:
              Version: 2012-10-17
              Statement:
                - Action: sts:AssumeRole
                  Effect: Allow
                  Sid: ""
                  Principal:
                    Service: lexv2.amazonaws.com
      testRolePolicyAttachment:
        type: aws:iam:RolePolicyAttachment
        name: test
        properties:
          role: ${test.name}
          policyArn: arn:${current.partition}:iam::aws:policy/AmazonLexFullAccess
      testV2modelsBot:
        type: aws:lex:V2modelsBot
        name: test
        properties:
          name: botens_namn
          idleSessionTtlInSeconds: 60
          roleArn: ${test.arn}
          dataPrivacies:
            - childDirected: true
      testV2modelsBotLocale:
        type: aws:lex:V2modelsBotLocale
        name: test
        properties:
          localeId: en_US
          botId: ${testV2modelsBot.id}
          botVersion: DRAFT
          nLuIntentConfidenceThreshold: 0.7
      testV2modelsBotVersion:
        type: aws:lex:V2modelsBotVersion
        name: test
        properties:
          botId: ${testV2modelsBot.id}
          localeSpecification:
            ${testV2modelsBotLocale.localeId}:
              sourceBotVersion: DRAFT
      example:
        type: aws:lex:V2modelsIntent
        properties:
          botId: ${testV2modelsBot.id}
          botVersion: ${testV2modelsBotLocale.botVersion}
          name: botens_namn
          localeId: ${testV2modelsBotLocale.localeId}
    variables:
      current:
        fn::invoke:
          function: aws:getPartition
          arguments: {}
    
    Example coming soon!
    

    confirmationSetting Example

    When using confirmationSetting, if you do not provide a promptAttemptsSpecification, AWS Lex will provide default promptAttemptsSpecifications. As a result, Terraform will report a difference in the configuration. To avoid this behavior, include the default promptAttemptsSpecification configuration shown below.

    import * as pulumi from "@pulumi/pulumi";
    import * as aws from "@pulumi/aws";
    
    const example = new aws.lex.V2modelsIntent("example", {
        botId: test.id,
        botVersion: testAwsLexv2modelsBotLocale.botVersion,
        name: "botens_namn",
        localeId: testAwsLexv2modelsBotLocale.localeId,
        confirmationSetting: {
            active: true,
            promptSpecification: {
                allowInterrupt: true,
                maxRetries: 1,
                messageSelectionStrategy: "Ordered",
                promptAttemptsSpecifications: [
                    {
                        allowInterrupt: true,
                        mapBlockKey: "Initial",
                        allowedInputTypes: {
                            allowAudioInput: true,
                            allowDtmfInput: true,
                        },
                        audioAndDtmfInputSpecification: {
                            startTimeoutMs: 4000,
                            audioSpecification: {
                                endTimeoutMs: 640,
                                maxLengthMs: 15000,
                            },
                            dtmfSpecification: {
                                deletionCharacter: "*",
                                endCharacter: "#",
                                endTimeoutMs: 5000,
                                maxLength: 513,
                            },
                        },
                        textInputSpecification: {
                            startTimeoutMs: 30000,
                        },
                    },
                    {
                        allowInterrupt: true,
                        mapBlockKey: "Retry1",
                        allowedInputTypes: {
                            allowAudioInput: true,
                            allowDtmfInput: true,
                        },
                        audioAndDtmfInputSpecification: {
                            startTimeoutMs: 4000,
                            audioSpecification: {
                                endTimeoutMs: 640,
                                maxLengthMs: 15000,
                            },
                            dtmfSpecification: {
                                deletionCharacter: "*",
                                endCharacter: "#",
                                endTimeoutMs: 5000,
                                maxLength: 513,
                            },
                        },
                        textInputSpecification: {
                            startTimeoutMs: 30000,
                        },
                    },
                ],
            },
        },
    });
    
    import pulumi
    import pulumi_aws as aws
    
    example = aws.lex.V2modelsIntent("example",
        bot_id=test["id"],
        bot_version=test_aws_lexv2models_bot_locale["botVersion"],
        name="botens_namn",
        locale_id=test_aws_lexv2models_bot_locale["localeId"],
        confirmation_setting={
            "active": True,
            "prompt_specification": {
                "allow_interrupt": True,
                "max_retries": 1,
                "message_selection_strategy": "Ordered",
                "prompt_attempts_specifications": [
                    {
                        "allow_interrupt": True,
                        "map_block_key": "Initial",
                        "allowed_input_types": {
                            "allow_audio_input": True,
                            "allow_dtmf_input": True,
                        },
                        "audio_and_dtmf_input_specification": {
                            "start_timeout_ms": 4000,
                            "audio_specification": {
                                "end_timeout_ms": 640,
                                "max_length_ms": 15000,
                            },
                            "dtmf_specification": {
                                "deletion_character": "*",
                                "end_character": "#",
                                "end_timeout_ms": 5000,
                                "max_length": 513,
                            },
                        },
                        "text_input_specification": {
                            "start_timeout_ms": 30000,
                        },
                    },
                    {
                        "allow_interrupt": True,
                        "map_block_key": "Retry1",
                        "allowed_input_types": {
                            "allow_audio_input": True,
                            "allow_dtmf_input": True,
                        },
                        "audio_and_dtmf_input_specification": {
                            "start_timeout_ms": 4000,
                            "audio_specification": {
                                "end_timeout_ms": 640,
                                "max_length_ms": 15000,
                            },
                            "dtmf_specification": {
                                "deletion_character": "*",
                                "end_character": "#",
                                "end_timeout_ms": 5000,
                                "max_length": 513,
                            },
                        },
                        "text_input_specification": {
                            "start_timeout_ms": 30000,
                        },
                    },
                ],
            },
        })
    
    package main
    
    import (
    	"github.com/pulumi/pulumi-aws/sdk/v7/go/aws/lex"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		_, err := lex.NewV2modelsIntent(ctx, "example", &lex.V2modelsIntentArgs{
    			BotId:      pulumi.Any(test.Id),
    			BotVersion: pulumi.Any(testAwsLexv2modelsBotLocale.BotVersion),
    			Name:       pulumi.String("botens_namn"),
    			LocaleId:   pulumi.Any(testAwsLexv2modelsBotLocale.LocaleId),
    			ConfirmationSetting: &lex.V2modelsIntentConfirmationSettingArgs{
    				Active: pulumi.Bool(true),
    				PromptSpecification: &lex.V2modelsIntentConfirmationSettingPromptSpecificationArgs{
    					AllowInterrupt:           pulumi.Bool(true),
    					MaxRetries:               pulumi.Int(1),
    					MessageSelectionStrategy: pulumi.String("Ordered"),
    					PromptAttemptsSpecifications: lex.V2modelsIntentConfirmationSettingPromptSpecificationPromptAttemptsSpecificationArray{
    						&lex.V2modelsIntentConfirmationSettingPromptSpecificationPromptAttemptsSpecificationArgs{
    							AllowInterrupt: pulumi.Bool(true),
    							MapBlockKey:    pulumi.String("Initial"),
    							AllowedInputTypes: &lex.V2modelsIntentConfirmationSettingPromptSpecificationPromptAttemptsSpecificationAllowedInputTypesArgs{
    								AllowAudioInput: pulumi.Bool(true),
    								AllowDtmfInput:  pulumi.Bool(true),
    							},
    							AudioAndDtmfInputSpecification: &lex.V2modelsIntentConfirmationSettingPromptSpecificationPromptAttemptsSpecificationAudioAndDtmfInputSpecificationArgs{
    								StartTimeoutMs: pulumi.Int(4000),
    								AudioSpecification: &lex.V2modelsIntentConfirmationSettingPromptSpecificationPromptAttemptsSpecificationAudioAndDtmfInputSpecificationAudioSpecificationArgs{
    									EndTimeoutMs: pulumi.Int(640),
    									MaxLengthMs:  pulumi.Int(15000),
    								},
    								DtmfSpecification: &lex.V2modelsIntentConfirmationSettingPromptSpecificationPromptAttemptsSpecificationAudioAndDtmfInputSpecificationDtmfSpecificationArgs{
    									DeletionCharacter: pulumi.String("*"),
    									EndCharacter:      pulumi.String("#"),
    									EndTimeoutMs:      pulumi.Int(5000),
    									MaxLength:         pulumi.Int(513),
    								},
    							},
    							TextInputSpecification: &lex.V2modelsIntentConfirmationSettingPromptSpecificationPromptAttemptsSpecificationTextInputSpecificationArgs{
    								StartTimeoutMs: pulumi.Int(30000),
    							},
    						},
    						&lex.V2modelsIntentConfirmationSettingPromptSpecificationPromptAttemptsSpecificationArgs{
    							AllowInterrupt: pulumi.Bool(true),
    							MapBlockKey:    pulumi.String("Retry1"),
    							AllowedInputTypes: &lex.V2modelsIntentConfirmationSettingPromptSpecificationPromptAttemptsSpecificationAllowedInputTypesArgs{
    								AllowAudioInput: pulumi.Bool(true),
    								AllowDtmfInput:  pulumi.Bool(true),
    							},
    							AudioAndDtmfInputSpecification: &lex.V2modelsIntentConfirmationSettingPromptSpecificationPromptAttemptsSpecificationAudioAndDtmfInputSpecificationArgs{
    								StartTimeoutMs: pulumi.Int(4000),
    								AudioSpecification: &lex.V2modelsIntentConfirmationSettingPromptSpecificationPromptAttemptsSpecificationAudioAndDtmfInputSpecificationAudioSpecificationArgs{
    									EndTimeoutMs: pulumi.Int(640),
    									MaxLengthMs:  pulumi.Int(15000),
    								},
    								DtmfSpecification: &lex.V2modelsIntentConfirmationSettingPromptSpecificationPromptAttemptsSpecificationAudioAndDtmfInputSpecificationDtmfSpecificationArgs{
    									DeletionCharacter: pulumi.String("*"),
    									EndCharacter:      pulumi.String("#"),
    									EndTimeoutMs:      pulumi.Int(5000),
    									MaxLength:         pulumi.Int(513),
    								},
    							},
    							TextInputSpecification: &lex.V2modelsIntentConfirmationSettingPromptSpecificationPromptAttemptsSpecificationTextInputSpecificationArgs{
    								StartTimeoutMs: pulumi.Int(30000),
    							},
    						},
    					},
    				},
    			},
    		})
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    
    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using Aws = Pulumi.Aws;
    
    return await Deployment.RunAsync(() => 
    {
        var example = new Aws.Lex.V2modelsIntent("example", new()
        {
            BotId = test.Id,
            BotVersion = testAwsLexv2modelsBotLocale.BotVersion,
            Name = "botens_namn",
            LocaleId = testAwsLexv2modelsBotLocale.LocaleId,
            ConfirmationSetting = new Aws.Lex.Inputs.V2modelsIntentConfirmationSettingArgs
            {
                Active = true,
                PromptSpecification = new Aws.Lex.Inputs.V2modelsIntentConfirmationSettingPromptSpecificationArgs
                {
                    AllowInterrupt = true,
                    MaxRetries = 1,
                    MessageSelectionStrategy = "Ordered",
                    PromptAttemptsSpecifications = new[]
                    {
                        new Aws.Lex.Inputs.V2modelsIntentConfirmationSettingPromptSpecificationPromptAttemptsSpecificationArgs
                        {
                            AllowInterrupt = true,
                            MapBlockKey = "Initial",
                            AllowedInputTypes = new Aws.Lex.Inputs.V2modelsIntentConfirmationSettingPromptSpecificationPromptAttemptsSpecificationAllowedInputTypesArgs
                            {
                                AllowAudioInput = true,
                                AllowDtmfInput = true,
                            },
                            AudioAndDtmfInputSpecification = new Aws.Lex.Inputs.V2modelsIntentConfirmationSettingPromptSpecificationPromptAttemptsSpecificationAudioAndDtmfInputSpecificationArgs
                            {
                                StartTimeoutMs = 4000,
                                AudioSpecification = new Aws.Lex.Inputs.V2modelsIntentConfirmationSettingPromptSpecificationPromptAttemptsSpecificationAudioAndDtmfInputSpecificationAudioSpecificationArgs
                                {
                                    EndTimeoutMs = 640,
                                    MaxLengthMs = 15000,
                                },
                                DtmfSpecification = new Aws.Lex.Inputs.V2modelsIntentConfirmationSettingPromptSpecificationPromptAttemptsSpecificationAudioAndDtmfInputSpecificationDtmfSpecificationArgs
                                {
                                    DeletionCharacter = "*",
                                    EndCharacter = "#",
                                    EndTimeoutMs = 5000,
                                    MaxLength = 513,
                                },
                            },
                            TextInputSpecification = new Aws.Lex.Inputs.V2modelsIntentConfirmationSettingPromptSpecificationPromptAttemptsSpecificationTextInputSpecificationArgs
                            {
                                StartTimeoutMs = 30000,
                            },
                        },
                        new Aws.Lex.Inputs.V2modelsIntentConfirmationSettingPromptSpecificationPromptAttemptsSpecificationArgs
                        {
                            AllowInterrupt = true,
                            MapBlockKey = "Retry1",
                            AllowedInputTypes = new Aws.Lex.Inputs.V2modelsIntentConfirmationSettingPromptSpecificationPromptAttemptsSpecificationAllowedInputTypesArgs
                            {
                                AllowAudioInput = true,
                                AllowDtmfInput = true,
                            },
                            AudioAndDtmfInputSpecification = new Aws.Lex.Inputs.V2modelsIntentConfirmationSettingPromptSpecificationPromptAttemptsSpecificationAudioAndDtmfInputSpecificationArgs
                            {
                                StartTimeoutMs = 4000,
                                AudioSpecification = new Aws.Lex.Inputs.V2modelsIntentConfirmationSettingPromptSpecificationPromptAttemptsSpecificationAudioAndDtmfInputSpecificationAudioSpecificationArgs
                                {
                                    EndTimeoutMs = 640,
                                    MaxLengthMs = 15000,
                                },
                                DtmfSpecification = new Aws.Lex.Inputs.V2modelsIntentConfirmationSettingPromptSpecificationPromptAttemptsSpecificationAudioAndDtmfInputSpecificationDtmfSpecificationArgs
                                {
                                    DeletionCharacter = "*",
                                    EndCharacter = "#",
                                    EndTimeoutMs = 5000,
                                    MaxLength = 513,
                                },
                            },
                            TextInputSpecification = new Aws.Lex.Inputs.V2modelsIntentConfirmationSettingPromptSpecificationPromptAttemptsSpecificationTextInputSpecificationArgs
                            {
                                StartTimeoutMs = 30000,
                            },
                        },
                    },
                },
            },
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.aws.lex.V2modelsIntent;
    import com.pulumi.aws.lex.V2modelsIntentArgs;
    import com.pulumi.aws.lex.inputs.V2modelsIntentConfirmationSettingArgs;
    import com.pulumi.aws.lex.inputs.V2modelsIntentConfirmationSettingPromptSpecificationArgs;
    import java.util.ArrayList;
    import java.util.Arrays;
    import java.util.Map;
    import java.io.File;
    import java.nio.file.Files;
    import java.nio.file.Paths;
    
    public class App {
        public static void main(String[] args) {
            Pulumi.run(App::stack);
        }
    
        public static void stack(Context ctx) {
            var example = new V2modelsIntent("example", V2modelsIntentArgs.builder()
                .botId(test.id())
                .botVersion(testAwsLexv2modelsBotLocale.botVersion())
                .name("botens_namn")
                .localeId(testAwsLexv2modelsBotLocale.localeId())
                .confirmationSetting(V2modelsIntentConfirmationSettingArgs.builder()
                    .active(true)
                    .promptSpecification(V2modelsIntentConfirmationSettingPromptSpecificationArgs.builder()
                        .allowInterrupt(true)
                        .maxRetries(1)
                        .messageSelectionStrategy("Ordered")
                        .promptAttemptsSpecifications(                    
                            V2modelsIntentConfirmationSettingPromptSpecificationPromptAttemptsSpecificationArgs.builder()
                                .allowInterrupt(true)
                                .mapBlockKey("Initial")
                                .allowedInputTypes(V2modelsIntentConfirmationSettingPromptSpecificationPromptAttemptsSpecificationAllowedInputTypesArgs.builder()
                                    .allowAudioInput(true)
                                    .allowDtmfInput(true)
                                    .build())
                                .audioAndDtmfInputSpecification(V2modelsIntentConfirmationSettingPromptSpecificationPromptAttemptsSpecificationAudioAndDtmfInputSpecificationArgs.builder()
                                    .startTimeoutMs(4000)
                                    .audioSpecification(V2modelsIntentConfirmationSettingPromptSpecificationPromptAttemptsSpecificationAudioAndDtmfInputSpecificationAudioSpecificationArgs.builder()
                                        .endTimeoutMs(640)
                                        .maxLengthMs(15000)
                                        .build())
                                    .dtmfSpecification(V2modelsIntentConfirmationSettingPromptSpecificationPromptAttemptsSpecificationAudioAndDtmfInputSpecificationDtmfSpecificationArgs.builder()
                                        .deletionCharacter("*")
                                        .endCharacter("#")
                                        .endTimeoutMs(5000)
                                        .maxLength(513)
                                        .build())
                                    .build())
                                .textInputSpecification(V2modelsIntentConfirmationSettingPromptSpecificationPromptAttemptsSpecificationTextInputSpecificationArgs.builder()
                                    .startTimeoutMs(30000)
                                    .build())
                                .build(),
                            V2modelsIntentConfirmationSettingPromptSpecificationPromptAttemptsSpecificationArgs.builder()
                                .allowInterrupt(true)
                                .mapBlockKey("Retry1")
                                .allowedInputTypes(V2modelsIntentConfirmationSettingPromptSpecificationPromptAttemptsSpecificationAllowedInputTypesArgs.builder()
                                    .allowAudioInput(true)
                                    .allowDtmfInput(true)
                                    .build())
                                .audioAndDtmfInputSpecification(V2modelsIntentConfirmationSettingPromptSpecificationPromptAttemptsSpecificationAudioAndDtmfInputSpecificationArgs.builder()
                                    .startTimeoutMs(4000)
                                    .audioSpecification(V2modelsIntentConfirmationSettingPromptSpecificationPromptAttemptsSpecificationAudioAndDtmfInputSpecificationAudioSpecificationArgs.builder()
                                        .endTimeoutMs(640)
                                        .maxLengthMs(15000)
                                        .build())
                                    .dtmfSpecification(V2modelsIntentConfirmationSettingPromptSpecificationPromptAttemptsSpecificationAudioAndDtmfInputSpecificationDtmfSpecificationArgs.builder()
                                        .deletionCharacter("*")
                                        .endCharacter("#")
                                        .endTimeoutMs(5000)
                                        .maxLength(513)
                                        .build())
                                    .build())
                                .textInputSpecification(V2modelsIntentConfirmationSettingPromptSpecificationPromptAttemptsSpecificationTextInputSpecificationArgs.builder()
                                    .startTimeoutMs(30000)
                                    .build())
                                .build())
                        .build())
                    .build())
                .build());
    
        }
    }
    
    resources:
      example:
        type: aws:lex:V2modelsIntent
        properties:
          botId: ${test.id}
          botVersion: ${testAwsLexv2modelsBotLocale.botVersion}
          name: botens_namn
          localeId: ${testAwsLexv2modelsBotLocale.localeId}
          confirmationSetting:
            active: true
            promptSpecification:
              allowInterrupt: true
              maxRetries: 1
              messageSelectionStrategy: Ordered
              promptAttemptsSpecifications:
                - allowInterrupt: true
                  mapBlockKey: Initial
                  allowedInputTypes:
                    allowAudioInput: true
                    allowDtmfInput: true
                  audioAndDtmfInputSpecification:
                    startTimeoutMs: 4000
                    audioSpecification:
                      endTimeoutMs: 640
                      maxLengthMs: 15000
                    dtmfSpecification:
                      deletionCharacter: '*'
                      endCharacter: '#'
                      endTimeoutMs: 5000
                      maxLength: 513
                  textInputSpecification:
                    startTimeoutMs: 30000
                - allowInterrupt: true
                  mapBlockKey: Retry1
                  allowedInputTypes:
                    allowAudioInput: true
                    allowDtmfInput: true
                  audioAndDtmfInputSpecification:
                    startTimeoutMs: 4000
                    audioSpecification:
                      endTimeoutMs: 640
                      maxLengthMs: 15000
                    dtmfSpecification:
                      deletionCharacter: '*'
                      endCharacter: '#'
                      endTimeoutMs: 5000
                      maxLength: 513
                  textInputSpecification:
                    startTimeoutMs: 30000
    
    Example coming soon!
    

    QnA Intent Example

    import * as pulumi from "@pulumi/pulumi";
    import * as aws from "@pulumi/aws";
    
    const qnaExample = new aws.lex.V2modelsIntent("qna_example", {
        botId: test.id,
        botVersion: testAwsLexv2modelsBotLocale.botVersion,
        name: "qna_intent",
        localeId: testAwsLexv2modelsBotLocale.localeId,
        parentIntentSignature: "AMAZON.QnAIntent",
        qnaIntentConfiguration: {
            dataSourceConfiguration: {
                kendraConfiguration: {
                    kendraIndex: example.arn,
                    exactResponse: true,
                    queryFilterStringEnabled: false,
                },
            },
        },
        sampleUtterances: [{
            utterance: "What is the answer?",
        }],
    });
    
    import pulumi
    import pulumi_aws as aws
    
    qna_example = aws.lex.V2modelsIntent("qna_example",
        bot_id=test["id"],
        bot_version=test_aws_lexv2models_bot_locale["botVersion"],
        name="qna_intent",
        locale_id=test_aws_lexv2models_bot_locale["localeId"],
        parent_intent_signature="AMAZON.QnAIntent",
        qna_intent_configuration={
            "data_source_configuration": {
                "kendra_configuration": {
                    "kendra_index": example["arn"],
                    "exact_response": True,
                    "query_filter_string_enabled": False,
                },
            },
        },
        sample_utterances=[{
            "utterance": "What is the answer?",
        }])
    
    package main
    
    import (
    	"github.com/pulumi/pulumi-aws/sdk/v7/go/aws/lex"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		_, err := lex.NewV2modelsIntent(ctx, "qna_example", &lex.V2modelsIntentArgs{
    			BotId:                 pulumi.Any(test.Id),
    			BotVersion:            pulumi.Any(testAwsLexv2modelsBotLocale.BotVersion),
    			Name:                  pulumi.String("qna_intent"),
    			LocaleId:              pulumi.Any(testAwsLexv2modelsBotLocale.LocaleId),
    			ParentIntentSignature: pulumi.String("AMAZON.QnAIntent"),
    			QnaIntentConfiguration: &lex.V2modelsIntentQnaIntentConfigurationArgs{
    				DataSourceConfiguration: &lex.V2modelsIntentQnaIntentConfigurationDataSourceConfigurationArgs{
    					KendraConfiguration: &lex.V2modelsIntentQnaIntentConfigurationDataSourceConfigurationKendraConfigurationArgs{
    						KendraIndex:              pulumi.Any(example.Arn),
    						ExactResponse:            pulumi.Bool(true),
    						QueryFilterStringEnabled: pulumi.Bool(false),
    					},
    				},
    			},
    			SampleUtterances: lex.V2modelsIntentSampleUtteranceArray{
    				&lex.V2modelsIntentSampleUtteranceArgs{
    					Utterance: pulumi.String("What is the answer?"),
    				},
    			},
    		})
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    
    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using Aws = Pulumi.Aws;
    
    return await Deployment.RunAsync(() => 
    {
        var qnaExample = new Aws.Lex.V2modelsIntent("qna_example", new()
        {
            BotId = test.Id,
            BotVersion = testAwsLexv2modelsBotLocale.BotVersion,
            Name = "qna_intent",
            LocaleId = testAwsLexv2modelsBotLocale.LocaleId,
            ParentIntentSignature = "AMAZON.QnAIntent",
            QnaIntentConfiguration = new Aws.Lex.Inputs.V2modelsIntentQnaIntentConfigurationArgs
            {
                DataSourceConfiguration = new Aws.Lex.Inputs.V2modelsIntentQnaIntentConfigurationDataSourceConfigurationArgs
                {
                    KendraConfiguration = new Aws.Lex.Inputs.V2modelsIntentQnaIntentConfigurationDataSourceConfigurationKendraConfigurationArgs
                    {
                        KendraIndex = example.Arn,
                        ExactResponse = true,
                        QueryFilterStringEnabled = false,
                    },
                },
            },
            SampleUtterances = new[]
            {
                new Aws.Lex.Inputs.V2modelsIntentSampleUtteranceArgs
                {
                    Utterance = "What is the answer?",
                },
            },
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.aws.lex.V2modelsIntent;
    import com.pulumi.aws.lex.V2modelsIntentArgs;
    import com.pulumi.aws.lex.inputs.V2modelsIntentQnaIntentConfigurationArgs;
    import com.pulumi.aws.lex.inputs.V2modelsIntentQnaIntentConfigurationDataSourceConfigurationArgs;
    import com.pulumi.aws.lex.inputs.V2modelsIntentQnaIntentConfigurationDataSourceConfigurationKendraConfigurationArgs;
    import com.pulumi.aws.lex.inputs.V2modelsIntentSampleUtteranceArgs;
    import java.util.ArrayList;
    import java.util.Arrays;
    import java.util.Map;
    import java.io.File;
    import java.nio.file.Files;
    import java.nio.file.Paths;
    
    public class App {
        public static void main(String[] args) {
            Pulumi.run(App::stack);
        }
    
        public static void stack(Context ctx) {
            var qnaExample = new V2modelsIntent("qnaExample", V2modelsIntentArgs.builder()
                .botId(test.id())
                .botVersion(testAwsLexv2modelsBotLocale.botVersion())
                .name("qna_intent")
                .localeId(testAwsLexv2modelsBotLocale.localeId())
                .parentIntentSignature("AMAZON.QnAIntent")
                .qnaIntentConfiguration(V2modelsIntentQnaIntentConfigurationArgs.builder()
                    .dataSourceConfiguration(V2modelsIntentQnaIntentConfigurationDataSourceConfigurationArgs.builder()
                        .kendraConfiguration(V2modelsIntentQnaIntentConfigurationDataSourceConfigurationKendraConfigurationArgs.builder()
                            .kendraIndex(example.arn())
                            .exactResponse(true)
                            .queryFilterStringEnabled(false)
                            .build())
                        .build())
                    .build())
                .sampleUtterances(V2modelsIntentSampleUtteranceArgs.builder()
                    .utterance("What is the answer?")
                    .build())
                .build());
    
        }
    }
    
    resources:
      qnaExample:
        type: aws:lex:V2modelsIntent
        name: qna_example
        properties:
          botId: ${test.id}
          botVersion: ${testAwsLexv2modelsBotLocale.botVersion}
          name: qna_intent
          localeId: ${testAwsLexv2modelsBotLocale.localeId}
          parentIntentSignature: AMAZON.QnAIntent
          qnaIntentConfiguration:
            dataSourceConfiguration:
              kendraConfiguration:
                kendraIndex: ${example.arn}
                exactResponse: true
                queryFilterStringEnabled: false
          sampleUtterances:
            - utterance: What is the answer?
    
    Example coming soon!
    

    Create V2modelsIntent Resource

    Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.

    Constructor syntax

    new V2modelsIntent(name: string, args: V2modelsIntentArgs, opts?: CustomResourceOptions);
    @overload
    def V2modelsIntent(resource_name: str,
                       args: V2modelsIntentArgs,
                       opts: Optional[ResourceOptions] = None)
    
    @overload
    def V2modelsIntent(resource_name: str,
                       opts: Optional[ResourceOptions] = None,
                       bot_id: Optional[str] = None,
                       bot_version: Optional[str] = None,
                       locale_id: Optional[str] = None,
                       input_contexts: Optional[Sequence[V2modelsIntentInputContextArgs]] = None,
                       closing_setting: Optional[V2modelsIntentClosingSettingArgs] = None,
                       dialog_code_hook: Optional[V2modelsIntentDialogCodeHookArgs] = None,
                       fulfillment_code_hook: Optional[V2modelsIntentFulfillmentCodeHookArgs] = None,
                       initial_response_setting: Optional[V2modelsIntentInitialResponseSettingArgs] = None,
                       confirmation_setting: Optional[V2modelsIntentConfirmationSettingArgs] = None,
                       kendra_configuration: Optional[V2modelsIntentKendraConfigurationArgs] = None,
                       description: Optional[str] = None,
                       name: Optional[str] = None,
                       output_contexts: Optional[Sequence[V2modelsIntentOutputContextArgs]] = None,
                       parent_intent_signature: Optional[str] = None,
                       qna_intent_configuration: Optional[V2modelsIntentQnaIntentConfigurationArgs] = None,
                       region: Optional[str] = None,
                       sample_utterances: Optional[Sequence[V2modelsIntentSampleUtteranceArgs]] = None,
                       slot_priorities: Optional[Sequence[V2modelsIntentSlotPriorityArgs]] = None,
                       timeouts: Optional[V2modelsIntentTimeoutsArgs] = None)
    func NewV2modelsIntent(ctx *Context, name string, args V2modelsIntentArgs, opts ...ResourceOption) (*V2modelsIntent, error)
    public V2modelsIntent(string name, V2modelsIntentArgs args, CustomResourceOptions? opts = null)
    public V2modelsIntent(String name, V2modelsIntentArgs args)
    public V2modelsIntent(String name, V2modelsIntentArgs args, CustomResourceOptions options)
    
    type: aws:lex:V2modelsIntent
    properties: # The arguments to resource properties.
    options: # Bag of options to control resource's behavior.
    
    
    resource "aws_lex_v2modelsintent" "name" {
        # resource properties
    }

    Parameters

    name string
    The unique name of the resource.
    args V2modelsIntentArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    resource_name str
    The unique name of the resource.
    args V2modelsIntentArgs
    The arguments to resource properties.
    opts ResourceOptions
    Bag of options to control resource's behavior.
    ctx Context
    Context object for the current deployment.
    name string
    The unique name of the resource.
    args V2modelsIntentArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args V2modelsIntentArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args V2modelsIntentArgs
    The arguments to resource properties.
    options CustomResourceOptions
    Bag of options to control resource's behavior.

    Constructor example

    The following reference example uses placeholder values for all input properties.

    var v2modelsIntentResource = new Aws.Lex.V2modelsIntent("v2modelsIntentResource", new()
    {
        BotId = "string",
        BotVersion = "string",
        LocaleId = "string",
        InputContexts = new[]
        {
            new Aws.Lex.Inputs.V2modelsIntentInputContextArgs
            {
                Name = "string",
            },
        },
        ClosingSetting = new Aws.Lex.Inputs.V2modelsIntentClosingSettingArgs
        {
            Active = false,
            ClosingResponse = new Aws.Lex.Inputs.V2modelsIntentClosingSettingClosingResponseArgs
            {
                AllowInterrupt = false,
                MessageGroups = new[]
                {
                    new Aws.Lex.Inputs.V2modelsIntentClosingSettingClosingResponseMessageGroupArgs
                    {
                        Message = new Aws.Lex.Inputs.V2modelsIntentClosingSettingClosingResponseMessageGroupMessageArgs
                        {
                            CustomPayload = new Aws.Lex.Inputs.V2modelsIntentClosingSettingClosingResponseMessageGroupMessageCustomPayloadArgs
                            {
                                Value = "string",
                            },
                            ImageResponseCard = new Aws.Lex.Inputs.V2modelsIntentClosingSettingClosingResponseMessageGroupMessageImageResponseCardArgs
                            {
                                Title = "string",
                                Buttons = new[]
                                {
                                    new Aws.Lex.Inputs.V2modelsIntentClosingSettingClosingResponseMessageGroupMessageImageResponseCardButtonArgs
                                    {
                                        Text = "string",
                                        Value = "string",
                                    },
                                },
                                ImageUrl = "string",
                                Subtitle = "string",
                            },
                            PlainTextMessage = new Aws.Lex.Inputs.V2modelsIntentClosingSettingClosingResponseMessageGroupMessagePlainTextMessageArgs
                            {
                                Value = "string",
                            },
                            SsmlMessage = new Aws.Lex.Inputs.V2modelsIntentClosingSettingClosingResponseMessageGroupMessageSsmlMessageArgs
                            {
                                Value = "string",
                            },
                        },
                        Variations = new[]
                        {
                            new Aws.Lex.Inputs.V2modelsIntentClosingSettingClosingResponseMessageGroupVariationArgs
                            {
                                CustomPayload = new Aws.Lex.Inputs.V2modelsIntentClosingSettingClosingResponseMessageGroupVariationCustomPayloadArgs
                                {
                                    Value = "string",
                                },
                                ImageResponseCard = new Aws.Lex.Inputs.V2modelsIntentClosingSettingClosingResponseMessageGroupVariationImageResponseCardArgs
                                {
                                    Title = "string",
                                    Buttons = new[]
                                    {
                                        new Aws.Lex.Inputs.V2modelsIntentClosingSettingClosingResponseMessageGroupVariationImageResponseCardButtonArgs
                                        {
                                            Text = "string",
                                            Value = "string",
                                        },
                                    },
                                    ImageUrl = "string",
                                    Subtitle = "string",
                                },
                                PlainTextMessage = new Aws.Lex.Inputs.V2modelsIntentClosingSettingClosingResponseMessageGroupVariationPlainTextMessageArgs
                                {
                                    Value = "string",
                                },
                                SsmlMessage = new Aws.Lex.Inputs.V2modelsIntentClosingSettingClosingResponseMessageGroupVariationSsmlMessageArgs
                                {
                                    Value = "string",
                                },
                            },
                        },
                    },
                },
            },
            Conditional = new Aws.Lex.Inputs.V2modelsIntentClosingSettingConditionalArgs
            {
                Active = false,
                ConditionalBranches = new[]
                {
                    new Aws.Lex.Inputs.V2modelsIntentClosingSettingConditionalConditionalBranchArgs
                    {
                        Name = "string",
                        Condition = new Aws.Lex.Inputs.V2modelsIntentClosingSettingConditionalConditionalBranchConditionArgs
                        {
                            ExpressionString = "string",
                        },
                        NextStep = new Aws.Lex.Inputs.V2modelsIntentClosingSettingConditionalConditionalBranchNextStepArgs
                        {
                            DialogAction = new Aws.Lex.Inputs.V2modelsIntentClosingSettingConditionalConditionalBranchNextStepDialogActionArgs
                            {
                                Type = "string",
                                SlotToElicit = "string",
                                SuppressNextMessage = false,
                            },
                            Intent = new Aws.Lex.Inputs.V2modelsIntentClosingSettingConditionalConditionalBranchNextStepIntentArgs
                            {
                                Name = "string",
                                Slots = new[]
                                {
                                    new Aws.Lex.Inputs.V2modelsIntentClosingSettingConditionalConditionalBranchNextStepIntentSlotArgs
                                    {
                                        MapBlockKey = "string",
                                        Shape = "string",
                                        Value = new Aws.Lex.Inputs.V2modelsIntentClosingSettingConditionalConditionalBranchNextStepIntentSlotValueArgs
                                        {
                                            InterpretedValue = "string",
                                        },
                                    },
                                },
                            },
                            SessionAttributes = 
                            {
                                { "string", "string" },
                            },
                        },
                        Response = new Aws.Lex.Inputs.V2modelsIntentClosingSettingConditionalConditionalBranchResponseArgs
                        {
                            AllowInterrupt = false,
                            MessageGroups = new[]
                            {
                                new Aws.Lex.Inputs.V2modelsIntentClosingSettingConditionalConditionalBranchResponseMessageGroupArgs
                                {
                                    Message = new Aws.Lex.Inputs.V2modelsIntentClosingSettingConditionalConditionalBranchResponseMessageGroupMessageArgs
                                    {
                                        CustomPayload = new Aws.Lex.Inputs.V2modelsIntentClosingSettingConditionalConditionalBranchResponseMessageGroupMessageCustomPayloadArgs
                                        {
                                            Value = "string",
                                        },
                                        ImageResponseCard = new Aws.Lex.Inputs.V2modelsIntentClosingSettingConditionalConditionalBranchResponseMessageGroupMessageImageResponseCardArgs
                                        {
                                            Title = "string",
                                            Buttons = new[]
                                            {
                                                new Aws.Lex.Inputs.V2modelsIntentClosingSettingConditionalConditionalBranchResponseMessageGroupMessageImageResponseCardButtonArgs
                                                {
                                                    Text = "string",
                                                    Value = "string",
                                                },
                                            },
                                            ImageUrl = "string",
                                            Subtitle = "string",
                                        },
                                        PlainTextMessage = new Aws.Lex.Inputs.V2modelsIntentClosingSettingConditionalConditionalBranchResponseMessageGroupMessagePlainTextMessageArgs
                                        {
                                            Value = "string",
                                        },
                                        SsmlMessage = new Aws.Lex.Inputs.V2modelsIntentClosingSettingConditionalConditionalBranchResponseMessageGroupMessageSsmlMessageArgs
                                        {
                                            Value = "string",
                                        },
                                    },
                                    Variations = new[]
                                    {
                                        new Aws.Lex.Inputs.V2modelsIntentClosingSettingConditionalConditionalBranchResponseMessageGroupVariationArgs
                                        {
                                            CustomPayload = new Aws.Lex.Inputs.V2modelsIntentClosingSettingConditionalConditionalBranchResponseMessageGroupVariationCustomPayloadArgs
                                            {
                                                Value = "string",
                                            },
                                            ImageResponseCard = new Aws.Lex.Inputs.V2modelsIntentClosingSettingConditionalConditionalBranchResponseMessageGroupVariationImageResponseCardArgs
                                            {
                                                Title = "string",
                                                Buttons = new[]
                                                {
                                                    new Aws.Lex.Inputs.V2modelsIntentClosingSettingConditionalConditionalBranchResponseMessageGroupVariationImageResponseCardButtonArgs
                                                    {
                                                        Text = "string",
                                                        Value = "string",
                                                    },
                                                },
                                                ImageUrl = "string",
                                                Subtitle = "string",
                                            },
                                            PlainTextMessage = new Aws.Lex.Inputs.V2modelsIntentClosingSettingConditionalConditionalBranchResponseMessageGroupVariationPlainTextMessageArgs
                                            {
                                                Value = "string",
                                            },
                                            SsmlMessage = new Aws.Lex.Inputs.V2modelsIntentClosingSettingConditionalConditionalBranchResponseMessageGroupVariationSsmlMessageArgs
                                            {
                                                Value = "string",
                                            },
                                        },
                                    },
                                },
                            },
                        },
                    },
                },
                DefaultBranch = new Aws.Lex.Inputs.V2modelsIntentClosingSettingConditionalDefaultBranchArgs
                {
                    NextStep = new Aws.Lex.Inputs.V2modelsIntentClosingSettingConditionalDefaultBranchNextStepArgs
                    {
                        DialogAction = new Aws.Lex.Inputs.V2modelsIntentClosingSettingConditionalDefaultBranchNextStepDialogActionArgs
                        {
                            Type = "string",
                            SlotToElicit = "string",
                            SuppressNextMessage = false,
                        },
                        Intent = new Aws.Lex.Inputs.V2modelsIntentClosingSettingConditionalDefaultBranchNextStepIntentArgs
                        {
                            Name = "string",
                            Slots = new[]
                            {
                                new Aws.Lex.Inputs.V2modelsIntentClosingSettingConditionalDefaultBranchNextStepIntentSlotArgs
                                {
                                    MapBlockKey = "string",
                                    Shape = "string",
                                    Value = new Aws.Lex.Inputs.V2modelsIntentClosingSettingConditionalDefaultBranchNextStepIntentSlotValueArgs
                                    {
                                        InterpretedValue = "string",
                                    },
                                },
                            },
                        },
                        SessionAttributes = 
                        {
                            { "string", "string" },
                        },
                    },
                    Response = new Aws.Lex.Inputs.V2modelsIntentClosingSettingConditionalDefaultBranchResponseArgs
                    {
                        AllowInterrupt = false,
                        MessageGroups = new[]
                        {
                            new Aws.Lex.Inputs.V2modelsIntentClosingSettingConditionalDefaultBranchResponseMessageGroupArgs
                            {
                                Message = new Aws.Lex.Inputs.V2modelsIntentClosingSettingConditionalDefaultBranchResponseMessageGroupMessageArgs
                                {
                                    CustomPayload = new Aws.Lex.Inputs.V2modelsIntentClosingSettingConditionalDefaultBranchResponseMessageGroupMessageCustomPayloadArgs
                                    {
                                        Value = "string",
                                    },
                                    ImageResponseCard = new Aws.Lex.Inputs.V2modelsIntentClosingSettingConditionalDefaultBranchResponseMessageGroupMessageImageResponseCardArgs
                                    {
                                        Title = "string",
                                        Buttons = new[]
                                        {
                                            new Aws.Lex.Inputs.V2modelsIntentClosingSettingConditionalDefaultBranchResponseMessageGroupMessageImageResponseCardButtonArgs
                                            {
                                                Text = "string",
                                                Value = "string",
                                            },
                                        },
                                        ImageUrl = "string",
                                        Subtitle = "string",
                                    },
                                    PlainTextMessage = new Aws.Lex.Inputs.V2modelsIntentClosingSettingConditionalDefaultBranchResponseMessageGroupMessagePlainTextMessageArgs
                                    {
                                        Value = "string",
                                    },
                                    SsmlMessage = new Aws.Lex.Inputs.V2modelsIntentClosingSettingConditionalDefaultBranchResponseMessageGroupMessageSsmlMessageArgs
                                    {
                                        Value = "string",
                                    },
                                },
                                Variations = new[]
                                {
                                    new Aws.Lex.Inputs.V2modelsIntentClosingSettingConditionalDefaultBranchResponseMessageGroupVariationArgs
                                    {
                                        CustomPayload = new Aws.Lex.Inputs.V2modelsIntentClosingSettingConditionalDefaultBranchResponseMessageGroupVariationCustomPayloadArgs
                                        {
                                            Value = "string",
                                        },
                                        ImageResponseCard = new Aws.Lex.Inputs.V2modelsIntentClosingSettingConditionalDefaultBranchResponseMessageGroupVariationImageResponseCardArgs
                                        {
                                            Title = "string",
                                            Buttons = new[]
                                            {
                                                new Aws.Lex.Inputs.V2modelsIntentClosingSettingConditionalDefaultBranchResponseMessageGroupVariationImageResponseCardButtonArgs
                                                {
                                                    Text = "string",
                                                    Value = "string",
                                                },
                                            },
                                            ImageUrl = "string",
                                            Subtitle = "string",
                                        },
                                        PlainTextMessage = new Aws.Lex.Inputs.V2modelsIntentClosingSettingConditionalDefaultBranchResponseMessageGroupVariationPlainTextMessageArgs
                                        {
                                            Value = "string",
                                        },
                                        SsmlMessage = new Aws.Lex.Inputs.V2modelsIntentClosingSettingConditionalDefaultBranchResponseMessageGroupVariationSsmlMessageArgs
                                        {
                                            Value = "string",
                                        },
                                    },
                                },
                            },
                        },
                    },
                },
            },
            NextStep = new Aws.Lex.Inputs.V2modelsIntentClosingSettingNextStepArgs
            {
                DialogAction = new Aws.Lex.Inputs.V2modelsIntentClosingSettingNextStepDialogActionArgs
                {
                    Type = "string",
                    SlotToElicit = "string",
                    SuppressNextMessage = false,
                },
                Intent = new Aws.Lex.Inputs.V2modelsIntentClosingSettingNextStepIntentArgs
                {
                    Name = "string",
                    Slots = new[]
                    {
                        new Aws.Lex.Inputs.V2modelsIntentClosingSettingNextStepIntentSlotArgs
                        {
                            MapBlockKey = "string",
                            Shape = "string",
                            Value = new Aws.Lex.Inputs.V2modelsIntentClosingSettingNextStepIntentSlotValueArgs
                            {
                                InterpretedValue = "string",
                            },
                        },
                    },
                },
                SessionAttributes = 
                {
                    { "string", "string" },
                },
            },
        },
        DialogCodeHook = new Aws.Lex.Inputs.V2modelsIntentDialogCodeHookArgs
        {
            Enabled = false,
        },
        FulfillmentCodeHook = new Aws.Lex.Inputs.V2modelsIntentFulfillmentCodeHookArgs
        {
            Enabled = false,
            Active = false,
            FulfillmentUpdatesSpecification = new Aws.Lex.Inputs.V2modelsIntentFulfillmentCodeHookFulfillmentUpdatesSpecificationArgs
            {
                Active = false,
                StartResponse = new Aws.Lex.Inputs.V2modelsIntentFulfillmentCodeHookFulfillmentUpdatesSpecificationStartResponseArgs
                {
                    AllowInterrupt = false,
                    DelayInSeconds = 0,
                    MessageGroups = new[]
                    {
                        new Aws.Lex.Inputs.V2modelsIntentFulfillmentCodeHookFulfillmentUpdatesSpecificationStartResponseMessageGroupArgs
                        {
                            Message = new Aws.Lex.Inputs.V2modelsIntentFulfillmentCodeHookFulfillmentUpdatesSpecificationStartResponseMessageGroupMessageArgs
                            {
                                CustomPayload = new Aws.Lex.Inputs.V2modelsIntentFulfillmentCodeHookFulfillmentUpdatesSpecificationStartResponseMessageGroupMessageCustomPayloadArgs
                                {
                                    Value = "string",
                                },
                                ImageResponseCard = new Aws.Lex.Inputs.V2modelsIntentFulfillmentCodeHookFulfillmentUpdatesSpecificationStartResponseMessageGroupMessageImageResponseCardArgs
                                {
                                    Title = "string",
                                    Buttons = new[]
                                    {
                                        new Aws.Lex.Inputs.V2modelsIntentFulfillmentCodeHookFulfillmentUpdatesSpecificationStartResponseMessageGroupMessageImageResponseCardButtonArgs
                                        {
                                            Text = "string",
                                            Value = "string",
                                        },
                                    },
                                    ImageUrl = "string",
                                    Subtitle = "string",
                                },
                                PlainTextMessage = new Aws.Lex.Inputs.V2modelsIntentFulfillmentCodeHookFulfillmentUpdatesSpecificationStartResponseMessageGroupMessagePlainTextMessageArgs
                                {
                                    Value = "string",
                                },
                                SsmlMessage = new Aws.Lex.Inputs.V2modelsIntentFulfillmentCodeHookFulfillmentUpdatesSpecificationStartResponseMessageGroupMessageSsmlMessageArgs
                                {
                                    Value = "string",
                                },
                            },
                            Variations = new[]
                            {
                                new Aws.Lex.Inputs.V2modelsIntentFulfillmentCodeHookFulfillmentUpdatesSpecificationStartResponseMessageGroupVariationArgs
                                {
                                    CustomPayload = new Aws.Lex.Inputs.V2modelsIntentFulfillmentCodeHookFulfillmentUpdatesSpecificationStartResponseMessageGroupVariationCustomPayloadArgs
                                    {
                                        Value = "string",
                                    },
                                    ImageResponseCard = new Aws.Lex.Inputs.V2modelsIntentFulfillmentCodeHookFulfillmentUpdatesSpecificationStartResponseMessageGroupVariationImageResponseCardArgs
                                    {
                                        Title = "string",
                                        Buttons = new[]
                                        {
                                            new Aws.Lex.Inputs.V2modelsIntentFulfillmentCodeHookFulfillmentUpdatesSpecificationStartResponseMessageGroupVariationImageResponseCardButtonArgs
                                            {
                                                Text = "string",
                                                Value = "string",
                                            },
                                        },
                                        ImageUrl = "string",
                                        Subtitle = "string",
                                    },
                                    PlainTextMessage = new Aws.Lex.Inputs.V2modelsIntentFulfillmentCodeHookFulfillmentUpdatesSpecificationStartResponseMessageGroupVariationPlainTextMessageArgs
                                    {
                                        Value = "string",
                                    },
                                    SsmlMessage = new Aws.Lex.Inputs.V2modelsIntentFulfillmentCodeHookFulfillmentUpdatesSpecificationStartResponseMessageGroupVariationSsmlMessageArgs
                                    {
                                        Value = "string",
                                    },
                                },
                            },
                        },
                    },
                },
                TimeoutInSeconds = 0,
                UpdateResponse = new Aws.Lex.Inputs.V2modelsIntentFulfillmentCodeHookFulfillmentUpdatesSpecificationUpdateResponseArgs
                {
                    FrequencyInSeconds = 0,
                    AllowInterrupt = false,
                    MessageGroups = new[]
                    {
                        new Aws.Lex.Inputs.V2modelsIntentFulfillmentCodeHookFulfillmentUpdatesSpecificationUpdateResponseMessageGroupArgs
                        {
                            Message = new Aws.Lex.Inputs.V2modelsIntentFulfillmentCodeHookFulfillmentUpdatesSpecificationUpdateResponseMessageGroupMessageArgs
                            {
                                CustomPayload = new Aws.Lex.Inputs.V2modelsIntentFulfillmentCodeHookFulfillmentUpdatesSpecificationUpdateResponseMessageGroupMessageCustomPayloadArgs
                                {
                                    Value = "string",
                                },
                                ImageResponseCard = new Aws.Lex.Inputs.V2modelsIntentFulfillmentCodeHookFulfillmentUpdatesSpecificationUpdateResponseMessageGroupMessageImageResponseCardArgs
                                {
                                    Title = "string",
                                    Buttons = new[]
                                    {
                                        new Aws.Lex.Inputs.V2modelsIntentFulfillmentCodeHookFulfillmentUpdatesSpecificationUpdateResponseMessageGroupMessageImageResponseCardButtonArgs
                                        {
                                            Text = "string",
                                            Value = "string",
                                        },
                                    },
                                    ImageUrl = "string",
                                    Subtitle = "string",
                                },
                                PlainTextMessage = new Aws.Lex.Inputs.V2modelsIntentFulfillmentCodeHookFulfillmentUpdatesSpecificationUpdateResponseMessageGroupMessagePlainTextMessageArgs
                                {
                                    Value = "string",
                                },
                                SsmlMessage = new Aws.Lex.Inputs.V2modelsIntentFulfillmentCodeHookFulfillmentUpdatesSpecificationUpdateResponseMessageGroupMessageSsmlMessageArgs
                                {
                                    Value = "string",
                                },
                            },
                            Variations = new[]
                            {
                                new Aws.Lex.Inputs.V2modelsIntentFulfillmentCodeHookFulfillmentUpdatesSpecificationUpdateResponseMessageGroupVariationArgs
                                {
                                    CustomPayload = new Aws.Lex.Inputs.V2modelsIntentFulfillmentCodeHookFulfillmentUpdatesSpecificationUpdateResponseMessageGroupVariationCustomPayloadArgs
                                    {
                                        Value = "string",
                                    },
                                    ImageResponseCard = new Aws.Lex.Inputs.V2modelsIntentFulfillmentCodeHookFulfillmentUpdatesSpecificationUpdateResponseMessageGroupVariationImageResponseCardArgs
                                    {
                                        Title = "string",
                                        Buttons = new[]
                                        {
                                            new Aws.Lex.Inputs.V2modelsIntentFulfillmentCodeHookFulfillmentUpdatesSpecificationUpdateResponseMessageGroupVariationImageResponseCardButtonArgs
                                            {
                                                Text = "string",
                                                Value = "string",
                                            },
                                        },
                                        ImageUrl = "string",
                                        Subtitle = "string",
                                    },
                                    PlainTextMessage = new Aws.Lex.Inputs.V2modelsIntentFulfillmentCodeHookFulfillmentUpdatesSpecificationUpdateResponseMessageGroupVariationPlainTextMessageArgs
                                    {
                                        Value = "string",
                                    },
                                    SsmlMessage = new Aws.Lex.Inputs.V2modelsIntentFulfillmentCodeHookFulfillmentUpdatesSpecificationUpdateResponseMessageGroupVariationSsmlMessageArgs
                                    {
                                        Value = "string",
                                    },
                                },
                            },
                        },
                    },
                },
            },
            PostFulfillmentStatusSpecification = new Aws.Lex.Inputs.V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationArgs
            {
                FailureConditional = new Aws.Lex.Inputs.V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureConditionalArgs
                {
                    Active = false,
                    ConditionalBranches = new[]
                    {
                        new Aws.Lex.Inputs.V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureConditionalConditionalBranchArgs
                        {
                            Name = "string",
                            Condition = new Aws.Lex.Inputs.V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureConditionalConditionalBranchConditionArgs
                            {
                                ExpressionString = "string",
                            },
                            NextStep = new Aws.Lex.Inputs.V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureConditionalConditionalBranchNextStepArgs
                            {
                                DialogAction = new Aws.Lex.Inputs.V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureConditionalConditionalBranchNextStepDialogActionArgs
                                {
                                    Type = "string",
                                    SlotToElicit = "string",
                                    SuppressNextMessage = false,
                                },
                                Intent = new Aws.Lex.Inputs.V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureConditionalConditionalBranchNextStepIntentArgs
                                {
                                    Name = "string",
                                    Slots = new[]
                                    {
                                        new Aws.Lex.Inputs.V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureConditionalConditionalBranchNextStepIntentSlotArgs
                                        {
                                            MapBlockKey = "string",
                                            Shape = "string",
                                            Value = new Aws.Lex.Inputs.V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureConditionalConditionalBranchNextStepIntentSlotValueArgs
                                            {
                                                InterpretedValue = "string",
                                            },
                                        },
                                    },
                                },
                                SessionAttributes = 
                                {
                                    { "string", "string" },
                                },
                            },
                            Response = new Aws.Lex.Inputs.V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureConditionalConditionalBranchResponseArgs
                            {
                                AllowInterrupt = false,
                                MessageGroups = new[]
                                {
                                    new Aws.Lex.Inputs.V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureConditionalConditionalBranchResponseMessageGroupArgs
                                    {
                                        Message = new Aws.Lex.Inputs.V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureConditionalConditionalBranchResponseMessageGroupMessageArgs
                                        {
                                            CustomPayload = new Aws.Lex.Inputs.V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureConditionalConditionalBranchResponseMessageGroupMessageCustomPayloadArgs
                                            {
                                                Value = "string",
                                            },
                                            ImageResponseCard = new Aws.Lex.Inputs.V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureConditionalConditionalBranchResponseMessageGroupMessageImageResponseCardArgs
                                            {
                                                Title = "string",
                                                Buttons = new[]
                                                {
                                                    new Aws.Lex.Inputs.V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureConditionalConditionalBranchResponseMessageGroupMessageImageResponseCardButtonArgs
                                                    {
                                                        Text = "string",
                                                        Value = "string",
                                                    },
                                                },
                                                ImageUrl = "string",
                                                Subtitle = "string",
                                            },
                                            PlainTextMessage = new Aws.Lex.Inputs.V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureConditionalConditionalBranchResponseMessageGroupMessagePlainTextMessageArgs
                                            {
                                                Value = "string",
                                            },
                                            SsmlMessage = new Aws.Lex.Inputs.V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureConditionalConditionalBranchResponseMessageGroupMessageSsmlMessageArgs
                                            {
                                                Value = "string",
                                            },
                                        },
                                        Variations = new[]
                                        {
                                            new Aws.Lex.Inputs.V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureConditionalConditionalBranchResponseMessageGroupVariationArgs
                                            {
                                                CustomPayload = new Aws.Lex.Inputs.V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureConditionalConditionalBranchResponseMessageGroupVariationCustomPayloadArgs
                                                {
                                                    Value = "string",
                                                },
                                                ImageResponseCard = new Aws.Lex.Inputs.V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureConditionalConditionalBranchResponseMessageGroupVariationImageResponseCardArgs
                                                {
                                                    Title = "string",
                                                    Buttons = new[]
                                                    {
                                                        new Aws.Lex.Inputs.V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureConditionalConditionalBranchResponseMessageGroupVariationImageResponseCardButtonArgs
                                                        {
                                                            Text = "string",
                                                            Value = "string",
                                                        },
                                                    },
                                                    ImageUrl = "string",
                                                    Subtitle = "string",
                                                },
                                                PlainTextMessage = new Aws.Lex.Inputs.V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureConditionalConditionalBranchResponseMessageGroupVariationPlainTextMessageArgs
                                                {
                                                    Value = "string",
                                                },
                                                SsmlMessage = new Aws.Lex.Inputs.V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureConditionalConditionalBranchResponseMessageGroupVariationSsmlMessageArgs
                                                {
                                                    Value = "string",
                                                },
                                            },
                                        },
                                    },
                                },
                            },
                        },
                    },
                    DefaultBranch = new Aws.Lex.Inputs.V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureConditionalDefaultBranchArgs
                    {
                        NextStep = new Aws.Lex.Inputs.V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureConditionalDefaultBranchNextStepArgs
                        {
                            DialogAction = new Aws.Lex.Inputs.V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureConditionalDefaultBranchNextStepDialogActionArgs
                            {
                                Type = "string",
                                SlotToElicit = "string",
                                SuppressNextMessage = false,
                            },
                            Intent = new Aws.Lex.Inputs.V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureConditionalDefaultBranchNextStepIntentArgs
                            {
                                Name = "string",
                                Slots = new[]
                                {
                                    new Aws.Lex.Inputs.V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureConditionalDefaultBranchNextStepIntentSlotArgs
                                    {
                                        MapBlockKey = "string",
                                        Shape = "string",
                                        Value = new Aws.Lex.Inputs.V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureConditionalDefaultBranchNextStepIntentSlotValueArgs
                                        {
                                            InterpretedValue = "string",
                                        },
                                    },
                                },
                            },
                            SessionAttributes = 
                            {
                                { "string", "string" },
                            },
                        },
                        Response = new Aws.Lex.Inputs.V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureConditionalDefaultBranchResponseArgs
                        {
                            AllowInterrupt = false,
                            MessageGroups = new[]
                            {
                                new Aws.Lex.Inputs.V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureConditionalDefaultBranchResponseMessageGroupArgs
                                {
                                    Message = new Aws.Lex.Inputs.V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureConditionalDefaultBranchResponseMessageGroupMessageArgs
                                    {
                                        CustomPayload = new Aws.Lex.Inputs.V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureConditionalDefaultBranchResponseMessageGroupMessageCustomPayloadArgs
                                        {
                                            Value = "string",
                                        },
                                        ImageResponseCard = new Aws.Lex.Inputs.V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureConditionalDefaultBranchResponseMessageGroupMessageImageResponseCardArgs
                                        {
                                            Title = "string",
                                            Buttons = new[]
                                            {
                                                new Aws.Lex.Inputs.V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureConditionalDefaultBranchResponseMessageGroupMessageImageResponseCardButtonArgs
                                                {
                                                    Text = "string",
                                                    Value = "string",
                                                },
                                            },
                                            ImageUrl = "string",
                                            Subtitle = "string",
                                        },
                                        PlainTextMessage = new Aws.Lex.Inputs.V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureConditionalDefaultBranchResponseMessageGroupMessagePlainTextMessageArgs
                                        {
                                            Value = "string",
                                        },
                                        SsmlMessage = new Aws.Lex.Inputs.V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureConditionalDefaultBranchResponseMessageGroupMessageSsmlMessageArgs
                                        {
                                            Value = "string",
                                        },
                                    },
                                    Variations = new[]
                                    {
                                        new Aws.Lex.Inputs.V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureConditionalDefaultBranchResponseMessageGroupVariationArgs
                                        {
                                            CustomPayload = new Aws.Lex.Inputs.V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureConditionalDefaultBranchResponseMessageGroupVariationCustomPayloadArgs
                                            {
                                                Value = "string",
                                            },
                                            ImageResponseCard = new Aws.Lex.Inputs.V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureConditionalDefaultBranchResponseMessageGroupVariationImageResponseCardArgs
                                            {
                                                Title = "string",
                                                Buttons = new[]
                                                {
                                                    new Aws.Lex.Inputs.V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureConditionalDefaultBranchResponseMessageGroupVariationImageResponseCardButtonArgs
                                                    {
                                                        Text = "string",
                                                        Value = "string",
                                                    },
                                                },
                                                ImageUrl = "string",
                                                Subtitle = "string",
                                            },
                                            PlainTextMessage = new Aws.Lex.Inputs.V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureConditionalDefaultBranchResponseMessageGroupVariationPlainTextMessageArgs
                                            {
                                                Value = "string",
                                            },
                                            SsmlMessage = new Aws.Lex.Inputs.V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureConditionalDefaultBranchResponseMessageGroupVariationSsmlMessageArgs
                                            {
                                                Value = "string",
                                            },
                                        },
                                    },
                                },
                            },
                        },
                    },
                },
                FailureNextStep = new Aws.Lex.Inputs.V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureNextStepArgs
                {
                    DialogAction = new Aws.Lex.Inputs.V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureNextStepDialogActionArgs
                    {
                        Type = "string",
                        SlotToElicit = "string",
                        SuppressNextMessage = false,
                    },
                    Intent = new Aws.Lex.Inputs.V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureNextStepIntentArgs
                    {
                        Name = "string",
                        Slots = new[]
                        {
                            new Aws.Lex.Inputs.V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureNextStepIntentSlotArgs
                            {
                                MapBlockKey = "string",
                                Shape = "string",
                                Value = new Aws.Lex.Inputs.V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureNextStepIntentSlotValueArgs
                                {
                                    InterpretedValue = "string",
                                },
                            },
                        },
                    },
                    SessionAttributes = 
                    {
                        { "string", "string" },
                    },
                },
                FailureResponse = new Aws.Lex.Inputs.V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureResponseArgs
                {
                    AllowInterrupt = false,
                    MessageGroups = new[]
                    {
                        new Aws.Lex.Inputs.V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureResponseMessageGroupArgs
                        {
                            Message = new Aws.Lex.Inputs.V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureResponseMessageGroupMessageArgs
                            {
                                CustomPayload = new Aws.Lex.Inputs.V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureResponseMessageGroupMessageCustomPayloadArgs
                                {
                                    Value = "string",
                                },
                                ImageResponseCard = new Aws.Lex.Inputs.V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureResponseMessageGroupMessageImageResponseCardArgs
                                {
                                    Title = "string",
                                    Buttons = new[]
                                    {
                                        new Aws.Lex.Inputs.V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureResponseMessageGroupMessageImageResponseCardButtonArgs
                                        {
                                            Text = "string",
                                            Value = "string",
                                        },
                                    },
                                    ImageUrl = "string",
                                    Subtitle = "string",
                                },
                                PlainTextMessage = new Aws.Lex.Inputs.V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureResponseMessageGroupMessagePlainTextMessageArgs
                                {
                                    Value = "string",
                                },
                                SsmlMessage = new Aws.Lex.Inputs.V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureResponseMessageGroupMessageSsmlMessageArgs
                                {
                                    Value = "string",
                                },
                            },
                            Variations = new[]
                            {
                                new Aws.Lex.Inputs.V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureResponseMessageGroupVariationArgs
                                {
                                    CustomPayload = new Aws.Lex.Inputs.V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureResponseMessageGroupVariationCustomPayloadArgs
                                    {
                                        Value = "string",
                                    },
                                    ImageResponseCard = new Aws.Lex.Inputs.V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureResponseMessageGroupVariationImageResponseCardArgs
                                    {
                                        Title = "string",
                                        Buttons = new[]
                                        {
                                            new Aws.Lex.Inputs.V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureResponseMessageGroupVariationImageResponseCardButtonArgs
                                            {
                                                Text = "string",
                                                Value = "string",
                                            },
                                        },
                                        ImageUrl = "string",
                                        Subtitle = "string",
                                    },
                                    PlainTextMessage = new Aws.Lex.Inputs.V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureResponseMessageGroupVariationPlainTextMessageArgs
                                    {
                                        Value = "string",
                                    },
                                    SsmlMessage = new Aws.Lex.Inputs.V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureResponseMessageGroupVariationSsmlMessageArgs
                                    {
                                        Value = "string",
                                    },
                                },
                            },
                        },
                    },
                },
                SuccessConditional = new Aws.Lex.Inputs.V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessConditionalArgs
                {
                    Active = false,
                    ConditionalBranches = new[]
                    {
                        new Aws.Lex.Inputs.V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessConditionalConditionalBranchArgs
                        {
                            Name = "string",
                            Condition = new Aws.Lex.Inputs.V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessConditionalConditionalBranchConditionArgs
                            {
                                ExpressionString = "string",
                            },
                            NextStep = new Aws.Lex.Inputs.V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessConditionalConditionalBranchNextStepArgs
                            {
                                DialogAction = new Aws.Lex.Inputs.V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessConditionalConditionalBranchNextStepDialogActionArgs
                                {
                                    Type = "string",
                                    SlotToElicit = "string",
                                    SuppressNextMessage = false,
                                },
                                Intent = new Aws.Lex.Inputs.V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessConditionalConditionalBranchNextStepIntentArgs
                                {
                                    Name = "string",
                                    Slots = new[]
                                    {
                                        new Aws.Lex.Inputs.V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessConditionalConditionalBranchNextStepIntentSlotArgs
                                        {
                                            MapBlockKey = "string",
                                            Shape = "string",
                                            Value = new Aws.Lex.Inputs.V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessConditionalConditionalBranchNextStepIntentSlotValueArgs
                                            {
                                                InterpretedValue = "string",
                                            },
                                        },
                                    },
                                },
                                SessionAttributes = 
                                {
                                    { "string", "string" },
                                },
                            },
                            Response = new Aws.Lex.Inputs.V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessConditionalConditionalBranchResponseArgs
                            {
                                AllowInterrupt = false,
                                MessageGroups = new[]
                                {
                                    new Aws.Lex.Inputs.V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessConditionalConditionalBranchResponseMessageGroupArgs
                                    {
                                        Message = new Aws.Lex.Inputs.V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessConditionalConditionalBranchResponseMessageGroupMessageArgs
                                        {
                                            CustomPayload = new Aws.Lex.Inputs.V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessConditionalConditionalBranchResponseMessageGroupMessageCustomPayloadArgs
                                            {
                                                Value = "string",
                                            },
                                            ImageResponseCard = new Aws.Lex.Inputs.V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessConditionalConditionalBranchResponseMessageGroupMessageImageResponseCardArgs
                                            {
                                                Title = "string",
                                                Buttons = new[]
                                                {
                                                    new Aws.Lex.Inputs.V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessConditionalConditionalBranchResponseMessageGroupMessageImageResponseCardButtonArgs
                                                    {
                                                        Text = "string",
                                                        Value = "string",
                                                    },
                                                },
                                                ImageUrl = "string",
                                                Subtitle = "string",
                                            },
                                            PlainTextMessage = new Aws.Lex.Inputs.V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessConditionalConditionalBranchResponseMessageGroupMessagePlainTextMessageArgs
                                            {
                                                Value = "string",
                                            },
                                            SsmlMessage = new Aws.Lex.Inputs.V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessConditionalConditionalBranchResponseMessageGroupMessageSsmlMessageArgs
                                            {
                                                Value = "string",
                                            },
                                        },
                                        Variations = new[]
                                        {
                                            new Aws.Lex.Inputs.V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessConditionalConditionalBranchResponseMessageGroupVariationArgs
                                            {
                                                CustomPayload = new Aws.Lex.Inputs.V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessConditionalConditionalBranchResponseMessageGroupVariationCustomPayloadArgs
                                                {
                                                    Value = "string",
                                                },
                                                ImageResponseCard = new Aws.Lex.Inputs.V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessConditionalConditionalBranchResponseMessageGroupVariationImageResponseCardArgs
                                                {
                                                    Title = "string",
                                                    Buttons = new[]
                                                    {
                                                        new Aws.Lex.Inputs.V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessConditionalConditionalBranchResponseMessageGroupVariationImageResponseCardButtonArgs
                                                        {
                                                            Text = "string",
                                                            Value = "string",
                                                        },
                                                    },
                                                    ImageUrl = "string",
                                                    Subtitle = "string",
                                                },
                                                PlainTextMessage = new Aws.Lex.Inputs.V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessConditionalConditionalBranchResponseMessageGroupVariationPlainTextMessageArgs
                                                {
                                                    Value = "string",
                                                },
                                                SsmlMessage = new Aws.Lex.Inputs.V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessConditionalConditionalBranchResponseMessageGroupVariationSsmlMessageArgs
                                                {
                                                    Value = "string",
                                                },
                                            },
                                        },
                                    },
                                },
                            },
                        },
                    },
                    DefaultBranch = new Aws.Lex.Inputs.V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessConditionalDefaultBranchArgs
                    {
                        NextStep = new Aws.Lex.Inputs.V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessConditionalDefaultBranchNextStepArgs
                        {
                            DialogAction = new Aws.Lex.Inputs.V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessConditionalDefaultBranchNextStepDialogActionArgs
                            {
                                Type = "string",
                                SlotToElicit = "string",
                                SuppressNextMessage = false,
                            },
                            Intent = new Aws.Lex.Inputs.V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessConditionalDefaultBranchNextStepIntentArgs
                            {
                                Name = "string",
                                Slots = new[]
                                {
                                    new Aws.Lex.Inputs.V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessConditionalDefaultBranchNextStepIntentSlotArgs
                                    {
                                        MapBlockKey = "string",
                                        Shape = "string",
                                        Value = new Aws.Lex.Inputs.V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessConditionalDefaultBranchNextStepIntentSlotValueArgs
                                        {
                                            InterpretedValue = "string",
                                        },
                                    },
                                },
                            },
                            SessionAttributes = 
                            {
                                { "string", "string" },
                            },
                        },
                        Response = new Aws.Lex.Inputs.V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessConditionalDefaultBranchResponseArgs
                        {
                            AllowInterrupt = false,
                            MessageGroups = new[]
                            {
                                new Aws.Lex.Inputs.V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessConditionalDefaultBranchResponseMessageGroupArgs
                                {
                                    Message = new Aws.Lex.Inputs.V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessConditionalDefaultBranchResponseMessageGroupMessageArgs
                                    {
                                        CustomPayload = new Aws.Lex.Inputs.V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessConditionalDefaultBranchResponseMessageGroupMessageCustomPayloadArgs
                                        {
                                            Value = "string",
                                        },
                                        ImageResponseCard = new Aws.Lex.Inputs.V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessConditionalDefaultBranchResponseMessageGroupMessageImageResponseCardArgs
                                        {
                                            Title = "string",
                                            Buttons = new[]
                                            {
                                                new Aws.Lex.Inputs.V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessConditionalDefaultBranchResponseMessageGroupMessageImageResponseCardButtonArgs
                                                {
                                                    Text = "string",
                                                    Value = "string",
                                                },
                                            },
                                            ImageUrl = "string",
                                            Subtitle = "string",
                                        },
                                        PlainTextMessage = new Aws.Lex.Inputs.V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessConditionalDefaultBranchResponseMessageGroupMessagePlainTextMessageArgs
                                        {
                                            Value = "string",
                                        },
                                        SsmlMessage = new Aws.Lex.Inputs.V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessConditionalDefaultBranchResponseMessageGroupMessageSsmlMessageArgs
                                        {
                                            Value = "string",
                                        },
                                    },
                                    Variations = new[]
                                    {
                                        new Aws.Lex.Inputs.V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessConditionalDefaultBranchResponseMessageGroupVariationArgs
                                        {
                                            CustomPayload = new Aws.Lex.Inputs.V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessConditionalDefaultBranchResponseMessageGroupVariationCustomPayloadArgs
                                            {
                                                Value = "string",
                                            },
                                            ImageResponseCard = new Aws.Lex.Inputs.V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessConditionalDefaultBranchResponseMessageGroupVariationImageResponseCardArgs
                                            {
                                                Title = "string",
                                                Buttons = new[]
                                                {
                                                    new Aws.Lex.Inputs.V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessConditionalDefaultBranchResponseMessageGroupVariationImageResponseCardButtonArgs
                                                    {
                                                        Text = "string",
                                                        Value = "string",
                                                    },
                                                },
                                                ImageUrl = "string",
                                                Subtitle = "string",
                                            },
                                            PlainTextMessage = new Aws.Lex.Inputs.V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessConditionalDefaultBranchResponseMessageGroupVariationPlainTextMessageArgs
                                            {
                                                Value = "string",
                                            },
                                            SsmlMessage = new Aws.Lex.Inputs.V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessConditionalDefaultBranchResponseMessageGroupVariationSsmlMessageArgs
                                            {
                                                Value = "string",
                                            },
                                        },
                                    },
                                },
                            },
                        },
                    },
                },
                SuccessNextStep = new Aws.Lex.Inputs.V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessNextStepArgs
                {
                    DialogAction = new Aws.Lex.Inputs.V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessNextStepDialogActionArgs
                    {
                        Type = "string",
                        SlotToElicit = "string",
                        SuppressNextMessage = false,
                    },
                    Intent = new Aws.Lex.Inputs.V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessNextStepIntentArgs
                    {
                        Name = "string",
                        Slots = new[]
                        {
                            new Aws.Lex.Inputs.V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessNextStepIntentSlotArgs
                            {
                                MapBlockKey = "string",
                                Shape = "string",
                                Value = new Aws.Lex.Inputs.V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessNextStepIntentSlotValueArgs
                                {
                                    InterpretedValue = "string",
                                },
                            },
                        },
                    },
                    SessionAttributes = 
                    {
                        { "string", "string" },
                    },
                },
                SuccessResponse = new Aws.Lex.Inputs.V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessResponseArgs
                {
                    AllowInterrupt = false,
                    MessageGroups = new[]
                    {
                        new Aws.Lex.Inputs.V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessResponseMessageGroupArgs
                        {
                            Message = new Aws.Lex.Inputs.V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessResponseMessageGroupMessageArgs
                            {
                                CustomPayload = new Aws.Lex.Inputs.V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessResponseMessageGroupMessageCustomPayloadArgs
                                {
                                    Value = "string",
                                },
                                ImageResponseCard = new Aws.Lex.Inputs.V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessResponseMessageGroupMessageImageResponseCardArgs
                                {
                                    Title = "string",
                                    Buttons = new[]
                                    {
                                        new Aws.Lex.Inputs.V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessResponseMessageGroupMessageImageResponseCardButtonArgs
                                        {
                                            Text = "string",
                                            Value = "string",
                                        },
                                    },
                                    ImageUrl = "string",
                                    Subtitle = "string",
                                },
                                PlainTextMessage = new Aws.Lex.Inputs.V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessResponseMessageGroupMessagePlainTextMessageArgs
                                {
                                    Value = "string",
                                },
                                SsmlMessage = new Aws.Lex.Inputs.V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessResponseMessageGroupMessageSsmlMessageArgs
                                {
                                    Value = "string",
                                },
                            },
                            Variations = new[]
                            {
                                new Aws.Lex.Inputs.V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessResponseMessageGroupVariationArgs
                                {
                                    CustomPayload = new Aws.Lex.Inputs.V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessResponseMessageGroupVariationCustomPayloadArgs
                                    {
                                        Value = "string",
                                    },
                                    ImageResponseCard = new Aws.Lex.Inputs.V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessResponseMessageGroupVariationImageResponseCardArgs
                                    {
                                        Title = "string",
                                        Buttons = new[]
                                        {
                                            new Aws.Lex.Inputs.V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessResponseMessageGroupVariationImageResponseCardButtonArgs
                                            {
                                                Text = "string",
                                                Value = "string",
                                            },
                                        },
                                        ImageUrl = "string",
                                        Subtitle = "string",
                                    },
                                    PlainTextMessage = new Aws.Lex.Inputs.V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessResponseMessageGroupVariationPlainTextMessageArgs
                                    {
                                        Value = "string",
                                    },
                                    SsmlMessage = new Aws.Lex.Inputs.V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessResponseMessageGroupVariationSsmlMessageArgs
                                    {
                                        Value = "string",
                                    },
                                },
                            },
                        },
                    },
                },
                TimeoutConditional = new Aws.Lex.Inputs.V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutConditionalArgs
                {
                    Active = false,
                    ConditionalBranches = new[]
                    {
                        new Aws.Lex.Inputs.V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutConditionalConditionalBranchArgs
                        {
                            Name = "string",
                            Condition = new Aws.Lex.Inputs.V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutConditionalConditionalBranchConditionArgs
                            {
                                ExpressionString = "string",
                            },
                            NextStep = new Aws.Lex.Inputs.V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutConditionalConditionalBranchNextStepArgs
                            {
                                DialogAction = new Aws.Lex.Inputs.V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutConditionalConditionalBranchNextStepDialogActionArgs
                                {
                                    Type = "string",
                                    SlotToElicit = "string",
                                    SuppressNextMessage = false,
                                },
                                Intent = new Aws.Lex.Inputs.V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutConditionalConditionalBranchNextStepIntentArgs
                                {
                                    Name = "string",
                                    Slots = new[]
                                    {
                                        new Aws.Lex.Inputs.V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutConditionalConditionalBranchNextStepIntentSlotArgs
                                        {
                                            MapBlockKey = "string",
                                            Shape = "string",
                                            Value = new Aws.Lex.Inputs.V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutConditionalConditionalBranchNextStepIntentSlotValueArgs
                                            {
                                                InterpretedValue = "string",
                                            },
                                        },
                                    },
                                },
                                SessionAttributes = 
                                {
                                    { "string", "string" },
                                },
                            },
                            Response = new Aws.Lex.Inputs.V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutConditionalConditionalBranchResponseArgs
                            {
                                AllowInterrupt = false,
                                MessageGroups = new[]
                                {
                                    new Aws.Lex.Inputs.V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupArgs
                                    {
                                        Message = new Aws.Lex.Inputs.V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupMessageArgs
                                        {
                                            CustomPayload = new Aws.Lex.Inputs.V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupMessageCustomPayloadArgs
                                            {
                                                Value = "string",
                                            },
                                            ImageResponseCard = new Aws.Lex.Inputs.V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupMessageImageResponseCardArgs
                                            {
                                                Title = "string",
                                                Buttons = new[]
                                                {
                                                    new Aws.Lex.Inputs.V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupMessageImageResponseCardButtonArgs
                                                    {
                                                        Text = "string",
                                                        Value = "string",
                                                    },
                                                },
                                                ImageUrl = "string",
                                                Subtitle = "string",
                                            },
                                            PlainTextMessage = new Aws.Lex.Inputs.V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupMessagePlainTextMessageArgs
                                            {
                                                Value = "string",
                                            },
                                            SsmlMessage = new Aws.Lex.Inputs.V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupMessageSsmlMessageArgs
                                            {
                                                Value = "string",
                                            },
                                        },
                                        Variations = new[]
                                        {
                                            new Aws.Lex.Inputs.V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupVariationArgs
                                            {
                                                CustomPayload = new Aws.Lex.Inputs.V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupVariationCustomPayloadArgs
                                                {
                                                    Value = "string",
                                                },
                                                ImageResponseCard = new Aws.Lex.Inputs.V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupVariationImageResponseCardArgs
                                                {
                                                    Title = "string",
                                                    Buttons = new[]
                                                    {
                                                        new Aws.Lex.Inputs.V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupVariationImageResponseCardButtonArgs
                                                        {
                                                            Text = "string",
                                                            Value = "string",
                                                        },
                                                    },
                                                    ImageUrl = "string",
                                                    Subtitle = "string",
                                                },
                                                PlainTextMessage = new Aws.Lex.Inputs.V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupVariationPlainTextMessageArgs
                                                {
                                                    Value = "string",
                                                },
                                                SsmlMessage = new Aws.Lex.Inputs.V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupVariationSsmlMessageArgs
                                                {
                                                    Value = "string",
                                                },
                                            },
                                        },
                                    },
                                },
                            },
                        },
                    },
                    DefaultBranch = new Aws.Lex.Inputs.V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutConditionalDefaultBranchArgs
                    {
                        NextStep = new Aws.Lex.Inputs.V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutConditionalDefaultBranchNextStepArgs
                        {
                            DialogAction = new Aws.Lex.Inputs.V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutConditionalDefaultBranchNextStepDialogActionArgs
                            {
                                Type = "string",
                                SlotToElicit = "string",
                                SuppressNextMessage = false,
                            },
                            Intent = new Aws.Lex.Inputs.V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutConditionalDefaultBranchNextStepIntentArgs
                            {
                                Name = "string",
                                Slots = new[]
                                {
                                    new Aws.Lex.Inputs.V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutConditionalDefaultBranchNextStepIntentSlotArgs
                                    {
                                        MapBlockKey = "string",
                                        Shape = "string",
                                        Value = new Aws.Lex.Inputs.V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutConditionalDefaultBranchNextStepIntentSlotValueArgs
                                        {
                                            InterpretedValue = "string",
                                        },
                                    },
                                },
                            },
                            SessionAttributes = 
                            {
                                { "string", "string" },
                            },
                        },
                        Response = new Aws.Lex.Inputs.V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutConditionalDefaultBranchResponseArgs
                        {
                            AllowInterrupt = false,
                            MessageGroups = new[]
                            {
                                new Aws.Lex.Inputs.V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutConditionalDefaultBranchResponseMessageGroupArgs
                                {
                                    Message = new Aws.Lex.Inputs.V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutConditionalDefaultBranchResponseMessageGroupMessageArgs
                                    {
                                        CustomPayload = new Aws.Lex.Inputs.V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutConditionalDefaultBranchResponseMessageGroupMessageCustomPayloadArgs
                                        {
                                            Value = "string",
                                        },
                                        ImageResponseCard = new Aws.Lex.Inputs.V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutConditionalDefaultBranchResponseMessageGroupMessageImageResponseCardArgs
                                        {
                                            Title = "string",
                                            Buttons = new[]
                                            {
                                                new Aws.Lex.Inputs.V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutConditionalDefaultBranchResponseMessageGroupMessageImageResponseCardButtonArgs
                                                {
                                                    Text = "string",
                                                    Value = "string",
                                                },
                                            },
                                            ImageUrl = "string",
                                            Subtitle = "string",
                                        },
                                        PlainTextMessage = new Aws.Lex.Inputs.V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutConditionalDefaultBranchResponseMessageGroupMessagePlainTextMessageArgs
                                        {
                                            Value = "string",
                                        },
                                        SsmlMessage = new Aws.Lex.Inputs.V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutConditionalDefaultBranchResponseMessageGroupMessageSsmlMessageArgs
                                        {
                                            Value = "string",
                                        },
                                    },
                                    Variations = new[]
                                    {
                                        new Aws.Lex.Inputs.V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutConditionalDefaultBranchResponseMessageGroupVariationArgs
                                        {
                                            CustomPayload = new Aws.Lex.Inputs.V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutConditionalDefaultBranchResponseMessageGroupVariationCustomPayloadArgs
                                            {
                                                Value = "string",
                                            },
                                            ImageResponseCard = new Aws.Lex.Inputs.V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutConditionalDefaultBranchResponseMessageGroupVariationImageResponseCardArgs
                                            {
                                                Title = "string",
                                                Buttons = new[]
                                                {
                                                    new Aws.Lex.Inputs.V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutConditionalDefaultBranchResponseMessageGroupVariationImageResponseCardButtonArgs
                                                    {
                                                        Text = "string",
                                                        Value = "string",
                                                    },
                                                },
                                                ImageUrl = "string",
                                                Subtitle = "string",
                                            },
                                            PlainTextMessage = new Aws.Lex.Inputs.V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutConditionalDefaultBranchResponseMessageGroupVariationPlainTextMessageArgs
                                            {
                                                Value = "string",
                                            },
                                            SsmlMessage = new Aws.Lex.Inputs.V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutConditionalDefaultBranchResponseMessageGroupVariationSsmlMessageArgs
                                            {
                                                Value = "string",
                                            },
                                        },
                                    },
                                },
                            },
                        },
                    },
                },
                TimeoutNextStep = new Aws.Lex.Inputs.V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutNextStepArgs
                {
                    DialogAction = new Aws.Lex.Inputs.V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutNextStepDialogActionArgs
                    {
                        Type = "string",
                        SlotToElicit = "string",
                        SuppressNextMessage = false,
                    },
                    Intent = new Aws.Lex.Inputs.V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutNextStepIntentArgs
                    {
                        Name = "string",
                        Slots = new[]
                        {
                            new Aws.Lex.Inputs.V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutNextStepIntentSlotArgs
                            {
                                MapBlockKey = "string",
                                Shape = "string",
                                Value = new Aws.Lex.Inputs.V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutNextStepIntentSlotValueArgs
                                {
                                    InterpretedValue = "string",
                                },
                            },
                        },
                    },
                    SessionAttributes = 
                    {
                        { "string", "string" },
                    },
                },
                TimeoutResponse = new Aws.Lex.Inputs.V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutResponseArgs
                {
                    AllowInterrupt = false,
                    MessageGroups = new[]
                    {
                        new Aws.Lex.Inputs.V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutResponseMessageGroupArgs
                        {
                            Message = new Aws.Lex.Inputs.V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutResponseMessageGroupMessageArgs
                            {
                                CustomPayload = new Aws.Lex.Inputs.V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutResponseMessageGroupMessageCustomPayloadArgs
                                {
                                    Value = "string",
                                },
                                ImageResponseCard = new Aws.Lex.Inputs.V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutResponseMessageGroupMessageImageResponseCardArgs
                                {
                                    Title = "string",
                                    Buttons = new[]
                                    {
                                        new Aws.Lex.Inputs.V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutResponseMessageGroupMessageImageResponseCardButtonArgs
                                        {
                                            Text = "string",
                                            Value = "string",
                                        },
                                    },
                                    ImageUrl = "string",
                                    Subtitle = "string",
                                },
                                PlainTextMessage = new Aws.Lex.Inputs.V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutResponseMessageGroupMessagePlainTextMessageArgs
                                {
                                    Value = "string",
                                },
                                SsmlMessage = new Aws.Lex.Inputs.V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutResponseMessageGroupMessageSsmlMessageArgs
                                {
                                    Value = "string",
                                },
                            },
                            Variations = new[]
                            {
                                new Aws.Lex.Inputs.V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutResponseMessageGroupVariationArgs
                                {
                                    CustomPayload = new Aws.Lex.Inputs.V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutResponseMessageGroupVariationCustomPayloadArgs
                                    {
                                        Value = "string",
                                    },
                                    ImageResponseCard = new Aws.Lex.Inputs.V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutResponseMessageGroupVariationImageResponseCardArgs
                                    {
                                        Title = "string",
                                        Buttons = new[]
                                        {
                                            new Aws.Lex.Inputs.V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutResponseMessageGroupVariationImageResponseCardButtonArgs
                                            {
                                                Text = "string",
                                                Value = "string",
                                            },
                                        },
                                        ImageUrl = "string",
                                        Subtitle = "string",
                                    },
                                    PlainTextMessage = new Aws.Lex.Inputs.V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutResponseMessageGroupVariationPlainTextMessageArgs
                                    {
                                        Value = "string",
                                    },
                                    SsmlMessage = new Aws.Lex.Inputs.V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutResponseMessageGroupVariationSsmlMessageArgs
                                    {
                                        Value = "string",
                                    },
                                },
                            },
                        },
                    },
                },
            },
        },
        InitialResponseSetting = new Aws.Lex.Inputs.V2modelsIntentInitialResponseSettingArgs
        {
            CodeHook = new Aws.Lex.Inputs.V2modelsIntentInitialResponseSettingCodeHookArgs
            {
                Active = false,
                EnableCodeHookInvocation = false,
                InvocationLabel = "string",
                PostCodeHookSpecification = new Aws.Lex.Inputs.V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationArgs
                {
                    FailureConditional = new Aws.Lex.Inputs.V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureConditionalArgs
                    {
                        Active = false,
                        ConditionalBranches = new[]
                        {
                            new Aws.Lex.Inputs.V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureConditionalConditionalBranchArgs
                            {
                                Name = "string",
                                Condition = new Aws.Lex.Inputs.V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureConditionalConditionalBranchConditionArgs
                                {
                                    ExpressionString = "string",
                                },
                                NextStep = new Aws.Lex.Inputs.V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureConditionalConditionalBranchNextStepArgs
                                {
                                    DialogAction = new Aws.Lex.Inputs.V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureConditionalConditionalBranchNextStepDialogActionArgs
                                    {
                                        Type = "string",
                                        SlotToElicit = "string",
                                        SuppressNextMessage = false,
                                    },
                                    Intent = new Aws.Lex.Inputs.V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureConditionalConditionalBranchNextStepIntentArgs
                                    {
                                        Name = "string",
                                        Slots = new[]
                                        {
                                            new Aws.Lex.Inputs.V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureConditionalConditionalBranchNextStepIntentSlotArgs
                                            {
                                                MapBlockKey = "string",
                                                Shape = "string",
                                                Value = new Aws.Lex.Inputs.V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureConditionalConditionalBranchNextStepIntentSlotValueArgs
                                                {
                                                    InterpretedValue = "string",
                                                },
                                            },
                                        },
                                    },
                                    SessionAttributes = 
                                    {
                                        { "string", "string" },
                                    },
                                },
                                Response = new Aws.Lex.Inputs.V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureConditionalConditionalBranchResponseArgs
                                {
                                    AllowInterrupt = false,
                                    MessageGroups = new[]
                                    {
                                        new Aws.Lex.Inputs.V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureConditionalConditionalBranchResponseMessageGroupArgs
                                        {
                                            Message = new Aws.Lex.Inputs.V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureConditionalConditionalBranchResponseMessageGroupMessageArgs
                                            {
                                                CustomPayload = new Aws.Lex.Inputs.V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureConditionalConditionalBranchResponseMessageGroupMessageCustomPayloadArgs
                                                {
                                                    Value = "string",
                                                },
                                                ImageResponseCard = new Aws.Lex.Inputs.V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureConditionalConditionalBranchResponseMessageGroupMessageImageResponseCardArgs
                                                {
                                                    Title = "string",
                                                    Buttons = new[]
                                                    {
                                                        new Aws.Lex.Inputs.V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureConditionalConditionalBranchResponseMessageGroupMessageImageResponseCardButtonArgs
                                                        {
                                                            Text = "string",
                                                            Value = "string",
                                                        },
                                                    },
                                                    ImageUrl = "string",
                                                    Subtitle = "string",
                                                },
                                                PlainTextMessage = new Aws.Lex.Inputs.V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureConditionalConditionalBranchResponseMessageGroupMessagePlainTextMessageArgs
                                                {
                                                    Value = "string",
                                                },
                                                SsmlMessage = new Aws.Lex.Inputs.V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureConditionalConditionalBranchResponseMessageGroupMessageSsmlMessageArgs
                                                {
                                                    Value = "string",
                                                },
                                            },
                                            Variations = new[]
                                            {
                                                new Aws.Lex.Inputs.V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureConditionalConditionalBranchResponseMessageGroupVariationArgs
                                                {
                                                    CustomPayload = new Aws.Lex.Inputs.V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureConditionalConditionalBranchResponseMessageGroupVariationCustomPayloadArgs
                                                    {
                                                        Value = "string",
                                                    },
                                                    ImageResponseCard = new Aws.Lex.Inputs.V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureConditionalConditionalBranchResponseMessageGroupVariationImageResponseCardArgs
                                                    {
                                                        Title = "string",
                                                        Buttons = new[]
                                                        {
                                                            new Aws.Lex.Inputs.V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureConditionalConditionalBranchResponseMessageGroupVariationImageResponseCardButtonArgs
                                                            {
                                                                Text = "string",
                                                                Value = "string",
                                                            },
                                                        },
                                                        ImageUrl = "string",
                                                        Subtitle = "string",
                                                    },
                                                    PlainTextMessage = new Aws.Lex.Inputs.V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureConditionalConditionalBranchResponseMessageGroupVariationPlainTextMessageArgs
                                                    {
                                                        Value = "string",
                                                    },
                                                    SsmlMessage = new Aws.Lex.Inputs.V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureConditionalConditionalBranchResponseMessageGroupVariationSsmlMessageArgs
                                                    {
                                                        Value = "string",
                                                    },
                                                },
                                            },
                                        },
                                    },
                                },
                            },
                        },
                        DefaultBranch = new Aws.Lex.Inputs.V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureConditionalDefaultBranchArgs
                        {
                            NextStep = new Aws.Lex.Inputs.V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureConditionalDefaultBranchNextStepArgs
                            {
                                DialogAction = new Aws.Lex.Inputs.V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureConditionalDefaultBranchNextStepDialogActionArgs
                                {
                                    Type = "string",
                                    SlotToElicit = "string",
                                    SuppressNextMessage = false,
                                },
                                Intent = new Aws.Lex.Inputs.V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureConditionalDefaultBranchNextStepIntentArgs
                                {
                                    Name = "string",
                                    Slots = new[]
                                    {
                                        new Aws.Lex.Inputs.V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureConditionalDefaultBranchNextStepIntentSlotArgs
                                        {
                                            MapBlockKey = "string",
                                            Shape = "string",
                                            Value = new Aws.Lex.Inputs.V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureConditionalDefaultBranchNextStepIntentSlotValueArgs
                                            {
                                                InterpretedValue = "string",
                                            },
                                        },
                                    },
                                },
                                SessionAttributes = 
                                {
                                    { "string", "string" },
                                },
                            },
                            Response = new Aws.Lex.Inputs.V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureConditionalDefaultBranchResponseArgs
                            {
                                AllowInterrupt = false,
                                MessageGroups = new[]
                                {
                                    new Aws.Lex.Inputs.V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureConditionalDefaultBranchResponseMessageGroupArgs
                                    {
                                        Message = new Aws.Lex.Inputs.V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureConditionalDefaultBranchResponseMessageGroupMessageArgs
                                        {
                                            CustomPayload = new Aws.Lex.Inputs.V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureConditionalDefaultBranchResponseMessageGroupMessageCustomPayloadArgs
                                            {
                                                Value = "string",
                                            },
                                            ImageResponseCard = new Aws.Lex.Inputs.V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureConditionalDefaultBranchResponseMessageGroupMessageImageResponseCardArgs
                                            {
                                                Title = "string",
                                                Buttons = new[]
                                                {
                                                    new Aws.Lex.Inputs.V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureConditionalDefaultBranchResponseMessageGroupMessageImageResponseCardButtonArgs
                                                    {
                                                        Text = "string",
                                                        Value = "string",
                                                    },
                                                },
                                                ImageUrl = "string",
                                                Subtitle = "string",
                                            },
                                            PlainTextMessage = new Aws.Lex.Inputs.V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureConditionalDefaultBranchResponseMessageGroupMessagePlainTextMessageArgs
                                            {
                                                Value = "string",
                                            },
                                            SsmlMessage = new Aws.Lex.Inputs.V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureConditionalDefaultBranchResponseMessageGroupMessageSsmlMessageArgs
                                            {
                                                Value = "string",
                                            },
                                        },
                                        Variations = new[]
                                        {
                                            new Aws.Lex.Inputs.V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureConditionalDefaultBranchResponseMessageGroupVariationArgs
                                            {
                                                CustomPayload = new Aws.Lex.Inputs.V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureConditionalDefaultBranchResponseMessageGroupVariationCustomPayloadArgs
                                                {
                                                    Value = "string",
                                                },
                                                ImageResponseCard = new Aws.Lex.Inputs.V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureConditionalDefaultBranchResponseMessageGroupVariationImageResponseCardArgs
                                                {
                                                    Title = "string",
                                                    Buttons = new[]
                                                    {
                                                        new Aws.Lex.Inputs.V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureConditionalDefaultBranchResponseMessageGroupVariationImageResponseCardButtonArgs
                                                        {
                                                            Text = "string",
                                                            Value = "string",
                                                        },
                                                    },
                                                    ImageUrl = "string",
                                                    Subtitle = "string",
                                                },
                                                PlainTextMessage = new Aws.Lex.Inputs.V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureConditionalDefaultBranchResponseMessageGroupVariationPlainTextMessageArgs
                                                {
                                                    Value = "string",
                                                },
                                                SsmlMessage = new Aws.Lex.Inputs.V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureConditionalDefaultBranchResponseMessageGroupVariationSsmlMessageArgs
                                                {
                                                    Value = "string",
                                                },
                                            },
                                        },
                                    },
                                },
                            },
                        },
                    },
                    FailureNextStep = new Aws.Lex.Inputs.V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureNextStepArgs
                    {
                        DialogAction = new Aws.Lex.Inputs.V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureNextStepDialogActionArgs
                        {
                            Type = "string",
                            SlotToElicit = "string",
                            SuppressNextMessage = false,
                        },
                        Intent = new Aws.Lex.Inputs.V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureNextStepIntentArgs
                        {
                            Name = "string",
                            Slots = new[]
                            {
                                new Aws.Lex.Inputs.V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureNextStepIntentSlotArgs
                                {
                                    MapBlockKey = "string",
                                    Shape = "string",
                                    Value = new Aws.Lex.Inputs.V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureNextStepIntentSlotValueArgs
                                    {
                                        InterpretedValue = "string",
                                    },
                                },
                            },
                        },
                        SessionAttributes = 
                        {
                            { "string", "string" },
                        },
                    },
                    FailureResponse = new Aws.Lex.Inputs.V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureResponseArgs
                    {
                        AllowInterrupt = false,
                        MessageGroups = new[]
                        {
                            new Aws.Lex.Inputs.V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureResponseMessageGroupArgs
                            {
                                Message = new Aws.Lex.Inputs.V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureResponseMessageGroupMessageArgs
                                {
                                    CustomPayload = new Aws.Lex.Inputs.V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureResponseMessageGroupMessageCustomPayloadArgs
                                    {
                                        Value = "string",
                                    },
                                    ImageResponseCard = new Aws.Lex.Inputs.V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureResponseMessageGroupMessageImageResponseCardArgs
                                    {
                                        Title = "string",
                                        Buttons = new[]
                                        {
                                            new Aws.Lex.Inputs.V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureResponseMessageGroupMessageImageResponseCardButtonArgs
                                            {
                                                Text = "string",
                                                Value = "string",
                                            },
                                        },
                                        ImageUrl = "string",
                                        Subtitle = "string",
                                    },
                                    PlainTextMessage = new Aws.Lex.Inputs.V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureResponseMessageGroupMessagePlainTextMessageArgs
                                    {
                                        Value = "string",
                                    },
                                    SsmlMessage = new Aws.Lex.Inputs.V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureResponseMessageGroupMessageSsmlMessageArgs
                                    {
                                        Value = "string",
                                    },
                                },
                                Variations = new[]
                                {
                                    new Aws.Lex.Inputs.V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureResponseMessageGroupVariationArgs
                                    {
                                        CustomPayload = new Aws.Lex.Inputs.V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureResponseMessageGroupVariationCustomPayloadArgs
                                        {
                                            Value = "string",
                                        },
                                        ImageResponseCard = new Aws.Lex.Inputs.V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureResponseMessageGroupVariationImageResponseCardArgs
                                        {
                                            Title = "string",
                                            Buttons = new[]
                                            {
                                                new Aws.Lex.Inputs.V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureResponseMessageGroupVariationImageResponseCardButtonArgs
                                                {
                                                    Text = "string",
                                                    Value = "string",
                                                },
                                            },
                                            ImageUrl = "string",
                                            Subtitle = "string",
                                        },
                                        PlainTextMessage = new Aws.Lex.Inputs.V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureResponseMessageGroupVariationPlainTextMessageArgs
                                        {
                                            Value = "string",
                                        },
                                        SsmlMessage = new Aws.Lex.Inputs.V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureResponseMessageGroupVariationSsmlMessageArgs
                                        {
                                            Value = "string",
                                        },
                                    },
                                },
                            },
                        },
                    },
                    SuccessConditional = new Aws.Lex.Inputs.V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationSuccessConditionalArgs
                    {
                        Active = false,
                        ConditionalBranches = new[]
                        {
                            new Aws.Lex.Inputs.V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationSuccessConditionalConditionalBranchArgs
                            {
                                Name = "string",
                                Condition = new Aws.Lex.Inputs.V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationSuccessConditionalConditionalBranchConditionArgs
                                {
                                    ExpressionString = "string",
                                },
                                NextStep = new Aws.Lex.Inputs.V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationSuccessConditionalConditionalBranchNextStepArgs
                                {
                                    DialogAction = new Aws.Lex.Inputs.V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationSuccessConditionalConditionalBranchNextStepDialogActionArgs
                                    {
                                        Type = "string",
                                        SlotToElicit = "string",
                                        SuppressNextMessage = false,
                                    },
                                    Intent = new Aws.Lex.Inputs.V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationSuccessConditionalConditionalBranchNextStepIntentArgs
                                    {
                                        Name = "string",
                                        Slots = new[]
                                        {
                                            new Aws.Lex.Inputs.V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationSuccessConditionalConditionalBranchNextStepIntentSlotArgs
                                            {
                                                MapBlockKey = "string",
                                                Shape = "string",
                                                Value = new Aws.Lex.Inputs.V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationSuccessConditionalConditionalBranchNextStepIntentSlotValueArgs
                                                {
                                                    InterpretedValue = "string",
                                                },
                                            },
                                        },
                                    },
                                    SessionAttributes = 
                                    {
                                        { "string", "string" },
                                    },
                                },
                                Response = new Aws.Lex.Inputs.V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationSuccessConditionalConditionalBranchResponseArgs
                                {
                                    AllowInterrupt = false,
                                    MessageGroups = new[]
                                    {
                                        new Aws.Lex.Inputs.V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationSuccessConditionalConditionalBranchResponseMessageGroupArgs
                                        {
                                            Message = new Aws.Lex.Inputs.V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationSuccessConditionalConditionalBranchResponseMessageGroupMessageArgs
                                            {
                                                CustomPayload = new Aws.Lex.Inputs.V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationSuccessConditionalConditionalBranchResponseMessageGroupMessageCustomPayloadArgs
                                                {
                                                    Value = "string",
                                                },
                                                ImageResponseCard = new Aws.Lex.Inputs.V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationSuccessConditionalConditionalBranchResponseMessageGroupMessageImageResponseCardArgs
                                                {
                                                    Title = "string",
                                                    Buttons = new[]
                                                    {
                                                        new Aws.Lex.Inputs.V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationSuccessConditionalConditionalBranchResponseMessageGroupMessageImageResponseCardButtonArgs
                                                        {
                                                            Text = "string",
                                                            Value = "string",
                                                        },
                                                    },
                                                    ImageUrl = "string",
                                                    Subtitle = "string",
                                                },
                                                PlainTextMessage = new Aws.Lex.Inputs.V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationSuccessConditionalConditionalBranchResponseMessageGroupMessagePlainTextMessageArgs
                                                {
                                                    Value = "string",
                                                },
                                                SsmlMessage = new Aws.Lex.Inputs.V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationSuccessConditionalConditionalBranchResponseMessageGroupMessageSsmlMessageArgs
                                                {
                                                    Value = "string",
                                                },
                                            },
                                            Variations = new[]
                                            {
                                                new Aws.Lex.Inputs.V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationSuccessConditionalConditionalBranchResponseMessageGroupVariationArgs
                                                {
                                                    CustomPayload = new Aws.Lex.Inputs.V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationSuccessConditionalConditionalBranchResponseMessageGroupVariationCustomPayloadArgs
                                                    {
                                                        Value = "string",
                                                    },
                                                    ImageResponseCard = new Aws.Lex.Inputs.V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationSuccessConditionalConditionalBranchResponseMessageGroupVariationImageResponseCardArgs
                                                    {
                                                        Title = "string",
                                                        Buttons = new[]
                                                        {
                                                            new Aws.Lex.Inputs.V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationSuccessConditionalConditionalBranchResponseMessageGroupVariationImageResponseCardButtonArgs
                                                            {
                                                                Text = "string",
                                                                Value = "string",
                                                            },
                                                        },
                                                        ImageUrl = "string",
                                                        Subtitle = "string",
                                                    },
                                                    PlainTextMessage = new Aws.Lex.Inputs.V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationSuccessConditionalConditionalBranchResponseMessageGroupVariationPlainTextMessageArgs
                                                    {
                                                        Value = "string",
                                                    },
                                                    SsmlMessage = new Aws.Lex.Inputs.V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationSuccessConditionalConditionalBranchResponseMessageGroupVariationSsmlMessageArgs
                                                    {
                                                        Value = "string",
                                                    },
                                                },
                                            },
                                        },
                                    },
                                },
                            },
                        },
                        DefaultBranch = new Aws.Lex.Inputs.V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationSuccessConditionalDefaultBranchArgs
                        {
                            NextStep = new Aws.Lex.Inputs.V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationSuccessConditionalDefaultBranchNextStepArgs
                            {
                                DialogAction = new Aws.Lex.Inputs.V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationSuccessConditionalDefaultBranchNextStepDialogActionArgs
                                {
                                    Type = "string",
                                    SlotToElicit = "string",
                                    SuppressNextMessage = false,
                                },
                                Intent = new Aws.Lex.Inputs.V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationSuccessConditionalDefaultBranchNextStepIntentArgs
                                {
                                    Name = "string",
                                    Slots = new[]
                                    {
                                        new Aws.Lex.Inputs.V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationSuccessConditionalDefaultBranchNextStepIntentSlotArgs
                                        {
                                            MapBlockKey = "string",
                                            Shape = "string",
                                            Value = new Aws.Lex.Inputs.V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationSuccessConditionalDefaultBranchNextStepIntentSlotValueArgs
                                            {
                                                InterpretedValue = "string",
                                            },
                                        },
                                    },
                                },
                                SessionAttributes = 
                                {
                                    { "string", "string" },
                                },
                            },
                            Response = new Aws.Lex.Inputs.V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationSuccessConditionalDefaultBranchResponseArgs
                            {
                                AllowInterrupt = false,
                                MessageGroups = new[]
                                {
                                    new Aws.Lex.Inputs.V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationSuccessConditionalDefaultBranchResponseMessageGroupArgs
                                    {
                                        Message = new Aws.Lex.Inputs.V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationSuccessConditionalDefaultBranchResponseMessageGroupMessageArgs
                                        {
                                            CustomPayload = new Aws.Lex.Inputs.V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationSuccessConditionalDefaultBranchResponseMessageGroupMessageCustomPayloadArgs
                                            {
                                                Value = "string",
                                            },
                                            ImageResponseCard = new Aws.Lex.Inputs.V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationSuccessConditionalDefaultBranchResponseMessageGroupMessageImageResponseCardArgs
                                            {
                                                Title = "string",
                                                Buttons = new[]
                                                {
                                                    new Aws.Lex.Inputs.V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationSuccessConditionalDefaultBranchResponseMessageGroupMessageImageResponseCardButtonArgs
                                                    {
                                                        Text = "string",
                                                        Value = "string",
                                                    },
                                                },
                                                ImageUrl = "string",
                                                Subtitle = "string",
                                            },
                                            PlainTextMessage = new Aws.Lex.Inputs.V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationSuccessConditionalDefaultBranchResponseMessageGroupMessagePlainTextMessageArgs
                                            {
                                                Value = "string",
                                            },
                                            SsmlMessage = new Aws.Lex.Inputs.V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationSuccessConditionalDefaultBranchResponseMessageGroupMessageSsmlMessageArgs
                                            {
                                                Value = "string",
                                            },
                                        },
                                        Variations = new[]
                                        {
                                            new Aws.Lex.Inputs.V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationSuccessConditionalDefaultBranchResponseMessageGroupVariationArgs
                                            {
                                                CustomPayload = new Aws.Lex.Inputs.V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationSuccessConditionalDefaultBranchResponseMessageGroupVariationCustomPayloadArgs
                                                {
                                                    Value = "string",
                                                },
                                                ImageResponseCard = new Aws.Lex.Inputs.V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationSuccessConditionalDefaultBranchResponseMessageGroupVariationImageResponseCardArgs
                                                {
                                                    Title = "string",
                                                    Buttons = new[]
                                                    {
                                                        new Aws.Lex.Inputs.V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationSuccessConditionalDefaultBranchResponseMessageGroupVariationImageResponseCardButtonArgs
                                                        {
                                                            Text = "string",
                                                            Value = "string",
                                                        },
                                                    },
                                                    ImageUrl = "string",
                                                    Subtitle = "string",
                                                },
                                                PlainTextMessage = new Aws.Lex.Inputs.V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationSuccessConditionalDefaultBranchResponseMessageGroupVariationPlainTextMessageArgs
                                                {
                                                    Value = "string",
                                                },
                                                SsmlMessage = new Aws.Lex.Inputs.V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationSuccessConditionalDefaultBranchResponseMessageGroupVariationSsmlMessageArgs
                                                {
                                                    Value = "string",
                                                },
                                            },
                                        },
                                    },
                                },
                            },
                        },
                    },
                    SuccessNextStep = new Aws.Lex.Inputs.V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationSuccessNextStepArgs
                    {
                        DialogAction = new Aws.Lex.Inputs.V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationSuccessNextStepDialogActionArgs
                        {
                            Type = "string",
                            SlotToElicit = "string",
                            SuppressNextMessage = false,
                        },
                        Intent = new Aws.Lex.Inputs.V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationSuccessNextStepIntentArgs
                        {
                            Name = "string",
                            Slots = new[]
                            {
                                new Aws.Lex.Inputs.V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationSuccessNextStepIntentSlotArgs
                                {
                                    MapBlockKey = "string",
                                    Shape = "string",
                                    Value = new Aws.Lex.Inputs.V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationSuccessNextStepIntentSlotValueArgs
                                    {
                                        InterpretedValue = "string",
                                    },
                                },
                            },
                        },
                        SessionAttributes = 
                        {
                            { "string", "string" },
                        },
                    },
                    SuccessResponse = new Aws.Lex.Inputs.V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationSuccessResponseArgs
                    {
                        AllowInterrupt = false,
                        MessageGroups = new[]
                        {
                            new Aws.Lex.Inputs.V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationSuccessResponseMessageGroupArgs
                            {
                                Message = new Aws.Lex.Inputs.V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationSuccessResponseMessageGroupMessageArgs
                                {
                                    CustomPayload = new Aws.Lex.Inputs.V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationSuccessResponseMessageGroupMessageCustomPayloadArgs
                                    {
                                        Value = "string",
                                    },
                                    ImageResponseCard = new Aws.Lex.Inputs.V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationSuccessResponseMessageGroupMessageImageResponseCardArgs
                                    {
                                        Title = "string",
                                        Buttons = new[]
                                        {
                                            new Aws.Lex.Inputs.V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationSuccessResponseMessageGroupMessageImageResponseCardButtonArgs
                                            {
                                                Text = "string",
                                                Value = "string",
                                            },
                                        },
                                        ImageUrl = "string",
                                        Subtitle = "string",
                                    },
                                    PlainTextMessage = new Aws.Lex.Inputs.V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationSuccessResponseMessageGroupMessagePlainTextMessageArgs
                                    {
                                        Value = "string",
                                    },
                                    SsmlMessage = new Aws.Lex.Inputs.V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationSuccessResponseMessageGroupMessageSsmlMessageArgs
                                    {
                                        Value = "string",
                                    },
                                },
                                Variations = new[]
                                {
                                    new Aws.Lex.Inputs.V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationSuccessResponseMessageGroupVariationArgs
                                    {
                                        CustomPayload = new Aws.Lex.Inputs.V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationSuccessResponseMessageGroupVariationCustomPayloadArgs
                                        {
                                            Value = "string",
                                        },
                                        ImageResponseCard = new Aws.Lex.Inputs.V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationSuccessResponseMessageGroupVariationImageResponseCardArgs
                                        {
                                            Title = "string",
                                            Buttons = new[]
                                            {
                                                new Aws.Lex.Inputs.V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationSuccessResponseMessageGroupVariationImageResponseCardButtonArgs
                                                {
                                                    Text = "string",
                                                    Value = "string",
                                                },
                                            },
                                            ImageUrl = "string",
                                            Subtitle = "string",
                                        },
                                        PlainTextMessage = new Aws.Lex.Inputs.V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationSuccessResponseMessageGroupVariationPlainTextMessageArgs
                                        {
                                            Value = "string",
                                        },
                                        SsmlMessage = new Aws.Lex.Inputs.V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationSuccessResponseMessageGroupVariationSsmlMessageArgs
                                        {
                                            Value = "string",
                                        },
                                    },
                                },
                            },
                        },
                    },
                    TimeoutConditional = new Aws.Lex.Inputs.V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutConditionalArgs
                    {
                        Active = false,
                        ConditionalBranches = new[]
                        {
                            new Aws.Lex.Inputs.V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutConditionalConditionalBranchArgs
                            {
                                Name = "string",
                                Condition = new Aws.Lex.Inputs.V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutConditionalConditionalBranchConditionArgs
                                {
                                    ExpressionString = "string",
                                },
                                NextStep = new Aws.Lex.Inputs.V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutConditionalConditionalBranchNextStepArgs
                                {
                                    DialogAction = new Aws.Lex.Inputs.V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutConditionalConditionalBranchNextStepDialogActionArgs
                                    {
                                        Type = "string",
                                        SlotToElicit = "string",
                                        SuppressNextMessage = false,
                                    },
                                    Intent = new Aws.Lex.Inputs.V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutConditionalConditionalBranchNextStepIntentArgs
                                    {
                                        Name = "string",
                                        Slots = new[]
                                        {
                                            new Aws.Lex.Inputs.V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutConditionalConditionalBranchNextStepIntentSlotArgs
                                            {
                                                MapBlockKey = "string",
                                                Shape = "string",
                                                Value = new Aws.Lex.Inputs.V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutConditionalConditionalBranchNextStepIntentSlotValueArgs
                                                {
                                                    InterpretedValue = "string",
                                                },
                                            },
                                        },
                                    },
                                    SessionAttributes = 
                                    {
                                        { "string", "string" },
                                    },
                                },
                                Response = new Aws.Lex.Inputs.V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutConditionalConditionalBranchResponseArgs
                                {
                                    AllowInterrupt = false,
                                    MessageGroups = new[]
                                    {
                                        new Aws.Lex.Inputs.V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupArgs
                                        {
                                            Message = new Aws.Lex.Inputs.V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupMessageArgs
                                            {
                                                CustomPayload = new Aws.Lex.Inputs.V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupMessageCustomPayloadArgs
                                                {
                                                    Value = "string",
                                                },
                                                ImageResponseCard = new Aws.Lex.Inputs.V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupMessageImageResponseCardArgs
                                                {
                                                    Title = "string",
                                                    Buttons = new[]
                                                    {
                                                        new Aws.Lex.Inputs.V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupMessageImageResponseCardButtonArgs
                                                        {
                                                            Text = "string",
                                                            Value = "string",
                                                        },
                                                    },
                                                    ImageUrl = "string",
                                                    Subtitle = "string",
                                                },
                                                PlainTextMessage = new Aws.Lex.Inputs.V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupMessagePlainTextMessageArgs
                                                {
                                                    Value = "string",
                                                },
                                                SsmlMessage = new Aws.Lex.Inputs.V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupMessageSsmlMessageArgs
                                                {
                                                    Value = "string",
                                                },
                                            },
                                            Variations = new[]
                                            {
                                                new Aws.Lex.Inputs.V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupVariationArgs
                                                {
                                                    CustomPayload = new Aws.Lex.Inputs.V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupVariationCustomPayloadArgs
                                                    {
                                                        Value = "string",
                                                    },
                                                    ImageResponseCard = new Aws.Lex.Inputs.V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupVariationImageResponseCardArgs
                                                    {
                                                        Title = "string",
                                                        Buttons = new[]
                                                        {
                                                            new Aws.Lex.Inputs.V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupVariationImageResponseCardButtonArgs
                                                            {
                                                                Text = "string",
                                                                Value = "string",
                                                            },
                                                        },
                                                        ImageUrl = "string",
                                                        Subtitle = "string",
                                                    },
                                                    PlainTextMessage = new Aws.Lex.Inputs.V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupVariationPlainTextMessageArgs
                                                    {
                                                        Value = "string",
                                                    },
                                                    SsmlMessage = new Aws.Lex.Inputs.V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupVariationSsmlMessageArgs
                                                    {
                                                        Value = "string",
                                                    },
                                                },
                                            },
                                        },
                                    },
                                },
                            },
                        },
                        DefaultBranch = new Aws.Lex.Inputs.V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutConditionalDefaultBranchArgs
                        {
                            NextStep = new Aws.Lex.Inputs.V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutConditionalDefaultBranchNextStepArgs
                            {
                                DialogAction = new Aws.Lex.Inputs.V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutConditionalDefaultBranchNextStepDialogActionArgs
                                {
                                    Type = "string",
                                    SlotToElicit = "string",
                                    SuppressNextMessage = false,
                                },
                                Intent = new Aws.Lex.Inputs.V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutConditionalDefaultBranchNextStepIntentArgs
                                {
                                    Name = "string",
                                    Slots = new[]
                                    {
                                        new Aws.Lex.Inputs.V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutConditionalDefaultBranchNextStepIntentSlotArgs
                                        {
                                            MapBlockKey = "string",
                                            Shape = "string",
                                            Value = new Aws.Lex.Inputs.V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutConditionalDefaultBranchNextStepIntentSlotValueArgs
                                            {
                                                InterpretedValue = "string",
                                            },
                                        },
                                    },
                                },
                                SessionAttributes = 
                                {
                                    { "string", "string" },
                                },
                            },
                            Response = new Aws.Lex.Inputs.V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutConditionalDefaultBranchResponseArgs
                            {
                                AllowInterrupt = false,
                                MessageGroups = new[]
                                {
                                    new Aws.Lex.Inputs.V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutConditionalDefaultBranchResponseMessageGroupArgs
                                    {
                                        Message = new Aws.Lex.Inputs.V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutConditionalDefaultBranchResponseMessageGroupMessageArgs
                                        {
                                            CustomPayload = new Aws.Lex.Inputs.V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutConditionalDefaultBranchResponseMessageGroupMessageCustomPayloadArgs
                                            {
                                                Value = "string",
                                            },
                                            ImageResponseCard = new Aws.Lex.Inputs.V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutConditionalDefaultBranchResponseMessageGroupMessageImageResponseCardArgs
                                            {
                                                Title = "string",
                                                Buttons = new[]
                                                {
                                                    new Aws.Lex.Inputs.V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutConditionalDefaultBranchResponseMessageGroupMessageImageResponseCardButtonArgs
                                                    {
                                                        Text = "string",
                                                        Value = "string",
                                                    },
                                                },
                                                ImageUrl = "string",
                                                Subtitle = "string",
                                            },
                                            PlainTextMessage = new Aws.Lex.Inputs.V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutConditionalDefaultBranchResponseMessageGroupMessagePlainTextMessageArgs
                                            {
                                                Value = "string",
                                            },
                                            SsmlMessage = new Aws.Lex.Inputs.V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutConditionalDefaultBranchResponseMessageGroupMessageSsmlMessageArgs
                                            {
                                                Value = "string",
                                            },
                                        },
                                        Variations = new[]
                                        {
                                            new Aws.Lex.Inputs.V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutConditionalDefaultBranchResponseMessageGroupVariationArgs
                                            {
                                                CustomPayload = new Aws.Lex.Inputs.V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutConditionalDefaultBranchResponseMessageGroupVariationCustomPayloadArgs
                                                {
                                                    Value = "string",
                                                },
                                                ImageResponseCard = new Aws.Lex.Inputs.V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutConditionalDefaultBranchResponseMessageGroupVariationImageResponseCardArgs
                                                {
                                                    Title = "string",
                                                    Buttons = new[]
                                                    {
                                                        new Aws.Lex.Inputs.V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutConditionalDefaultBranchResponseMessageGroupVariationImageResponseCardButtonArgs
                                                        {
                                                            Text = "string",
                                                            Value = "string",
                                                        },
                                                    },
                                                    ImageUrl = "string",
                                                    Subtitle = "string",
                                                },
                                                PlainTextMessage = new Aws.Lex.Inputs.V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutConditionalDefaultBranchResponseMessageGroupVariationPlainTextMessageArgs
                                                {
                                                    Value = "string",
                                                },
                                                SsmlMessage = new Aws.Lex.Inputs.V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutConditionalDefaultBranchResponseMessageGroupVariationSsmlMessageArgs
                                                {
                                                    Value = "string",
                                                },
                                            },
                                        },
                                    },
                                },
                            },
                        },
                    },
                    TimeoutNextStep = new Aws.Lex.Inputs.V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutNextStepArgs
                    {
                        DialogAction = new Aws.Lex.Inputs.V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutNextStepDialogActionArgs
                        {
                            Type = "string",
                            SlotToElicit = "string",
                            SuppressNextMessage = false,
                        },
                        Intent = new Aws.Lex.Inputs.V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutNextStepIntentArgs
                        {
                            Name = "string",
                            Slots = new[]
                            {
                                new Aws.Lex.Inputs.V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutNextStepIntentSlotArgs
                                {
                                    MapBlockKey = "string",
                                    Shape = "string",
                                    Value = new Aws.Lex.Inputs.V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutNextStepIntentSlotValueArgs
                                    {
                                        InterpretedValue = "string",
                                    },
                                },
                            },
                        },
                        SessionAttributes = 
                        {
                            { "string", "string" },
                        },
                    },
                    TimeoutResponse = new Aws.Lex.Inputs.V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutResponseArgs
                    {
                        AllowInterrupt = false,
                        MessageGroups = new[]
                        {
                            new Aws.Lex.Inputs.V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutResponseMessageGroupArgs
                            {
                                Message = new Aws.Lex.Inputs.V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutResponseMessageGroupMessageArgs
                                {
                                    CustomPayload = new Aws.Lex.Inputs.V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutResponseMessageGroupMessageCustomPayloadArgs
                                    {
                                        Value = "string",
                                    },
                                    ImageResponseCard = new Aws.Lex.Inputs.V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutResponseMessageGroupMessageImageResponseCardArgs
                                    {
                                        Title = "string",
                                        Buttons = new[]
                                        {
                                            new Aws.Lex.Inputs.V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutResponseMessageGroupMessageImageResponseCardButtonArgs
                                            {
                                                Text = "string",
                                                Value = "string",
                                            },
                                        },
                                        ImageUrl = "string",
                                        Subtitle = "string",
                                    },
                                    PlainTextMessage = new Aws.Lex.Inputs.V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutResponseMessageGroupMessagePlainTextMessageArgs
                                    {
                                        Value = "string",
                                    },
                                    SsmlMessage = new Aws.Lex.Inputs.V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutResponseMessageGroupMessageSsmlMessageArgs
                                    {
                                        Value = "string",
                                    },
                                },
                                Variations = new[]
                                {
                                    new Aws.Lex.Inputs.V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutResponseMessageGroupVariationArgs
                                    {
                                        CustomPayload = new Aws.Lex.Inputs.V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutResponseMessageGroupVariationCustomPayloadArgs
                                        {
                                            Value = "string",
                                        },
                                        ImageResponseCard = new Aws.Lex.Inputs.V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutResponseMessageGroupVariationImageResponseCardArgs
                                        {
                                            Title = "string",
                                            Buttons = new[]
                                            {
                                                new Aws.Lex.Inputs.V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutResponseMessageGroupVariationImageResponseCardButtonArgs
                                                {
                                                    Text = "string",
                                                    Value = "string",
                                                },
                                            },
                                            ImageUrl = "string",
                                            Subtitle = "string",
                                        },
                                        PlainTextMessage = new Aws.Lex.Inputs.V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutResponseMessageGroupVariationPlainTextMessageArgs
                                        {
                                            Value = "string",
                                        },
                                        SsmlMessage = new Aws.Lex.Inputs.V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutResponseMessageGroupVariationSsmlMessageArgs
                                        {
                                            Value = "string",
                                        },
                                    },
                                },
                            },
                        },
                    },
                },
            },
            Conditional = new Aws.Lex.Inputs.V2modelsIntentInitialResponseSettingConditionalArgs
            {
                Active = false,
                ConditionalBranches = new[]
                {
                    new Aws.Lex.Inputs.V2modelsIntentInitialResponseSettingConditionalConditionalBranchArgs
                    {
                        Name = "string",
                        Condition = new Aws.Lex.Inputs.V2modelsIntentInitialResponseSettingConditionalConditionalBranchConditionArgs
                        {
                            ExpressionString = "string",
                        },
                        NextStep = new Aws.Lex.Inputs.V2modelsIntentInitialResponseSettingConditionalConditionalBranchNextStepArgs
                        {
                            DialogAction = new Aws.Lex.Inputs.V2modelsIntentInitialResponseSettingConditionalConditionalBranchNextStepDialogActionArgs
                            {
                                Type = "string",
                                SlotToElicit = "string",
                                SuppressNextMessage = false,
                            },
                            Intent = new Aws.Lex.Inputs.V2modelsIntentInitialResponseSettingConditionalConditionalBranchNextStepIntentArgs
                            {
                                Name = "string",
                                Slots = new[]
                                {
                                    new Aws.Lex.Inputs.V2modelsIntentInitialResponseSettingConditionalConditionalBranchNextStepIntentSlotArgs
                                    {
                                        MapBlockKey = "string",
                                        Shape = "string",
                                        Value = new Aws.Lex.Inputs.V2modelsIntentInitialResponseSettingConditionalConditionalBranchNextStepIntentSlotValueArgs
                                        {
                                            InterpretedValue = "string",
                                        },
                                    },
                                },
                            },
                            SessionAttributes = 
                            {
                                { "string", "string" },
                            },
                        },
                        Response = new Aws.Lex.Inputs.V2modelsIntentInitialResponseSettingConditionalConditionalBranchResponseArgs
                        {
                            AllowInterrupt = false,
                            MessageGroups = new[]
                            {
                                new Aws.Lex.Inputs.V2modelsIntentInitialResponseSettingConditionalConditionalBranchResponseMessageGroupArgs
                                {
                                    Message = new Aws.Lex.Inputs.V2modelsIntentInitialResponseSettingConditionalConditionalBranchResponseMessageGroupMessageArgs
                                    {
                                        CustomPayload = new Aws.Lex.Inputs.V2modelsIntentInitialResponseSettingConditionalConditionalBranchResponseMessageGroupMessageCustomPayloadArgs
                                        {
                                            Value = "string",
                                        },
                                        ImageResponseCard = new Aws.Lex.Inputs.V2modelsIntentInitialResponseSettingConditionalConditionalBranchResponseMessageGroupMessageImageResponseCardArgs
                                        {
                                            Title = "string",
                                            Buttons = new[]
                                            {
                                                new Aws.Lex.Inputs.V2modelsIntentInitialResponseSettingConditionalConditionalBranchResponseMessageGroupMessageImageResponseCardButtonArgs
                                                {
                                                    Text = "string",
                                                    Value = "string",
                                                },
                                            },
                                            ImageUrl = "string",
                                            Subtitle = "string",
                                        },
                                        PlainTextMessage = new Aws.Lex.Inputs.V2modelsIntentInitialResponseSettingConditionalConditionalBranchResponseMessageGroupMessagePlainTextMessageArgs
                                        {
                                            Value = "string",
                                        },
                                        SsmlMessage = new Aws.Lex.Inputs.V2modelsIntentInitialResponseSettingConditionalConditionalBranchResponseMessageGroupMessageSsmlMessageArgs
                                        {
                                            Value = "string",
                                        },
                                    },
                                    Variations = new[]
                                    {
                                        new Aws.Lex.Inputs.V2modelsIntentInitialResponseSettingConditionalConditionalBranchResponseMessageGroupVariationArgs
                                        {
                                            CustomPayload = new Aws.Lex.Inputs.V2modelsIntentInitialResponseSettingConditionalConditionalBranchResponseMessageGroupVariationCustomPayloadArgs
                                            {
                                                Value = "string",
                                            },
                                            ImageResponseCard = new Aws.Lex.Inputs.V2modelsIntentInitialResponseSettingConditionalConditionalBranchResponseMessageGroupVariationImageResponseCardArgs
                                            {
                                                Title = "string",
                                                Buttons = new[]
                                                {
                                                    new Aws.Lex.Inputs.V2modelsIntentInitialResponseSettingConditionalConditionalBranchResponseMessageGroupVariationImageResponseCardButtonArgs
                                                    {
                                                        Text = "string",
                                                        Value = "string",
                                                    },
                                                },
                                                ImageUrl = "string",
                                                Subtitle = "string",
                                            },
                                            PlainTextMessage = new Aws.Lex.Inputs.V2modelsIntentInitialResponseSettingConditionalConditionalBranchResponseMessageGroupVariationPlainTextMessageArgs
                                            {
                                                Value = "string",
                                            },
                                            SsmlMessage = new Aws.Lex.Inputs.V2modelsIntentInitialResponseSettingConditionalConditionalBranchResponseMessageGroupVariationSsmlMessageArgs
                                            {
                                                Value = "string",
                                            },
                                        },
                                    },
                                },
                            },
                        },
                    },
                },
                DefaultBranch = new Aws.Lex.Inputs.V2modelsIntentInitialResponseSettingConditionalDefaultBranchArgs
                {
                    NextStep = new Aws.Lex.Inputs.V2modelsIntentInitialResponseSettingConditionalDefaultBranchNextStepArgs
                    {
                        DialogAction = new Aws.Lex.Inputs.V2modelsIntentInitialResponseSettingConditionalDefaultBranchNextStepDialogActionArgs
                        {
                            Type = "string",
                            SlotToElicit = "string",
                            SuppressNextMessage = false,
                        },
                        Intent = new Aws.Lex.Inputs.V2modelsIntentInitialResponseSettingConditionalDefaultBranchNextStepIntentArgs
                        {
                            Name = "string",
                            Slots = new[]
                            {
                                new Aws.Lex.Inputs.V2modelsIntentInitialResponseSettingConditionalDefaultBranchNextStepIntentSlotArgs
                                {
                                    MapBlockKey = "string",
                                    Shape = "string",
                                    Value = new Aws.Lex.Inputs.V2modelsIntentInitialResponseSettingConditionalDefaultBranchNextStepIntentSlotValueArgs
                                    {
                                        InterpretedValue = "string",
                                    },
                                },
                            },
                        },
                        SessionAttributes = 
                        {
                            { "string", "string" },
                        },
                    },
                    Response = new Aws.Lex.Inputs.V2modelsIntentInitialResponseSettingConditionalDefaultBranchResponseArgs
                    {
                        AllowInterrupt = false,
                        MessageGroups = new[]
                        {
                            new Aws.Lex.Inputs.V2modelsIntentInitialResponseSettingConditionalDefaultBranchResponseMessageGroupArgs
                            {
                                Message = new Aws.Lex.Inputs.V2modelsIntentInitialResponseSettingConditionalDefaultBranchResponseMessageGroupMessageArgs
                                {
                                    CustomPayload = new Aws.Lex.Inputs.V2modelsIntentInitialResponseSettingConditionalDefaultBranchResponseMessageGroupMessageCustomPayloadArgs
                                    {
                                        Value = "string",
                                    },
                                    ImageResponseCard = new Aws.Lex.Inputs.V2modelsIntentInitialResponseSettingConditionalDefaultBranchResponseMessageGroupMessageImageResponseCardArgs
                                    {
                                        Title = "string",
                                        Buttons = new[]
                                        {
                                            new Aws.Lex.Inputs.V2modelsIntentInitialResponseSettingConditionalDefaultBranchResponseMessageGroupMessageImageResponseCardButtonArgs
                                            {
                                                Text = "string",
                                                Value = "string",
                                            },
                                        },
                                        ImageUrl = "string",
                                        Subtitle = "string",
                                    },
                                    PlainTextMessage = new Aws.Lex.Inputs.V2modelsIntentInitialResponseSettingConditionalDefaultBranchResponseMessageGroupMessagePlainTextMessageArgs
                                    {
                                        Value = "string",
                                    },
                                    SsmlMessage = new Aws.Lex.Inputs.V2modelsIntentInitialResponseSettingConditionalDefaultBranchResponseMessageGroupMessageSsmlMessageArgs
                                    {
                                        Value = "string",
                                    },
                                },
                                Variations = new[]
                                {
                                    new Aws.Lex.Inputs.V2modelsIntentInitialResponseSettingConditionalDefaultBranchResponseMessageGroupVariationArgs
                                    {
                                        CustomPayload = new Aws.Lex.Inputs.V2modelsIntentInitialResponseSettingConditionalDefaultBranchResponseMessageGroupVariationCustomPayloadArgs
                                        {
                                            Value = "string",
                                        },
                                        ImageResponseCard = new Aws.Lex.Inputs.V2modelsIntentInitialResponseSettingConditionalDefaultBranchResponseMessageGroupVariationImageResponseCardArgs
                                        {
                                            Title = "string",
                                            Buttons = new[]
                                            {
                                                new Aws.Lex.Inputs.V2modelsIntentInitialResponseSettingConditionalDefaultBranchResponseMessageGroupVariationImageResponseCardButtonArgs
                                                {
                                                    Text = "string",
                                                    Value = "string",
                                                },
                                            },
                                            ImageUrl = "string",
                                            Subtitle = "string",
                                        },
                                        PlainTextMessage = new Aws.Lex.Inputs.V2modelsIntentInitialResponseSettingConditionalDefaultBranchResponseMessageGroupVariationPlainTextMessageArgs
                                        {
                                            Value = "string",
                                        },
                                        SsmlMessage = new Aws.Lex.Inputs.V2modelsIntentInitialResponseSettingConditionalDefaultBranchResponseMessageGroupVariationSsmlMessageArgs
                                        {
                                            Value = "string",
                                        },
                                    },
                                },
                            },
                        },
                    },
                },
            },
            InitialResponse = new Aws.Lex.Inputs.V2modelsIntentInitialResponseSettingInitialResponseArgs
            {
                AllowInterrupt = false,
                MessageGroups = new[]
                {
                    new Aws.Lex.Inputs.V2modelsIntentInitialResponseSettingInitialResponseMessageGroupArgs
                    {
                        Message = new Aws.Lex.Inputs.V2modelsIntentInitialResponseSettingInitialResponseMessageGroupMessageArgs
                        {
                            CustomPayload = new Aws.Lex.Inputs.V2modelsIntentInitialResponseSettingInitialResponseMessageGroupMessageCustomPayloadArgs
                            {
                                Value = "string",
                            },
                            ImageResponseCard = new Aws.Lex.Inputs.V2modelsIntentInitialResponseSettingInitialResponseMessageGroupMessageImageResponseCardArgs
                            {
                                Title = "string",
                                Buttons = new[]
                                {
                                    new Aws.Lex.Inputs.V2modelsIntentInitialResponseSettingInitialResponseMessageGroupMessageImageResponseCardButtonArgs
                                    {
                                        Text = "string",
                                        Value = "string",
                                    },
                                },
                                ImageUrl = "string",
                                Subtitle = "string",
                            },
                            PlainTextMessage = new Aws.Lex.Inputs.V2modelsIntentInitialResponseSettingInitialResponseMessageGroupMessagePlainTextMessageArgs
                            {
                                Value = "string",
                            },
                            SsmlMessage = new Aws.Lex.Inputs.V2modelsIntentInitialResponseSettingInitialResponseMessageGroupMessageSsmlMessageArgs
                            {
                                Value = "string",
                            },
                        },
                        Variations = new[]
                        {
                            new Aws.Lex.Inputs.V2modelsIntentInitialResponseSettingInitialResponseMessageGroupVariationArgs
                            {
                                CustomPayload = new Aws.Lex.Inputs.V2modelsIntentInitialResponseSettingInitialResponseMessageGroupVariationCustomPayloadArgs
                                {
                                    Value = "string",
                                },
                                ImageResponseCard = new Aws.Lex.Inputs.V2modelsIntentInitialResponseSettingInitialResponseMessageGroupVariationImageResponseCardArgs
                                {
                                    Title = "string",
                                    Buttons = new[]
                                    {
                                        new Aws.Lex.Inputs.V2modelsIntentInitialResponseSettingInitialResponseMessageGroupVariationImageResponseCardButtonArgs
                                        {
                                            Text = "string",
                                            Value = "string",
                                        },
                                    },
                                    ImageUrl = "string",
                                    Subtitle = "string",
                                },
                                PlainTextMessage = new Aws.Lex.Inputs.V2modelsIntentInitialResponseSettingInitialResponseMessageGroupVariationPlainTextMessageArgs
                                {
                                    Value = "string",
                                },
                                SsmlMessage = new Aws.Lex.Inputs.V2modelsIntentInitialResponseSettingInitialResponseMessageGroupVariationSsmlMessageArgs
                                {
                                    Value = "string",
                                },
                            },
                        },
                    },
                },
            },
            NextStep = new Aws.Lex.Inputs.V2modelsIntentInitialResponseSettingNextStepArgs
            {
                DialogAction = new Aws.Lex.Inputs.V2modelsIntentInitialResponseSettingNextStepDialogActionArgs
                {
                    Type = "string",
                    SlotToElicit = "string",
                    SuppressNextMessage = false,
                },
                Intent = new Aws.Lex.Inputs.V2modelsIntentInitialResponseSettingNextStepIntentArgs
                {
                    Name = "string",
                    Slots = new[]
                    {
                        new Aws.Lex.Inputs.V2modelsIntentInitialResponseSettingNextStepIntentSlotArgs
                        {
                            MapBlockKey = "string",
                            Shape = "string",
                            Value = new Aws.Lex.Inputs.V2modelsIntentInitialResponseSettingNextStepIntentSlotValueArgs
                            {
                                InterpretedValue = "string",
                            },
                        },
                    },
                },
                SessionAttributes = 
                {
                    { "string", "string" },
                },
            },
        },
        ConfirmationSetting = new Aws.Lex.Inputs.V2modelsIntentConfirmationSettingArgs
        {
            Active = false,
            CodeHook = new Aws.Lex.Inputs.V2modelsIntentConfirmationSettingCodeHookArgs
            {
                Active = false,
                EnableCodeHookInvocation = false,
                InvocationLabel = "string",
                PostCodeHookSpecification = new Aws.Lex.Inputs.V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationArgs
                {
                    FailureConditional = new Aws.Lex.Inputs.V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureConditionalArgs
                    {
                        Active = false,
                        ConditionalBranches = new[]
                        {
                            new Aws.Lex.Inputs.V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureConditionalConditionalBranchArgs
                            {
                                Name = "string",
                                Condition = new Aws.Lex.Inputs.V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureConditionalConditionalBranchConditionArgs
                                {
                                    ExpressionString = "string",
                                },
                                NextStep = new Aws.Lex.Inputs.V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureConditionalConditionalBranchNextStepArgs
                                {
                                    DialogAction = new Aws.Lex.Inputs.V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureConditionalConditionalBranchNextStepDialogActionArgs
                                    {
                                        Type = "string",
                                        SlotToElicit = "string",
                                        SuppressNextMessage = false,
                                    },
                                    Intent = new Aws.Lex.Inputs.V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureConditionalConditionalBranchNextStepIntentArgs
                                    {
                                        Name = "string",
                                        Slots = new[]
                                        {
                                            new Aws.Lex.Inputs.V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureConditionalConditionalBranchNextStepIntentSlotArgs
                                            {
                                                MapBlockKey = "string",
                                                Shape = "string",
                                                Value = new Aws.Lex.Inputs.V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureConditionalConditionalBranchNextStepIntentSlotValueArgs
                                                {
                                                    InterpretedValue = "string",
                                                },
                                            },
                                        },
                                    },
                                    SessionAttributes = 
                                    {
                                        { "string", "string" },
                                    },
                                },
                                Response = new Aws.Lex.Inputs.V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureConditionalConditionalBranchResponseArgs
                                {
                                    AllowInterrupt = false,
                                    MessageGroups = new[]
                                    {
                                        new Aws.Lex.Inputs.V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureConditionalConditionalBranchResponseMessageGroupArgs
                                        {
                                            Message = new Aws.Lex.Inputs.V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureConditionalConditionalBranchResponseMessageGroupMessageArgs
                                            {
                                                CustomPayload = new Aws.Lex.Inputs.V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureConditionalConditionalBranchResponseMessageGroupMessageCustomPayloadArgs
                                                {
                                                    Value = "string",
                                                },
                                                ImageResponseCard = new Aws.Lex.Inputs.V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureConditionalConditionalBranchResponseMessageGroupMessageImageResponseCardArgs
                                                {
                                                    Title = "string",
                                                    Buttons = new[]
                                                    {
                                                        new Aws.Lex.Inputs.V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureConditionalConditionalBranchResponseMessageGroupMessageImageResponseCardButtonArgs
                                                        {
                                                            Text = "string",
                                                            Value = "string",
                                                        },
                                                    },
                                                    ImageUrl = "string",
                                                    Subtitle = "string",
                                                },
                                                PlainTextMessage = new Aws.Lex.Inputs.V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureConditionalConditionalBranchResponseMessageGroupMessagePlainTextMessageArgs
                                                {
                                                    Value = "string",
                                                },
                                                SsmlMessage = new Aws.Lex.Inputs.V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureConditionalConditionalBranchResponseMessageGroupMessageSsmlMessageArgs
                                                {
                                                    Value = "string",
                                                },
                                            },
                                            Variations = new[]
                                            {
                                                new Aws.Lex.Inputs.V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureConditionalConditionalBranchResponseMessageGroupVariationArgs
                                                {
                                                    CustomPayload = new Aws.Lex.Inputs.V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureConditionalConditionalBranchResponseMessageGroupVariationCustomPayloadArgs
                                                    {
                                                        Value = "string",
                                                    },
                                                    ImageResponseCard = new Aws.Lex.Inputs.V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureConditionalConditionalBranchResponseMessageGroupVariationImageResponseCardArgs
                                                    {
                                                        Title = "string",
                                                        Buttons = new[]
                                                        {
                                                            new Aws.Lex.Inputs.V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureConditionalConditionalBranchResponseMessageGroupVariationImageResponseCardButtonArgs
                                                            {
                                                                Text = "string",
                                                                Value = "string",
                                                            },
                                                        },
                                                        ImageUrl = "string",
                                                        Subtitle = "string",
                                                    },
                                                    PlainTextMessage = new Aws.Lex.Inputs.V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureConditionalConditionalBranchResponseMessageGroupVariationPlainTextMessageArgs
                                                    {
                                                        Value = "string",
                                                    },
                                                    SsmlMessage = new Aws.Lex.Inputs.V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureConditionalConditionalBranchResponseMessageGroupVariationSsmlMessageArgs
                                                    {
                                                        Value = "string",
                                                    },
                                                },
                                            },
                                        },
                                    },
                                },
                            },
                        },
                        DefaultBranch = new Aws.Lex.Inputs.V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureConditionalDefaultBranchArgs
                        {
                            NextStep = new Aws.Lex.Inputs.V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureConditionalDefaultBranchNextStepArgs
                            {
                                DialogAction = new Aws.Lex.Inputs.V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureConditionalDefaultBranchNextStepDialogActionArgs
                                {
                                    Type = "string",
                                    SlotToElicit = "string",
                                    SuppressNextMessage = false,
                                },
                                Intent = new Aws.Lex.Inputs.V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureConditionalDefaultBranchNextStepIntentArgs
                                {
                                    Name = "string",
                                    Slots = new[]
                                    {
                                        new Aws.Lex.Inputs.V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureConditionalDefaultBranchNextStepIntentSlotArgs
                                        {
                                            MapBlockKey = "string",
                                            Shape = "string",
                                            Value = new Aws.Lex.Inputs.V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureConditionalDefaultBranchNextStepIntentSlotValueArgs
                                            {
                                                InterpretedValue = "string",
                                            },
                                        },
                                    },
                                },
                                SessionAttributes = 
                                {
                                    { "string", "string" },
                                },
                            },
                            Response = new Aws.Lex.Inputs.V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureConditionalDefaultBranchResponseArgs
                            {
                                AllowInterrupt = false,
                                MessageGroups = new[]
                                {
                                    new Aws.Lex.Inputs.V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureConditionalDefaultBranchResponseMessageGroupArgs
                                    {
                                        Message = new Aws.Lex.Inputs.V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureConditionalDefaultBranchResponseMessageGroupMessageArgs
                                        {
                                            CustomPayload = new Aws.Lex.Inputs.V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureConditionalDefaultBranchResponseMessageGroupMessageCustomPayloadArgs
                                            {
                                                Value = "string",
                                            },
                                            ImageResponseCard = new Aws.Lex.Inputs.V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureConditionalDefaultBranchResponseMessageGroupMessageImageResponseCardArgs
                                            {
                                                Title = "string",
                                                Buttons = new[]
                                                {
                                                    new Aws.Lex.Inputs.V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureConditionalDefaultBranchResponseMessageGroupMessageImageResponseCardButtonArgs
                                                    {
                                                        Text = "string",
                                                        Value = "string",
                                                    },
                                                },
                                                ImageUrl = "string",
                                                Subtitle = "string",
                                            },
                                            PlainTextMessage = new Aws.Lex.Inputs.V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureConditionalDefaultBranchResponseMessageGroupMessagePlainTextMessageArgs
                                            {
                                                Value = "string",
                                            },
                                            SsmlMessage = new Aws.Lex.Inputs.V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureConditionalDefaultBranchResponseMessageGroupMessageSsmlMessageArgs
                                            {
                                                Value = "string",
                                            },
                                        },
                                        Variations = new[]
                                        {
                                            new Aws.Lex.Inputs.V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureConditionalDefaultBranchResponseMessageGroupVariationArgs
                                            {
                                                CustomPayload = new Aws.Lex.Inputs.V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureConditionalDefaultBranchResponseMessageGroupVariationCustomPayloadArgs
                                                {
                                                    Value = "string",
                                                },
                                                ImageResponseCard = new Aws.Lex.Inputs.V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureConditionalDefaultBranchResponseMessageGroupVariationImageResponseCardArgs
                                                {
                                                    Title = "string",
                                                    Buttons = new[]
                                                    {
                                                        new Aws.Lex.Inputs.V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureConditionalDefaultBranchResponseMessageGroupVariationImageResponseCardButtonArgs
                                                        {
                                                            Text = "string",
                                                            Value = "string",
                                                        },
                                                    },
                                                    ImageUrl = "string",
                                                    Subtitle = "string",
                                                },
                                                PlainTextMessage = new Aws.Lex.Inputs.V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureConditionalDefaultBranchResponseMessageGroupVariationPlainTextMessageArgs
                                                {
                                                    Value = "string",
                                                },
                                                SsmlMessage = new Aws.Lex.Inputs.V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureConditionalDefaultBranchResponseMessageGroupVariationSsmlMessageArgs
                                                {
                                                    Value = "string",
                                                },
                                            },
                                        },
                                    },
                                },
                            },
                        },
                    },
                    FailureNextStep = new Aws.Lex.Inputs.V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureNextStepArgs
                    {
                        DialogAction = new Aws.Lex.Inputs.V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureNextStepDialogActionArgs
                        {
                            Type = "string",
                            SlotToElicit = "string",
                            SuppressNextMessage = false,
                        },
                        Intent = new Aws.Lex.Inputs.V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureNextStepIntentArgs
                        {
                            Name = "string",
                            Slots = new[]
                            {
                                new Aws.Lex.Inputs.V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureNextStepIntentSlotArgs
                                {
                                    MapBlockKey = "string",
                                    Shape = "string",
                                    Value = new Aws.Lex.Inputs.V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureNextStepIntentSlotValueArgs
                                    {
                                        InterpretedValue = "string",
                                    },
                                },
                            },
                        },
                        SessionAttributes = 
                        {
                            { "string", "string" },
                        },
                    },
                    FailureResponse = new Aws.Lex.Inputs.V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureResponseArgs
                    {
                        AllowInterrupt = false,
                        MessageGroups = new[]
                        {
                            new Aws.Lex.Inputs.V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureResponseMessageGroupArgs
                            {
                                Message = new Aws.Lex.Inputs.V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureResponseMessageGroupMessageArgs
                                {
                                    CustomPayload = new Aws.Lex.Inputs.V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureResponseMessageGroupMessageCustomPayloadArgs
                                    {
                                        Value = "string",
                                    },
                                    ImageResponseCard = new Aws.Lex.Inputs.V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureResponseMessageGroupMessageImageResponseCardArgs
                                    {
                                        Title = "string",
                                        Buttons = new[]
                                        {
                                            new Aws.Lex.Inputs.V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureResponseMessageGroupMessageImageResponseCardButtonArgs
                                            {
                                                Text = "string",
                                                Value = "string",
                                            },
                                        },
                                        ImageUrl = "string",
                                        Subtitle = "string",
                                    },
                                    PlainTextMessage = new Aws.Lex.Inputs.V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureResponseMessageGroupMessagePlainTextMessageArgs
                                    {
                                        Value = "string",
                                    },
                                    SsmlMessage = new Aws.Lex.Inputs.V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureResponseMessageGroupMessageSsmlMessageArgs
                                    {
                                        Value = "string",
                                    },
                                },
                                Variations = new[]
                                {
                                    new Aws.Lex.Inputs.V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureResponseMessageGroupVariationArgs
                                    {
                                        CustomPayload = new Aws.Lex.Inputs.V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureResponseMessageGroupVariationCustomPayloadArgs
                                        {
                                            Value = "string",
                                        },
                                        ImageResponseCard = new Aws.Lex.Inputs.V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureResponseMessageGroupVariationImageResponseCardArgs
                                        {
                                            Title = "string",
                                            Buttons = new[]
                                            {
                                                new Aws.Lex.Inputs.V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureResponseMessageGroupVariationImageResponseCardButtonArgs
                                                {
                                                    Text = "string",
                                                    Value = "string",
                                                },
                                            },
                                            ImageUrl = "string",
                                            Subtitle = "string",
                                        },
                                        PlainTextMessage = new Aws.Lex.Inputs.V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureResponseMessageGroupVariationPlainTextMessageArgs
                                        {
                                            Value = "string",
                                        },
                                        SsmlMessage = new Aws.Lex.Inputs.V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureResponseMessageGroupVariationSsmlMessageArgs
                                        {
                                            Value = "string",
                                        },
                                    },
                                },
                            },
                        },
                    },
                    SuccessConditional = new Aws.Lex.Inputs.V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessConditionalArgs
                    {
                        Active = false,
                        ConditionalBranches = new[]
                        {
                            new Aws.Lex.Inputs.V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessConditionalConditionalBranchArgs
                            {
                                Name = "string",
                                Condition = new Aws.Lex.Inputs.V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessConditionalConditionalBranchConditionArgs
                                {
                                    ExpressionString = "string",
                                },
                                NextStep = new Aws.Lex.Inputs.V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessConditionalConditionalBranchNextStepArgs
                                {
                                    DialogAction = new Aws.Lex.Inputs.V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessConditionalConditionalBranchNextStepDialogActionArgs
                                    {
                                        Type = "string",
                                        SlotToElicit = "string",
                                        SuppressNextMessage = false,
                                    },
                                    Intent = new Aws.Lex.Inputs.V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessConditionalConditionalBranchNextStepIntentArgs
                                    {
                                        Name = "string",
                                        Slots = new[]
                                        {
                                            new Aws.Lex.Inputs.V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessConditionalConditionalBranchNextStepIntentSlotArgs
                                            {
                                                MapBlockKey = "string",
                                                Shape = "string",
                                                Value = new Aws.Lex.Inputs.V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessConditionalConditionalBranchNextStepIntentSlotValueArgs
                                                {
                                                    InterpretedValue = "string",
                                                },
                                            },
                                        },
                                    },
                                    SessionAttributes = 
                                    {
                                        { "string", "string" },
                                    },
                                },
                                Response = new Aws.Lex.Inputs.V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessConditionalConditionalBranchResponseArgs
                                {
                                    AllowInterrupt = false,
                                    MessageGroups = new[]
                                    {
                                        new Aws.Lex.Inputs.V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessConditionalConditionalBranchResponseMessageGroupArgs
                                        {
                                            Message = new Aws.Lex.Inputs.V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessConditionalConditionalBranchResponseMessageGroupMessageArgs
                                            {
                                                CustomPayload = new Aws.Lex.Inputs.V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessConditionalConditionalBranchResponseMessageGroupMessageCustomPayloadArgs
                                                {
                                                    Value = "string",
                                                },
                                                ImageResponseCard = new Aws.Lex.Inputs.V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessConditionalConditionalBranchResponseMessageGroupMessageImageResponseCardArgs
                                                {
                                                    Title = "string",
                                                    Buttons = new[]
                                                    {
                                                        new Aws.Lex.Inputs.V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessConditionalConditionalBranchResponseMessageGroupMessageImageResponseCardButtonArgs
                                                        {
                                                            Text = "string",
                                                            Value = "string",
                                                        },
                                                    },
                                                    ImageUrl = "string",
                                                    Subtitle = "string",
                                                },
                                                PlainTextMessage = new Aws.Lex.Inputs.V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessConditionalConditionalBranchResponseMessageGroupMessagePlainTextMessageArgs
                                                {
                                                    Value = "string",
                                                },
                                                SsmlMessage = new Aws.Lex.Inputs.V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessConditionalConditionalBranchResponseMessageGroupMessageSsmlMessageArgs
                                                {
                                                    Value = "string",
                                                },
                                            },
                                            Variations = new[]
                                            {
                                                new Aws.Lex.Inputs.V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessConditionalConditionalBranchResponseMessageGroupVariationArgs
                                                {
                                                    CustomPayload = new Aws.Lex.Inputs.V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessConditionalConditionalBranchResponseMessageGroupVariationCustomPayloadArgs
                                                    {
                                                        Value = "string",
                                                    },
                                                    ImageResponseCard = new Aws.Lex.Inputs.V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessConditionalConditionalBranchResponseMessageGroupVariationImageResponseCardArgs
                                                    {
                                                        Title = "string",
                                                        Buttons = new[]
                                                        {
                                                            new Aws.Lex.Inputs.V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessConditionalConditionalBranchResponseMessageGroupVariationImageResponseCardButtonArgs
                                                            {
                                                                Text = "string",
                                                                Value = "string",
                                                            },
                                                        },
                                                        ImageUrl = "string",
                                                        Subtitle = "string",
                                                    },
                                                    PlainTextMessage = new Aws.Lex.Inputs.V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessConditionalConditionalBranchResponseMessageGroupVariationPlainTextMessageArgs
                                                    {
                                                        Value = "string",
                                                    },
                                                    SsmlMessage = new Aws.Lex.Inputs.V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessConditionalConditionalBranchResponseMessageGroupVariationSsmlMessageArgs
                                                    {
                                                        Value = "string",
                                                    },
                                                },
                                            },
                                        },
                                    },
                                },
                            },
                        },
                        DefaultBranch = new Aws.Lex.Inputs.V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessConditionalDefaultBranchArgs
                        {
                            NextStep = new Aws.Lex.Inputs.V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessConditionalDefaultBranchNextStepArgs
                            {
                                DialogAction = new Aws.Lex.Inputs.V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessConditionalDefaultBranchNextStepDialogActionArgs
                                {
                                    Type = "string",
                                    SlotToElicit = "string",
                                    SuppressNextMessage = false,
                                },
                                Intent = new Aws.Lex.Inputs.V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessConditionalDefaultBranchNextStepIntentArgs
                                {
                                    Name = "string",
                                    Slots = new[]
                                    {
                                        new Aws.Lex.Inputs.V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessConditionalDefaultBranchNextStepIntentSlotArgs
                                        {
                                            MapBlockKey = "string",
                                            Shape = "string",
                                            Value = new Aws.Lex.Inputs.V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessConditionalDefaultBranchNextStepIntentSlotValueArgs
                                            {
                                                InterpretedValue = "string",
                                            },
                                        },
                                    },
                                },
                                SessionAttributes = 
                                {
                                    { "string", "string" },
                                },
                            },
                            Response = new Aws.Lex.Inputs.V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessConditionalDefaultBranchResponseArgs
                            {
                                AllowInterrupt = false,
                                MessageGroups = new[]
                                {
                                    new Aws.Lex.Inputs.V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessConditionalDefaultBranchResponseMessageGroupArgs
                                    {
                                        Message = new Aws.Lex.Inputs.V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessConditionalDefaultBranchResponseMessageGroupMessageArgs
                                        {
                                            CustomPayload = new Aws.Lex.Inputs.V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessConditionalDefaultBranchResponseMessageGroupMessageCustomPayloadArgs
                                            {
                                                Value = "string",
                                            },
                                            ImageResponseCard = new Aws.Lex.Inputs.V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessConditionalDefaultBranchResponseMessageGroupMessageImageResponseCardArgs
                                            {
                                                Title = "string",
                                                Buttons = new[]
                                                {
                                                    new Aws.Lex.Inputs.V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessConditionalDefaultBranchResponseMessageGroupMessageImageResponseCardButtonArgs
                                                    {
                                                        Text = "string",
                                                        Value = "string",
                                                    },
                                                },
                                                ImageUrl = "string",
                                                Subtitle = "string",
                                            },
                                            PlainTextMessage = new Aws.Lex.Inputs.V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessConditionalDefaultBranchResponseMessageGroupMessagePlainTextMessageArgs
                                            {
                                                Value = "string",
                                            },
                                            SsmlMessage = new Aws.Lex.Inputs.V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessConditionalDefaultBranchResponseMessageGroupMessageSsmlMessageArgs
                                            {
                                                Value = "string",
                                            },
                                        },
                                        Variations = new[]
                                        {
                                            new Aws.Lex.Inputs.V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessConditionalDefaultBranchResponseMessageGroupVariationArgs
                                            {
                                                CustomPayload = new Aws.Lex.Inputs.V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessConditionalDefaultBranchResponseMessageGroupVariationCustomPayloadArgs
                                                {
                                                    Value = "string",
                                                },
                                                ImageResponseCard = new Aws.Lex.Inputs.V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessConditionalDefaultBranchResponseMessageGroupVariationImageResponseCardArgs
                                                {
                                                    Title = "string",
                                                    Buttons = new[]
                                                    {
                                                        new Aws.Lex.Inputs.V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessConditionalDefaultBranchResponseMessageGroupVariationImageResponseCardButtonArgs
                                                        {
                                                            Text = "string",
                                                            Value = "string",
                                                        },
                                                    },
                                                    ImageUrl = "string",
                                                    Subtitle = "string",
                                                },
                                                PlainTextMessage = new Aws.Lex.Inputs.V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessConditionalDefaultBranchResponseMessageGroupVariationPlainTextMessageArgs
                                                {
                                                    Value = "string",
                                                },
                                                SsmlMessage = new Aws.Lex.Inputs.V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessConditionalDefaultBranchResponseMessageGroupVariationSsmlMessageArgs
                                                {
                                                    Value = "string",
                                                },
                                            },
                                        },
                                    },
                                },
                            },
                        },
                    },
                    SuccessNextStep = new Aws.Lex.Inputs.V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessNextStepArgs
                    {
                        DialogAction = new Aws.Lex.Inputs.V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessNextStepDialogActionArgs
                        {
                            Type = "string",
                            SlotToElicit = "string",
                            SuppressNextMessage = false,
                        },
                        Intent = new Aws.Lex.Inputs.V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessNextStepIntentArgs
                        {
                            Name = "string",
                            Slots = new[]
                            {
                                new Aws.Lex.Inputs.V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessNextStepIntentSlotArgs
                                {
                                    MapBlockKey = "string",
                                    Shape = "string",
                                    Value = new Aws.Lex.Inputs.V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessNextStepIntentSlotValueArgs
                                    {
                                        InterpretedValue = "string",
                                    },
                                },
                            },
                        },
                        SessionAttributes = 
                        {
                            { "string", "string" },
                        },
                    },
                    SuccessResponse = new Aws.Lex.Inputs.V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessResponseArgs
                    {
                        AllowInterrupt = false,
                        MessageGroups = new[]
                        {
                            new Aws.Lex.Inputs.V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessResponseMessageGroupArgs
                            {
                                Message = new Aws.Lex.Inputs.V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessResponseMessageGroupMessageArgs
                                {
                                    CustomPayload = new Aws.Lex.Inputs.V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessResponseMessageGroupMessageCustomPayloadArgs
                                    {
                                        Value = "string",
                                    },
                                    ImageResponseCard = new Aws.Lex.Inputs.V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessResponseMessageGroupMessageImageResponseCardArgs
                                    {
                                        Title = "string",
                                        Buttons = new[]
                                        {
                                            new Aws.Lex.Inputs.V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessResponseMessageGroupMessageImageResponseCardButtonArgs
                                            {
                                                Text = "string",
                                                Value = "string",
                                            },
                                        },
                                        ImageUrl = "string",
                                        Subtitle = "string",
                                    },
                                    PlainTextMessage = new Aws.Lex.Inputs.V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessResponseMessageGroupMessagePlainTextMessageArgs
                                    {
                                        Value = "string",
                                    },
                                    SsmlMessage = new Aws.Lex.Inputs.V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessResponseMessageGroupMessageSsmlMessageArgs
                                    {
                                        Value = "string",
                                    },
                                },
                                Variations = new[]
                                {
                                    new Aws.Lex.Inputs.V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessResponseMessageGroupVariationArgs
                                    {
                                        CustomPayload = new Aws.Lex.Inputs.V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessResponseMessageGroupVariationCustomPayloadArgs
                                        {
                                            Value = "string",
                                        },
                                        ImageResponseCard = new Aws.Lex.Inputs.V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessResponseMessageGroupVariationImageResponseCardArgs
                                        {
                                            Title = "string",
                                            Buttons = new[]
                                            {
                                                new Aws.Lex.Inputs.V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessResponseMessageGroupVariationImageResponseCardButtonArgs
                                                {
                                                    Text = "string",
                                                    Value = "string",
                                                },
                                            },
                                            ImageUrl = "string",
                                            Subtitle = "string",
                                        },
                                        PlainTextMessage = new Aws.Lex.Inputs.V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessResponseMessageGroupVariationPlainTextMessageArgs
                                        {
                                            Value = "string",
                                        },
                                        SsmlMessage = new Aws.Lex.Inputs.V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessResponseMessageGroupVariationSsmlMessageArgs
                                        {
                                            Value = "string",
                                        },
                                    },
                                },
                            },
                        },
                    },
                    TimeoutConditional = new Aws.Lex.Inputs.V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutConditionalArgs
                    {
                        Active = false,
                        ConditionalBranches = new[]
                        {
                            new Aws.Lex.Inputs.V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutConditionalConditionalBranchArgs
                            {
                                Name = "string",
                                Condition = new Aws.Lex.Inputs.V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutConditionalConditionalBranchConditionArgs
                                {
                                    ExpressionString = "string",
                                },
                                NextStep = new Aws.Lex.Inputs.V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutConditionalConditionalBranchNextStepArgs
                                {
                                    DialogAction = new Aws.Lex.Inputs.V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutConditionalConditionalBranchNextStepDialogActionArgs
                                    {
                                        Type = "string",
                                        SlotToElicit = "string",
                                        SuppressNextMessage = false,
                                    },
                                    Intent = new Aws.Lex.Inputs.V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutConditionalConditionalBranchNextStepIntentArgs
                                    {
                                        Name = "string",
                                        Slots = new[]
                                        {
                                            new Aws.Lex.Inputs.V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutConditionalConditionalBranchNextStepIntentSlotArgs
                                            {
                                                MapBlockKey = "string",
                                                Shape = "string",
                                                Value = new Aws.Lex.Inputs.V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutConditionalConditionalBranchNextStepIntentSlotValueArgs
                                                {
                                                    InterpretedValue = "string",
                                                },
                                            },
                                        },
                                    },
                                    SessionAttributes = 
                                    {
                                        { "string", "string" },
                                    },
                                },
                                Response = new Aws.Lex.Inputs.V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutConditionalConditionalBranchResponseArgs
                                {
                                    AllowInterrupt = false,
                                    MessageGroups = new[]
                                    {
                                        new Aws.Lex.Inputs.V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupArgs
                                        {
                                            Message = new Aws.Lex.Inputs.V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupMessageArgs
                                            {
                                                CustomPayload = new Aws.Lex.Inputs.V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupMessageCustomPayloadArgs
                                                {
                                                    Value = "string",
                                                },
                                                ImageResponseCard = new Aws.Lex.Inputs.V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupMessageImageResponseCardArgs
                                                {
                                                    Title = "string",
                                                    Buttons = new[]
                                                    {
                                                        new Aws.Lex.Inputs.V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupMessageImageResponseCardButtonArgs
                                                        {
                                                            Text = "string",
                                                            Value = "string",
                                                        },
                                                    },
                                                    ImageUrl = "string",
                                                    Subtitle = "string",
                                                },
                                                PlainTextMessage = new Aws.Lex.Inputs.V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupMessagePlainTextMessageArgs
                                                {
                                                    Value = "string",
                                                },
                                                SsmlMessage = new Aws.Lex.Inputs.V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupMessageSsmlMessageArgs
                                                {
                                                    Value = "string",
                                                },
                                            },
                                            Variations = new[]
                                            {
                                                new Aws.Lex.Inputs.V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupVariationArgs
                                                {
                                                    CustomPayload = new Aws.Lex.Inputs.V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupVariationCustomPayloadArgs
                                                    {
                                                        Value = "string",
                                                    },
                                                    ImageResponseCard = new Aws.Lex.Inputs.V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupVariationImageResponseCardArgs
                                                    {
                                                        Title = "string",
                                                        Buttons = new[]
                                                        {
                                                            new Aws.Lex.Inputs.V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupVariationImageResponseCardButtonArgs
                                                            {
                                                                Text = "string",
                                                                Value = "string",
                                                            },
                                                        },
                                                        ImageUrl = "string",
                                                        Subtitle = "string",
                                                    },
                                                    PlainTextMessage = new Aws.Lex.Inputs.V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupVariationPlainTextMessageArgs
                                                    {
                                                        Value = "string",
                                                    },
                                                    SsmlMessage = new Aws.Lex.Inputs.V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupVariationSsmlMessageArgs
                                                    {
                                                        Value = "string",
                                                    },
                                                },
                                            },
                                        },
                                    },
                                },
                            },
                        },
                        DefaultBranch = new Aws.Lex.Inputs.V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutConditionalDefaultBranchArgs
                        {
                            NextStep = new Aws.Lex.Inputs.V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutConditionalDefaultBranchNextStepArgs
                            {
                                DialogAction = new Aws.Lex.Inputs.V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutConditionalDefaultBranchNextStepDialogActionArgs
                                {
                                    Type = "string",
                                    SlotToElicit = "string",
                                    SuppressNextMessage = false,
                                },
                                Intent = new Aws.Lex.Inputs.V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutConditionalDefaultBranchNextStepIntentArgs
                                {
                                    Name = "string",
                                    Slots = new[]
                                    {
                                        new Aws.Lex.Inputs.V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutConditionalDefaultBranchNextStepIntentSlotArgs
                                        {
                                            MapBlockKey = "string",
                                            Shape = "string",
                                            Value = new Aws.Lex.Inputs.V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutConditionalDefaultBranchNextStepIntentSlotValueArgs
                                            {
                                                InterpretedValue = "string",
                                            },
                                        },
                                    },
                                },
                                SessionAttributes = 
                                {
                                    { "string", "string" },
                                },
                            },
                            Response = new Aws.Lex.Inputs.V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutConditionalDefaultBranchResponseArgs
                            {
                                AllowInterrupt = false,
                                MessageGroups = new[]
                                {
                                    new Aws.Lex.Inputs.V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutConditionalDefaultBranchResponseMessageGroupArgs
                                    {
                                        Message = new Aws.Lex.Inputs.V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutConditionalDefaultBranchResponseMessageGroupMessageArgs
                                        {
                                            CustomPayload = new Aws.Lex.Inputs.V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutConditionalDefaultBranchResponseMessageGroupMessageCustomPayloadArgs
                                            {
                                                Value = "string",
                                            },
                                            ImageResponseCard = new Aws.Lex.Inputs.V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutConditionalDefaultBranchResponseMessageGroupMessageImageResponseCardArgs
                                            {
                                                Title = "string",
                                                Buttons = new[]
                                                {
                                                    new Aws.Lex.Inputs.V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutConditionalDefaultBranchResponseMessageGroupMessageImageResponseCardButtonArgs
                                                    {
                                                        Text = "string",
                                                        Value = "string",
                                                    },
                                                },
                                                ImageUrl = "string",
                                                Subtitle = "string",
                                            },
                                            PlainTextMessage = new Aws.Lex.Inputs.V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutConditionalDefaultBranchResponseMessageGroupMessagePlainTextMessageArgs
                                            {
                                                Value = "string",
                                            },
                                            SsmlMessage = new Aws.Lex.Inputs.V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutConditionalDefaultBranchResponseMessageGroupMessageSsmlMessageArgs
                                            {
                                                Value = "string",
                                            },
                                        },
                                        Variations = new[]
                                        {
                                            new Aws.Lex.Inputs.V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutConditionalDefaultBranchResponseMessageGroupVariationArgs
                                            {
                                                CustomPayload = new Aws.Lex.Inputs.V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutConditionalDefaultBranchResponseMessageGroupVariationCustomPayloadArgs
                                                {
                                                    Value = "string",
                                                },
                                                ImageResponseCard = new Aws.Lex.Inputs.V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutConditionalDefaultBranchResponseMessageGroupVariationImageResponseCardArgs
                                                {
                                                    Title = "string",
                                                    Buttons = new[]
                                                    {
                                                        new Aws.Lex.Inputs.V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutConditionalDefaultBranchResponseMessageGroupVariationImageResponseCardButtonArgs
                                                        {
                                                            Text = "string",
                                                            Value = "string",
                                                        },
                                                    },
                                                    ImageUrl = "string",
                                                    Subtitle = "string",
                                                },
                                                PlainTextMessage = new Aws.Lex.Inputs.V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutConditionalDefaultBranchResponseMessageGroupVariationPlainTextMessageArgs
                                                {
                                                    Value = "string",
                                                },
                                                SsmlMessage = new Aws.Lex.Inputs.V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutConditionalDefaultBranchResponseMessageGroupVariationSsmlMessageArgs
                                                {
                                                    Value = "string",
                                                },
                                            },
                                        },
                                    },
                                },
                            },
                        },
                    },
                    TimeoutNextStep = new Aws.Lex.Inputs.V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutNextStepArgs
                    {
                        DialogAction = new Aws.Lex.Inputs.V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutNextStepDialogActionArgs
                        {
                            Type = "string",
                            SlotToElicit = "string",
                            SuppressNextMessage = false,
                        },
                        Intent = new Aws.Lex.Inputs.V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutNextStepIntentArgs
                        {
                            Name = "string",
                            Slots = new[]
                            {
                                new Aws.Lex.Inputs.V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutNextStepIntentSlotArgs
                                {
                                    MapBlockKey = "string",
                                    Shape = "string",
                                    Value = new Aws.Lex.Inputs.V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutNextStepIntentSlotValueArgs
                                    {
                                        InterpretedValue = "string",
                                    },
                                },
                            },
                        },
                        SessionAttributes = 
                        {
                            { "string", "string" },
                        },
                    },
                    TimeoutResponse = new Aws.Lex.Inputs.V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutResponseArgs
                    {
                        AllowInterrupt = false,
                        MessageGroups = new[]
                        {
                            new Aws.Lex.Inputs.V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutResponseMessageGroupArgs
                            {
                                Message = new Aws.Lex.Inputs.V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutResponseMessageGroupMessageArgs
                                {
                                    CustomPayload = new Aws.Lex.Inputs.V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutResponseMessageGroupMessageCustomPayloadArgs
                                    {
                                        Value = "string",
                                    },
                                    ImageResponseCard = new Aws.Lex.Inputs.V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutResponseMessageGroupMessageImageResponseCardArgs
                                    {
                                        Title = "string",
                                        Buttons = new[]
                                        {
                                            new Aws.Lex.Inputs.V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutResponseMessageGroupMessageImageResponseCardButtonArgs
                                            {
                                                Text = "string",
                                                Value = "string",
                                            },
                                        },
                                        ImageUrl = "string",
                                        Subtitle = "string",
                                    },
                                    PlainTextMessage = new Aws.Lex.Inputs.V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutResponseMessageGroupMessagePlainTextMessageArgs
                                    {
                                        Value = "string",
                                    },
                                    SsmlMessage = new Aws.Lex.Inputs.V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutResponseMessageGroupMessageSsmlMessageArgs
                                    {
                                        Value = "string",
                                    },
                                },
                                Variations = new[]
                                {
                                    new Aws.Lex.Inputs.V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutResponseMessageGroupVariationArgs
                                    {
                                        CustomPayload = new Aws.Lex.Inputs.V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutResponseMessageGroupVariationCustomPayloadArgs
                                        {
                                            Value = "string",
                                        },
                                        ImageResponseCard = new Aws.Lex.Inputs.V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutResponseMessageGroupVariationImageResponseCardArgs
                                        {
                                            Title = "string",
                                            Buttons = new[]
                                            {
                                                new Aws.Lex.Inputs.V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutResponseMessageGroupVariationImageResponseCardButtonArgs
                                                {
                                                    Text = "string",
                                                    Value = "string",
                                                },
                                            },
                                            ImageUrl = "string",
                                            Subtitle = "string",
                                        },
                                        PlainTextMessage = new Aws.Lex.Inputs.V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutResponseMessageGroupVariationPlainTextMessageArgs
                                        {
                                            Value = "string",
                                        },
                                        SsmlMessage = new Aws.Lex.Inputs.V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutResponseMessageGroupVariationSsmlMessageArgs
                                        {
                                            Value = "string",
                                        },
                                    },
                                },
                            },
                        },
                    },
                },
            },
            ConfirmationConditional = new Aws.Lex.Inputs.V2modelsIntentConfirmationSettingConfirmationConditionalArgs
            {
                Active = false,
                ConditionalBranches = new[]
                {
                    new Aws.Lex.Inputs.V2modelsIntentConfirmationSettingConfirmationConditionalConditionalBranchArgs
                    {
                        Name = "string",
                        Condition = new Aws.Lex.Inputs.V2modelsIntentConfirmationSettingConfirmationConditionalConditionalBranchConditionArgs
                        {
                            ExpressionString = "string",
                        },
                        NextStep = new Aws.Lex.Inputs.V2modelsIntentConfirmationSettingConfirmationConditionalConditionalBranchNextStepArgs
                        {
                            DialogAction = new Aws.Lex.Inputs.V2modelsIntentConfirmationSettingConfirmationConditionalConditionalBranchNextStepDialogActionArgs
                            {
                                Type = "string",
                                SlotToElicit = "string",
                                SuppressNextMessage = false,
                            },
                            Intent = new Aws.Lex.Inputs.V2modelsIntentConfirmationSettingConfirmationConditionalConditionalBranchNextStepIntentArgs
                            {
                                Name = "string",
                                Slots = new[]
                                {
                                    new Aws.Lex.Inputs.V2modelsIntentConfirmationSettingConfirmationConditionalConditionalBranchNextStepIntentSlotArgs
                                    {
                                        MapBlockKey = "string",
                                        Shape = "string",
                                        Value = new Aws.Lex.Inputs.V2modelsIntentConfirmationSettingConfirmationConditionalConditionalBranchNextStepIntentSlotValueArgs
                                        {
                                            InterpretedValue = "string",
                                        },
                                    },
                                },
                            },
                            SessionAttributes = 
                            {
                                { "string", "string" },
                            },
                        },
                        Response = new Aws.Lex.Inputs.V2modelsIntentConfirmationSettingConfirmationConditionalConditionalBranchResponseArgs
                        {
                            AllowInterrupt = false,
                            MessageGroups = new[]
                            {
                                new Aws.Lex.Inputs.V2modelsIntentConfirmationSettingConfirmationConditionalConditionalBranchResponseMessageGroupArgs
                                {
                                    Message = new Aws.Lex.Inputs.V2modelsIntentConfirmationSettingConfirmationConditionalConditionalBranchResponseMessageGroupMessageArgs
                                    {
                                        CustomPayload = new Aws.Lex.Inputs.V2modelsIntentConfirmationSettingConfirmationConditionalConditionalBranchResponseMessageGroupMessageCustomPayloadArgs
                                        {
                                            Value = "string",
                                        },
                                        ImageResponseCard = new Aws.Lex.Inputs.V2modelsIntentConfirmationSettingConfirmationConditionalConditionalBranchResponseMessageGroupMessageImageResponseCardArgs
                                        {
                                            Title = "string",
                                            Buttons = new[]
                                            {
                                                new Aws.Lex.Inputs.V2modelsIntentConfirmationSettingConfirmationConditionalConditionalBranchResponseMessageGroupMessageImageResponseCardButtonArgs
                                                {
                                                    Text = "string",
                                                    Value = "string",
                                                },
                                            },
                                            ImageUrl = "string",
                                            Subtitle = "string",
                                        },
                                        PlainTextMessage = new Aws.Lex.Inputs.V2modelsIntentConfirmationSettingConfirmationConditionalConditionalBranchResponseMessageGroupMessagePlainTextMessageArgs
                                        {
                                            Value = "string",
                                        },
                                        SsmlMessage = new Aws.Lex.Inputs.V2modelsIntentConfirmationSettingConfirmationConditionalConditionalBranchResponseMessageGroupMessageSsmlMessageArgs
                                        {
                                            Value = "string",
                                        },
                                    },
                                    Variations = new[]
                                    {
                                        new Aws.Lex.Inputs.V2modelsIntentConfirmationSettingConfirmationConditionalConditionalBranchResponseMessageGroupVariationArgs
                                        {
                                            CustomPayload = new Aws.Lex.Inputs.V2modelsIntentConfirmationSettingConfirmationConditionalConditionalBranchResponseMessageGroupVariationCustomPayloadArgs
                                            {
                                                Value = "string",
                                            },
                                            ImageResponseCard = new Aws.Lex.Inputs.V2modelsIntentConfirmationSettingConfirmationConditionalConditionalBranchResponseMessageGroupVariationImageResponseCardArgs
                                            {
                                                Title = "string",
                                                Buttons = new[]
                                                {
                                                    new Aws.Lex.Inputs.V2modelsIntentConfirmationSettingConfirmationConditionalConditionalBranchResponseMessageGroupVariationImageResponseCardButtonArgs
                                                    {
                                                        Text = "string",
                                                        Value = "string",
                                                    },
                                                },
                                                ImageUrl = "string",
                                                Subtitle = "string",
                                            },
                                            PlainTextMessage = new Aws.Lex.Inputs.V2modelsIntentConfirmationSettingConfirmationConditionalConditionalBranchResponseMessageGroupVariationPlainTextMessageArgs
                                            {
                                                Value = "string",
                                            },
                                            SsmlMessage = new Aws.Lex.Inputs.V2modelsIntentConfirmationSettingConfirmationConditionalConditionalBranchResponseMessageGroupVariationSsmlMessageArgs
                                            {
                                                Value = "string",
                                            },
                                        },
                                    },
                                },
                            },
                        },
                    },
                },
                DefaultBranch = new Aws.Lex.Inputs.V2modelsIntentConfirmationSettingConfirmationConditionalDefaultBranchArgs
                {
                    NextStep = new Aws.Lex.Inputs.V2modelsIntentConfirmationSettingConfirmationConditionalDefaultBranchNextStepArgs
                    {
                        DialogAction = new Aws.Lex.Inputs.V2modelsIntentConfirmationSettingConfirmationConditionalDefaultBranchNextStepDialogActionArgs
                        {
                            Type = "string",
                            SlotToElicit = "string",
                            SuppressNextMessage = false,
                        },
                        Intent = new Aws.Lex.Inputs.V2modelsIntentConfirmationSettingConfirmationConditionalDefaultBranchNextStepIntentArgs
                        {
                            Name = "string",
                            Slots = new[]
                            {
                                new Aws.Lex.Inputs.V2modelsIntentConfirmationSettingConfirmationConditionalDefaultBranchNextStepIntentSlotArgs
                                {
                                    MapBlockKey = "string",
                                    Shape = "string",
                                    Value = new Aws.Lex.Inputs.V2modelsIntentConfirmationSettingConfirmationConditionalDefaultBranchNextStepIntentSlotValueArgs
                                    {
                                        InterpretedValue = "string",
                                    },
                                },
                            },
                        },
                        SessionAttributes = 
                        {
                            { "string", "string" },
                        },
                    },
                    Response = new Aws.Lex.Inputs.V2modelsIntentConfirmationSettingConfirmationConditionalDefaultBranchResponseArgs
                    {
                        AllowInterrupt = false,
                        MessageGroups = new[]
                        {
                            new Aws.Lex.Inputs.V2modelsIntentConfirmationSettingConfirmationConditionalDefaultBranchResponseMessageGroupArgs
                            {
                                Message = new Aws.Lex.Inputs.V2modelsIntentConfirmationSettingConfirmationConditionalDefaultBranchResponseMessageGroupMessageArgs
                                {
                                    CustomPayload = new Aws.Lex.Inputs.V2modelsIntentConfirmationSettingConfirmationConditionalDefaultBranchResponseMessageGroupMessageCustomPayloadArgs
                                    {
                                        Value = "string",
                                    },
                                    ImageResponseCard = new Aws.Lex.Inputs.V2modelsIntentConfirmationSettingConfirmationConditionalDefaultBranchResponseMessageGroupMessageImageResponseCardArgs
                                    {
                                        Title = "string",
                                        Buttons = new[]
                                        {
                                            new Aws.Lex.Inputs.V2modelsIntentConfirmationSettingConfirmationConditionalDefaultBranchResponseMessageGroupMessageImageResponseCardButtonArgs
                                            {
                                                Text = "string",
                                                Value = "string",
                                            },
                                        },
                                        ImageUrl = "string",
                                        Subtitle = "string",
                                    },
                                    PlainTextMessage = new Aws.Lex.Inputs.V2modelsIntentConfirmationSettingConfirmationConditionalDefaultBranchResponseMessageGroupMessagePlainTextMessageArgs
                                    {
                                        Value = "string",
                                    },
                                    SsmlMessage = new Aws.Lex.Inputs.V2modelsIntentConfirmationSettingConfirmationConditionalDefaultBranchResponseMessageGroupMessageSsmlMessageArgs
                                    {
                                        Value = "string",
                                    },
                                },
                                Variations = new[]
                                {
                                    new Aws.Lex.Inputs.V2modelsIntentConfirmationSettingConfirmationConditionalDefaultBranchResponseMessageGroupVariationArgs
                                    {
                                        CustomPayload = new Aws.Lex.Inputs.V2modelsIntentConfirmationSettingConfirmationConditionalDefaultBranchResponseMessageGroupVariationCustomPayloadArgs
                                        {
                                            Value = "string",
                                        },
                                        ImageResponseCard = new Aws.Lex.Inputs.V2modelsIntentConfirmationSettingConfirmationConditionalDefaultBranchResponseMessageGroupVariationImageResponseCardArgs
                                        {
                                            Title = "string",
                                            Buttons = new[]
                                            {
                                                new Aws.Lex.Inputs.V2modelsIntentConfirmationSettingConfirmationConditionalDefaultBranchResponseMessageGroupVariationImageResponseCardButtonArgs
                                                {
                                                    Text = "string",
                                                    Value = "string",
                                                },
                                            },
                                            ImageUrl = "string",
                                            Subtitle = "string",
                                        },
                                        PlainTextMessage = new Aws.Lex.Inputs.V2modelsIntentConfirmationSettingConfirmationConditionalDefaultBranchResponseMessageGroupVariationPlainTextMessageArgs
                                        {
                                            Value = "string",
                                        },
                                        SsmlMessage = new Aws.Lex.Inputs.V2modelsIntentConfirmationSettingConfirmationConditionalDefaultBranchResponseMessageGroupVariationSsmlMessageArgs
                                        {
                                            Value = "string",
                                        },
                                    },
                                },
                            },
                        },
                    },
                },
            },
            ConfirmationNextStep = new Aws.Lex.Inputs.V2modelsIntentConfirmationSettingConfirmationNextStepArgs
            {
                DialogAction = new Aws.Lex.Inputs.V2modelsIntentConfirmationSettingConfirmationNextStepDialogActionArgs
                {
                    Type = "string",
                    SlotToElicit = "string",
                    SuppressNextMessage = false,
                },
                Intent = new Aws.Lex.Inputs.V2modelsIntentConfirmationSettingConfirmationNextStepIntentArgs
                {
                    Name = "string",
                    Slots = new[]
                    {
                        new Aws.Lex.Inputs.V2modelsIntentConfirmationSettingConfirmationNextStepIntentSlotArgs
                        {
                            MapBlockKey = "string",
                            Shape = "string",
                            Value = new Aws.Lex.Inputs.V2modelsIntentConfirmationSettingConfirmationNextStepIntentSlotValueArgs
                            {
                                InterpretedValue = "string",
                            },
                        },
                    },
                },
                SessionAttributes = 
                {
                    { "string", "string" },
                },
            },
            ConfirmationResponse = new Aws.Lex.Inputs.V2modelsIntentConfirmationSettingConfirmationResponseArgs
            {
                AllowInterrupt = false,
                MessageGroups = new[]
                {
                    new Aws.Lex.Inputs.V2modelsIntentConfirmationSettingConfirmationResponseMessageGroupArgs
                    {
                        Message = new Aws.Lex.Inputs.V2modelsIntentConfirmationSettingConfirmationResponseMessageGroupMessageArgs
                        {
                            CustomPayload = new Aws.Lex.Inputs.V2modelsIntentConfirmationSettingConfirmationResponseMessageGroupMessageCustomPayloadArgs
                            {
                                Value = "string",
                            },
                            ImageResponseCard = new Aws.Lex.Inputs.V2modelsIntentConfirmationSettingConfirmationResponseMessageGroupMessageImageResponseCardArgs
                            {
                                Title = "string",
                                Buttons = new[]
                                {
                                    new Aws.Lex.Inputs.V2modelsIntentConfirmationSettingConfirmationResponseMessageGroupMessageImageResponseCardButtonArgs
                                    {
                                        Text = "string",
                                        Value = "string",
                                    },
                                },
                                ImageUrl = "string",
                                Subtitle = "string",
                            },
                            PlainTextMessage = new Aws.Lex.Inputs.V2modelsIntentConfirmationSettingConfirmationResponseMessageGroupMessagePlainTextMessageArgs
                            {
                                Value = "string",
                            },
                            SsmlMessage = new Aws.Lex.Inputs.V2modelsIntentConfirmationSettingConfirmationResponseMessageGroupMessageSsmlMessageArgs
                            {
                                Value = "string",
                            },
                        },
                        Variations = new[]
                        {
                            new Aws.Lex.Inputs.V2modelsIntentConfirmationSettingConfirmationResponseMessageGroupVariationArgs
                            {
                                CustomPayload = new Aws.Lex.Inputs.V2modelsIntentConfirmationSettingConfirmationResponseMessageGroupVariationCustomPayloadArgs
                                {
                                    Value = "string",
                                },
                                ImageResponseCard = new Aws.Lex.Inputs.V2modelsIntentConfirmationSettingConfirmationResponseMessageGroupVariationImageResponseCardArgs
                                {
                                    Title = "string",
                                    Buttons = new[]
                                    {
                                        new Aws.Lex.Inputs.V2modelsIntentConfirmationSettingConfirmationResponseMessageGroupVariationImageResponseCardButtonArgs
                                        {
                                            Text = "string",
                                            Value = "string",
                                        },
                                    },
                                    ImageUrl = "string",
                                    Subtitle = "string",
                                },
                                PlainTextMessage = new Aws.Lex.Inputs.V2modelsIntentConfirmationSettingConfirmationResponseMessageGroupVariationPlainTextMessageArgs
                                {
                                    Value = "string",
                                },
                                SsmlMessage = new Aws.Lex.Inputs.V2modelsIntentConfirmationSettingConfirmationResponseMessageGroupVariationSsmlMessageArgs
                                {
                                    Value = "string",
                                },
                            },
                        },
                    },
                },
            },
            DeclinationConditional = new Aws.Lex.Inputs.V2modelsIntentConfirmationSettingDeclinationConditionalArgs
            {
                Active = false,
                ConditionalBranches = new[]
                {
                    new Aws.Lex.Inputs.V2modelsIntentConfirmationSettingDeclinationConditionalConditionalBranchArgs
                    {
                        Name = "string",
                        Condition = new Aws.Lex.Inputs.V2modelsIntentConfirmationSettingDeclinationConditionalConditionalBranchConditionArgs
                        {
                            ExpressionString = "string",
                        },
                        NextStep = new Aws.Lex.Inputs.V2modelsIntentConfirmationSettingDeclinationConditionalConditionalBranchNextStepArgs
                        {
                            DialogAction = new Aws.Lex.Inputs.V2modelsIntentConfirmationSettingDeclinationConditionalConditionalBranchNextStepDialogActionArgs
                            {
                                Type = "string",
                                SlotToElicit = "string",
                                SuppressNextMessage = false,
                            },
                            Intent = new Aws.Lex.Inputs.V2modelsIntentConfirmationSettingDeclinationConditionalConditionalBranchNextStepIntentArgs
                            {
                                Name = "string",
                                Slots = new[]
                                {
                                    new Aws.Lex.Inputs.V2modelsIntentConfirmationSettingDeclinationConditionalConditionalBranchNextStepIntentSlotArgs
                                    {
                                        MapBlockKey = "string",
                                        Shape = "string",
                                        Value = new Aws.Lex.Inputs.V2modelsIntentConfirmationSettingDeclinationConditionalConditionalBranchNextStepIntentSlotValueArgs
                                        {
                                            InterpretedValue = "string",
                                        },
                                    },
                                },
                            },
                            SessionAttributes = 
                            {
                                { "string", "string" },
                            },
                        },
                        Response = new Aws.Lex.Inputs.V2modelsIntentConfirmationSettingDeclinationConditionalConditionalBranchResponseArgs
                        {
                            AllowInterrupt = false,
                            MessageGroups = new[]
                            {
                                new Aws.Lex.Inputs.V2modelsIntentConfirmationSettingDeclinationConditionalConditionalBranchResponseMessageGroupArgs
                                {
                                    Message = new Aws.Lex.Inputs.V2modelsIntentConfirmationSettingDeclinationConditionalConditionalBranchResponseMessageGroupMessageArgs
                                    {
                                        CustomPayload = new Aws.Lex.Inputs.V2modelsIntentConfirmationSettingDeclinationConditionalConditionalBranchResponseMessageGroupMessageCustomPayloadArgs
                                        {
                                            Value = "string",
                                        },
                                        ImageResponseCard = new Aws.Lex.Inputs.V2modelsIntentConfirmationSettingDeclinationConditionalConditionalBranchResponseMessageGroupMessageImageResponseCardArgs
                                        {
                                            Title = "string",
                                            Buttons = new[]
                                            {
                                                new Aws.Lex.Inputs.V2modelsIntentConfirmationSettingDeclinationConditionalConditionalBranchResponseMessageGroupMessageImageResponseCardButtonArgs
                                                {
                                                    Text = "string",
                                                    Value = "string",
                                                },
                                            },
                                            ImageUrl = "string",
                                            Subtitle = "string",
                                        },
                                        PlainTextMessage = new Aws.Lex.Inputs.V2modelsIntentConfirmationSettingDeclinationConditionalConditionalBranchResponseMessageGroupMessagePlainTextMessageArgs
                                        {
                                            Value = "string",
                                        },
                                        SsmlMessage = new Aws.Lex.Inputs.V2modelsIntentConfirmationSettingDeclinationConditionalConditionalBranchResponseMessageGroupMessageSsmlMessageArgs
                                        {
                                            Value = "string",
                                        },
                                    },
                                    Variations = new[]
                                    {
                                        new Aws.Lex.Inputs.V2modelsIntentConfirmationSettingDeclinationConditionalConditionalBranchResponseMessageGroupVariationArgs
                                        {
                                            CustomPayload = new Aws.Lex.Inputs.V2modelsIntentConfirmationSettingDeclinationConditionalConditionalBranchResponseMessageGroupVariationCustomPayloadArgs
                                            {
                                                Value = "string",
                                            },
                                            ImageResponseCard = new Aws.Lex.Inputs.V2modelsIntentConfirmationSettingDeclinationConditionalConditionalBranchResponseMessageGroupVariationImageResponseCardArgs
                                            {
                                                Title = "string",
                                                Buttons = new[]
                                                {
                                                    new Aws.Lex.Inputs.V2modelsIntentConfirmationSettingDeclinationConditionalConditionalBranchResponseMessageGroupVariationImageResponseCardButtonArgs
                                                    {
                                                        Text = "string",
                                                        Value = "string",
                                                    },
                                                },
                                                ImageUrl = "string",
                                                Subtitle = "string",
                                            },
                                            PlainTextMessage = new Aws.Lex.Inputs.V2modelsIntentConfirmationSettingDeclinationConditionalConditionalBranchResponseMessageGroupVariationPlainTextMessageArgs
                                            {
                                                Value = "string",
                                            },
                                            SsmlMessage = new Aws.Lex.Inputs.V2modelsIntentConfirmationSettingDeclinationConditionalConditionalBranchResponseMessageGroupVariationSsmlMessageArgs
                                            {
                                                Value = "string",
                                            },
                                        },
                                    },
                                },
                            },
                        },
                    },
                },
                DefaultBranch = new Aws.Lex.Inputs.V2modelsIntentConfirmationSettingDeclinationConditionalDefaultBranchArgs
                {
                    NextStep = new Aws.Lex.Inputs.V2modelsIntentConfirmationSettingDeclinationConditionalDefaultBranchNextStepArgs
                    {
                        DialogAction = new Aws.Lex.Inputs.V2modelsIntentConfirmationSettingDeclinationConditionalDefaultBranchNextStepDialogActionArgs
                        {
                            Type = "string",
                            SlotToElicit = "string",
                            SuppressNextMessage = false,
                        },
                        Intent = new Aws.Lex.Inputs.V2modelsIntentConfirmationSettingDeclinationConditionalDefaultBranchNextStepIntentArgs
                        {
                            Name = "string",
                            Slots = new[]
                            {
                                new Aws.Lex.Inputs.V2modelsIntentConfirmationSettingDeclinationConditionalDefaultBranchNextStepIntentSlotArgs
                                {
                                    MapBlockKey = "string",
                                    Shape = "string",
                                    Value = new Aws.Lex.Inputs.V2modelsIntentConfirmationSettingDeclinationConditionalDefaultBranchNextStepIntentSlotValueArgs
                                    {
                                        InterpretedValue = "string",
                                    },
                                },
                            },
                        },
                        SessionAttributes = 
                        {
                            { "string", "string" },
                        },
                    },
                    Response = new Aws.Lex.Inputs.V2modelsIntentConfirmationSettingDeclinationConditionalDefaultBranchResponseArgs
                    {
                        AllowInterrupt = false,
                        MessageGroups = new[]
                        {
                            new Aws.Lex.Inputs.V2modelsIntentConfirmationSettingDeclinationConditionalDefaultBranchResponseMessageGroupArgs
                            {
                                Message = new Aws.Lex.Inputs.V2modelsIntentConfirmationSettingDeclinationConditionalDefaultBranchResponseMessageGroupMessageArgs
                                {
                                    CustomPayload = new Aws.Lex.Inputs.V2modelsIntentConfirmationSettingDeclinationConditionalDefaultBranchResponseMessageGroupMessageCustomPayloadArgs
                                    {
                                        Value = "string",
                                    },
                                    ImageResponseCard = new Aws.Lex.Inputs.V2modelsIntentConfirmationSettingDeclinationConditionalDefaultBranchResponseMessageGroupMessageImageResponseCardArgs
                                    {
                                        Title = "string",
                                        Buttons = new[]
                                        {
                                            new Aws.Lex.Inputs.V2modelsIntentConfirmationSettingDeclinationConditionalDefaultBranchResponseMessageGroupMessageImageResponseCardButtonArgs
                                            {
                                                Text = "string",
                                                Value = "string",
                                            },
                                        },
                                        ImageUrl = "string",
                                        Subtitle = "string",
                                    },
                                    PlainTextMessage = new Aws.Lex.Inputs.V2modelsIntentConfirmationSettingDeclinationConditionalDefaultBranchResponseMessageGroupMessagePlainTextMessageArgs
                                    {
                                        Value = "string",
                                    },
                                    SsmlMessage = new Aws.Lex.Inputs.V2modelsIntentConfirmationSettingDeclinationConditionalDefaultBranchResponseMessageGroupMessageSsmlMessageArgs
                                    {
                                        Value = "string",
                                    },
                                },
                                Variations = new[]
                                {
                                    new Aws.Lex.Inputs.V2modelsIntentConfirmationSettingDeclinationConditionalDefaultBranchResponseMessageGroupVariationArgs
                                    {
                                        CustomPayload = new Aws.Lex.Inputs.V2modelsIntentConfirmationSettingDeclinationConditionalDefaultBranchResponseMessageGroupVariationCustomPayloadArgs
                                        {
                                            Value = "string",
                                        },
                                        ImageResponseCard = new Aws.Lex.Inputs.V2modelsIntentConfirmationSettingDeclinationConditionalDefaultBranchResponseMessageGroupVariationImageResponseCardArgs
                                        {
                                            Title = "string",
                                            Buttons = new[]
                                            {
                                                new Aws.Lex.Inputs.V2modelsIntentConfirmationSettingDeclinationConditionalDefaultBranchResponseMessageGroupVariationImageResponseCardButtonArgs
                                                {
                                                    Text = "string",
                                                    Value = "string",
                                                },
                                            },
                                            ImageUrl = "string",
                                            Subtitle = "string",
                                        },
                                        PlainTextMessage = new Aws.Lex.Inputs.V2modelsIntentConfirmationSettingDeclinationConditionalDefaultBranchResponseMessageGroupVariationPlainTextMessageArgs
                                        {
                                            Value = "string",
                                        },
                                        SsmlMessage = new Aws.Lex.Inputs.V2modelsIntentConfirmationSettingDeclinationConditionalDefaultBranchResponseMessageGroupVariationSsmlMessageArgs
                                        {
                                            Value = "string",
                                        },
                                    },
                                },
                            },
                        },
                    },
                },
            },
            DeclinationNextStep = new Aws.Lex.Inputs.V2modelsIntentConfirmationSettingDeclinationNextStepArgs
            {
                DialogAction = new Aws.Lex.Inputs.V2modelsIntentConfirmationSettingDeclinationNextStepDialogActionArgs
                {
                    Type = "string",
                    SlotToElicit = "string",
                    SuppressNextMessage = false,
                },
                Intent = new Aws.Lex.Inputs.V2modelsIntentConfirmationSettingDeclinationNextStepIntentArgs
                {
                    Name = "string",
                    Slots = new[]
                    {
                        new Aws.Lex.Inputs.V2modelsIntentConfirmationSettingDeclinationNextStepIntentSlotArgs
                        {
                            MapBlockKey = "string",
                            Shape = "string",
                            Value = new Aws.Lex.Inputs.V2modelsIntentConfirmationSettingDeclinationNextStepIntentSlotValueArgs
                            {
                                InterpretedValue = "string",
                            },
                        },
                    },
                },
                SessionAttributes = 
                {
                    { "string", "string" },
                },
            },
            DeclinationResponse = new Aws.Lex.Inputs.V2modelsIntentConfirmationSettingDeclinationResponseArgs
            {
                AllowInterrupt = false,
                MessageGroups = new[]
                {
                    new Aws.Lex.Inputs.V2modelsIntentConfirmationSettingDeclinationResponseMessageGroupArgs
                    {
                        Message = new Aws.Lex.Inputs.V2modelsIntentConfirmationSettingDeclinationResponseMessageGroupMessageArgs
                        {
                            CustomPayload = new Aws.Lex.Inputs.V2modelsIntentConfirmationSettingDeclinationResponseMessageGroupMessageCustomPayloadArgs
                            {
                                Value = "string",
                            },
                            ImageResponseCard = new Aws.Lex.Inputs.V2modelsIntentConfirmationSettingDeclinationResponseMessageGroupMessageImageResponseCardArgs
                            {
                                Title = "string",
                                Buttons = new[]
                                {
                                    new Aws.Lex.Inputs.V2modelsIntentConfirmationSettingDeclinationResponseMessageGroupMessageImageResponseCardButtonArgs
                                    {
                                        Text = "string",
                                        Value = "string",
                                    },
                                },
                                ImageUrl = "string",
                                Subtitle = "string",
                            },
                            PlainTextMessage = new Aws.Lex.Inputs.V2modelsIntentConfirmationSettingDeclinationResponseMessageGroupMessagePlainTextMessageArgs
                            {
                                Value = "string",
                            },
                            SsmlMessage = new Aws.Lex.Inputs.V2modelsIntentConfirmationSettingDeclinationResponseMessageGroupMessageSsmlMessageArgs
                            {
                                Value = "string",
                            },
                        },
                        Variations = new[]
                        {
                            new Aws.Lex.Inputs.V2modelsIntentConfirmationSettingDeclinationResponseMessageGroupVariationArgs
                            {
                                CustomPayload = new Aws.Lex.Inputs.V2modelsIntentConfirmationSettingDeclinationResponseMessageGroupVariationCustomPayloadArgs
                                {
                                    Value = "string",
                                },
                                ImageResponseCard = new Aws.Lex.Inputs.V2modelsIntentConfirmationSettingDeclinationResponseMessageGroupVariationImageResponseCardArgs
                                {
                                    Title = "string",
                                    Buttons = new[]
                                    {
                                        new Aws.Lex.Inputs.V2modelsIntentConfirmationSettingDeclinationResponseMessageGroupVariationImageResponseCardButtonArgs
                                        {
                                            Text = "string",
                                            Value = "string",
                                        },
                                    },
                                    ImageUrl = "string",
                                    Subtitle = "string",
                                },
                                PlainTextMessage = new Aws.Lex.Inputs.V2modelsIntentConfirmationSettingDeclinationResponseMessageGroupVariationPlainTextMessageArgs
                                {
                                    Value = "string",
                                },
                                SsmlMessage = new Aws.Lex.Inputs.V2modelsIntentConfirmationSettingDeclinationResponseMessageGroupVariationSsmlMessageArgs
                                {
                                    Value = "string",
                                },
                            },
                        },
                    },
                },
            },
            ElicitationCodeHook = new Aws.Lex.Inputs.V2modelsIntentConfirmationSettingElicitationCodeHookArgs
            {
                EnableCodeHookInvocation = false,
                InvocationLabel = "string",
            },
            FailureConditional = new Aws.Lex.Inputs.V2modelsIntentConfirmationSettingFailureConditionalArgs
            {
                Active = false,
                ConditionalBranches = new[]
                {
                    new Aws.Lex.Inputs.V2modelsIntentConfirmationSettingFailureConditionalConditionalBranchArgs
                    {
                        Name = "string",
                        Condition = new Aws.Lex.Inputs.V2modelsIntentConfirmationSettingFailureConditionalConditionalBranchConditionArgs
                        {
                            ExpressionString = "string",
                        },
                        NextStep = new Aws.Lex.Inputs.V2modelsIntentConfirmationSettingFailureConditionalConditionalBranchNextStepArgs
                        {
                            DialogAction = new Aws.Lex.Inputs.V2modelsIntentConfirmationSettingFailureConditionalConditionalBranchNextStepDialogActionArgs
                            {
                                Type = "string",
                                SlotToElicit = "string",
                                SuppressNextMessage = false,
                            },
                            Intent = new Aws.Lex.Inputs.V2modelsIntentConfirmationSettingFailureConditionalConditionalBranchNextStepIntentArgs
                            {
                                Name = "string",
                                Slots = new[]
                                {
                                    new Aws.Lex.Inputs.V2modelsIntentConfirmationSettingFailureConditionalConditionalBranchNextStepIntentSlotArgs
                                    {
                                        MapBlockKey = "string",
                                        Shape = "string",
                                        Value = new Aws.Lex.Inputs.V2modelsIntentConfirmationSettingFailureConditionalConditionalBranchNextStepIntentSlotValueArgs
                                        {
                                            InterpretedValue = "string",
                                        },
                                    },
                                },
                            },
                            SessionAttributes = 
                            {
                                { "string", "string" },
                            },
                        },
                        Response = new Aws.Lex.Inputs.V2modelsIntentConfirmationSettingFailureConditionalConditionalBranchResponseArgs
                        {
                            AllowInterrupt = false,
                            MessageGroups = new[]
                            {
                                new Aws.Lex.Inputs.V2modelsIntentConfirmationSettingFailureConditionalConditionalBranchResponseMessageGroupArgs
                                {
                                    Message = new Aws.Lex.Inputs.V2modelsIntentConfirmationSettingFailureConditionalConditionalBranchResponseMessageGroupMessageArgs
                                    {
                                        CustomPayload = new Aws.Lex.Inputs.V2modelsIntentConfirmationSettingFailureConditionalConditionalBranchResponseMessageGroupMessageCustomPayloadArgs
                                        {
                                            Value = "string",
                                        },
                                        ImageResponseCard = new Aws.Lex.Inputs.V2modelsIntentConfirmationSettingFailureConditionalConditionalBranchResponseMessageGroupMessageImageResponseCardArgs
                                        {
                                            Title = "string",
                                            Buttons = new[]
                                            {
                                                new Aws.Lex.Inputs.V2modelsIntentConfirmationSettingFailureConditionalConditionalBranchResponseMessageGroupMessageImageResponseCardButtonArgs
                                                {
                                                    Text = "string",
                                                    Value = "string",
                                                },
                                            },
                                            ImageUrl = "string",
                                            Subtitle = "string",
                                        },
                                        PlainTextMessage = new Aws.Lex.Inputs.V2modelsIntentConfirmationSettingFailureConditionalConditionalBranchResponseMessageGroupMessagePlainTextMessageArgs
                                        {
                                            Value = "string",
                                        },
                                        SsmlMessage = new Aws.Lex.Inputs.V2modelsIntentConfirmationSettingFailureConditionalConditionalBranchResponseMessageGroupMessageSsmlMessageArgs
                                        {
                                            Value = "string",
                                        },
                                    },
                                    Variations = new[]
                                    {
                                        new Aws.Lex.Inputs.V2modelsIntentConfirmationSettingFailureConditionalConditionalBranchResponseMessageGroupVariationArgs
                                        {
                                            CustomPayload = new Aws.Lex.Inputs.V2modelsIntentConfirmationSettingFailureConditionalConditionalBranchResponseMessageGroupVariationCustomPayloadArgs
                                            {
                                                Value = "string",
                                            },
                                            ImageResponseCard = new Aws.Lex.Inputs.V2modelsIntentConfirmationSettingFailureConditionalConditionalBranchResponseMessageGroupVariationImageResponseCardArgs
                                            {
                                                Title = "string",
                                                Buttons = new[]
                                                {
                                                    new Aws.Lex.Inputs.V2modelsIntentConfirmationSettingFailureConditionalConditionalBranchResponseMessageGroupVariationImageResponseCardButtonArgs
                                                    {
                                                        Text = "string",
                                                        Value = "string",
                                                    },
                                                },
                                                ImageUrl = "string",
                                                Subtitle = "string",
                                            },
                                            PlainTextMessage = new Aws.Lex.Inputs.V2modelsIntentConfirmationSettingFailureConditionalConditionalBranchResponseMessageGroupVariationPlainTextMessageArgs
                                            {
                                                Value = "string",
                                            },
                                            SsmlMessage = new Aws.Lex.Inputs.V2modelsIntentConfirmationSettingFailureConditionalConditionalBranchResponseMessageGroupVariationSsmlMessageArgs
                                            {
                                                Value = "string",
                                            },
                                        },
                                    },
                                },
                            },
                        },
                    },
                },
                DefaultBranch = new Aws.Lex.Inputs.V2modelsIntentConfirmationSettingFailureConditionalDefaultBranchArgs
                {
                    NextStep = new Aws.Lex.Inputs.V2modelsIntentConfirmationSettingFailureConditionalDefaultBranchNextStepArgs
                    {
                        DialogAction = new Aws.Lex.Inputs.V2modelsIntentConfirmationSettingFailureConditionalDefaultBranchNextStepDialogActionArgs
                        {
                            Type = "string",
                            SlotToElicit = "string",
                            SuppressNextMessage = false,
                        },
                        Intent = new Aws.Lex.Inputs.V2modelsIntentConfirmationSettingFailureConditionalDefaultBranchNextStepIntentArgs
                        {
                            Name = "string",
                            Slots = new[]
                            {
                                new Aws.Lex.Inputs.V2modelsIntentConfirmationSettingFailureConditionalDefaultBranchNextStepIntentSlotArgs
                                {
                                    MapBlockKey = "string",
                                    Shape = "string",
                                    Value = new Aws.Lex.Inputs.V2modelsIntentConfirmationSettingFailureConditionalDefaultBranchNextStepIntentSlotValueArgs
                                    {
                                        InterpretedValue = "string",
                                    },
                                },
                            },
                        },
                        SessionAttributes = 
                        {
                            { "string", "string" },
                        },
                    },
                    Response = new Aws.Lex.Inputs.V2modelsIntentConfirmationSettingFailureConditionalDefaultBranchResponseArgs
                    {
                        AllowInterrupt = false,
                        MessageGroups = new[]
                        {
                            new Aws.Lex.Inputs.V2modelsIntentConfirmationSettingFailureConditionalDefaultBranchResponseMessageGroupArgs
                            {
                                Message = new Aws.Lex.Inputs.V2modelsIntentConfirmationSettingFailureConditionalDefaultBranchResponseMessageGroupMessageArgs
                                {
                                    CustomPayload = new Aws.Lex.Inputs.V2modelsIntentConfirmationSettingFailureConditionalDefaultBranchResponseMessageGroupMessageCustomPayloadArgs
                                    {
                                        Value = "string",
                                    },
                                    ImageResponseCard = new Aws.Lex.Inputs.V2modelsIntentConfirmationSettingFailureConditionalDefaultBranchResponseMessageGroupMessageImageResponseCardArgs
                                    {
                                        Title = "string",
                                        Buttons = new[]
                                        {
                                            new Aws.Lex.Inputs.V2modelsIntentConfirmationSettingFailureConditionalDefaultBranchResponseMessageGroupMessageImageResponseCardButtonArgs
                                            {
                                                Text = "string",
                                                Value = "string",
                                            },
                                        },
                                        ImageUrl = "string",
                                        Subtitle = "string",
                                    },
                                    PlainTextMessage = new Aws.Lex.Inputs.V2modelsIntentConfirmationSettingFailureConditionalDefaultBranchResponseMessageGroupMessagePlainTextMessageArgs
                                    {
                                        Value = "string",
                                    },
                                    SsmlMessage = new Aws.Lex.Inputs.V2modelsIntentConfirmationSettingFailureConditionalDefaultBranchResponseMessageGroupMessageSsmlMessageArgs
                                    {
                                        Value = "string",
                                    },
                                },
                                Variations = new[]
                                {
                                    new Aws.Lex.Inputs.V2modelsIntentConfirmationSettingFailureConditionalDefaultBranchResponseMessageGroupVariationArgs
                                    {
                                        CustomPayload = new Aws.Lex.Inputs.V2modelsIntentConfirmationSettingFailureConditionalDefaultBranchResponseMessageGroupVariationCustomPayloadArgs
                                        {
                                            Value = "string",
                                        },
                                        ImageResponseCard = new Aws.Lex.Inputs.V2modelsIntentConfirmationSettingFailureConditionalDefaultBranchResponseMessageGroupVariationImageResponseCardArgs
                                        {
                                            Title = "string",
                                            Buttons = new[]
                                            {
                                                new Aws.Lex.Inputs.V2modelsIntentConfirmationSettingFailureConditionalDefaultBranchResponseMessageGroupVariationImageResponseCardButtonArgs
                                                {
                                                    Text = "string",
                                                    Value = "string",
                                                },
                                            },
                                            ImageUrl = "string",
                                            Subtitle = "string",
                                        },
                                        PlainTextMessage = new Aws.Lex.Inputs.V2modelsIntentConfirmationSettingFailureConditionalDefaultBranchResponseMessageGroupVariationPlainTextMessageArgs
                                        {
                                            Value = "string",
                                        },
                                        SsmlMessage = new Aws.Lex.Inputs.V2modelsIntentConfirmationSettingFailureConditionalDefaultBranchResponseMessageGroupVariationSsmlMessageArgs
                                        {
                                            Value = "string",
                                        },
                                    },
                                },
                            },
                        },
                    },
                },
            },
            FailureNextStep = new Aws.Lex.Inputs.V2modelsIntentConfirmationSettingFailureNextStepArgs
            {
                DialogAction = new Aws.Lex.Inputs.V2modelsIntentConfirmationSettingFailureNextStepDialogActionArgs
                {
                    Type = "string",
                    SlotToElicit = "string",
                    SuppressNextMessage = false,
                },
                Intent = new Aws.Lex.Inputs.V2modelsIntentConfirmationSettingFailureNextStepIntentArgs
                {
                    Name = "string",
                    Slots = new[]
                    {
                        new Aws.Lex.Inputs.V2modelsIntentConfirmationSettingFailureNextStepIntentSlotArgs
                        {
                            MapBlockKey = "string",
                            Shape = "string",
                            Value = new Aws.Lex.Inputs.V2modelsIntentConfirmationSettingFailureNextStepIntentSlotValueArgs
                            {
                                InterpretedValue = "string",
                            },
                        },
                    },
                },
                SessionAttributes = 
                {
                    { "string", "string" },
                },
            },
            FailureResponse = new Aws.Lex.Inputs.V2modelsIntentConfirmationSettingFailureResponseArgs
            {
                AllowInterrupt = false,
                MessageGroups = new[]
                {
                    new Aws.Lex.Inputs.V2modelsIntentConfirmationSettingFailureResponseMessageGroupArgs
                    {
                        Message = new Aws.Lex.Inputs.V2modelsIntentConfirmationSettingFailureResponseMessageGroupMessageArgs
                        {
                            CustomPayload = new Aws.Lex.Inputs.V2modelsIntentConfirmationSettingFailureResponseMessageGroupMessageCustomPayloadArgs
                            {
                                Value = "string",
                            },
                            ImageResponseCard = new Aws.Lex.Inputs.V2modelsIntentConfirmationSettingFailureResponseMessageGroupMessageImageResponseCardArgs
                            {
                                Title = "string",
                                Buttons = new[]
                                {
                                    new Aws.Lex.Inputs.V2modelsIntentConfirmationSettingFailureResponseMessageGroupMessageImageResponseCardButtonArgs
                                    {
                                        Text = "string",
                                        Value = "string",
                                    },
                                },
                                ImageUrl = "string",
                                Subtitle = "string",
                            },
                            PlainTextMessage = new Aws.Lex.Inputs.V2modelsIntentConfirmationSettingFailureResponseMessageGroupMessagePlainTextMessageArgs
                            {
                                Value = "string",
                            },
                            SsmlMessage = new Aws.Lex.Inputs.V2modelsIntentConfirmationSettingFailureResponseMessageGroupMessageSsmlMessageArgs
                            {
                                Value = "string",
                            },
                        },
                        Variations = new[]
                        {
                            new Aws.Lex.Inputs.V2modelsIntentConfirmationSettingFailureResponseMessageGroupVariationArgs
                            {
                                CustomPayload = new Aws.Lex.Inputs.V2modelsIntentConfirmationSettingFailureResponseMessageGroupVariationCustomPayloadArgs
                                {
                                    Value = "string",
                                },
                                ImageResponseCard = new Aws.Lex.Inputs.V2modelsIntentConfirmationSettingFailureResponseMessageGroupVariationImageResponseCardArgs
                                {
                                    Title = "string",
                                    Buttons = new[]
                                    {
                                        new Aws.Lex.Inputs.V2modelsIntentConfirmationSettingFailureResponseMessageGroupVariationImageResponseCardButtonArgs
                                        {
                                            Text = "string",
                                            Value = "string",
                                        },
                                    },
                                    ImageUrl = "string",
                                    Subtitle = "string",
                                },
                                PlainTextMessage = new Aws.Lex.Inputs.V2modelsIntentConfirmationSettingFailureResponseMessageGroupVariationPlainTextMessageArgs
                                {
                                    Value = "string",
                                },
                                SsmlMessage = new Aws.Lex.Inputs.V2modelsIntentConfirmationSettingFailureResponseMessageGroupVariationSsmlMessageArgs
                                {
                                    Value = "string",
                                },
                            },
                        },
                    },
                },
            },
            PromptSpecification = new Aws.Lex.Inputs.V2modelsIntentConfirmationSettingPromptSpecificationArgs
            {
                MaxRetries = 0,
                AllowInterrupt = false,
                MessageGroups = new[]
                {
                    new Aws.Lex.Inputs.V2modelsIntentConfirmationSettingPromptSpecificationMessageGroupArgs
                    {
                        Message = new Aws.Lex.Inputs.V2modelsIntentConfirmationSettingPromptSpecificationMessageGroupMessageArgs
                        {
                            CustomPayload = new Aws.Lex.Inputs.V2modelsIntentConfirmationSettingPromptSpecificationMessageGroupMessageCustomPayloadArgs
                            {
                                Value = "string",
                            },
                            ImageResponseCard = new Aws.Lex.Inputs.V2modelsIntentConfirmationSettingPromptSpecificationMessageGroupMessageImageResponseCardArgs
                            {
                                Title = "string",
                                Buttons = new[]
                                {
                                    new Aws.Lex.Inputs.V2modelsIntentConfirmationSettingPromptSpecificationMessageGroupMessageImageResponseCardButtonArgs
                                    {
                                        Text = "string",
                                        Value = "string",
                                    },
                                },
                                ImageUrl = "string",
                                Subtitle = "string",
                            },
                            PlainTextMessage = new Aws.Lex.Inputs.V2modelsIntentConfirmationSettingPromptSpecificationMessageGroupMessagePlainTextMessageArgs
                            {
                                Value = "string",
                            },
                            SsmlMessage = new Aws.Lex.Inputs.V2modelsIntentConfirmationSettingPromptSpecificationMessageGroupMessageSsmlMessageArgs
                            {
                                Value = "string",
                            },
                        },
                        Variations = new[]
                        {
                            new Aws.Lex.Inputs.V2modelsIntentConfirmationSettingPromptSpecificationMessageGroupVariationArgs
                            {
                                CustomPayload = new Aws.Lex.Inputs.V2modelsIntentConfirmationSettingPromptSpecificationMessageGroupVariationCustomPayloadArgs
                                {
                                    Value = "string",
                                },
                                ImageResponseCard = new Aws.Lex.Inputs.V2modelsIntentConfirmationSettingPromptSpecificationMessageGroupVariationImageResponseCardArgs
                                {
                                    Title = "string",
                                    Buttons = new[]
                                    {
                                        new Aws.Lex.Inputs.V2modelsIntentConfirmationSettingPromptSpecificationMessageGroupVariationImageResponseCardButtonArgs
                                        {
                                            Text = "string",
                                            Value = "string",
                                        },
                                    },
                                    ImageUrl = "string",
                                    Subtitle = "string",
                                },
                                PlainTextMessage = new Aws.Lex.Inputs.V2modelsIntentConfirmationSettingPromptSpecificationMessageGroupVariationPlainTextMessageArgs
                                {
                                    Value = "string",
                                },
                                SsmlMessage = new Aws.Lex.Inputs.V2modelsIntentConfirmationSettingPromptSpecificationMessageGroupVariationSsmlMessageArgs
                                {
                                    Value = "string",
                                },
                            },
                        },
                    },
                },
                MessageSelectionStrategy = "string",
                PromptAttemptsSpecifications = new[]
                {
                    new Aws.Lex.Inputs.V2modelsIntentConfirmationSettingPromptSpecificationPromptAttemptsSpecificationArgs
                    {
                        MapBlockKey = "string",
                        AllowInterrupt = false,
                        AllowedInputTypes = new Aws.Lex.Inputs.V2modelsIntentConfirmationSettingPromptSpecificationPromptAttemptsSpecificationAllowedInputTypesArgs
                        {
                            AllowAudioInput = false,
                            AllowDtmfInput = false,
                        },
                        AudioAndDtmfInputSpecification = new Aws.Lex.Inputs.V2modelsIntentConfirmationSettingPromptSpecificationPromptAttemptsSpecificationAudioAndDtmfInputSpecificationArgs
                        {
                            StartTimeoutMs = 0,
                            AudioSpecification = new Aws.Lex.Inputs.V2modelsIntentConfirmationSettingPromptSpecificationPromptAttemptsSpecificationAudioAndDtmfInputSpecificationAudioSpecificationArgs
                            {
                                EndTimeoutMs = 0,
                                MaxLengthMs = 0,
                            },
                            DtmfSpecification = new Aws.Lex.Inputs.V2modelsIntentConfirmationSettingPromptSpecificationPromptAttemptsSpecificationAudioAndDtmfInputSpecificationDtmfSpecificationArgs
                            {
                                DeletionCharacter = "string",
                                EndCharacter = "string",
                                EndTimeoutMs = 0,
                                MaxLength = 0,
                            },
                        },
                        TextInputSpecification = new Aws.Lex.Inputs.V2modelsIntentConfirmationSettingPromptSpecificationPromptAttemptsSpecificationTextInputSpecificationArgs
                        {
                            StartTimeoutMs = 0,
                        },
                    },
                },
            },
        },
        KendraConfiguration = new Aws.Lex.Inputs.V2modelsIntentKendraConfigurationArgs
        {
            KendraIndex = "string",
            QueryFilterString = "string",
            QueryFilterStringEnabled = false,
        },
        Description = "string",
        Name = "string",
        OutputContexts = new[]
        {
            new Aws.Lex.Inputs.V2modelsIntentOutputContextArgs
            {
                Name = "string",
                TimeToLiveInSeconds = 0,
                TurnsToLive = 0,
            },
        },
        ParentIntentSignature = "string",
        QnaIntentConfiguration = new Aws.Lex.Inputs.V2modelsIntentQnaIntentConfigurationArgs
        {
            BedrockModelConfiguration = new Aws.Lex.Inputs.V2modelsIntentQnaIntentConfigurationBedrockModelConfigurationArgs
            {
                ModelArn = "string",
                CustomPrompt = "string",
                Guardrail = new Aws.Lex.Inputs.V2modelsIntentQnaIntentConfigurationBedrockModelConfigurationGuardrailArgs
                {
                    Identifier = "string",
                    Version = "string",
                },
                TraceStatus = "string",
            },
            DataSourceConfiguration = new Aws.Lex.Inputs.V2modelsIntentQnaIntentConfigurationDataSourceConfigurationArgs
            {
                BedrockKnowledgeStoreConfiguration = new Aws.Lex.Inputs.V2modelsIntentQnaIntentConfigurationDataSourceConfigurationBedrockKnowledgeStoreConfigurationArgs
                {
                    BedrockKnowledgeBaseArn = "string",
                    ExactResponse = false,
                    ExactResponseFields = new Aws.Lex.Inputs.V2modelsIntentQnaIntentConfigurationDataSourceConfigurationBedrockKnowledgeStoreConfigurationExactResponseFieldsArgs
                    {
                        AnswerField = "string",
                    },
                },
                KendraConfiguration = new Aws.Lex.Inputs.V2modelsIntentQnaIntentConfigurationDataSourceConfigurationKendraConfigurationArgs
                {
                    KendraIndex = "string",
                    ExactResponse = false,
                    QueryFilterString = "string",
                    QueryFilterStringEnabled = false,
                },
                OpensearchConfiguration = new Aws.Lex.Inputs.V2modelsIntentQnaIntentConfigurationDataSourceConfigurationOpensearchConfigurationArgs
                {
                    DomainEndpoint = "string",
                    IndexName = "string",
                    ExactResponse = false,
                    ExactResponseFields = new Aws.Lex.Inputs.V2modelsIntentQnaIntentConfigurationDataSourceConfigurationOpensearchConfigurationExactResponseFieldsArgs
                    {
                        AnswerField = "string",
                        QuestionField = "string",
                    },
                    IncludeFields = new[]
                    {
                        "string",
                    },
                },
            },
        },
        Region = "string",
        SampleUtterances = new[]
        {
            new Aws.Lex.Inputs.V2modelsIntentSampleUtteranceArgs
            {
                Utterance = "string",
            },
        },
        SlotPriorities = new[]
        {
            new Aws.Lex.Inputs.V2modelsIntentSlotPriorityArgs
            {
                Priority = 0,
                SlotId = "string",
            },
        },
        Timeouts = new Aws.Lex.Inputs.V2modelsIntentTimeoutsArgs
        {
            Create = "string",
            Delete = "string",
            Update = "string",
        },
    });
    
    example, err := lex.NewV2modelsIntent(ctx, "v2modelsIntentResource", &lex.V2modelsIntentArgs{
    	BotId:      pulumi.String("string"),
    	BotVersion: pulumi.String("string"),
    	LocaleId:   pulumi.String("string"),
    	InputContexts: lex.V2modelsIntentInputContextArray{
    		&lex.V2modelsIntentInputContextArgs{
    			Name: pulumi.String("string"),
    		},
    	},
    	ClosingSetting: &lex.V2modelsIntentClosingSettingArgs{
    		Active: pulumi.Bool(false),
    		ClosingResponse: &lex.V2modelsIntentClosingSettingClosingResponseArgs{
    			AllowInterrupt: pulumi.Bool(false),
    			MessageGroups: lex.V2modelsIntentClosingSettingClosingResponseMessageGroupArray{
    				&lex.V2modelsIntentClosingSettingClosingResponseMessageGroupArgs{
    					Message: &lex.V2modelsIntentClosingSettingClosingResponseMessageGroupMessageArgs{
    						CustomPayload: &lex.V2modelsIntentClosingSettingClosingResponseMessageGroupMessageCustomPayloadArgs{
    							Value: pulumi.String("string"),
    						},
    						ImageResponseCard: &lex.V2modelsIntentClosingSettingClosingResponseMessageGroupMessageImageResponseCardArgs{
    							Title: pulumi.String("string"),
    							Buttons: lex.V2modelsIntentClosingSettingClosingResponseMessageGroupMessageImageResponseCardButtonArray{
    								&lex.V2modelsIntentClosingSettingClosingResponseMessageGroupMessageImageResponseCardButtonArgs{
    									Text:  pulumi.String("string"),
    									Value: pulumi.String("string"),
    								},
    							},
    							ImageUrl: pulumi.String("string"),
    							Subtitle: pulumi.String("string"),
    						},
    						PlainTextMessage: &lex.V2modelsIntentClosingSettingClosingResponseMessageGroupMessagePlainTextMessageArgs{
    							Value: pulumi.String("string"),
    						},
    						SsmlMessage: &lex.V2modelsIntentClosingSettingClosingResponseMessageGroupMessageSsmlMessageArgs{
    							Value: pulumi.String("string"),
    						},
    					},
    					Variations: lex.V2modelsIntentClosingSettingClosingResponseMessageGroupVariationArray{
    						&lex.V2modelsIntentClosingSettingClosingResponseMessageGroupVariationArgs{
    							CustomPayload: &lex.V2modelsIntentClosingSettingClosingResponseMessageGroupVariationCustomPayloadArgs{
    								Value: pulumi.String("string"),
    							},
    							ImageResponseCard: &lex.V2modelsIntentClosingSettingClosingResponseMessageGroupVariationImageResponseCardArgs{
    								Title: pulumi.String("string"),
    								Buttons: lex.V2modelsIntentClosingSettingClosingResponseMessageGroupVariationImageResponseCardButtonArray{
    									&lex.V2modelsIntentClosingSettingClosingResponseMessageGroupVariationImageResponseCardButtonArgs{
    										Text:  pulumi.String("string"),
    										Value: pulumi.String("string"),
    									},
    								},
    								ImageUrl: pulumi.String("string"),
    								Subtitle: pulumi.String("string"),
    							},
    							PlainTextMessage: &lex.V2modelsIntentClosingSettingClosingResponseMessageGroupVariationPlainTextMessageArgs{
    								Value: pulumi.String("string"),
    							},
    							SsmlMessage: &lex.V2modelsIntentClosingSettingClosingResponseMessageGroupVariationSsmlMessageArgs{
    								Value: pulumi.String("string"),
    							},
    						},
    					},
    				},
    			},
    		},
    		Conditional: &lex.V2modelsIntentClosingSettingConditionalArgs{
    			Active: pulumi.Bool(false),
    			ConditionalBranches: lex.V2modelsIntentClosingSettingConditionalConditionalBranchArray{
    				&lex.V2modelsIntentClosingSettingConditionalConditionalBranchArgs{
    					Name: pulumi.String("string"),
    					Condition: &lex.V2modelsIntentClosingSettingConditionalConditionalBranchConditionArgs{
    						ExpressionString: pulumi.String("string"),
    					},
    					NextStep: &lex.V2modelsIntentClosingSettingConditionalConditionalBranchNextStepArgs{
    						DialogAction: &lex.V2modelsIntentClosingSettingConditionalConditionalBranchNextStepDialogActionArgs{
    							Type:                pulumi.String("string"),
    							SlotToElicit:        pulumi.String("string"),
    							SuppressNextMessage: pulumi.Bool(false),
    						},
    						Intent: &lex.V2modelsIntentClosingSettingConditionalConditionalBranchNextStepIntentArgs{
    							Name: pulumi.String("string"),
    							Slots: lex.V2modelsIntentClosingSettingConditionalConditionalBranchNextStepIntentSlotArray{
    								&lex.V2modelsIntentClosingSettingConditionalConditionalBranchNextStepIntentSlotArgs{
    									MapBlockKey: pulumi.String("string"),
    									Shape:       pulumi.String("string"),
    									Value: &lex.V2modelsIntentClosingSettingConditionalConditionalBranchNextStepIntentSlotValueArgs{
    										InterpretedValue: pulumi.String("string"),
    									},
    								},
    							},
    						},
    						SessionAttributes: pulumi.StringMap{
    							"string": pulumi.String("string"),
    						},
    					},
    					Response: &lex.V2modelsIntentClosingSettingConditionalConditionalBranchResponseArgs{
    						AllowInterrupt: pulumi.Bool(false),
    						MessageGroups: lex.V2modelsIntentClosingSettingConditionalConditionalBranchResponseMessageGroupArray{
    							&lex.V2modelsIntentClosingSettingConditionalConditionalBranchResponseMessageGroupArgs{
    								Message: &lex.V2modelsIntentClosingSettingConditionalConditionalBranchResponseMessageGroupMessageArgs{
    									CustomPayload: &lex.V2modelsIntentClosingSettingConditionalConditionalBranchResponseMessageGroupMessageCustomPayloadArgs{
    										Value: pulumi.String("string"),
    									},
    									ImageResponseCard: &lex.V2modelsIntentClosingSettingConditionalConditionalBranchResponseMessageGroupMessageImageResponseCardArgs{
    										Title: pulumi.String("string"),
    										Buttons: lex.V2modelsIntentClosingSettingConditionalConditionalBranchResponseMessageGroupMessageImageResponseCardButtonArray{
    											&lex.V2modelsIntentClosingSettingConditionalConditionalBranchResponseMessageGroupMessageImageResponseCardButtonArgs{
    												Text:  pulumi.String("string"),
    												Value: pulumi.String("string"),
    											},
    										},
    										ImageUrl: pulumi.String("string"),
    										Subtitle: pulumi.String("string"),
    									},
    									PlainTextMessage: &lex.V2modelsIntentClosingSettingConditionalConditionalBranchResponseMessageGroupMessagePlainTextMessageArgs{
    										Value: pulumi.String("string"),
    									},
    									SsmlMessage: &lex.V2modelsIntentClosingSettingConditionalConditionalBranchResponseMessageGroupMessageSsmlMessageArgs{
    										Value: pulumi.String("string"),
    									},
    								},
    								Variations: lex.V2modelsIntentClosingSettingConditionalConditionalBranchResponseMessageGroupVariationArray{
    									&lex.V2modelsIntentClosingSettingConditionalConditionalBranchResponseMessageGroupVariationArgs{
    										CustomPayload: &lex.V2modelsIntentClosingSettingConditionalConditionalBranchResponseMessageGroupVariationCustomPayloadArgs{
    											Value: pulumi.String("string"),
    										},
    										ImageResponseCard: &lex.V2modelsIntentClosingSettingConditionalConditionalBranchResponseMessageGroupVariationImageResponseCardArgs{
    											Title: pulumi.String("string"),
    											Buttons: lex.V2modelsIntentClosingSettingConditionalConditionalBranchResponseMessageGroupVariationImageResponseCardButtonArray{
    												&lex.V2modelsIntentClosingSettingConditionalConditionalBranchResponseMessageGroupVariationImageResponseCardButtonArgs{
    													Text:  pulumi.String("string"),
    													Value: pulumi.String("string"),
    												},
    											},
    											ImageUrl: pulumi.String("string"),
    											Subtitle: pulumi.String("string"),
    										},
    										PlainTextMessage: &lex.V2modelsIntentClosingSettingConditionalConditionalBranchResponseMessageGroupVariationPlainTextMessageArgs{
    											Value: pulumi.String("string"),
    										},
    										SsmlMessage: &lex.V2modelsIntentClosingSettingConditionalConditionalBranchResponseMessageGroupVariationSsmlMessageArgs{
    											Value: pulumi.String("string"),
    										},
    									},
    								},
    							},
    						},
    					},
    				},
    			},
    			DefaultBranch: &lex.V2modelsIntentClosingSettingConditionalDefaultBranchArgs{
    				NextStep: &lex.V2modelsIntentClosingSettingConditionalDefaultBranchNextStepArgs{
    					DialogAction: &lex.V2modelsIntentClosingSettingConditionalDefaultBranchNextStepDialogActionArgs{
    						Type:                pulumi.String("string"),
    						SlotToElicit:        pulumi.String("string"),
    						SuppressNextMessage: pulumi.Bool(false),
    					},
    					Intent: &lex.V2modelsIntentClosingSettingConditionalDefaultBranchNextStepIntentArgs{
    						Name: pulumi.String("string"),
    						Slots: lex.V2modelsIntentClosingSettingConditionalDefaultBranchNextStepIntentSlotArray{
    							&lex.V2modelsIntentClosingSettingConditionalDefaultBranchNextStepIntentSlotArgs{
    								MapBlockKey: pulumi.String("string"),
    								Shape:       pulumi.String("string"),
    								Value: &lex.V2modelsIntentClosingSettingConditionalDefaultBranchNextStepIntentSlotValueArgs{
    									InterpretedValue: pulumi.String("string"),
    								},
    							},
    						},
    					},
    					SessionAttributes: pulumi.StringMap{
    						"string": pulumi.String("string"),
    					},
    				},
    				Response: &lex.V2modelsIntentClosingSettingConditionalDefaultBranchResponseArgs{
    					AllowInterrupt: pulumi.Bool(false),
    					MessageGroups: lex.V2modelsIntentClosingSettingConditionalDefaultBranchResponseMessageGroupArray{
    						&lex.V2modelsIntentClosingSettingConditionalDefaultBranchResponseMessageGroupArgs{
    							Message: &lex.V2modelsIntentClosingSettingConditionalDefaultBranchResponseMessageGroupMessageArgs{
    								CustomPayload: &lex.V2modelsIntentClosingSettingConditionalDefaultBranchResponseMessageGroupMessageCustomPayloadArgs{
    									Value: pulumi.String("string"),
    								},
    								ImageResponseCard: &lex.V2modelsIntentClosingSettingConditionalDefaultBranchResponseMessageGroupMessageImageResponseCardArgs{
    									Title: pulumi.String("string"),
    									Buttons: lex.V2modelsIntentClosingSettingConditionalDefaultBranchResponseMessageGroupMessageImageResponseCardButtonArray{
    										&lex.V2modelsIntentClosingSettingConditionalDefaultBranchResponseMessageGroupMessageImageResponseCardButtonArgs{
    											Text:  pulumi.String("string"),
    											Value: pulumi.String("string"),
    										},
    									},
    									ImageUrl: pulumi.String("string"),
    									Subtitle: pulumi.String("string"),
    								},
    								PlainTextMessage: &lex.V2modelsIntentClosingSettingConditionalDefaultBranchResponseMessageGroupMessagePlainTextMessageArgs{
    									Value: pulumi.String("string"),
    								},
    								SsmlMessage: &lex.V2modelsIntentClosingSettingConditionalDefaultBranchResponseMessageGroupMessageSsmlMessageArgs{
    									Value: pulumi.String("string"),
    								},
    							},
    							Variations: lex.V2modelsIntentClosingSettingConditionalDefaultBranchResponseMessageGroupVariationArray{
    								&lex.V2modelsIntentClosingSettingConditionalDefaultBranchResponseMessageGroupVariationArgs{
    									CustomPayload: &lex.V2modelsIntentClosingSettingConditionalDefaultBranchResponseMessageGroupVariationCustomPayloadArgs{
    										Value: pulumi.String("string"),
    									},
    									ImageResponseCard: &lex.V2modelsIntentClosingSettingConditionalDefaultBranchResponseMessageGroupVariationImageResponseCardArgs{
    										Title: pulumi.String("string"),
    										Buttons: lex.V2modelsIntentClosingSettingConditionalDefaultBranchResponseMessageGroupVariationImageResponseCardButtonArray{
    											&lex.V2modelsIntentClosingSettingConditionalDefaultBranchResponseMessageGroupVariationImageResponseCardButtonArgs{
    												Text:  pulumi.String("string"),
    												Value: pulumi.String("string"),
    											},
    										},
    										ImageUrl: pulumi.String("string"),
    										Subtitle: pulumi.String("string"),
    									},
    									PlainTextMessage: &lex.V2modelsIntentClosingSettingConditionalDefaultBranchResponseMessageGroupVariationPlainTextMessageArgs{
    										Value: pulumi.String("string"),
    									},
    									SsmlMessage: &lex.V2modelsIntentClosingSettingConditionalDefaultBranchResponseMessageGroupVariationSsmlMessageArgs{
    										Value: pulumi.String("string"),
    									},
    								},
    							},
    						},
    					},
    				},
    			},
    		},
    		NextStep: &lex.V2modelsIntentClosingSettingNextStepArgs{
    			DialogAction: &lex.V2modelsIntentClosingSettingNextStepDialogActionArgs{
    				Type:                pulumi.String("string"),
    				SlotToElicit:        pulumi.String("string"),
    				SuppressNextMessage: pulumi.Bool(false),
    			},
    			Intent: &lex.V2modelsIntentClosingSettingNextStepIntentArgs{
    				Name: pulumi.String("string"),
    				Slots: lex.V2modelsIntentClosingSettingNextStepIntentSlotArray{
    					&lex.V2modelsIntentClosingSettingNextStepIntentSlotArgs{
    						MapBlockKey: pulumi.String("string"),
    						Shape:       pulumi.String("string"),
    						Value: &lex.V2modelsIntentClosingSettingNextStepIntentSlotValueArgs{
    							InterpretedValue: pulumi.String("string"),
    						},
    					},
    				},
    			},
    			SessionAttributes: pulumi.StringMap{
    				"string": pulumi.String("string"),
    			},
    		},
    	},
    	DialogCodeHook: &lex.V2modelsIntentDialogCodeHookArgs{
    		Enabled: pulumi.Bool(false),
    	},
    	FulfillmentCodeHook: &lex.V2modelsIntentFulfillmentCodeHookArgs{
    		Enabled: pulumi.Bool(false),
    		Active:  pulumi.Bool(false),
    		FulfillmentUpdatesSpecification: &lex.V2modelsIntentFulfillmentCodeHookFulfillmentUpdatesSpecificationArgs{
    			Active: pulumi.Bool(false),
    			StartResponse: &lex.V2modelsIntentFulfillmentCodeHookFulfillmentUpdatesSpecificationStartResponseArgs{
    				AllowInterrupt: pulumi.Bool(false),
    				DelayInSeconds: pulumi.Int(0),
    				MessageGroups: lex.V2modelsIntentFulfillmentCodeHookFulfillmentUpdatesSpecificationStartResponseMessageGroupArray{
    					&lex.V2modelsIntentFulfillmentCodeHookFulfillmentUpdatesSpecificationStartResponseMessageGroupArgs{
    						Message: &lex.V2modelsIntentFulfillmentCodeHookFulfillmentUpdatesSpecificationStartResponseMessageGroupMessageArgs{
    							CustomPayload: &lex.V2modelsIntentFulfillmentCodeHookFulfillmentUpdatesSpecificationStartResponseMessageGroupMessageCustomPayloadArgs{
    								Value: pulumi.String("string"),
    							},
    							ImageResponseCard: &lex.V2modelsIntentFulfillmentCodeHookFulfillmentUpdatesSpecificationStartResponseMessageGroupMessageImageResponseCardArgs{
    								Title: pulumi.String("string"),
    								Buttons: lex.V2modelsIntentFulfillmentCodeHookFulfillmentUpdatesSpecificationStartResponseMessageGroupMessageImageResponseCardButtonArray{
    									&lex.V2modelsIntentFulfillmentCodeHookFulfillmentUpdatesSpecificationStartResponseMessageGroupMessageImageResponseCardButtonArgs{
    										Text:  pulumi.String("string"),
    										Value: pulumi.String("string"),
    									},
    								},
    								ImageUrl: pulumi.String("string"),
    								Subtitle: pulumi.String("string"),
    							},
    							PlainTextMessage: &lex.V2modelsIntentFulfillmentCodeHookFulfillmentUpdatesSpecificationStartResponseMessageGroupMessagePlainTextMessageArgs{
    								Value: pulumi.String("string"),
    							},
    							SsmlMessage: &lex.V2modelsIntentFulfillmentCodeHookFulfillmentUpdatesSpecificationStartResponseMessageGroupMessageSsmlMessageArgs{
    								Value: pulumi.String("string"),
    							},
    						},
    						Variations: lex.V2modelsIntentFulfillmentCodeHookFulfillmentUpdatesSpecificationStartResponseMessageGroupVariationArray{
    							&lex.V2modelsIntentFulfillmentCodeHookFulfillmentUpdatesSpecificationStartResponseMessageGroupVariationArgs{
    								CustomPayload: &lex.V2modelsIntentFulfillmentCodeHookFulfillmentUpdatesSpecificationStartResponseMessageGroupVariationCustomPayloadArgs{
    									Value: pulumi.String("string"),
    								},
    								ImageResponseCard: &lex.V2modelsIntentFulfillmentCodeHookFulfillmentUpdatesSpecificationStartResponseMessageGroupVariationImageResponseCardArgs{
    									Title: pulumi.String("string"),
    									Buttons: lex.V2modelsIntentFulfillmentCodeHookFulfillmentUpdatesSpecificationStartResponseMessageGroupVariationImageResponseCardButtonArray{
    										&lex.V2modelsIntentFulfillmentCodeHookFulfillmentUpdatesSpecificationStartResponseMessageGroupVariationImageResponseCardButtonArgs{
    											Text:  pulumi.String("string"),
    											Value: pulumi.String("string"),
    										},
    									},
    									ImageUrl: pulumi.String("string"),
    									Subtitle: pulumi.String("string"),
    								},
    								PlainTextMessage: &lex.V2modelsIntentFulfillmentCodeHookFulfillmentUpdatesSpecificationStartResponseMessageGroupVariationPlainTextMessageArgs{
    									Value: pulumi.String("string"),
    								},
    								SsmlMessage: &lex.V2modelsIntentFulfillmentCodeHookFulfillmentUpdatesSpecificationStartResponseMessageGroupVariationSsmlMessageArgs{
    									Value: pulumi.String("string"),
    								},
    							},
    						},
    					},
    				},
    			},
    			TimeoutInSeconds: pulumi.Int(0),
    			UpdateResponse: &lex.V2modelsIntentFulfillmentCodeHookFulfillmentUpdatesSpecificationUpdateResponseArgs{
    				FrequencyInSeconds: pulumi.Int(0),
    				AllowInterrupt:     pulumi.Bool(false),
    				MessageGroups: lex.V2modelsIntentFulfillmentCodeHookFulfillmentUpdatesSpecificationUpdateResponseMessageGroupArray{
    					&lex.V2modelsIntentFulfillmentCodeHookFulfillmentUpdatesSpecificationUpdateResponseMessageGroupArgs{
    						Message: &lex.V2modelsIntentFulfillmentCodeHookFulfillmentUpdatesSpecificationUpdateResponseMessageGroupMessageArgs{
    							CustomPayload: &lex.V2modelsIntentFulfillmentCodeHookFulfillmentUpdatesSpecificationUpdateResponseMessageGroupMessageCustomPayloadArgs{
    								Value: pulumi.String("string"),
    							},
    							ImageResponseCard: &lex.V2modelsIntentFulfillmentCodeHookFulfillmentUpdatesSpecificationUpdateResponseMessageGroupMessageImageResponseCardArgs{
    								Title: pulumi.String("string"),
    								Buttons: lex.V2modelsIntentFulfillmentCodeHookFulfillmentUpdatesSpecificationUpdateResponseMessageGroupMessageImageResponseCardButtonArray{
    									&lex.V2modelsIntentFulfillmentCodeHookFulfillmentUpdatesSpecificationUpdateResponseMessageGroupMessageImageResponseCardButtonArgs{
    										Text:  pulumi.String("string"),
    										Value: pulumi.String("string"),
    									},
    								},
    								ImageUrl: pulumi.String("string"),
    								Subtitle: pulumi.String("string"),
    							},
    							PlainTextMessage: &lex.V2modelsIntentFulfillmentCodeHookFulfillmentUpdatesSpecificationUpdateResponseMessageGroupMessagePlainTextMessageArgs{
    								Value: pulumi.String("string"),
    							},
    							SsmlMessage: &lex.V2modelsIntentFulfillmentCodeHookFulfillmentUpdatesSpecificationUpdateResponseMessageGroupMessageSsmlMessageArgs{
    								Value: pulumi.String("string"),
    							},
    						},
    						Variations: lex.V2modelsIntentFulfillmentCodeHookFulfillmentUpdatesSpecificationUpdateResponseMessageGroupVariationArray{
    							&lex.V2modelsIntentFulfillmentCodeHookFulfillmentUpdatesSpecificationUpdateResponseMessageGroupVariationArgs{
    								CustomPayload: &lex.V2modelsIntentFulfillmentCodeHookFulfillmentUpdatesSpecificationUpdateResponseMessageGroupVariationCustomPayloadArgs{
    									Value: pulumi.String("string"),
    								},
    								ImageResponseCard: &lex.V2modelsIntentFulfillmentCodeHookFulfillmentUpdatesSpecificationUpdateResponseMessageGroupVariationImageResponseCardArgs{
    									Title: pulumi.String("string"),
    									Buttons: lex.V2modelsIntentFulfillmentCodeHookFulfillmentUpdatesSpecificationUpdateResponseMessageGroupVariationImageResponseCardButtonArray{
    										&lex.V2modelsIntentFulfillmentCodeHookFulfillmentUpdatesSpecificationUpdateResponseMessageGroupVariationImageResponseCardButtonArgs{
    											Text:  pulumi.String("string"),
    											Value: pulumi.String("string"),
    										},
    									},
    									ImageUrl: pulumi.String("string"),
    									Subtitle: pulumi.String("string"),
    								},
    								PlainTextMessage: &lex.V2modelsIntentFulfillmentCodeHookFulfillmentUpdatesSpecificationUpdateResponseMessageGroupVariationPlainTextMessageArgs{
    									Value: pulumi.String("string"),
    								},
    								SsmlMessage: &lex.V2modelsIntentFulfillmentCodeHookFulfillmentUpdatesSpecificationUpdateResponseMessageGroupVariationSsmlMessageArgs{
    									Value: pulumi.String("string"),
    								},
    							},
    						},
    					},
    				},
    			},
    		},
    		PostFulfillmentStatusSpecification: &lex.V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationArgs{
    			FailureConditional: &lex.V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureConditionalArgs{
    				Active: pulumi.Bool(false),
    				ConditionalBranches: lex.V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureConditionalConditionalBranchArray{
    					&lex.V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureConditionalConditionalBranchArgs{
    						Name: pulumi.String("string"),
    						Condition: &lex.V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureConditionalConditionalBranchConditionArgs{
    							ExpressionString: pulumi.String("string"),
    						},
    						NextStep: &lex.V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureConditionalConditionalBranchNextStepArgs{
    							DialogAction: &lex.V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureConditionalConditionalBranchNextStepDialogActionArgs{
    								Type:                pulumi.String("string"),
    								SlotToElicit:        pulumi.String("string"),
    								SuppressNextMessage: pulumi.Bool(false),
    							},
    							Intent: &lex.V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureConditionalConditionalBranchNextStepIntentArgs{
    								Name: pulumi.String("string"),
    								Slots: lex.V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureConditionalConditionalBranchNextStepIntentSlotArray{
    									&lex.V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureConditionalConditionalBranchNextStepIntentSlotArgs{
    										MapBlockKey: pulumi.String("string"),
    										Shape:       pulumi.String("string"),
    										Value: &lex.V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureConditionalConditionalBranchNextStepIntentSlotValueArgs{
    											InterpretedValue: pulumi.String("string"),
    										},
    									},
    								},
    							},
    							SessionAttributes: pulumi.StringMap{
    								"string": pulumi.String("string"),
    							},
    						},
    						Response: &lex.V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureConditionalConditionalBranchResponseArgs{
    							AllowInterrupt: pulumi.Bool(false),
    							MessageGroups: lex.V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureConditionalConditionalBranchResponseMessageGroupArray{
    								&lex.V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureConditionalConditionalBranchResponseMessageGroupArgs{
    									Message: &lex.V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureConditionalConditionalBranchResponseMessageGroupMessageArgs{
    										CustomPayload: &lex.V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureConditionalConditionalBranchResponseMessageGroupMessageCustomPayloadArgs{
    											Value: pulumi.String("string"),
    										},
    										ImageResponseCard: &lex.V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureConditionalConditionalBranchResponseMessageGroupMessageImageResponseCardArgs{
    											Title: pulumi.String("string"),
    											Buttons: lex.V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureConditionalConditionalBranchResponseMessageGroupMessageImageResponseCardButtonArray{
    												&lex.V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureConditionalConditionalBranchResponseMessageGroupMessageImageResponseCardButtonArgs{
    													Text:  pulumi.String("string"),
    													Value: pulumi.String("string"),
    												},
    											},
    											ImageUrl: pulumi.String("string"),
    											Subtitle: pulumi.String("string"),
    										},
    										PlainTextMessage: &lex.V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureConditionalConditionalBranchResponseMessageGroupMessagePlainTextMessageArgs{
    											Value: pulumi.String("string"),
    										},
    										SsmlMessage: &lex.V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureConditionalConditionalBranchResponseMessageGroupMessageSsmlMessageArgs{
    											Value: pulumi.String("string"),
    										},
    									},
    									Variations: lex.V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureConditionalConditionalBranchResponseMessageGroupVariationArray{
    										&lex.V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureConditionalConditionalBranchResponseMessageGroupVariationArgs{
    											CustomPayload: &lex.V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureConditionalConditionalBranchResponseMessageGroupVariationCustomPayloadArgs{
    												Value: pulumi.String("string"),
    											},
    											ImageResponseCard: &lex.V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureConditionalConditionalBranchResponseMessageGroupVariationImageResponseCardArgs{
    												Title: pulumi.String("string"),
    												Buttons: lex.V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureConditionalConditionalBranchResponseMessageGroupVariationImageResponseCardButtonArray{
    													&lex.V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureConditionalConditionalBranchResponseMessageGroupVariationImageResponseCardButtonArgs{
    														Text:  pulumi.String("string"),
    														Value: pulumi.String("string"),
    													},
    												},
    												ImageUrl: pulumi.String("string"),
    												Subtitle: pulumi.String("string"),
    											},
    											PlainTextMessage: &lex.V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureConditionalConditionalBranchResponseMessageGroupVariationPlainTextMessageArgs{
    												Value: pulumi.String("string"),
    											},
    											SsmlMessage: &lex.V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureConditionalConditionalBranchResponseMessageGroupVariationSsmlMessageArgs{
    												Value: pulumi.String("string"),
    											},
    										},
    									},
    								},
    							},
    						},
    					},
    				},
    				DefaultBranch: &lex.V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureConditionalDefaultBranchArgs{
    					NextStep: &lex.V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureConditionalDefaultBranchNextStepArgs{
    						DialogAction: &lex.V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureConditionalDefaultBranchNextStepDialogActionArgs{
    							Type:                pulumi.String("string"),
    							SlotToElicit:        pulumi.String("string"),
    							SuppressNextMessage: pulumi.Bool(false),
    						},
    						Intent: &lex.V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureConditionalDefaultBranchNextStepIntentArgs{
    							Name: pulumi.String("string"),
    							Slots: lex.V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureConditionalDefaultBranchNextStepIntentSlotArray{
    								&lex.V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureConditionalDefaultBranchNextStepIntentSlotArgs{
    									MapBlockKey: pulumi.String("string"),
    									Shape:       pulumi.String("string"),
    									Value: &lex.V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureConditionalDefaultBranchNextStepIntentSlotValueArgs{
    										InterpretedValue: pulumi.String("string"),
    									},
    								},
    							},
    						},
    						SessionAttributes: pulumi.StringMap{
    							"string": pulumi.String("string"),
    						},
    					},
    					Response: &lex.V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureConditionalDefaultBranchResponseArgs{
    						AllowInterrupt: pulumi.Bool(false),
    						MessageGroups: lex.V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureConditionalDefaultBranchResponseMessageGroupArray{
    							&lex.V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureConditionalDefaultBranchResponseMessageGroupArgs{
    								Message: &lex.V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureConditionalDefaultBranchResponseMessageGroupMessageArgs{
    									CustomPayload: &lex.V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureConditionalDefaultBranchResponseMessageGroupMessageCustomPayloadArgs{
    										Value: pulumi.String("string"),
    									},
    									ImageResponseCard: &lex.V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureConditionalDefaultBranchResponseMessageGroupMessageImageResponseCardArgs{
    										Title: pulumi.String("string"),
    										Buttons: lex.V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureConditionalDefaultBranchResponseMessageGroupMessageImageResponseCardButtonArray{
    											&lex.V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureConditionalDefaultBranchResponseMessageGroupMessageImageResponseCardButtonArgs{
    												Text:  pulumi.String("string"),
    												Value: pulumi.String("string"),
    											},
    										},
    										ImageUrl: pulumi.String("string"),
    										Subtitle: pulumi.String("string"),
    									},
    									PlainTextMessage: &lex.V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureConditionalDefaultBranchResponseMessageGroupMessagePlainTextMessageArgs{
    										Value: pulumi.String("string"),
    									},
    									SsmlMessage: &lex.V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureConditionalDefaultBranchResponseMessageGroupMessageSsmlMessageArgs{
    										Value: pulumi.String("string"),
    									},
    								},
    								Variations: lex.V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureConditionalDefaultBranchResponseMessageGroupVariationArray{
    									&lex.V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureConditionalDefaultBranchResponseMessageGroupVariationArgs{
    										CustomPayload: &lex.V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureConditionalDefaultBranchResponseMessageGroupVariationCustomPayloadArgs{
    											Value: pulumi.String("string"),
    										},
    										ImageResponseCard: &lex.V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureConditionalDefaultBranchResponseMessageGroupVariationImageResponseCardArgs{
    											Title: pulumi.String("string"),
    											Buttons: lex.V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureConditionalDefaultBranchResponseMessageGroupVariationImageResponseCardButtonArray{
    												&lex.V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureConditionalDefaultBranchResponseMessageGroupVariationImageResponseCardButtonArgs{
    													Text:  pulumi.String("string"),
    													Value: pulumi.String("string"),
    												},
    											},
    											ImageUrl: pulumi.String("string"),
    											Subtitle: pulumi.String("string"),
    										},
    										PlainTextMessage: &lex.V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureConditionalDefaultBranchResponseMessageGroupVariationPlainTextMessageArgs{
    											Value: pulumi.String("string"),
    										},
    										SsmlMessage: &lex.V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureConditionalDefaultBranchResponseMessageGroupVariationSsmlMessageArgs{
    											Value: pulumi.String("string"),
    										},
    									},
    								},
    							},
    						},
    					},
    				},
    			},
    			FailureNextStep: &lex.V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureNextStepArgs{
    				DialogAction: &lex.V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureNextStepDialogActionArgs{
    					Type:                pulumi.String("string"),
    					SlotToElicit:        pulumi.String("string"),
    					SuppressNextMessage: pulumi.Bool(false),
    				},
    				Intent: &lex.V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureNextStepIntentArgs{
    					Name: pulumi.String("string"),
    					Slots: lex.V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureNextStepIntentSlotArray{
    						&lex.V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureNextStepIntentSlotArgs{
    							MapBlockKey: pulumi.String("string"),
    							Shape:       pulumi.String("string"),
    							Value: &lex.V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureNextStepIntentSlotValueArgs{
    								InterpretedValue: pulumi.String("string"),
    							},
    						},
    					},
    				},
    				SessionAttributes: pulumi.StringMap{
    					"string": pulumi.String("string"),
    				},
    			},
    			FailureResponse: &lex.V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureResponseArgs{
    				AllowInterrupt: pulumi.Bool(false),
    				MessageGroups: lex.V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureResponseMessageGroupArray{
    					&lex.V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureResponseMessageGroupArgs{
    						Message: &lex.V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureResponseMessageGroupMessageArgs{
    							CustomPayload: &lex.V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureResponseMessageGroupMessageCustomPayloadArgs{
    								Value: pulumi.String("string"),
    							},
    							ImageResponseCard: &lex.V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureResponseMessageGroupMessageImageResponseCardArgs{
    								Title: pulumi.String("string"),
    								Buttons: lex.V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureResponseMessageGroupMessageImageResponseCardButtonArray{
    									&lex.V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureResponseMessageGroupMessageImageResponseCardButtonArgs{
    										Text:  pulumi.String("string"),
    										Value: pulumi.String("string"),
    									},
    								},
    								ImageUrl: pulumi.String("string"),
    								Subtitle: pulumi.String("string"),
    							},
    							PlainTextMessage: &lex.V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureResponseMessageGroupMessagePlainTextMessageArgs{
    								Value: pulumi.String("string"),
    							},
    							SsmlMessage: &lex.V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureResponseMessageGroupMessageSsmlMessageArgs{
    								Value: pulumi.String("string"),
    							},
    						},
    						Variations: lex.V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureResponseMessageGroupVariationArray{
    							&lex.V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureResponseMessageGroupVariationArgs{
    								CustomPayload: &lex.V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureResponseMessageGroupVariationCustomPayloadArgs{
    									Value: pulumi.String("string"),
    								},
    								ImageResponseCard: &lex.V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureResponseMessageGroupVariationImageResponseCardArgs{
    									Title: pulumi.String("string"),
    									Buttons: lex.V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureResponseMessageGroupVariationImageResponseCardButtonArray{
    										&lex.V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureResponseMessageGroupVariationImageResponseCardButtonArgs{
    											Text:  pulumi.String("string"),
    											Value: pulumi.String("string"),
    										},
    									},
    									ImageUrl: pulumi.String("string"),
    									Subtitle: pulumi.String("string"),
    								},
    								PlainTextMessage: &lex.V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureResponseMessageGroupVariationPlainTextMessageArgs{
    									Value: pulumi.String("string"),
    								},
    								SsmlMessage: &lex.V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureResponseMessageGroupVariationSsmlMessageArgs{
    									Value: pulumi.String("string"),
    								},
    							},
    						},
    					},
    				},
    			},
    			SuccessConditional: &lex.V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessConditionalArgs{
    				Active: pulumi.Bool(false),
    				ConditionalBranches: lex.V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessConditionalConditionalBranchArray{
    					&lex.V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessConditionalConditionalBranchArgs{
    						Name: pulumi.String("string"),
    						Condition: &lex.V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessConditionalConditionalBranchConditionArgs{
    							ExpressionString: pulumi.String("string"),
    						},
    						NextStep: &lex.V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessConditionalConditionalBranchNextStepArgs{
    							DialogAction: &lex.V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessConditionalConditionalBranchNextStepDialogActionArgs{
    								Type:                pulumi.String("string"),
    								SlotToElicit:        pulumi.String("string"),
    								SuppressNextMessage: pulumi.Bool(false),
    							},
    							Intent: &lex.V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessConditionalConditionalBranchNextStepIntentArgs{
    								Name: pulumi.String("string"),
    								Slots: lex.V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessConditionalConditionalBranchNextStepIntentSlotArray{
    									&lex.V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessConditionalConditionalBranchNextStepIntentSlotArgs{
    										MapBlockKey: pulumi.String("string"),
    										Shape:       pulumi.String("string"),
    										Value: &lex.V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessConditionalConditionalBranchNextStepIntentSlotValueArgs{
    											InterpretedValue: pulumi.String("string"),
    										},
    									},
    								},
    							},
    							SessionAttributes: pulumi.StringMap{
    								"string": pulumi.String("string"),
    							},
    						},
    						Response: &lex.V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessConditionalConditionalBranchResponseArgs{
    							AllowInterrupt: pulumi.Bool(false),
    							MessageGroups: lex.V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessConditionalConditionalBranchResponseMessageGroupArray{
    								&lex.V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessConditionalConditionalBranchResponseMessageGroupArgs{
    									Message: &lex.V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessConditionalConditionalBranchResponseMessageGroupMessageArgs{
    										CustomPayload: &lex.V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessConditionalConditionalBranchResponseMessageGroupMessageCustomPayloadArgs{
    											Value: pulumi.String("string"),
    										},
    										ImageResponseCard: &lex.V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessConditionalConditionalBranchResponseMessageGroupMessageImageResponseCardArgs{
    											Title: pulumi.String("string"),
    											Buttons: lex.V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessConditionalConditionalBranchResponseMessageGroupMessageImageResponseCardButtonArray{
    												&lex.V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessConditionalConditionalBranchResponseMessageGroupMessageImageResponseCardButtonArgs{
    													Text:  pulumi.String("string"),
    													Value: pulumi.String("string"),
    												},
    											},
    											ImageUrl: pulumi.String("string"),
    											Subtitle: pulumi.String("string"),
    										},
    										PlainTextMessage: &lex.V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessConditionalConditionalBranchResponseMessageGroupMessagePlainTextMessageArgs{
    											Value: pulumi.String("string"),
    										},
    										SsmlMessage: &lex.V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessConditionalConditionalBranchResponseMessageGroupMessageSsmlMessageArgs{
    											Value: pulumi.String("string"),
    										},
    									},
    									Variations: lex.V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessConditionalConditionalBranchResponseMessageGroupVariationArray{
    										&lex.V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessConditionalConditionalBranchResponseMessageGroupVariationArgs{
    											CustomPayload: &lex.V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessConditionalConditionalBranchResponseMessageGroupVariationCustomPayloadArgs{
    												Value: pulumi.String("string"),
    											},
    											ImageResponseCard: &lex.V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessConditionalConditionalBranchResponseMessageGroupVariationImageResponseCardArgs{
    												Title: pulumi.String("string"),
    												Buttons: lex.V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessConditionalConditionalBranchResponseMessageGroupVariationImageResponseCardButtonArray{
    													&lex.V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessConditionalConditionalBranchResponseMessageGroupVariationImageResponseCardButtonArgs{
    														Text:  pulumi.String("string"),
    														Value: pulumi.String("string"),
    													},
    												},
    												ImageUrl: pulumi.String("string"),
    												Subtitle: pulumi.String("string"),
    											},
    											PlainTextMessage: &lex.V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessConditionalConditionalBranchResponseMessageGroupVariationPlainTextMessageArgs{
    												Value: pulumi.String("string"),
    											},
    											SsmlMessage: &lex.V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessConditionalConditionalBranchResponseMessageGroupVariationSsmlMessageArgs{
    												Value: pulumi.String("string"),
    											},
    										},
    									},
    								},
    							},
    						},
    					},
    				},
    				DefaultBranch: &lex.V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessConditionalDefaultBranchArgs{
    					NextStep: &lex.V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessConditionalDefaultBranchNextStepArgs{
    						DialogAction: &lex.V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessConditionalDefaultBranchNextStepDialogActionArgs{
    							Type:                pulumi.String("string"),
    							SlotToElicit:        pulumi.String("string"),
    							SuppressNextMessage: pulumi.Bool(false),
    						},
    						Intent: &lex.V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessConditionalDefaultBranchNextStepIntentArgs{
    							Name: pulumi.String("string"),
    							Slots: lex.V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessConditionalDefaultBranchNextStepIntentSlotArray{
    								&lex.V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessConditionalDefaultBranchNextStepIntentSlotArgs{
    									MapBlockKey: pulumi.String("string"),
    									Shape:       pulumi.String("string"),
    									Value: &lex.V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessConditionalDefaultBranchNextStepIntentSlotValueArgs{
    										InterpretedValue: pulumi.String("string"),
    									},
    								},
    							},
    						},
    						SessionAttributes: pulumi.StringMap{
    							"string": pulumi.String("string"),
    						},
    					},
    					Response: &lex.V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessConditionalDefaultBranchResponseArgs{
    						AllowInterrupt: pulumi.Bool(false),
    						MessageGroups: lex.V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessConditionalDefaultBranchResponseMessageGroupArray{
    							&lex.V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessConditionalDefaultBranchResponseMessageGroupArgs{
    								Message: &lex.V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessConditionalDefaultBranchResponseMessageGroupMessageArgs{
    									CustomPayload: &lex.V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessConditionalDefaultBranchResponseMessageGroupMessageCustomPayloadArgs{
    										Value: pulumi.String("string"),
    									},
    									ImageResponseCard: &lex.V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessConditionalDefaultBranchResponseMessageGroupMessageImageResponseCardArgs{
    										Title: pulumi.String("string"),
    										Buttons: lex.V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessConditionalDefaultBranchResponseMessageGroupMessageImageResponseCardButtonArray{
    											&lex.V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessConditionalDefaultBranchResponseMessageGroupMessageImageResponseCardButtonArgs{
    												Text:  pulumi.String("string"),
    												Value: pulumi.String("string"),
    											},
    										},
    										ImageUrl: pulumi.String("string"),
    										Subtitle: pulumi.String("string"),
    									},
    									PlainTextMessage: &lex.V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessConditionalDefaultBranchResponseMessageGroupMessagePlainTextMessageArgs{
    										Value: pulumi.String("string"),
    									},
    									SsmlMessage: &lex.V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessConditionalDefaultBranchResponseMessageGroupMessageSsmlMessageArgs{
    										Value: pulumi.String("string"),
    									},
    								},
    								Variations: lex.V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessConditionalDefaultBranchResponseMessageGroupVariationArray{
    									&lex.V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessConditionalDefaultBranchResponseMessageGroupVariationArgs{
    										CustomPayload: &lex.V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessConditionalDefaultBranchResponseMessageGroupVariationCustomPayloadArgs{
    											Value: pulumi.String("string"),
    										},
    										ImageResponseCard: &lex.V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessConditionalDefaultBranchResponseMessageGroupVariationImageResponseCardArgs{
    											Title: pulumi.String("string"),
    											Buttons: lex.V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessConditionalDefaultBranchResponseMessageGroupVariationImageResponseCardButtonArray{
    												&lex.V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessConditionalDefaultBranchResponseMessageGroupVariationImageResponseCardButtonArgs{
    													Text:  pulumi.String("string"),
    													Value: pulumi.String("string"),
    												},
    											},
    											ImageUrl: pulumi.String("string"),
    											Subtitle: pulumi.String("string"),
    										},
    										PlainTextMessage: &lex.V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessConditionalDefaultBranchResponseMessageGroupVariationPlainTextMessageArgs{
    											Value: pulumi.String("string"),
    										},
    										SsmlMessage: &lex.V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessConditionalDefaultBranchResponseMessageGroupVariationSsmlMessageArgs{
    											Value: pulumi.String("string"),
    										},
    									},
    								},
    							},
    						},
    					},
    				},
    			},
    			SuccessNextStep: &lex.V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessNextStepArgs{
    				DialogAction: &lex.V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessNextStepDialogActionArgs{
    					Type:                pulumi.String("string"),
    					SlotToElicit:        pulumi.String("string"),
    					SuppressNextMessage: pulumi.Bool(false),
    				},
    				Intent: &lex.V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessNextStepIntentArgs{
    					Name: pulumi.String("string"),
    					Slots: lex.V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessNextStepIntentSlotArray{
    						&lex.V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessNextStepIntentSlotArgs{
    							MapBlockKey: pulumi.String("string"),
    							Shape:       pulumi.String("string"),
    							Value: &lex.V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessNextStepIntentSlotValueArgs{
    								InterpretedValue: pulumi.String("string"),
    							},
    						},
    					},
    				},
    				SessionAttributes: pulumi.StringMap{
    					"string": pulumi.String("string"),
    				},
    			},
    			SuccessResponse: &lex.V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessResponseArgs{
    				AllowInterrupt: pulumi.Bool(false),
    				MessageGroups: lex.V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessResponseMessageGroupArray{
    					&lex.V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessResponseMessageGroupArgs{
    						Message: &lex.V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessResponseMessageGroupMessageArgs{
    							CustomPayload: &lex.V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessResponseMessageGroupMessageCustomPayloadArgs{
    								Value: pulumi.String("string"),
    							},
    							ImageResponseCard: &lex.V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessResponseMessageGroupMessageImageResponseCardArgs{
    								Title: pulumi.String("string"),
    								Buttons: lex.V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessResponseMessageGroupMessageImageResponseCardButtonArray{
    									&lex.V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessResponseMessageGroupMessageImageResponseCardButtonArgs{
    										Text:  pulumi.String("string"),
    										Value: pulumi.String("string"),
    									},
    								},
    								ImageUrl: pulumi.String("string"),
    								Subtitle: pulumi.String("string"),
    							},
    							PlainTextMessage: &lex.V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessResponseMessageGroupMessagePlainTextMessageArgs{
    								Value: pulumi.String("string"),
    							},
    							SsmlMessage: &lex.V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessResponseMessageGroupMessageSsmlMessageArgs{
    								Value: pulumi.String("string"),
    							},
    						},
    						Variations: lex.V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessResponseMessageGroupVariationArray{
    							&lex.V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessResponseMessageGroupVariationArgs{
    								CustomPayload: &lex.V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessResponseMessageGroupVariationCustomPayloadArgs{
    									Value: pulumi.String("string"),
    								},
    								ImageResponseCard: &lex.V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessResponseMessageGroupVariationImageResponseCardArgs{
    									Title: pulumi.String("string"),
    									Buttons: lex.V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessResponseMessageGroupVariationImageResponseCardButtonArray{
    										&lex.V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessResponseMessageGroupVariationImageResponseCardButtonArgs{
    											Text:  pulumi.String("string"),
    											Value: pulumi.String("string"),
    										},
    									},
    									ImageUrl: pulumi.String("string"),
    									Subtitle: pulumi.String("string"),
    								},
    								PlainTextMessage: &lex.V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessResponseMessageGroupVariationPlainTextMessageArgs{
    									Value: pulumi.String("string"),
    								},
    								SsmlMessage: &lex.V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessResponseMessageGroupVariationSsmlMessageArgs{
    									Value: pulumi.String("string"),
    								},
    							},
    						},
    					},
    				},
    			},
    			TimeoutConditional: &lex.V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutConditionalArgs{
    				Active: pulumi.Bool(false),
    				ConditionalBranches: lex.V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutConditionalConditionalBranchArray{
    					&lex.V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutConditionalConditionalBranchArgs{
    						Name: pulumi.String("string"),
    						Condition: &lex.V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutConditionalConditionalBranchConditionArgs{
    							ExpressionString: pulumi.String("string"),
    						},
    						NextStep: &lex.V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutConditionalConditionalBranchNextStepArgs{
    							DialogAction: &lex.V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutConditionalConditionalBranchNextStepDialogActionArgs{
    								Type:                pulumi.String("string"),
    								SlotToElicit:        pulumi.String("string"),
    								SuppressNextMessage: pulumi.Bool(false),
    							},
    							Intent: &lex.V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutConditionalConditionalBranchNextStepIntentArgs{
    								Name: pulumi.String("string"),
    								Slots: lex.V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutConditionalConditionalBranchNextStepIntentSlotArray{
    									&lex.V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutConditionalConditionalBranchNextStepIntentSlotArgs{
    										MapBlockKey: pulumi.String("string"),
    										Shape:       pulumi.String("string"),
    										Value: &lex.V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutConditionalConditionalBranchNextStepIntentSlotValueArgs{
    											InterpretedValue: pulumi.String("string"),
    										},
    									},
    								},
    							},
    							SessionAttributes: pulumi.StringMap{
    								"string": pulumi.String("string"),
    							},
    						},
    						Response: &lex.V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutConditionalConditionalBranchResponseArgs{
    							AllowInterrupt: pulumi.Bool(false),
    							MessageGroups: lex.V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupArray{
    								&lex.V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupArgs{
    									Message: &lex.V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupMessageArgs{
    										CustomPayload: &lex.V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupMessageCustomPayloadArgs{
    											Value: pulumi.String("string"),
    										},
    										ImageResponseCard: &lex.V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupMessageImageResponseCardArgs{
    											Title: pulumi.String("string"),
    											Buttons: lex.V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupMessageImageResponseCardButtonArray{
    												&lex.V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupMessageImageResponseCardButtonArgs{
    													Text:  pulumi.String("string"),
    													Value: pulumi.String("string"),
    												},
    											},
    											ImageUrl: pulumi.String("string"),
    											Subtitle: pulumi.String("string"),
    										},
    										PlainTextMessage: &lex.V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupMessagePlainTextMessageArgs{
    											Value: pulumi.String("string"),
    										},
    										SsmlMessage: &lex.V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupMessageSsmlMessageArgs{
    											Value: pulumi.String("string"),
    										},
    									},
    									Variations: lex.V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupVariationArray{
    										&lex.V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupVariationArgs{
    											CustomPayload: &lex.V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupVariationCustomPayloadArgs{
    												Value: pulumi.String("string"),
    											},
    											ImageResponseCard: &lex.V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupVariationImageResponseCardArgs{
    												Title: pulumi.String("string"),
    												Buttons: lex.V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupVariationImageResponseCardButtonArray{
    													&lex.V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupVariationImageResponseCardButtonArgs{
    														Text:  pulumi.String("string"),
    														Value: pulumi.String("string"),
    													},
    												},
    												ImageUrl: pulumi.String("string"),
    												Subtitle: pulumi.String("string"),
    											},
    											PlainTextMessage: &lex.V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupVariationPlainTextMessageArgs{
    												Value: pulumi.String("string"),
    											},
    											SsmlMessage: &lex.V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupVariationSsmlMessageArgs{
    												Value: pulumi.String("string"),
    											},
    										},
    									},
    								},
    							},
    						},
    					},
    				},
    				DefaultBranch: &lex.V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutConditionalDefaultBranchArgs{
    					NextStep: &lex.V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutConditionalDefaultBranchNextStepArgs{
    						DialogAction: &lex.V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutConditionalDefaultBranchNextStepDialogActionArgs{
    							Type:                pulumi.String("string"),
    							SlotToElicit:        pulumi.String("string"),
    							SuppressNextMessage: pulumi.Bool(false),
    						},
    						Intent: &lex.V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutConditionalDefaultBranchNextStepIntentArgs{
    							Name: pulumi.String("string"),
    							Slots: lex.V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutConditionalDefaultBranchNextStepIntentSlotArray{
    								&lex.V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutConditionalDefaultBranchNextStepIntentSlotArgs{
    									MapBlockKey: pulumi.String("string"),
    									Shape:       pulumi.String("string"),
    									Value: &lex.V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutConditionalDefaultBranchNextStepIntentSlotValueArgs{
    										InterpretedValue: pulumi.String("string"),
    									},
    								},
    							},
    						},
    						SessionAttributes: pulumi.StringMap{
    							"string": pulumi.String("string"),
    						},
    					},
    					Response: &lex.V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutConditionalDefaultBranchResponseArgs{
    						AllowInterrupt: pulumi.Bool(false),
    						MessageGroups: lex.V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutConditionalDefaultBranchResponseMessageGroupArray{
    							&lex.V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutConditionalDefaultBranchResponseMessageGroupArgs{
    								Message: &lex.V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutConditionalDefaultBranchResponseMessageGroupMessageArgs{
    									CustomPayload: &lex.V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutConditionalDefaultBranchResponseMessageGroupMessageCustomPayloadArgs{
    										Value: pulumi.String("string"),
    									},
    									ImageResponseCard: &lex.V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutConditionalDefaultBranchResponseMessageGroupMessageImageResponseCardArgs{
    										Title: pulumi.String("string"),
    										Buttons: lex.V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutConditionalDefaultBranchResponseMessageGroupMessageImageResponseCardButtonArray{
    											&lex.V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutConditionalDefaultBranchResponseMessageGroupMessageImageResponseCardButtonArgs{
    												Text:  pulumi.String("string"),
    												Value: pulumi.String("string"),
    											},
    										},
    										ImageUrl: pulumi.String("string"),
    										Subtitle: pulumi.String("string"),
    									},
    									PlainTextMessage: &lex.V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutConditionalDefaultBranchResponseMessageGroupMessagePlainTextMessageArgs{
    										Value: pulumi.String("string"),
    									},
    									SsmlMessage: &lex.V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutConditionalDefaultBranchResponseMessageGroupMessageSsmlMessageArgs{
    										Value: pulumi.String("string"),
    									},
    								},
    								Variations: lex.V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutConditionalDefaultBranchResponseMessageGroupVariationArray{
    									&lex.V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutConditionalDefaultBranchResponseMessageGroupVariationArgs{
    										CustomPayload: &lex.V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutConditionalDefaultBranchResponseMessageGroupVariationCustomPayloadArgs{
    											Value: pulumi.String("string"),
    										},
    										ImageResponseCard: &lex.V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutConditionalDefaultBranchResponseMessageGroupVariationImageResponseCardArgs{
    											Title: pulumi.String("string"),
    											Buttons: lex.V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutConditionalDefaultBranchResponseMessageGroupVariationImageResponseCardButtonArray{
    												&lex.V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutConditionalDefaultBranchResponseMessageGroupVariationImageResponseCardButtonArgs{
    													Text:  pulumi.String("string"),
    													Value: pulumi.String("string"),
    												},
    											},
    											ImageUrl: pulumi.String("string"),
    											Subtitle: pulumi.String("string"),
    										},
    										PlainTextMessage: &lex.V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutConditionalDefaultBranchResponseMessageGroupVariationPlainTextMessageArgs{
    											Value: pulumi.String("string"),
    										},
    										SsmlMessage: &lex.V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutConditionalDefaultBranchResponseMessageGroupVariationSsmlMessageArgs{
    											Value: pulumi.String("string"),
    										},
    									},
    								},
    							},
    						},
    					},
    				},
    			},
    			TimeoutNextStep: &lex.V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutNextStepArgs{
    				DialogAction: &lex.V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutNextStepDialogActionArgs{
    					Type:                pulumi.String("string"),
    					SlotToElicit:        pulumi.String("string"),
    					SuppressNextMessage: pulumi.Bool(false),
    				},
    				Intent: &lex.V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutNextStepIntentArgs{
    					Name: pulumi.String("string"),
    					Slots: lex.V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutNextStepIntentSlotArray{
    						&lex.V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutNextStepIntentSlotArgs{
    							MapBlockKey: pulumi.String("string"),
    							Shape:       pulumi.String("string"),
    							Value: &lex.V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutNextStepIntentSlotValueArgs{
    								InterpretedValue: pulumi.String("string"),
    							},
    						},
    					},
    				},
    				SessionAttributes: pulumi.StringMap{
    					"string": pulumi.String("string"),
    				},
    			},
    			TimeoutResponse: &lex.V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutResponseArgs{
    				AllowInterrupt: pulumi.Bool(false),
    				MessageGroups: lex.V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutResponseMessageGroupArray{
    					&lex.V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutResponseMessageGroupArgs{
    						Message: &lex.V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutResponseMessageGroupMessageArgs{
    							CustomPayload: &lex.V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutResponseMessageGroupMessageCustomPayloadArgs{
    								Value: pulumi.String("string"),
    							},
    							ImageResponseCard: &lex.V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutResponseMessageGroupMessageImageResponseCardArgs{
    								Title: pulumi.String("string"),
    								Buttons: lex.V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutResponseMessageGroupMessageImageResponseCardButtonArray{
    									&lex.V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutResponseMessageGroupMessageImageResponseCardButtonArgs{
    										Text:  pulumi.String("string"),
    										Value: pulumi.String("string"),
    									},
    								},
    								ImageUrl: pulumi.String("string"),
    								Subtitle: pulumi.String("string"),
    							},
    							PlainTextMessage: &lex.V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutResponseMessageGroupMessagePlainTextMessageArgs{
    								Value: pulumi.String("string"),
    							},
    							SsmlMessage: &lex.V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutResponseMessageGroupMessageSsmlMessageArgs{
    								Value: pulumi.String("string"),
    							},
    						},
    						Variations: lex.V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutResponseMessageGroupVariationArray{
    							&lex.V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutResponseMessageGroupVariationArgs{
    								CustomPayload: &lex.V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutResponseMessageGroupVariationCustomPayloadArgs{
    									Value: pulumi.String("string"),
    								},
    								ImageResponseCard: &lex.V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutResponseMessageGroupVariationImageResponseCardArgs{
    									Title: pulumi.String("string"),
    									Buttons: lex.V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutResponseMessageGroupVariationImageResponseCardButtonArray{
    										&lex.V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutResponseMessageGroupVariationImageResponseCardButtonArgs{
    											Text:  pulumi.String("string"),
    											Value: pulumi.String("string"),
    										},
    									},
    									ImageUrl: pulumi.String("string"),
    									Subtitle: pulumi.String("string"),
    								},
    								PlainTextMessage: &lex.V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutResponseMessageGroupVariationPlainTextMessageArgs{
    									Value: pulumi.String("string"),
    								},
    								SsmlMessage: &lex.V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutResponseMessageGroupVariationSsmlMessageArgs{
    									Value: pulumi.String("string"),
    								},
    							},
    						},
    					},
    				},
    			},
    		},
    	},
    	InitialResponseSetting: &lex.V2modelsIntentInitialResponseSettingArgs{
    		CodeHook: &lex.V2modelsIntentInitialResponseSettingCodeHookArgs{
    			Active:                   pulumi.Bool(false),
    			EnableCodeHookInvocation: pulumi.Bool(false),
    			InvocationLabel:          pulumi.String("string"),
    			PostCodeHookSpecification: &lex.V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationArgs{
    				FailureConditional: &lex.V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureConditionalArgs{
    					Active: pulumi.Bool(false),
    					ConditionalBranches: lex.V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureConditionalConditionalBranchArray{
    						&lex.V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureConditionalConditionalBranchArgs{
    							Name: pulumi.String("string"),
    							Condition: &lex.V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureConditionalConditionalBranchConditionArgs{
    								ExpressionString: pulumi.String("string"),
    							},
    							NextStep: &lex.V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureConditionalConditionalBranchNextStepArgs{
    								DialogAction: &lex.V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureConditionalConditionalBranchNextStepDialogActionArgs{
    									Type:                pulumi.String("string"),
    									SlotToElicit:        pulumi.String("string"),
    									SuppressNextMessage: pulumi.Bool(false),
    								},
    								Intent: &lex.V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureConditionalConditionalBranchNextStepIntentArgs{
    									Name: pulumi.String("string"),
    									Slots: lex.V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureConditionalConditionalBranchNextStepIntentSlotArray{
    										&lex.V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureConditionalConditionalBranchNextStepIntentSlotArgs{
    											MapBlockKey: pulumi.String("string"),
    											Shape:       pulumi.String("string"),
    											Value: &lex.V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureConditionalConditionalBranchNextStepIntentSlotValueArgs{
    												InterpretedValue: pulumi.String("string"),
    											},
    										},
    									},
    								},
    								SessionAttributes: pulumi.StringMap{
    									"string": pulumi.String("string"),
    								},
    							},
    							Response: &lex.V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureConditionalConditionalBranchResponseArgs{
    								AllowInterrupt: pulumi.Bool(false),
    								MessageGroups: lex.V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureConditionalConditionalBranchResponseMessageGroupArray{
    									&lex.V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureConditionalConditionalBranchResponseMessageGroupArgs{
    										Message: &lex.V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureConditionalConditionalBranchResponseMessageGroupMessageArgs{
    											CustomPayload: &lex.V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureConditionalConditionalBranchResponseMessageGroupMessageCustomPayloadArgs{
    												Value: pulumi.String("string"),
    											},
    											ImageResponseCard: &lex.V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureConditionalConditionalBranchResponseMessageGroupMessageImageResponseCardArgs{
    												Title: pulumi.String("string"),
    												Buttons: lex.V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureConditionalConditionalBranchResponseMessageGroupMessageImageResponseCardButtonArray{
    													&lex.V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureConditionalConditionalBranchResponseMessageGroupMessageImageResponseCardButtonArgs{
    														Text:  pulumi.String("string"),
    														Value: pulumi.String("string"),
    													},
    												},
    												ImageUrl: pulumi.String("string"),
    												Subtitle: pulumi.String("string"),
    											},
    											PlainTextMessage: &lex.V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureConditionalConditionalBranchResponseMessageGroupMessagePlainTextMessageArgs{
    												Value: pulumi.String("string"),
    											},
    											SsmlMessage: &lex.V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureConditionalConditionalBranchResponseMessageGroupMessageSsmlMessageArgs{
    												Value: pulumi.String("string"),
    											},
    										},
    										Variations: lex.V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureConditionalConditionalBranchResponseMessageGroupVariationArray{
    											&lex.V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureConditionalConditionalBranchResponseMessageGroupVariationArgs{
    												CustomPayload: &lex.V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureConditionalConditionalBranchResponseMessageGroupVariationCustomPayloadArgs{
    													Value: pulumi.String("string"),
    												},
    												ImageResponseCard: &lex.V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureConditionalConditionalBranchResponseMessageGroupVariationImageResponseCardArgs{
    													Title: pulumi.String("string"),
    													Buttons: lex.V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureConditionalConditionalBranchResponseMessageGroupVariationImageResponseCardButtonArray{
    														&lex.V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureConditionalConditionalBranchResponseMessageGroupVariationImageResponseCardButtonArgs{
    															Text:  pulumi.String("string"),
    															Value: pulumi.String("string"),
    														},
    													},
    													ImageUrl: pulumi.String("string"),
    													Subtitle: pulumi.String("string"),
    												},
    												PlainTextMessage: &lex.V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureConditionalConditionalBranchResponseMessageGroupVariationPlainTextMessageArgs{
    													Value: pulumi.String("string"),
    												},
    												SsmlMessage: &lex.V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureConditionalConditionalBranchResponseMessageGroupVariationSsmlMessageArgs{
    													Value: pulumi.String("string"),
    												},
    											},
    										},
    									},
    								},
    							},
    						},
    					},
    					DefaultBranch: &lex.V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureConditionalDefaultBranchArgs{
    						NextStep: &lex.V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureConditionalDefaultBranchNextStepArgs{
    							DialogAction: &lex.V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureConditionalDefaultBranchNextStepDialogActionArgs{
    								Type:                pulumi.String("string"),
    								SlotToElicit:        pulumi.String("string"),
    								SuppressNextMessage: pulumi.Bool(false),
    							},
    							Intent: &lex.V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureConditionalDefaultBranchNextStepIntentArgs{
    								Name: pulumi.String("string"),
    								Slots: lex.V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureConditionalDefaultBranchNextStepIntentSlotArray{
    									&lex.V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureConditionalDefaultBranchNextStepIntentSlotArgs{
    										MapBlockKey: pulumi.String("string"),
    										Shape:       pulumi.String("string"),
    										Value: &lex.V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureConditionalDefaultBranchNextStepIntentSlotValueArgs{
    											InterpretedValue: pulumi.String("string"),
    										},
    									},
    								},
    							},
    							SessionAttributes: pulumi.StringMap{
    								"string": pulumi.String("string"),
    							},
    						},
    						Response: &lex.V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureConditionalDefaultBranchResponseArgs{
    							AllowInterrupt: pulumi.Bool(false),
    							MessageGroups: lex.V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureConditionalDefaultBranchResponseMessageGroupArray{
    								&lex.V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureConditionalDefaultBranchResponseMessageGroupArgs{
    									Message: &lex.V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureConditionalDefaultBranchResponseMessageGroupMessageArgs{
    										CustomPayload: &lex.V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureConditionalDefaultBranchResponseMessageGroupMessageCustomPayloadArgs{
    											Value: pulumi.String("string"),
    										},
    										ImageResponseCard: &lex.V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureConditionalDefaultBranchResponseMessageGroupMessageImageResponseCardArgs{
    											Title: pulumi.String("string"),
    											Buttons: lex.V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureConditionalDefaultBranchResponseMessageGroupMessageImageResponseCardButtonArray{
    												&lex.V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureConditionalDefaultBranchResponseMessageGroupMessageImageResponseCardButtonArgs{
    													Text:  pulumi.String("string"),
    													Value: pulumi.String("string"),
    												},
    											},
    											ImageUrl: pulumi.String("string"),
    											Subtitle: pulumi.String("string"),
    										},
    										PlainTextMessage: &lex.V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureConditionalDefaultBranchResponseMessageGroupMessagePlainTextMessageArgs{
    											Value: pulumi.String("string"),
    										},
    										SsmlMessage: &lex.V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureConditionalDefaultBranchResponseMessageGroupMessageSsmlMessageArgs{
    											Value: pulumi.String("string"),
    										},
    									},
    									Variations: lex.V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureConditionalDefaultBranchResponseMessageGroupVariationArray{
    										&lex.V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureConditionalDefaultBranchResponseMessageGroupVariationArgs{
    											CustomPayload: &lex.V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureConditionalDefaultBranchResponseMessageGroupVariationCustomPayloadArgs{
    												Value: pulumi.String("string"),
    											},
    											ImageResponseCard: &lex.V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureConditionalDefaultBranchResponseMessageGroupVariationImageResponseCardArgs{
    												Title: pulumi.String("string"),
    												Buttons: lex.V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureConditionalDefaultBranchResponseMessageGroupVariationImageResponseCardButtonArray{
    													&lex.V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureConditionalDefaultBranchResponseMessageGroupVariationImageResponseCardButtonArgs{
    														Text:  pulumi.String("string"),
    														Value: pulumi.String("string"),
    													},
    												},
    												ImageUrl: pulumi.String("string"),
    												Subtitle: pulumi.String("string"),
    											},
    											PlainTextMessage: &lex.V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureConditionalDefaultBranchResponseMessageGroupVariationPlainTextMessageArgs{
    												Value: pulumi.String("string"),
    											},
    											SsmlMessage: &lex.V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureConditionalDefaultBranchResponseMessageGroupVariationSsmlMessageArgs{
    												Value: pulumi.String("string"),
    											},
    										},
    									},
    								},
    							},
    						},
    					},
    				},
    				FailureNextStep: &lex.V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureNextStepArgs{
    					DialogAction: &lex.V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureNextStepDialogActionArgs{
    						Type:                pulumi.String("string"),
    						SlotToElicit:        pulumi.String("string"),
    						SuppressNextMessage: pulumi.Bool(false),
    					},
    					Intent: &lex.V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureNextStepIntentArgs{
    						Name: pulumi.String("string"),
    						Slots: lex.V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureNextStepIntentSlotArray{
    							&lex.V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureNextStepIntentSlotArgs{
    								MapBlockKey: pulumi.String("string"),
    								Shape:       pulumi.String("string"),
    								Value: &lex.V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureNextStepIntentSlotValueArgs{
    									InterpretedValue: pulumi.String("string"),
    								},
    							},
    						},
    					},
    					SessionAttributes: pulumi.StringMap{
    						"string": pulumi.String("string"),
    					},
    				},
    				FailureResponse: &lex.V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureResponseArgs{
    					AllowInterrupt: pulumi.Bool(false),
    					MessageGroups: lex.V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureResponseMessageGroupArray{
    						&lex.V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureResponseMessageGroupArgs{
    							Message: &lex.V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureResponseMessageGroupMessageArgs{
    								CustomPayload: &lex.V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureResponseMessageGroupMessageCustomPayloadArgs{
    									Value: pulumi.String("string"),
    								},
    								ImageResponseCard: &lex.V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureResponseMessageGroupMessageImageResponseCardArgs{
    									Title: pulumi.String("string"),
    									Buttons: lex.V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureResponseMessageGroupMessageImageResponseCardButtonArray{
    										&lex.V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureResponseMessageGroupMessageImageResponseCardButtonArgs{
    											Text:  pulumi.String("string"),
    											Value: pulumi.String("string"),
    										},
    									},
    									ImageUrl: pulumi.String("string"),
    									Subtitle: pulumi.String("string"),
    								},
    								PlainTextMessage: &lex.V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureResponseMessageGroupMessagePlainTextMessageArgs{
    									Value: pulumi.String("string"),
    								},
    								SsmlMessage: &lex.V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureResponseMessageGroupMessageSsmlMessageArgs{
    									Value: pulumi.String("string"),
    								},
    							},
    							Variations: lex.V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureResponseMessageGroupVariationArray{
    								&lex.V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureResponseMessageGroupVariationArgs{
    									CustomPayload: &lex.V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureResponseMessageGroupVariationCustomPayloadArgs{
    										Value: pulumi.String("string"),
    									},
    									ImageResponseCard: &lex.V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureResponseMessageGroupVariationImageResponseCardArgs{
    										Title: pulumi.String("string"),
    										Buttons: lex.V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureResponseMessageGroupVariationImageResponseCardButtonArray{
    											&lex.V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureResponseMessageGroupVariationImageResponseCardButtonArgs{
    												Text:  pulumi.String("string"),
    												Value: pulumi.String("string"),
    											},
    										},
    										ImageUrl: pulumi.String("string"),
    										Subtitle: pulumi.String("string"),
    									},
    									PlainTextMessage: &lex.V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureResponseMessageGroupVariationPlainTextMessageArgs{
    										Value: pulumi.String("string"),
    									},
    									SsmlMessage: &lex.V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureResponseMessageGroupVariationSsmlMessageArgs{
    										Value: pulumi.String("string"),
    									},
    								},
    							},
    						},
    					},
    				},
    				SuccessConditional: &lex.V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationSuccessConditionalArgs{
    					Active: pulumi.Bool(false),
    					ConditionalBranches: lex.V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationSuccessConditionalConditionalBranchArray{
    						&lex.V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationSuccessConditionalConditionalBranchArgs{
    							Name: pulumi.String("string"),
    							Condition: &lex.V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationSuccessConditionalConditionalBranchConditionArgs{
    								ExpressionString: pulumi.String("string"),
    							},
    							NextStep: &lex.V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationSuccessConditionalConditionalBranchNextStepArgs{
    								DialogAction: &lex.V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationSuccessConditionalConditionalBranchNextStepDialogActionArgs{
    									Type:                pulumi.String("string"),
    									SlotToElicit:        pulumi.String("string"),
    									SuppressNextMessage: pulumi.Bool(false),
    								},
    								Intent: &lex.V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationSuccessConditionalConditionalBranchNextStepIntentArgs{
    									Name: pulumi.String("string"),
    									Slots: lex.V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationSuccessConditionalConditionalBranchNextStepIntentSlotArray{
    										&lex.V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationSuccessConditionalConditionalBranchNextStepIntentSlotArgs{
    											MapBlockKey: pulumi.String("string"),
    											Shape:       pulumi.String("string"),
    											Value: &lex.V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationSuccessConditionalConditionalBranchNextStepIntentSlotValueArgs{
    												InterpretedValue: pulumi.String("string"),
    											},
    										},
    									},
    								},
    								SessionAttributes: pulumi.StringMap{
    									"string": pulumi.String("string"),
    								},
    							},
    							Response: &lex.V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationSuccessConditionalConditionalBranchResponseArgs{
    								AllowInterrupt: pulumi.Bool(false),
    								MessageGroups: lex.V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationSuccessConditionalConditionalBranchResponseMessageGroupArray{
    									&lex.V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationSuccessConditionalConditionalBranchResponseMessageGroupArgs{
    										Message: &lex.V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationSuccessConditionalConditionalBranchResponseMessageGroupMessageArgs{
    											CustomPayload: &lex.V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationSuccessConditionalConditionalBranchResponseMessageGroupMessageCustomPayloadArgs{
    												Value: pulumi.String("string"),
    											},
    											ImageResponseCard: &lex.V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationSuccessConditionalConditionalBranchResponseMessageGroupMessageImageResponseCardArgs{
    												Title: pulumi.String("string"),
    												Buttons: lex.V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationSuccessConditionalConditionalBranchResponseMessageGroupMessageImageResponseCardButtonArray{
    													&lex.V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationSuccessConditionalConditionalBranchResponseMessageGroupMessageImageResponseCardButtonArgs{
    														Text:  pulumi.String("string"),
    														Value: pulumi.String("string"),
    													},
    												},
    												ImageUrl: pulumi.String("string"),
    												Subtitle: pulumi.String("string"),
    											},
    											PlainTextMessage: &lex.V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationSuccessConditionalConditionalBranchResponseMessageGroupMessagePlainTextMessageArgs{
    												Value: pulumi.String("string"),
    											},
    											SsmlMessage: &lex.V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationSuccessConditionalConditionalBranchResponseMessageGroupMessageSsmlMessageArgs{
    												Value: pulumi.String("string"),
    											},
    										},
    										Variations: lex.V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationSuccessConditionalConditionalBranchResponseMessageGroupVariationArray{
    											&lex.V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationSuccessConditionalConditionalBranchResponseMessageGroupVariationArgs{
    												CustomPayload: &lex.V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationSuccessConditionalConditionalBranchResponseMessageGroupVariationCustomPayloadArgs{
    													Value: pulumi.String("string"),
    												},
    												ImageResponseCard: &lex.V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationSuccessConditionalConditionalBranchResponseMessageGroupVariationImageResponseCardArgs{
    													Title: pulumi.String("string"),
    													Buttons: lex.V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationSuccessConditionalConditionalBranchResponseMessageGroupVariationImageResponseCardButtonArray{
    														&lex.V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationSuccessConditionalConditionalBranchResponseMessageGroupVariationImageResponseCardButtonArgs{
    															Text:  pulumi.String("string"),
    															Value: pulumi.String("string"),
    														},
    													},
    													ImageUrl: pulumi.String("string"),
    													Subtitle: pulumi.String("string"),
    												},
    												PlainTextMessage: &lex.V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationSuccessConditionalConditionalBranchResponseMessageGroupVariationPlainTextMessageArgs{
    													Value: pulumi.String("string"),
    												},
    												SsmlMessage: &lex.V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationSuccessConditionalConditionalBranchResponseMessageGroupVariationSsmlMessageArgs{
    													Value: pulumi.String("string"),
    												},
    											},
    										},
    									},
    								},
    							},
    						},
    					},
    					DefaultBranch: &lex.V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationSuccessConditionalDefaultBranchArgs{
    						NextStep: &lex.V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationSuccessConditionalDefaultBranchNextStepArgs{
    							DialogAction: &lex.V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationSuccessConditionalDefaultBranchNextStepDialogActionArgs{
    								Type:                pulumi.String("string"),
    								SlotToElicit:        pulumi.String("string"),
    								SuppressNextMessage: pulumi.Bool(false),
    							},
    							Intent: &lex.V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationSuccessConditionalDefaultBranchNextStepIntentArgs{
    								Name: pulumi.String("string"),
    								Slots: lex.V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationSuccessConditionalDefaultBranchNextStepIntentSlotArray{
    									&lex.V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationSuccessConditionalDefaultBranchNextStepIntentSlotArgs{
    										MapBlockKey: pulumi.String("string"),
    										Shape:       pulumi.String("string"),
    										Value: &lex.V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationSuccessConditionalDefaultBranchNextStepIntentSlotValueArgs{
    											InterpretedValue: pulumi.String("string"),
    										},
    									},
    								},
    							},
    							SessionAttributes: pulumi.StringMap{
    								"string": pulumi.String("string"),
    							},
    						},
    						Response: &lex.V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationSuccessConditionalDefaultBranchResponseArgs{
    							AllowInterrupt: pulumi.Bool(false),
    							MessageGroups: lex.V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationSuccessConditionalDefaultBranchResponseMessageGroupArray{
    								&lex.V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationSuccessConditionalDefaultBranchResponseMessageGroupArgs{
    									Message: &lex.V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationSuccessConditionalDefaultBranchResponseMessageGroupMessageArgs{
    										CustomPayload: &lex.V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationSuccessConditionalDefaultBranchResponseMessageGroupMessageCustomPayloadArgs{
    											Value: pulumi.String("string"),
    										},
    										ImageResponseCard: &lex.V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationSuccessConditionalDefaultBranchResponseMessageGroupMessageImageResponseCardArgs{
    											Title: pulumi.String("string"),
    											Buttons: lex.V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationSuccessConditionalDefaultBranchResponseMessageGroupMessageImageResponseCardButtonArray{
    												&lex.V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationSuccessConditionalDefaultBranchResponseMessageGroupMessageImageResponseCardButtonArgs{
    													Text:  pulumi.String("string"),
    													Value: pulumi.String("string"),
    												},
    											},
    											ImageUrl: pulumi.String("string"),
    											Subtitle: pulumi.String("string"),
    										},
    										PlainTextMessage: &lex.V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationSuccessConditionalDefaultBranchResponseMessageGroupMessagePlainTextMessageArgs{
    											Value: pulumi.String("string"),
    										},
    										SsmlMessage: &lex.V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationSuccessConditionalDefaultBranchResponseMessageGroupMessageSsmlMessageArgs{
    											Value: pulumi.String("string"),
    										},
    									},
    									Variations: lex.V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationSuccessConditionalDefaultBranchResponseMessageGroupVariationArray{
    										&lex.V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationSuccessConditionalDefaultBranchResponseMessageGroupVariationArgs{
    											CustomPayload: &lex.V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationSuccessConditionalDefaultBranchResponseMessageGroupVariationCustomPayloadArgs{
    												Value: pulumi.String("string"),
    											},
    											ImageResponseCard: &lex.V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationSuccessConditionalDefaultBranchResponseMessageGroupVariationImageResponseCardArgs{
    												Title: pulumi.String("string"),
    												Buttons: lex.V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationSuccessConditionalDefaultBranchResponseMessageGroupVariationImageResponseCardButtonArray{
    													&lex.V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationSuccessConditionalDefaultBranchResponseMessageGroupVariationImageResponseCardButtonArgs{
    														Text:  pulumi.String("string"),
    														Value: pulumi.String("string"),
    													},
    												},
    												ImageUrl: pulumi.String("string"),
    												Subtitle: pulumi.String("string"),
    											},
    											PlainTextMessage: &lex.V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationSuccessConditionalDefaultBranchResponseMessageGroupVariationPlainTextMessageArgs{
    												Value: pulumi.String("string"),
    											},
    											SsmlMessage: &lex.V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationSuccessConditionalDefaultBranchResponseMessageGroupVariationSsmlMessageArgs{
    												Value: pulumi.String("string"),
    											},
    										},
    									},
    								},
    							},
    						},
    					},
    				},
    				SuccessNextStep: &lex.V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationSuccessNextStepArgs{
    					DialogAction: &lex.V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationSuccessNextStepDialogActionArgs{
    						Type:                pulumi.String("string"),
    						SlotToElicit:        pulumi.String("string"),
    						SuppressNextMessage: pulumi.Bool(false),
    					},
    					Intent: &lex.V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationSuccessNextStepIntentArgs{
    						Name: pulumi.String("string"),
    						Slots: lex.V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationSuccessNextStepIntentSlotArray{
    							&lex.V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationSuccessNextStepIntentSlotArgs{
    								MapBlockKey: pulumi.String("string"),
    								Shape:       pulumi.String("string"),
    								Value: &lex.V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationSuccessNextStepIntentSlotValueArgs{
    									InterpretedValue: pulumi.String("string"),
    								},
    							},
    						},
    					},
    					SessionAttributes: pulumi.StringMap{
    						"string": pulumi.String("string"),
    					},
    				},
    				SuccessResponse: &lex.V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationSuccessResponseArgs{
    					AllowInterrupt: pulumi.Bool(false),
    					MessageGroups: lex.V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationSuccessResponseMessageGroupArray{
    						&lex.V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationSuccessResponseMessageGroupArgs{
    							Message: &lex.V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationSuccessResponseMessageGroupMessageArgs{
    								CustomPayload: &lex.V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationSuccessResponseMessageGroupMessageCustomPayloadArgs{
    									Value: pulumi.String("string"),
    								},
    								ImageResponseCard: &lex.V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationSuccessResponseMessageGroupMessageImageResponseCardArgs{
    									Title: pulumi.String("string"),
    									Buttons: lex.V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationSuccessResponseMessageGroupMessageImageResponseCardButtonArray{
    										&lex.V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationSuccessResponseMessageGroupMessageImageResponseCardButtonArgs{
    											Text:  pulumi.String("string"),
    											Value: pulumi.String("string"),
    										},
    									},
    									ImageUrl: pulumi.String("string"),
    									Subtitle: pulumi.String("string"),
    								},
    								PlainTextMessage: &lex.V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationSuccessResponseMessageGroupMessagePlainTextMessageArgs{
    									Value: pulumi.String("string"),
    								},
    								SsmlMessage: &lex.V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationSuccessResponseMessageGroupMessageSsmlMessageArgs{
    									Value: pulumi.String("string"),
    								},
    							},
    							Variations: lex.V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationSuccessResponseMessageGroupVariationArray{
    								&lex.V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationSuccessResponseMessageGroupVariationArgs{
    									CustomPayload: &lex.V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationSuccessResponseMessageGroupVariationCustomPayloadArgs{
    										Value: pulumi.String("string"),
    									},
    									ImageResponseCard: &lex.V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationSuccessResponseMessageGroupVariationImageResponseCardArgs{
    										Title: pulumi.String("string"),
    										Buttons: lex.V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationSuccessResponseMessageGroupVariationImageResponseCardButtonArray{
    											&lex.V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationSuccessResponseMessageGroupVariationImageResponseCardButtonArgs{
    												Text:  pulumi.String("string"),
    												Value: pulumi.String("string"),
    											},
    										},
    										ImageUrl: pulumi.String("string"),
    										Subtitle: pulumi.String("string"),
    									},
    									PlainTextMessage: &lex.V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationSuccessResponseMessageGroupVariationPlainTextMessageArgs{
    										Value: pulumi.String("string"),
    									},
    									SsmlMessage: &lex.V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationSuccessResponseMessageGroupVariationSsmlMessageArgs{
    										Value: pulumi.String("string"),
    									},
    								},
    							},
    						},
    					},
    				},
    				TimeoutConditional: &lex.V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutConditionalArgs{
    					Active: pulumi.Bool(false),
    					ConditionalBranches: lex.V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutConditionalConditionalBranchArray{
    						&lex.V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutConditionalConditionalBranchArgs{
    							Name: pulumi.String("string"),
    							Condition: &lex.V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutConditionalConditionalBranchConditionArgs{
    								ExpressionString: pulumi.String("string"),
    							},
    							NextStep: &lex.V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutConditionalConditionalBranchNextStepArgs{
    								DialogAction: &lex.V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutConditionalConditionalBranchNextStepDialogActionArgs{
    									Type:                pulumi.String("string"),
    									SlotToElicit:        pulumi.String("string"),
    									SuppressNextMessage: pulumi.Bool(false),
    								},
    								Intent: &lex.V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutConditionalConditionalBranchNextStepIntentArgs{
    									Name: pulumi.String("string"),
    									Slots: lex.V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutConditionalConditionalBranchNextStepIntentSlotArray{
    										&lex.V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutConditionalConditionalBranchNextStepIntentSlotArgs{
    											MapBlockKey: pulumi.String("string"),
    											Shape:       pulumi.String("string"),
    											Value: &lex.V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutConditionalConditionalBranchNextStepIntentSlotValueArgs{
    												InterpretedValue: pulumi.String("string"),
    											},
    										},
    									},
    								},
    								SessionAttributes: pulumi.StringMap{
    									"string": pulumi.String("string"),
    								},
    							},
    							Response: &lex.V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutConditionalConditionalBranchResponseArgs{
    								AllowInterrupt: pulumi.Bool(false),
    								MessageGroups: lex.V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupArray{
    									&lex.V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupArgs{
    										Message: &lex.V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupMessageArgs{
    											CustomPayload: &lex.V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupMessageCustomPayloadArgs{
    												Value: pulumi.String("string"),
    											},
    											ImageResponseCard: &lex.V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupMessageImageResponseCardArgs{
    												Title: pulumi.String("string"),
    												Buttons: lex.V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupMessageImageResponseCardButtonArray{
    													&lex.V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupMessageImageResponseCardButtonArgs{
    														Text:  pulumi.String("string"),
    														Value: pulumi.String("string"),
    													},
    												},
    												ImageUrl: pulumi.String("string"),
    												Subtitle: pulumi.String("string"),
    											},
    											PlainTextMessage: &lex.V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupMessagePlainTextMessageArgs{
    												Value: pulumi.String("string"),
    											},
    											SsmlMessage: &lex.V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupMessageSsmlMessageArgs{
    												Value: pulumi.String("string"),
    											},
    										},
    										Variations: lex.V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupVariationArray{
    											&lex.V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupVariationArgs{
    												CustomPayload: &lex.V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupVariationCustomPayloadArgs{
    													Value: pulumi.String("string"),
    												},
    												ImageResponseCard: &lex.V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupVariationImageResponseCardArgs{
    													Title: pulumi.String("string"),
    													Buttons: lex.V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupVariationImageResponseCardButtonArray{
    														&lex.V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupVariationImageResponseCardButtonArgs{
    															Text:  pulumi.String("string"),
    															Value: pulumi.String("string"),
    														},
    													},
    													ImageUrl: pulumi.String("string"),
    													Subtitle: pulumi.String("string"),
    												},
    												PlainTextMessage: &lex.V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupVariationPlainTextMessageArgs{
    													Value: pulumi.String("string"),
    												},
    												SsmlMessage: &lex.V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupVariationSsmlMessageArgs{
    													Value: pulumi.String("string"),
    												},
    											},
    										},
    									},
    								},
    							},
    						},
    					},
    					DefaultBranch: &lex.V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutConditionalDefaultBranchArgs{
    						NextStep: &lex.V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutConditionalDefaultBranchNextStepArgs{
    							DialogAction: &lex.V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutConditionalDefaultBranchNextStepDialogActionArgs{
    								Type:                pulumi.String("string"),
    								SlotToElicit:        pulumi.String("string"),
    								SuppressNextMessage: pulumi.Bool(false),
    							},
    							Intent: &lex.V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutConditionalDefaultBranchNextStepIntentArgs{
    								Name: pulumi.String("string"),
    								Slots: lex.V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutConditionalDefaultBranchNextStepIntentSlotArray{
    									&lex.V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutConditionalDefaultBranchNextStepIntentSlotArgs{
    										MapBlockKey: pulumi.String("string"),
    										Shape:       pulumi.String("string"),
    										Value: &lex.V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutConditionalDefaultBranchNextStepIntentSlotValueArgs{
    											InterpretedValue: pulumi.String("string"),
    										},
    									},
    								},
    							},
    							SessionAttributes: pulumi.StringMap{
    								"string": pulumi.String("string"),
    							},
    						},
    						Response: &lex.V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutConditionalDefaultBranchResponseArgs{
    							AllowInterrupt: pulumi.Bool(false),
    							MessageGroups: lex.V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutConditionalDefaultBranchResponseMessageGroupArray{
    								&lex.V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutConditionalDefaultBranchResponseMessageGroupArgs{
    									Message: &lex.V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutConditionalDefaultBranchResponseMessageGroupMessageArgs{
    										CustomPayload: &lex.V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutConditionalDefaultBranchResponseMessageGroupMessageCustomPayloadArgs{
    											Value: pulumi.String("string"),
    										},
    										ImageResponseCard: &lex.V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutConditionalDefaultBranchResponseMessageGroupMessageImageResponseCardArgs{
    											Title: pulumi.String("string"),
    											Buttons: lex.V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutConditionalDefaultBranchResponseMessageGroupMessageImageResponseCardButtonArray{
    												&lex.V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutConditionalDefaultBranchResponseMessageGroupMessageImageResponseCardButtonArgs{
    													Text:  pulumi.String("string"),
    													Value: pulumi.String("string"),
    												},
    											},
    											ImageUrl: pulumi.String("string"),
    											Subtitle: pulumi.String("string"),
    										},
    										PlainTextMessage: &lex.V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutConditionalDefaultBranchResponseMessageGroupMessagePlainTextMessageArgs{
    											Value: pulumi.String("string"),
    										},
    										SsmlMessage: &lex.V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutConditionalDefaultBranchResponseMessageGroupMessageSsmlMessageArgs{
    											Value: pulumi.String("string"),
    										},
    									},
    									Variations: lex.V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutConditionalDefaultBranchResponseMessageGroupVariationArray{
    										&lex.V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutConditionalDefaultBranchResponseMessageGroupVariationArgs{
    											CustomPayload: &lex.V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutConditionalDefaultBranchResponseMessageGroupVariationCustomPayloadArgs{
    												Value: pulumi.String("string"),
    											},
    											ImageResponseCard: &lex.V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutConditionalDefaultBranchResponseMessageGroupVariationImageResponseCardArgs{
    												Title: pulumi.String("string"),
    												Buttons: lex.V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutConditionalDefaultBranchResponseMessageGroupVariationImageResponseCardButtonArray{
    													&lex.V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutConditionalDefaultBranchResponseMessageGroupVariationImageResponseCardButtonArgs{
    														Text:  pulumi.String("string"),
    														Value: pulumi.String("string"),
    													},
    												},
    												ImageUrl: pulumi.String("string"),
    												Subtitle: pulumi.String("string"),
    											},
    											PlainTextMessage: &lex.V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutConditionalDefaultBranchResponseMessageGroupVariationPlainTextMessageArgs{
    												Value: pulumi.String("string"),
    											},
    											SsmlMessage: &lex.V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutConditionalDefaultBranchResponseMessageGroupVariationSsmlMessageArgs{
    												Value: pulumi.String("string"),
    											},
    										},
    									},
    								},
    							},
    						},
    					},
    				},
    				TimeoutNextStep: &lex.V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutNextStepArgs{
    					DialogAction: &lex.V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutNextStepDialogActionArgs{
    						Type:                pulumi.String("string"),
    						SlotToElicit:        pulumi.String("string"),
    						SuppressNextMessage: pulumi.Bool(false),
    					},
    					Intent: &lex.V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutNextStepIntentArgs{
    						Name: pulumi.String("string"),
    						Slots: lex.V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutNextStepIntentSlotArray{
    							&lex.V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutNextStepIntentSlotArgs{
    								MapBlockKey: pulumi.String("string"),
    								Shape:       pulumi.String("string"),
    								Value: &lex.V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutNextStepIntentSlotValueArgs{
    									InterpretedValue: pulumi.String("string"),
    								},
    							},
    						},
    					},
    					SessionAttributes: pulumi.StringMap{
    						"string": pulumi.String("string"),
    					},
    				},
    				TimeoutResponse: &lex.V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutResponseArgs{
    					AllowInterrupt: pulumi.Bool(false),
    					MessageGroups: lex.V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutResponseMessageGroupArray{
    						&lex.V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutResponseMessageGroupArgs{
    							Message: &lex.V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutResponseMessageGroupMessageArgs{
    								CustomPayload: &lex.V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutResponseMessageGroupMessageCustomPayloadArgs{
    									Value: pulumi.String("string"),
    								},
    								ImageResponseCard: &lex.V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutResponseMessageGroupMessageImageResponseCardArgs{
    									Title: pulumi.String("string"),
    									Buttons: lex.V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutResponseMessageGroupMessageImageResponseCardButtonArray{
    										&lex.V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutResponseMessageGroupMessageImageResponseCardButtonArgs{
    											Text:  pulumi.String("string"),
    											Value: pulumi.String("string"),
    										},
    									},
    									ImageUrl: pulumi.String("string"),
    									Subtitle: pulumi.String("string"),
    								},
    								PlainTextMessage: &lex.V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutResponseMessageGroupMessagePlainTextMessageArgs{
    									Value: pulumi.String("string"),
    								},
    								SsmlMessage: &lex.V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutResponseMessageGroupMessageSsmlMessageArgs{
    									Value: pulumi.String("string"),
    								},
    							},
    							Variations: lex.V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutResponseMessageGroupVariationArray{
    								&lex.V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutResponseMessageGroupVariationArgs{
    									CustomPayload: &lex.V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutResponseMessageGroupVariationCustomPayloadArgs{
    										Value: pulumi.String("string"),
    									},
    									ImageResponseCard: &lex.V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutResponseMessageGroupVariationImageResponseCardArgs{
    										Title: pulumi.String("string"),
    										Buttons: lex.V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutResponseMessageGroupVariationImageResponseCardButtonArray{
    											&lex.V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutResponseMessageGroupVariationImageResponseCardButtonArgs{
    												Text:  pulumi.String("string"),
    												Value: pulumi.String("string"),
    											},
    										},
    										ImageUrl: pulumi.String("string"),
    										Subtitle: pulumi.String("string"),
    									},
    									PlainTextMessage: &lex.V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutResponseMessageGroupVariationPlainTextMessageArgs{
    										Value: pulumi.String("string"),
    									},
    									SsmlMessage: &lex.V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutResponseMessageGroupVariationSsmlMessageArgs{
    										Value: pulumi.String("string"),
    									},
    								},
    							},
    						},
    					},
    				},
    			},
    		},
    		Conditional: &lex.V2modelsIntentInitialResponseSettingConditionalArgs{
    			Active: pulumi.Bool(false),
    			ConditionalBranches: lex.V2modelsIntentInitialResponseSettingConditionalConditionalBranchArray{
    				&lex.V2modelsIntentInitialResponseSettingConditionalConditionalBranchArgs{
    					Name: pulumi.String("string"),
    					Condition: &lex.V2modelsIntentInitialResponseSettingConditionalConditionalBranchConditionArgs{
    						ExpressionString: pulumi.String("string"),
    					},
    					NextStep: &lex.V2modelsIntentInitialResponseSettingConditionalConditionalBranchNextStepArgs{
    						DialogAction: &lex.V2modelsIntentInitialResponseSettingConditionalConditionalBranchNextStepDialogActionArgs{
    							Type:                pulumi.String("string"),
    							SlotToElicit:        pulumi.String("string"),
    							SuppressNextMessage: pulumi.Bool(false),
    						},
    						Intent: &lex.V2modelsIntentInitialResponseSettingConditionalConditionalBranchNextStepIntentArgs{
    							Name: pulumi.String("string"),
    							Slots: lex.V2modelsIntentInitialResponseSettingConditionalConditionalBranchNextStepIntentSlotArray{
    								&lex.V2modelsIntentInitialResponseSettingConditionalConditionalBranchNextStepIntentSlotArgs{
    									MapBlockKey: pulumi.String("string"),
    									Shape:       pulumi.String("string"),
    									Value: &lex.V2modelsIntentInitialResponseSettingConditionalConditionalBranchNextStepIntentSlotValueArgs{
    										InterpretedValue: pulumi.String("string"),
    									},
    								},
    							},
    						},
    						SessionAttributes: pulumi.StringMap{
    							"string": pulumi.String("string"),
    						},
    					},
    					Response: &lex.V2modelsIntentInitialResponseSettingConditionalConditionalBranchResponseArgs{
    						AllowInterrupt: pulumi.Bool(false),
    						MessageGroups: lex.V2modelsIntentInitialResponseSettingConditionalConditionalBranchResponseMessageGroupArray{
    							&lex.V2modelsIntentInitialResponseSettingConditionalConditionalBranchResponseMessageGroupArgs{
    								Message: &lex.V2modelsIntentInitialResponseSettingConditionalConditionalBranchResponseMessageGroupMessageArgs{
    									CustomPayload: &lex.V2modelsIntentInitialResponseSettingConditionalConditionalBranchResponseMessageGroupMessageCustomPayloadArgs{
    										Value: pulumi.String("string"),
    									},
    									ImageResponseCard: &lex.V2modelsIntentInitialResponseSettingConditionalConditionalBranchResponseMessageGroupMessageImageResponseCardArgs{
    										Title: pulumi.String("string"),
    										Buttons: lex.V2modelsIntentInitialResponseSettingConditionalConditionalBranchResponseMessageGroupMessageImageResponseCardButtonArray{
    											&lex.V2modelsIntentInitialResponseSettingConditionalConditionalBranchResponseMessageGroupMessageImageResponseCardButtonArgs{
    												Text:  pulumi.String("string"),
    												Value: pulumi.String("string"),
    											},
    										},
    										ImageUrl: pulumi.String("string"),
    										Subtitle: pulumi.String("string"),
    									},
    									PlainTextMessage: &lex.V2modelsIntentInitialResponseSettingConditionalConditionalBranchResponseMessageGroupMessagePlainTextMessageArgs{
    										Value: pulumi.String("string"),
    									},
    									SsmlMessage: &lex.V2modelsIntentInitialResponseSettingConditionalConditionalBranchResponseMessageGroupMessageSsmlMessageArgs{
    										Value: pulumi.String("string"),
    									},
    								},
    								Variations: lex.V2modelsIntentInitialResponseSettingConditionalConditionalBranchResponseMessageGroupVariationArray{
    									&lex.V2modelsIntentInitialResponseSettingConditionalConditionalBranchResponseMessageGroupVariationArgs{
    										CustomPayload: &lex.V2modelsIntentInitialResponseSettingConditionalConditionalBranchResponseMessageGroupVariationCustomPayloadArgs{
    											Value: pulumi.String("string"),
    										},
    										ImageResponseCard: &lex.V2modelsIntentInitialResponseSettingConditionalConditionalBranchResponseMessageGroupVariationImageResponseCardArgs{
    											Title: pulumi.String("string"),
    											Buttons: lex.V2modelsIntentInitialResponseSettingConditionalConditionalBranchResponseMessageGroupVariationImageResponseCardButtonArray{
    												&lex.V2modelsIntentInitialResponseSettingConditionalConditionalBranchResponseMessageGroupVariationImageResponseCardButtonArgs{
    													Text:  pulumi.String("string"),
    													Value: pulumi.String("string"),
    												},
    											},
    											ImageUrl: pulumi.String("string"),
    											Subtitle: pulumi.String("string"),
    										},
    										PlainTextMessage: &lex.V2modelsIntentInitialResponseSettingConditionalConditionalBranchResponseMessageGroupVariationPlainTextMessageArgs{
    											Value: pulumi.String("string"),
    										},
    										SsmlMessage: &lex.V2modelsIntentInitialResponseSettingConditionalConditionalBranchResponseMessageGroupVariationSsmlMessageArgs{
    											Value: pulumi.String("string"),
    										},
    									},
    								},
    							},
    						},
    					},
    				},
    			},
    			DefaultBranch: &lex.V2modelsIntentInitialResponseSettingConditionalDefaultBranchArgs{
    				NextStep: &lex.V2modelsIntentInitialResponseSettingConditionalDefaultBranchNextStepArgs{
    					DialogAction: &lex.V2modelsIntentInitialResponseSettingConditionalDefaultBranchNextStepDialogActionArgs{
    						Type:                pulumi.String("string"),
    						SlotToElicit:        pulumi.String("string"),
    						SuppressNextMessage: pulumi.Bool(false),
    					},
    					Intent: &lex.V2modelsIntentInitialResponseSettingConditionalDefaultBranchNextStepIntentArgs{
    						Name: pulumi.String("string"),
    						Slots: lex.V2modelsIntentInitialResponseSettingConditionalDefaultBranchNextStepIntentSlotArray{
    							&lex.V2modelsIntentInitialResponseSettingConditionalDefaultBranchNextStepIntentSlotArgs{
    								MapBlockKey: pulumi.String("string"),
    								Shape:       pulumi.String("string"),
    								Value: &lex.V2modelsIntentInitialResponseSettingConditionalDefaultBranchNextStepIntentSlotValueArgs{
    									InterpretedValue: pulumi.String("string"),
    								},
    							},
    						},
    					},
    					SessionAttributes: pulumi.StringMap{
    						"string": pulumi.String("string"),
    					},
    				},
    				Response: &lex.V2modelsIntentInitialResponseSettingConditionalDefaultBranchResponseArgs{
    					AllowInterrupt: pulumi.Bool(false),
    					MessageGroups: lex.V2modelsIntentInitialResponseSettingConditionalDefaultBranchResponseMessageGroupArray{
    						&lex.V2modelsIntentInitialResponseSettingConditionalDefaultBranchResponseMessageGroupArgs{
    							Message: &lex.V2modelsIntentInitialResponseSettingConditionalDefaultBranchResponseMessageGroupMessageArgs{
    								CustomPayload: &lex.V2modelsIntentInitialResponseSettingConditionalDefaultBranchResponseMessageGroupMessageCustomPayloadArgs{
    									Value: pulumi.String("string"),
    								},
    								ImageResponseCard: &lex.V2modelsIntentInitialResponseSettingConditionalDefaultBranchResponseMessageGroupMessageImageResponseCardArgs{
    									Title: pulumi.String("string"),
    									Buttons: lex.V2modelsIntentInitialResponseSettingConditionalDefaultBranchResponseMessageGroupMessageImageResponseCardButtonArray{
    										&lex.V2modelsIntentInitialResponseSettingConditionalDefaultBranchResponseMessageGroupMessageImageResponseCardButtonArgs{
    											Text:  pulumi.String("string"),
    											Value: pulumi.String("string"),
    										},
    									},
    									ImageUrl: pulumi.String("string"),
    									Subtitle: pulumi.String("string"),
    								},
    								PlainTextMessage: &lex.V2modelsIntentInitialResponseSettingConditionalDefaultBranchResponseMessageGroupMessagePlainTextMessageArgs{
    									Value: pulumi.String("string"),
    								},
    								SsmlMessage: &lex.V2modelsIntentInitialResponseSettingConditionalDefaultBranchResponseMessageGroupMessageSsmlMessageArgs{
    									Value: pulumi.String("string"),
    								},
    							},
    							Variations: lex.V2modelsIntentInitialResponseSettingConditionalDefaultBranchResponseMessageGroupVariationArray{
    								&lex.V2modelsIntentInitialResponseSettingConditionalDefaultBranchResponseMessageGroupVariationArgs{
    									CustomPayload: &lex.V2modelsIntentInitialResponseSettingConditionalDefaultBranchResponseMessageGroupVariationCustomPayloadArgs{
    										Value: pulumi.String("string"),
    									},
    									ImageResponseCard: &lex.V2modelsIntentInitialResponseSettingConditionalDefaultBranchResponseMessageGroupVariationImageResponseCardArgs{
    										Title: pulumi.String("string"),
    										Buttons: lex.V2modelsIntentInitialResponseSettingConditionalDefaultBranchResponseMessageGroupVariationImageResponseCardButtonArray{
    											&lex.V2modelsIntentInitialResponseSettingConditionalDefaultBranchResponseMessageGroupVariationImageResponseCardButtonArgs{
    												Text:  pulumi.String("string"),
    												Value: pulumi.String("string"),
    											},
    										},
    										ImageUrl: pulumi.String("string"),
    										Subtitle: pulumi.String("string"),
    									},
    									PlainTextMessage: &lex.V2modelsIntentInitialResponseSettingConditionalDefaultBranchResponseMessageGroupVariationPlainTextMessageArgs{
    										Value: pulumi.String("string"),
    									},
    									SsmlMessage: &lex.V2modelsIntentInitialResponseSettingConditionalDefaultBranchResponseMessageGroupVariationSsmlMessageArgs{
    										Value: pulumi.String("string"),
    									},
    								},
    							},
    						},
    					},
    				},
    			},
    		},
    		InitialResponse: &lex.V2modelsIntentInitialResponseSettingInitialResponseArgs{
    			AllowInterrupt: pulumi.Bool(false),
    			MessageGroups: lex.V2modelsIntentInitialResponseSettingInitialResponseMessageGroupArray{
    				&lex.V2modelsIntentInitialResponseSettingInitialResponseMessageGroupArgs{
    					Message: &lex.V2modelsIntentInitialResponseSettingInitialResponseMessageGroupMessageArgs{
    						CustomPayload: &lex.V2modelsIntentInitialResponseSettingInitialResponseMessageGroupMessageCustomPayloadArgs{
    							Value: pulumi.String("string"),
    						},
    						ImageResponseCard: &lex.V2modelsIntentInitialResponseSettingInitialResponseMessageGroupMessageImageResponseCardArgs{
    							Title: pulumi.String("string"),
    							Buttons: lex.V2modelsIntentInitialResponseSettingInitialResponseMessageGroupMessageImageResponseCardButtonArray{
    								&lex.V2modelsIntentInitialResponseSettingInitialResponseMessageGroupMessageImageResponseCardButtonArgs{
    									Text:  pulumi.String("string"),
    									Value: pulumi.String("string"),
    								},
    							},
    							ImageUrl: pulumi.String("string"),
    							Subtitle: pulumi.String("string"),
    						},
    						PlainTextMessage: &lex.V2modelsIntentInitialResponseSettingInitialResponseMessageGroupMessagePlainTextMessageArgs{
    							Value: pulumi.String("string"),
    						},
    						SsmlMessage: &lex.V2modelsIntentInitialResponseSettingInitialResponseMessageGroupMessageSsmlMessageArgs{
    							Value: pulumi.String("string"),
    						},
    					},
    					Variations: lex.V2modelsIntentInitialResponseSettingInitialResponseMessageGroupVariationArray{
    						&lex.V2modelsIntentInitialResponseSettingInitialResponseMessageGroupVariationArgs{
    							CustomPayload: &lex.V2modelsIntentInitialResponseSettingInitialResponseMessageGroupVariationCustomPayloadArgs{
    								Value: pulumi.String("string"),
    							},
    							ImageResponseCard: &lex.V2modelsIntentInitialResponseSettingInitialResponseMessageGroupVariationImageResponseCardArgs{
    								Title: pulumi.String("string"),
    								Buttons: lex.V2modelsIntentInitialResponseSettingInitialResponseMessageGroupVariationImageResponseCardButtonArray{
    									&lex.V2modelsIntentInitialResponseSettingInitialResponseMessageGroupVariationImageResponseCardButtonArgs{
    										Text:  pulumi.String("string"),
    										Value: pulumi.String("string"),
    									},
    								},
    								ImageUrl: pulumi.String("string"),
    								Subtitle: pulumi.String("string"),
    							},
    							PlainTextMessage: &lex.V2modelsIntentInitialResponseSettingInitialResponseMessageGroupVariationPlainTextMessageArgs{
    								Value: pulumi.String("string"),
    							},
    							SsmlMessage: &lex.V2modelsIntentInitialResponseSettingInitialResponseMessageGroupVariationSsmlMessageArgs{
    								Value: pulumi.String("string"),
    							},
    						},
    					},
    				},
    			},
    		},
    		NextStep: &lex.V2modelsIntentInitialResponseSettingNextStepArgs{
    			DialogAction: &lex.V2modelsIntentInitialResponseSettingNextStepDialogActionArgs{
    				Type:                pulumi.String("string"),
    				SlotToElicit:        pulumi.String("string"),
    				SuppressNextMessage: pulumi.Bool(false),
    			},
    			Intent: &lex.V2modelsIntentInitialResponseSettingNextStepIntentArgs{
    				Name: pulumi.String("string"),
    				Slots: lex.V2modelsIntentInitialResponseSettingNextStepIntentSlotArray{
    					&lex.V2modelsIntentInitialResponseSettingNextStepIntentSlotArgs{
    						MapBlockKey: pulumi.String("string"),
    						Shape:       pulumi.String("string"),
    						Value: &lex.V2modelsIntentInitialResponseSettingNextStepIntentSlotValueArgs{
    							InterpretedValue: pulumi.String("string"),
    						},
    					},
    				},
    			},
    			SessionAttributes: pulumi.StringMap{
    				"string": pulumi.String("string"),
    			},
    		},
    	},
    	ConfirmationSetting: &lex.V2modelsIntentConfirmationSettingArgs{
    		Active: pulumi.Bool(false),
    		CodeHook: &lex.V2modelsIntentConfirmationSettingCodeHookArgs{
    			Active:                   pulumi.Bool(false),
    			EnableCodeHookInvocation: pulumi.Bool(false),
    			InvocationLabel:          pulumi.String("string"),
    			PostCodeHookSpecification: &lex.V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationArgs{
    				FailureConditional: &lex.V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureConditionalArgs{
    					Active: pulumi.Bool(false),
    					ConditionalBranches: lex.V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureConditionalConditionalBranchArray{
    						&lex.V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureConditionalConditionalBranchArgs{
    							Name: pulumi.String("string"),
    							Condition: &lex.V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureConditionalConditionalBranchConditionArgs{
    								ExpressionString: pulumi.String("string"),
    							},
    							NextStep: &lex.V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureConditionalConditionalBranchNextStepArgs{
    								DialogAction: &lex.V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureConditionalConditionalBranchNextStepDialogActionArgs{
    									Type:                pulumi.String("string"),
    									SlotToElicit:        pulumi.String("string"),
    									SuppressNextMessage: pulumi.Bool(false),
    								},
    								Intent: &lex.V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureConditionalConditionalBranchNextStepIntentArgs{
    									Name: pulumi.String("string"),
    									Slots: lex.V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureConditionalConditionalBranchNextStepIntentSlotArray{
    										&lex.V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureConditionalConditionalBranchNextStepIntentSlotArgs{
    											MapBlockKey: pulumi.String("string"),
    											Shape:       pulumi.String("string"),
    											Value: &lex.V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureConditionalConditionalBranchNextStepIntentSlotValueArgs{
    												InterpretedValue: pulumi.String("string"),
    											},
    										},
    									},
    								},
    								SessionAttributes: pulumi.StringMap{
    									"string": pulumi.String("string"),
    								},
    							},
    							Response: &lex.V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureConditionalConditionalBranchResponseArgs{
    								AllowInterrupt: pulumi.Bool(false),
    								MessageGroups: lex.V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureConditionalConditionalBranchResponseMessageGroupArray{
    									&lex.V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureConditionalConditionalBranchResponseMessageGroupArgs{
    										Message: &lex.V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureConditionalConditionalBranchResponseMessageGroupMessageArgs{
    											CustomPayload: &lex.V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureConditionalConditionalBranchResponseMessageGroupMessageCustomPayloadArgs{
    												Value: pulumi.String("string"),
    											},
    											ImageResponseCard: &lex.V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureConditionalConditionalBranchResponseMessageGroupMessageImageResponseCardArgs{
    												Title: pulumi.String("string"),
    												Buttons: lex.V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureConditionalConditionalBranchResponseMessageGroupMessageImageResponseCardButtonArray{
    													&lex.V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureConditionalConditionalBranchResponseMessageGroupMessageImageResponseCardButtonArgs{
    														Text:  pulumi.String("string"),
    														Value: pulumi.String("string"),
    													},
    												},
    												ImageUrl: pulumi.String("string"),
    												Subtitle: pulumi.String("string"),
    											},
    											PlainTextMessage: &lex.V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureConditionalConditionalBranchResponseMessageGroupMessagePlainTextMessageArgs{
    												Value: pulumi.String("string"),
    											},
    											SsmlMessage: &lex.V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureConditionalConditionalBranchResponseMessageGroupMessageSsmlMessageArgs{
    												Value: pulumi.String("string"),
    											},
    										},
    										Variations: lex.V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureConditionalConditionalBranchResponseMessageGroupVariationArray{
    											&lex.V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureConditionalConditionalBranchResponseMessageGroupVariationArgs{
    												CustomPayload: &lex.V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureConditionalConditionalBranchResponseMessageGroupVariationCustomPayloadArgs{
    													Value: pulumi.String("string"),
    												},
    												ImageResponseCard: &lex.V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureConditionalConditionalBranchResponseMessageGroupVariationImageResponseCardArgs{
    													Title: pulumi.String("string"),
    													Buttons: lex.V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureConditionalConditionalBranchResponseMessageGroupVariationImageResponseCardButtonArray{
    														&lex.V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureConditionalConditionalBranchResponseMessageGroupVariationImageResponseCardButtonArgs{
    															Text:  pulumi.String("string"),
    															Value: pulumi.String("string"),
    														},
    													},
    													ImageUrl: pulumi.String("string"),
    													Subtitle: pulumi.String("string"),
    												},
    												PlainTextMessage: &lex.V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureConditionalConditionalBranchResponseMessageGroupVariationPlainTextMessageArgs{
    													Value: pulumi.String("string"),
    												},
    												SsmlMessage: &lex.V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureConditionalConditionalBranchResponseMessageGroupVariationSsmlMessageArgs{
    													Value: pulumi.String("string"),
    												},
    											},
    										},
    									},
    								},
    							},
    						},
    					},
    					DefaultBranch: &lex.V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureConditionalDefaultBranchArgs{
    						NextStep: &lex.V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureConditionalDefaultBranchNextStepArgs{
    							DialogAction: &lex.V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureConditionalDefaultBranchNextStepDialogActionArgs{
    								Type:                pulumi.String("string"),
    								SlotToElicit:        pulumi.String("string"),
    								SuppressNextMessage: pulumi.Bool(false),
    							},
    							Intent: &lex.V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureConditionalDefaultBranchNextStepIntentArgs{
    								Name: pulumi.String("string"),
    								Slots: lex.V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureConditionalDefaultBranchNextStepIntentSlotArray{
    									&lex.V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureConditionalDefaultBranchNextStepIntentSlotArgs{
    										MapBlockKey: pulumi.String("string"),
    										Shape:       pulumi.String("string"),
    										Value: &lex.V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureConditionalDefaultBranchNextStepIntentSlotValueArgs{
    											InterpretedValue: pulumi.String("string"),
    										},
    									},
    								},
    							},
    							SessionAttributes: pulumi.StringMap{
    								"string": pulumi.String("string"),
    							},
    						},
    						Response: &lex.V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureConditionalDefaultBranchResponseArgs{
    							AllowInterrupt: pulumi.Bool(false),
    							MessageGroups: lex.V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureConditionalDefaultBranchResponseMessageGroupArray{
    								&lex.V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureConditionalDefaultBranchResponseMessageGroupArgs{
    									Message: &lex.V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureConditionalDefaultBranchResponseMessageGroupMessageArgs{
    										CustomPayload: &lex.V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureConditionalDefaultBranchResponseMessageGroupMessageCustomPayloadArgs{
    											Value: pulumi.String("string"),
    										},
    										ImageResponseCard: &lex.V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureConditionalDefaultBranchResponseMessageGroupMessageImageResponseCardArgs{
    											Title: pulumi.String("string"),
    											Buttons: lex.V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureConditionalDefaultBranchResponseMessageGroupMessageImageResponseCardButtonArray{
    												&lex.V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureConditionalDefaultBranchResponseMessageGroupMessageImageResponseCardButtonArgs{
    													Text:  pulumi.String("string"),
    													Value: pulumi.String("string"),
    												},
    											},
    											ImageUrl: pulumi.String("string"),
    											Subtitle: pulumi.String("string"),
    										},
    										PlainTextMessage: &lex.V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureConditionalDefaultBranchResponseMessageGroupMessagePlainTextMessageArgs{
    											Value: pulumi.String("string"),
    										},
    										SsmlMessage: &lex.V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureConditionalDefaultBranchResponseMessageGroupMessageSsmlMessageArgs{
    											Value: pulumi.String("string"),
    										},
    									},
    									Variations: lex.V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureConditionalDefaultBranchResponseMessageGroupVariationArray{
    										&lex.V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureConditionalDefaultBranchResponseMessageGroupVariationArgs{
    											CustomPayload: &lex.V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureConditionalDefaultBranchResponseMessageGroupVariationCustomPayloadArgs{
    												Value: pulumi.String("string"),
    											},
    											ImageResponseCard: &lex.V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureConditionalDefaultBranchResponseMessageGroupVariationImageResponseCardArgs{
    												Title: pulumi.String("string"),
    												Buttons: lex.V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureConditionalDefaultBranchResponseMessageGroupVariationImageResponseCardButtonArray{
    													&lex.V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureConditionalDefaultBranchResponseMessageGroupVariationImageResponseCardButtonArgs{
    														Text:  pulumi.String("string"),
    														Value: pulumi.String("string"),
    													},
    												},
    												ImageUrl: pulumi.String("string"),
    												Subtitle: pulumi.String("string"),
    											},
    											PlainTextMessage: &lex.V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureConditionalDefaultBranchResponseMessageGroupVariationPlainTextMessageArgs{
    												Value: pulumi.String("string"),
    											},
    											SsmlMessage: &lex.V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureConditionalDefaultBranchResponseMessageGroupVariationSsmlMessageArgs{
    												Value: pulumi.String("string"),
    											},
    										},
    									},
    								},
    							},
    						},
    					},
    				},
    				FailureNextStep: &lex.V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureNextStepArgs{
    					DialogAction: &lex.V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureNextStepDialogActionArgs{
    						Type:                pulumi.String("string"),
    						SlotToElicit:        pulumi.String("string"),
    						SuppressNextMessage: pulumi.Bool(false),
    					},
    					Intent: &lex.V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureNextStepIntentArgs{
    						Name: pulumi.String("string"),
    						Slots: lex.V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureNextStepIntentSlotArray{
    							&lex.V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureNextStepIntentSlotArgs{
    								MapBlockKey: pulumi.String("string"),
    								Shape:       pulumi.String("string"),
    								Value: &lex.V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureNextStepIntentSlotValueArgs{
    									InterpretedValue: pulumi.String("string"),
    								},
    							},
    						},
    					},
    					SessionAttributes: pulumi.StringMap{
    						"string": pulumi.String("string"),
    					},
    				},
    				FailureResponse: &lex.V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureResponseArgs{
    					AllowInterrupt: pulumi.Bool(false),
    					MessageGroups: lex.V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureResponseMessageGroupArray{
    						&lex.V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureResponseMessageGroupArgs{
    							Message: &lex.V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureResponseMessageGroupMessageArgs{
    								CustomPayload: &lex.V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureResponseMessageGroupMessageCustomPayloadArgs{
    									Value: pulumi.String("string"),
    								},
    								ImageResponseCard: &lex.V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureResponseMessageGroupMessageImageResponseCardArgs{
    									Title: pulumi.String("string"),
    									Buttons: lex.V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureResponseMessageGroupMessageImageResponseCardButtonArray{
    										&lex.V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureResponseMessageGroupMessageImageResponseCardButtonArgs{
    											Text:  pulumi.String("string"),
    											Value: pulumi.String("string"),
    										},
    									},
    									ImageUrl: pulumi.String("string"),
    									Subtitle: pulumi.String("string"),
    								},
    								PlainTextMessage: &lex.V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureResponseMessageGroupMessagePlainTextMessageArgs{
    									Value: pulumi.String("string"),
    								},
    								SsmlMessage: &lex.V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureResponseMessageGroupMessageSsmlMessageArgs{
    									Value: pulumi.String("string"),
    								},
    							},
    							Variations: lex.V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureResponseMessageGroupVariationArray{
    								&lex.V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureResponseMessageGroupVariationArgs{
    									CustomPayload: &lex.V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureResponseMessageGroupVariationCustomPayloadArgs{
    										Value: pulumi.String("string"),
    									},
    									ImageResponseCard: &lex.V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureResponseMessageGroupVariationImageResponseCardArgs{
    										Title: pulumi.String("string"),
    										Buttons: lex.V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureResponseMessageGroupVariationImageResponseCardButtonArray{
    											&lex.V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureResponseMessageGroupVariationImageResponseCardButtonArgs{
    												Text:  pulumi.String("string"),
    												Value: pulumi.String("string"),
    											},
    										},
    										ImageUrl: pulumi.String("string"),
    										Subtitle: pulumi.String("string"),
    									},
    									PlainTextMessage: &lex.V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureResponseMessageGroupVariationPlainTextMessageArgs{
    										Value: pulumi.String("string"),
    									},
    									SsmlMessage: &lex.V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureResponseMessageGroupVariationSsmlMessageArgs{
    										Value: pulumi.String("string"),
    									},
    								},
    							},
    						},
    					},
    				},
    				SuccessConditional: &lex.V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessConditionalArgs{
    					Active: pulumi.Bool(false),
    					ConditionalBranches: lex.V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessConditionalConditionalBranchArray{
    						&lex.V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessConditionalConditionalBranchArgs{
    							Name: pulumi.String("string"),
    							Condition: &lex.V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessConditionalConditionalBranchConditionArgs{
    								ExpressionString: pulumi.String("string"),
    							},
    							NextStep: &lex.V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessConditionalConditionalBranchNextStepArgs{
    								DialogAction: &lex.V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessConditionalConditionalBranchNextStepDialogActionArgs{
    									Type:                pulumi.String("string"),
    									SlotToElicit:        pulumi.String("string"),
    									SuppressNextMessage: pulumi.Bool(false),
    								},
    								Intent: &lex.V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessConditionalConditionalBranchNextStepIntentArgs{
    									Name: pulumi.String("string"),
    									Slots: lex.V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessConditionalConditionalBranchNextStepIntentSlotArray{
    										&lex.V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessConditionalConditionalBranchNextStepIntentSlotArgs{
    											MapBlockKey: pulumi.String("string"),
    											Shape:       pulumi.String("string"),
    											Value: &lex.V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessConditionalConditionalBranchNextStepIntentSlotValueArgs{
    												InterpretedValue: pulumi.String("string"),
    											},
    										},
    									},
    								},
    								SessionAttributes: pulumi.StringMap{
    									"string": pulumi.String("string"),
    								},
    							},
    							Response: &lex.V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessConditionalConditionalBranchResponseArgs{
    								AllowInterrupt: pulumi.Bool(false),
    								MessageGroups: lex.V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessConditionalConditionalBranchResponseMessageGroupArray{
    									&lex.V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessConditionalConditionalBranchResponseMessageGroupArgs{
    										Message: &lex.V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessConditionalConditionalBranchResponseMessageGroupMessageArgs{
    											CustomPayload: &lex.V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessConditionalConditionalBranchResponseMessageGroupMessageCustomPayloadArgs{
    												Value: pulumi.String("string"),
    											},
    											ImageResponseCard: &lex.V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessConditionalConditionalBranchResponseMessageGroupMessageImageResponseCardArgs{
    												Title: pulumi.String("string"),
    												Buttons: lex.V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessConditionalConditionalBranchResponseMessageGroupMessageImageResponseCardButtonArray{
    													&lex.V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessConditionalConditionalBranchResponseMessageGroupMessageImageResponseCardButtonArgs{
    														Text:  pulumi.String("string"),
    														Value: pulumi.String("string"),
    													},
    												},
    												ImageUrl: pulumi.String("string"),
    												Subtitle: pulumi.String("string"),
    											},
    											PlainTextMessage: &lex.V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessConditionalConditionalBranchResponseMessageGroupMessagePlainTextMessageArgs{
    												Value: pulumi.String("string"),
    											},
    											SsmlMessage: &lex.V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessConditionalConditionalBranchResponseMessageGroupMessageSsmlMessageArgs{
    												Value: pulumi.String("string"),
    											},
    										},
    										Variations: lex.V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessConditionalConditionalBranchResponseMessageGroupVariationArray{
    											&lex.V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessConditionalConditionalBranchResponseMessageGroupVariationArgs{
    												CustomPayload: &lex.V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessConditionalConditionalBranchResponseMessageGroupVariationCustomPayloadArgs{
    													Value: pulumi.String("string"),
    												},
    												ImageResponseCard: &lex.V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessConditionalConditionalBranchResponseMessageGroupVariationImageResponseCardArgs{
    													Title: pulumi.String("string"),
    													Buttons: lex.V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessConditionalConditionalBranchResponseMessageGroupVariationImageResponseCardButtonArray{
    														&lex.V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessConditionalConditionalBranchResponseMessageGroupVariationImageResponseCardButtonArgs{
    															Text:  pulumi.String("string"),
    															Value: pulumi.String("string"),
    														},
    													},
    													ImageUrl: pulumi.String("string"),
    													Subtitle: pulumi.String("string"),
    												},
    												PlainTextMessage: &lex.V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessConditionalConditionalBranchResponseMessageGroupVariationPlainTextMessageArgs{
    													Value: pulumi.String("string"),
    												},
    												SsmlMessage: &lex.V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessConditionalConditionalBranchResponseMessageGroupVariationSsmlMessageArgs{
    													Value: pulumi.String("string"),
    												},
    											},
    										},
    									},
    								},
    							},
    						},
    					},
    					DefaultBranch: &lex.V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessConditionalDefaultBranchArgs{
    						NextStep: &lex.V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessConditionalDefaultBranchNextStepArgs{
    							DialogAction: &lex.V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessConditionalDefaultBranchNextStepDialogActionArgs{
    								Type:                pulumi.String("string"),
    								SlotToElicit:        pulumi.String("string"),
    								SuppressNextMessage: pulumi.Bool(false),
    							},
    							Intent: &lex.V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessConditionalDefaultBranchNextStepIntentArgs{
    								Name: pulumi.String("string"),
    								Slots: lex.V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessConditionalDefaultBranchNextStepIntentSlotArray{
    									&lex.V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessConditionalDefaultBranchNextStepIntentSlotArgs{
    										MapBlockKey: pulumi.String("string"),
    										Shape:       pulumi.String("string"),
    										Value: &lex.V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessConditionalDefaultBranchNextStepIntentSlotValueArgs{
    											InterpretedValue: pulumi.String("string"),
    										},
    									},
    								},
    							},
    							SessionAttributes: pulumi.StringMap{
    								"string": pulumi.String("string"),
    							},
    						},
    						Response: &lex.V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessConditionalDefaultBranchResponseArgs{
    							AllowInterrupt: pulumi.Bool(false),
    							MessageGroups: lex.V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessConditionalDefaultBranchResponseMessageGroupArray{
    								&lex.V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessConditionalDefaultBranchResponseMessageGroupArgs{
    									Message: &lex.V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessConditionalDefaultBranchResponseMessageGroupMessageArgs{
    										CustomPayload: &lex.V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessConditionalDefaultBranchResponseMessageGroupMessageCustomPayloadArgs{
    											Value: pulumi.String("string"),
    										},
    										ImageResponseCard: &lex.V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessConditionalDefaultBranchResponseMessageGroupMessageImageResponseCardArgs{
    											Title: pulumi.String("string"),
    											Buttons: lex.V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessConditionalDefaultBranchResponseMessageGroupMessageImageResponseCardButtonArray{
    												&lex.V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessConditionalDefaultBranchResponseMessageGroupMessageImageResponseCardButtonArgs{
    													Text:  pulumi.String("string"),
    													Value: pulumi.String("string"),
    												},
    											},
    											ImageUrl: pulumi.String("string"),
    											Subtitle: pulumi.String("string"),
    										},
    										PlainTextMessage: &lex.V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessConditionalDefaultBranchResponseMessageGroupMessagePlainTextMessageArgs{
    											Value: pulumi.String("string"),
    										},
    										SsmlMessage: &lex.V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessConditionalDefaultBranchResponseMessageGroupMessageSsmlMessageArgs{
    											Value: pulumi.String("string"),
    										},
    									},
    									Variations: lex.V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessConditionalDefaultBranchResponseMessageGroupVariationArray{
    										&lex.V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessConditionalDefaultBranchResponseMessageGroupVariationArgs{
    											CustomPayload: &lex.V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessConditionalDefaultBranchResponseMessageGroupVariationCustomPayloadArgs{
    												Value: pulumi.String("string"),
    											},
    											ImageResponseCard: &lex.V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessConditionalDefaultBranchResponseMessageGroupVariationImageResponseCardArgs{
    												Title: pulumi.String("string"),
    												Buttons: lex.V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessConditionalDefaultBranchResponseMessageGroupVariationImageResponseCardButtonArray{
    													&lex.V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessConditionalDefaultBranchResponseMessageGroupVariationImageResponseCardButtonArgs{
    														Text:  pulumi.String("string"),
    														Value: pulumi.String("string"),
    													},
    												},
    												ImageUrl: pulumi.String("string"),
    												Subtitle: pulumi.String("string"),
    											},
    											PlainTextMessage: &lex.V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessConditionalDefaultBranchResponseMessageGroupVariationPlainTextMessageArgs{
    												Value: pulumi.String("string"),
    											},
    											SsmlMessage: &lex.V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessConditionalDefaultBranchResponseMessageGroupVariationSsmlMessageArgs{
    												Value: pulumi.String("string"),
    											},
    										},
    									},
    								},
    							},
    						},
    					},
    				},
    				SuccessNextStep: &lex.V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessNextStepArgs{
    					DialogAction: &lex.V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessNextStepDialogActionArgs{
    						Type:                pulumi.String("string"),
    						SlotToElicit:        pulumi.String("string"),
    						SuppressNextMessage: pulumi.Bool(false),
    					},
    					Intent: &lex.V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessNextStepIntentArgs{
    						Name: pulumi.String("string"),
    						Slots: lex.V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessNextStepIntentSlotArray{
    							&lex.V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessNextStepIntentSlotArgs{
    								MapBlockKey: pulumi.String("string"),
    								Shape:       pulumi.String("string"),
    								Value: &lex.V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessNextStepIntentSlotValueArgs{
    									InterpretedValue: pulumi.String("string"),
    								},
    							},
    						},
    					},
    					SessionAttributes: pulumi.StringMap{
    						"string": pulumi.String("string"),
    					},
    				},
    				SuccessResponse: &lex.V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessResponseArgs{
    					AllowInterrupt: pulumi.Bool(false),
    					MessageGroups: lex.V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessResponseMessageGroupArray{
    						&lex.V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessResponseMessageGroupArgs{
    							Message: &lex.V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessResponseMessageGroupMessageArgs{
    								CustomPayload: &lex.V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessResponseMessageGroupMessageCustomPayloadArgs{
    									Value: pulumi.String("string"),
    								},
    								ImageResponseCard: &lex.V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessResponseMessageGroupMessageImageResponseCardArgs{
    									Title: pulumi.String("string"),
    									Buttons: lex.V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessResponseMessageGroupMessageImageResponseCardButtonArray{
    										&lex.V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessResponseMessageGroupMessageImageResponseCardButtonArgs{
    											Text:  pulumi.String("string"),
    											Value: pulumi.String("string"),
    										},
    									},
    									ImageUrl: pulumi.String("string"),
    									Subtitle: pulumi.String("string"),
    								},
    								PlainTextMessage: &lex.V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessResponseMessageGroupMessagePlainTextMessageArgs{
    									Value: pulumi.String("string"),
    								},
    								SsmlMessage: &lex.V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessResponseMessageGroupMessageSsmlMessageArgs{
    									Value: pulumi.String("string"),
    								},
    							},
    							Variations: lex.V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessResponseMessageGroupVariationArray{
    								&lex.V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessResponseMessageGroupVariationArgs{
    									CustomPayload: &lex.V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessResponseMessageGroupVariationCustomPayloadArgs{
    										Value: pulumi.String("string"),
    									},
    									ImageResponseCard: &lex.V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessResponseMessageGroupVariationImageResponseCardArgs{
    										Title: pulumi.String("string"),
    										Buttons: lex.V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessResponseMessageGroupVariationImageResponseCardButtonArray{
    											&lex.V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessResponseMessageGroupVariationImageResponseCardButtonArgs{
    												Text:  pulumi.String("string"),
    												Value: pulumi.String("string"),
    											},
    										},
    										ImageUrl: pulumi.String("string"),
    										Subtitle: pulumi.String("string"),
    									},
    									PlainTextMessage: &lex.V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessResponseMessageGroupVariationPlainTextMessageArgs{
    										Value: pulumi.String("string"),
    									},
    									SsmlMessage: &lex.V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessResponseMessageGroupVariationSsmlMessageArgs{
    										Value: pulumi.String("string"),
    									},
    								},
    							},
    						},
    					},
    				},
    				TimeoutConditional: &lex.V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutConditionalArgs{
    					Active: pulumi.Bool(false),
    					ConditionalBranches: lex.V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutConditionalConditionalBranchArray{
    						&lex.V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutConditionalConditionalBranchArgs{
    							Name: pulumi.String("string"),
    							Condition: &lex.V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutConditionalConditionalBranchConditionArgs{
    								ExpressionString: pulumi.String("string"),
    							},
    							NextStep: &lex.V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutConditionalConditionalBranchNextStepArgs{
    								DialogAction: &lex.V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutConditionalConditionalBranchNextStepDialogActionArgs{
    									Type:                pulumi.String("string"),
    									SlotToElicit:        pulumi.String("string"),
    									SuppressNextMessage: pulumi.Bool(false),
    								},
    								Intent: &lex.V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutConditionalConditionalBranchNextStepIntentArgs{
    									Name: pulumi.String("string"),
    									Slots: lex.V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutConditionalConditionalBranchNextStepIntentSlotArray{
    										&lex.V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutConditionalConditionalBranchNextStepIntentSlotArgs{
    											MapBlockKey: pulumi.String("string"),
    											Shape:       pulumi.String("string"),
    											Value: &lex.V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutConditionalConditionalBranchNextStepIntentSlotValueArgs{
    												InterpretedValue: pulumi.String("string"),
    											},
    										},
    									},
    								},
    								SessionAttributes: pulumi.StringMap{
    									"string": pulumi.String("string"),
    								},
    							},
    							Response: &lex.V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutConditionalConditionalBranchResponseArgs{
    								AllowInterrupt: pulumi.Bool(false),
    								MessageGroups: lex.V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupArray{
    									&lex.V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupArgs{
    										Message: &lex.V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupMessageArgs{
    											CustomPayload: &lex.V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupMessageCustomPayloadArgs{
    												Value: pulumi.String("string"),
    											},
    											ImageResponseCard: &lex.V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupMessageImageResponseCardArgs{
    												Title: pulumi.String("string"),
    												Buttons: lex.V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupMessageImageResponseCardButtonArray{
    													&lex.V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupMessageImageResponseCardButtonArgs{
    														Text:  pulumi.String("string"),
    														Value: pulumi.String("string"),
    													},
    												},
    												ImageUrl: pulumi.String("string"),
    												Subtitle: pulumi.String("string"),
    											},
    											PlainTextMessage: &lex.V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupMessagePlainTextMessageArgs{
    												Value: pulumi.String("string"),
    											},
    											SsmlMessage: &lex.V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupMessageSsmlMessageArgs{
    												Value: pulumi.String("string"),
    											},
    										},
    										Variations: lex.V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupVariationArray{
    											&lex.V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupVariationArgs{
    												CustomPayload: &lex.V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupVariationCustomPayloadArgs{
    													Value: pulumi.String("string"),
    												},
    												ImageResponseCard: &lex.V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupVariationImageResponseCardArgs{
    													Title: pulumi.String("string"),
    													Buttons: lex.V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupVariationImageResponseCardButtonArray{
    														&lex.V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupVariationImageResponseCardButtonArgs{
    															Text:  pulumi.String("string"),
    															Value: pulumi.String("string"),
    														},
    													},
    													ImageUrl: pulumi.String("string"),
    													Subtitle: pulumi.String("string"),
    												},
    												PlainTextMessage: &lex.V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupVariationPlainTextMessageArgs{
    													Value: pulumi.String("string"),
    												},
    												SsmlMessage: &lex.V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupVariationSsmlMessageArgs{
    													Value: pulumi.String("string"),
    												},
    											},
    										},
    									},
    								},
    							},
    						},
    					},
    					DefaultBranch: &lex.V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutConditionalDefaultBranchArgs{
    						NextStep: &lex.V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutConditionalDefaultBranchNextStepArgs{
    							DialogAction: &lex.V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutConditionalDefaultBranchNextStepDialogActionArgs{
    								Type:                pulumi.String("string"),
    								SlotToElicit:        pulumi.String("string"),
    								SuppressNextMessage: pulumi.Bool(false),
    							},
    							Intent: &lex.V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutConditionalDefaultBranchNextStepIntentArgs{
    								Name: pulumi.String("string"),
    								Slots: lex.V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutConditionalDefaultBranchNextStepIntentSlotArray{
    									&lex.V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutConditionalDefaultBranchNextStepIntentSlotArgs{
    										MapBlockKey: pulumi.String("string"),
    										Shape:       pulumi.String("string"),
    										Value: &lex.V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutConditionalDefaultBranchNextStepIntentSlotValueArgs{
    											InterpretedValue: pulumi.String("string"),
    										},
    									},
    								},
    							},
    							SessionAttributes: pulumi.StringMap{
    								"string": pulumi.String("string"),
    							},
    						},
    						Response: &lex.V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutConditionalDefaultBranchResponseArgs{
    							AllowInterrupt: pulumi.Bool(false),
    							MessageGroups: lex.V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutConditionalDefaultBranchResponseMessageGroupArray{
    								&lex.V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutConditionalDefaultBranchResponseMessageGroupArgs{
    									Message: &lex.V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutConditionalDefaultBranchResponseMessageGroupMessageArgs{
    										CustomPayload: &lex.V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutConditionalDefaultBranchResponseMessageGroupMessageCustomPayloadArgs{
    											Value: pulumi.String("string"),
    										},
    										ImageResponseCard: &lex.V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutConditionalDefaultBranchResponseMessageGroupMessageImageResponseCardArgs{
    											Title: pulumi.String("string"),
    											Buttons: lex.V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutConditionalDefaultBranchResponseMessageGroupMessageImageResponseCardButtonArray{
    												&lex.V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutConditionalDefaultBranchResponseMessageGroupMessageImageResponseCardButtonArgs{
    													Text:  pulumi.String("string"),
    													Value: pulumi.String("string"),
    												},
    											},
    											ImageUrl: pulumi.String("string"),
    											Subtitle: pulumi.String("string"),
    										},
    										PlainTextMessage: &lex.V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutConditionalDefaultBranchResponseMessageGroupMessagePlainTextMessageArgs{
    											Value: pulumi.String("string"),
    										},
    										SsmlMessage: &lex.V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutConditionalDefaultBranchResponseMessageGroupMessageSsmlMessageArgs{
    											Value: pulumi.String("string"),
    										},
    									},
    									Variations: lex.V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutConditionalDefaultBranchResponseMessageGroupVariationArray{
    										&lex.V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutConditionalDefaultBranchResponseMessageGroupVariationArgs{
    											CustomPayload: &lex.V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutConditionalDefaultBranchResponseMessageGroupVariationCustomPayloadArgs{
    												Value: pulumi.String("string"),
    											},
    											ImageResponseCard: &lex.V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutConditionalDefaultBranchResponseMessageGroupVariationImageResponseCardArgs{
    												Title: pulumi.String("string"),
    												Buttons: lex.V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutConditionalDefaultBranchResponseMessageGroupVariationImageResponseCardButtonArray{
    													&lex.V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutConditionalDefaultBranchResponseMessageGroupVariationImageResponseCardButtonArgs{
    														Text:  pulumi.String("string"),
    														Value: pulumi.String("string"),
    													},
    												},
    												ImageUrl: pulumi.String("string"),
    												Subtitle: pulumi.String("string"),
    											},
    											PlainTextMessage: &lex.V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutConditionalDefaultBranchResponseMessageGroupVariationPlainTextMessageArgs{
    												Value: pulumi.String("string"),
    											},
    											SsmlMessage: &lex.V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutConditionalDefaultBranchResponseMessageGroupVariationSsmlMessageArgs{
    												Value: pulumi.String("string"),
    											},
    										},
    									},
    								},
    							},
    						},
    					},
    				},
    				TimeoutNextStep: &lex.V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutNextStepArgs{
    					DialogAction: &lex.V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutNextStepDialogActionArgs{
    						Type:                pulumi.String("string"),
    						SlotToElicit:        pulumi.String("string"),
    						SuppressNextMessage: pulumi.Bool(false),
    					},
    					Intent: &lex.V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutNextStepIntentArgs{
    						Name: pulumi.String("string"),
    						Slots: lex.V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutNextStepIntentSlotArray{
    							&lex.V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutNextStepIntentSlotArgs{
    								MapBlockKey: pulumi.String("string"),
    								Shape:       pulumi.String("string"),
    								Value: &lex.V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutNextStepIntentSlotValueArgs{
    									InterpretedValue: pulumi.String("string"),
    								},
    							},
    						},
    					},
    					SessionAttributes: pulumi.StringMap{
    						"string": pulumi.String("string"),
    					},
    				},
    				TimeoutResponse: &lex.V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutResponseArgs{
    					AllowInterrupt: pulumi.Bool(false),
    					MessageGroups: lex.V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutResponseMessageGroupArray{
    						&lex.V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutResponseMessageGroupArgs{
    							Message: &lex.V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutResponseMessageGroupMessageArgs{
    								CustomPayload: &lex.V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutResponseMessageGroupMessageCustomPayloadArgs{
    									Value: pulumi.String("string"),
    								},
    								ImageResponseCard: &lex.V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutResponseMessageGroupMessageImageResponseCardArgs{
    									Title: pulumi.String("string"),
    									Buttons: lex.V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutResponseMessageGroupMessageImageResponseCardButtonArray{
    										&lex.V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutResponseMessageGroupMessageImageResponseCardButtonArgs{
    											Text:  pulumi.String("string"),
    											Value: pulumi.String("string"),
    										},
    									},
    									ImageUrl: pulumi.String("string"),
    									Subtitle: pulumi.String("string"),
    								},
    								PlainTextMessage: &lex.V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutResponseMessageGroupMessagePlainTextMessageArgs{
    									Value: pulumi.String("string"),
    								},
    								SsmlMessage: &lex.V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutResponseMessageGroupMessageSsmlMessageArgs{
    									Value: pulumi.String("string"),
    								},
    							},
    							Variations: lex.V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutResponseMessageGroupVariationArray{
    								&lex.V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutResponseMessageGroupVariationArgs{
    									CustomPayload: &lex.V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutResponseMessageGroupVariationCustomPayloadArgs{
    										Value: pulumi.String("string"),
    									},
    									ImageResponseCard: &lex.V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutResponseMessageGroupVariationImageResponseCardArgs{
    										Title: pulumi.String("string"),
    										Buttons: lex.V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutResponseMessageGroupVariationImageResponseCardButtonArray{
    											&lex.V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutResponseMessageGroupVariationImageResponseCardButtonArgs{
    												Text:  pulumi.String("string"),
    												Value: pulumi.String("string"),
    											},
    										},
    										ImageUrl: pulumi.String("string"),
    										Subtitle: pulumi.String("string"),
    									},
    									PlainTextMessage: &lex.V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutResponseMessageGroupVariationPlainTextMessageArgs{
    										Value: pulumi.String("string"),
    									},
    									SsmlMessage: &lex.V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutResponseMessageGroupVariationSsmlMessageArgs{
    										Value: pulumi.String("string"),
    									},
    								},
    							},
    						},
    					},
    				},
    			},
    		},
    		ConfirmationConditional: &lex.V2modelsIntentConfirmationSettingConfirmationConditionalArgs{
    			Active: pulumi.Bool(false),
    			ConditionalBranches: lex.V2modelsIntentConfirmationSettingConfirmationConditionalConditionalBranchArray{
    				&lex.V2modelsIntentConfirmationSettingConfirmationConditionalConditionalBranchArgs{
    					Name: pulumi.String("string"),
    					Condition: &lex.V2modelsIntentConfirmationSettingConfirmationConditionalConditionalBranchConditionArgs{
    						ExpressionString: pulumi.String("string"),
    					},
    					NextStep: &lex.V2modelsIntentConfirmationSettingConfirmationConditionalConditionalBranchNextStepArgs{
    						DialogAction: &lex.V2modelsIntentConfirmationSettingConfirmationConditionalConditionalBranchNextStepDialogActionArgs{
    							Type:                pulumi.String("string"),
    							SlotToElicit:        pulumi.String("string"),
    							SuppressNextMessage: pulumi.Bool(false),
    						},
    						Intent: &lex.V2modelsIntentConfirmationSettingConfirmationConditionalConditionalBranchNextStepIntentArgs{
    							Name: pulumi.String("string"),
    							Slots: lex.V2modelsIntentConfirmationSettingConfirmationConditionalConditionalBranchNextStepIntentSlotArray{
    								&lex.V2modelsIntentConfirmationSettingConfirmationConditionalConditionalBranchNextStepIntentSlotArgs{
    									MapBlockKey: pulumi.String("string"),
    									Shape:       pulumi.String("string"),
    									Value: &lex.V2modelsIntentConfirmationSettingConfirmationConditionalConditionalBranchNextStepIntentSlotValueArgs{
    										InterpretedValue: pulumi.String("string"),
    									},
    								},
    							},
    						},
    						SessionAttributes: pulumi.StringMap{
    							"string": pulumi.String("string"),
    						},
    					},
    					Response: &lex.V2modelsIntentConfirmationSettingConfirmationConditionalConditionalBranchResponseArgs{
    						AllowInterrupt: pulumi.Bool(false),
    						MessageGroups: lex.V2modelsIntentConfirmationSettingConfirmationConditionalConditionalBranchResponseMessageGroupArray{
    							&lex.V2modelsIntentConfirmationSettingConfirmationConditionalConditionalBranchResponseMessageGroupArgs{
    								Message: &lex.V2modelsIntentConfirmationSettingConfirmationConditionalConditionalBranchResponseMessageGroupMessageArgs{
    									CustomPayload: &lex.V2modelsIntentConfirmationSettingConfirmationConditionalConditionalBranchResponseMessageGroupMessageCustomPayloadArgs{
    										Value: pulumi.String("string"),
    									},
    									ImageResponseCard: &lex.V2modelsIntentConfirmationSettingConfirmationConditionalConditionalBranchResponseMessageGroupMessageImageResponseCardArgs{
    										Title: pulumi.String("string"),
    										Buttons: lex.V2modelsIntentConfirmationSettingConfirmationConditionalConditionalBranchResponseMessageGroupMessageImageResponseCardButtonArray{
    											&lex.V2modelsIntentConfirmationSettingConfirmationConditionalConditionalBranchResponseMessageGroupMessageImageResponseCardButtonArgs{
    												Text:  pulumi.String("string"),
    												Value: pulumi.String("string"),
    											},
    										},
    										ImageUrl: pulumi.String("string"),
    										Subtitle: pulumi.String("string"),
    									},
    									PlainTextMessage: &lex.V2modelsIntentConfirmationSettingConfirmationConditionalConditionalBranchResponseMessageGroupMessagePlainTextMessageArgs{
    										Value: pulumi.String("string"),
    									},
    									SsmlMessage: &lex.V2modelsIntentConfirmationSettingConfirmationConditionalConditionalBranchResponseMessageGroupMessageSsmlMessageArgs{
    										Value: pulumi.String("string"),
    									},
    								},
    								Variations: lex.V2modelsIntentConfirmationSettingConfirmationConditionalConditionalBranchResponseMessageGroupVariationArray{
    									&lex.V2modelsIntentConfirmationSettingConfirmationConditionalConditionalBranchResponseMessageGroupVariationArgs{
    										CustomPayload: &lex.V2modelsIntentConfirmationSettingConfirmationConditionalConditionalBranchResponseMessageGroupVariationCustomPayloadArgs{
    											Value: pulumi.String("string"),
    										},
    										ImageResponseCard: &lex.V2modelsIntentConfirmationSettingConfirmationConditionalConditionalBranchResponseMessageGroupVariationImageResponseCardArgs{
    											Title: pulumi.String("string"),
    											Buttons: lex.V2modelsIntentConfirmationSettingConfirmationConditionalConditionalBranchResponseMessageGroupVariationImageResponseCardButtonArray{
    												&lex.V2modelsIntentConfirmationSettingConfirmationConditionalConditionalBranchResponseMessageGroupVariationImageResponseCardButtonArgs{
    													Text:  pulumi.String("string"),
    													Value: pulumi.String("string"),
    												},
    											},
    											ImageUrl: pulumi.String("string"),
    											Subtitle: pulumi.String("string"),
    										},
    										PlainTextMessage: &lex.V2modelsIntentConfirmationSettingConfirmationConditionalConditionalBranchResponseMessageGroupVariationPlainTextMessageArgs{
    											Value: pulumi.String("string"),
    										},
    										SsmlMessage: &lex.V2modelsIntentConfirmationSettingConfirmationConditionalConditionalBranchResponseMessageGroupVariationSsmlMessageArgs{
    											Value: pulumi.String("string"),
    										},
    									},
    								},
    							},
    						},
    					},
    				},
    			},
    			DefaultBranch: &lex.V2modelsIntentConfirmationSettingConfirmationConditionalDefaultBranchArgs{
    				NextStep: &lex.V2modelsIntentConfirmationSettingConfirmationConditionalDefaultBranchNextStepArgs{
    					DialogAction: &lex.V2modelsIntentConfirmationSettingConfirmationConditionalDefaultBranchNextStepDialogActionArgs{
    						Type:                pulumi.String("string"),
    						SlotToElicit:        pulumi.String("string"),
    						SuppressNextMessage: pulumi.Bool(false),
    					},
    					Intent: &lex.V2modelsIntentConfirmationSettingConfirmationConditionalDefaultBranchNextStepIntentArgs{
    						Name: pulumi.String("string"),
    						Slots: lex.V2modelsIntentConfirmationSettingConfirmationConditionalDefaultBranchNextStepIntentSlotArray{
    							&lex.V2modelsIntentConfirmationSettingConfirmationConditionalDefaultBranchNextStepIntentSlotArgs{
    								MapBlockKey: pulumi.String("string"),
    								Shape:       pulumi.String("string"),
    								Value: &lex.V2modelsIntentConfirmationSettingConfirmationConditionalDefaultBranchNextStepIntentSlotValueArgs{
    									InterpretedValue: pulumi.String("string"),
    								},
    							},
    						},
    					},
    					SessionAttributes: pulumi.StringMap{
    						"string": pulumi.String("string"),
    					},
    				},
    				Response: &lex.V2modelsIntentConfirmationSettingConfirmationConditionalDefaultBranchResponseArgs{
    					AllowInterrupt: pulumi.Bool(false),
    					MessageGroups: lex.V2modelsIntentConfirmationSettingConfirmationConditionalDefaultBranchResponseMessageGroupArray{
    						&lex.V2modelsIntentConfirmationSettingConfirmationConditionalDefaultBranchResponseMessageGroupArgs{
    							Message: &lex.V2modelsIntentConfirmationSettingConfirmationConditionalDefaultBranchResponseMessageGroupMessageArgs{
    								CustomPayload: &lex.V2modelsIntentConfirmationSettingConfirmationConditionalDefaultBranchResponseMessageGroupMessageCustomPayloadArgs{
    									Value: pulumi.String("string"),
    								},
    								ImageResponseCard: &lex.V2modelsIntentConfirmationSettingConfirmationConditionalDefaultBranchResponseMessageGroupMessageImageResponseCardArgs{
    									Title: pulumi.String("string"),
    									Buttons: lex.V2modelsIntentConfirmationSettingConfirmationConditionalDefaultBranchResponseMessageGroupMessageImageResponseCardButtonArray{
    										&lex.V2modelsIntentConfirmationSettingConfirmationConditionalDefaultBranchResponseMessageGroupMessageImageResponseCardButtonArgs{
    											Text:  pulumi.String("string"),
    											Value: pulumi.String("string"),
    										},
    									},
    									ImageUrl: pulumi.String("string"),
    									Subtitle: pulumi.String("string"),
    								},
    								PlainTextMessage: &lex.V2modelsIntentConfirmationSettingConfirmationConditionalDefaultBranchResponseMessageGroupMessagePlainTextMessageArgs{
    									Value: pulumi.String("string"),
    								},
    								SsmlMessage: &lex.V2modelsIntentConfirmationSettingConfirmationConditionalDefaultBranchResponseMessageGroupMessageSsmlMessageArgs{
    									Value: pulumi.String("string"),
    								},
    							},
    							Variations: lex.V2modelsIntentConfirmationSettingConfirmationConditionalDefaultBranchResponseMessageGroupVariationArray{
    								&lex.V2modelsIntentConfirmationSettingConfirmationConditionalDefaultBranchResponseMessageGroupVariationArgs{
    									CustomPayload: &lex.V2modelsIntentConfirmationSettingConfirmationConditionalDefaultBranchResponseMessageGroupVariationCustomPayloadArgs{
    										Value: pulumi.String("string"),
    									},
    									ImageResponseCard: &lex.V2modelsIntentConfirmationSettingConfirmationConditionalDefaultBranchResponseMessageGroupVariationImageResponseCardArgs{
    										Title: pulumi.String("string"),
    										Buttons: lex.V2modelsIntentConfirmationSettingConfirmationConditionalDefaultBranchResponseMessageGroupVariationImageResponseCardButtonArray{
    											&lex.V2modelsIntentConfirmationSettingConfirmationConditionalDefaultBranchResponseMessageGroupVariationImageResponseCardButtonArgs{
    												Text:  pulumi.String("string"),
    												Value: pulumi.String("string"),
    											},
    										},
    										ImageUrl: pulumi.String("string"),
    										Subtitle: pulumi.String("string"),
    									},
    									PlainTextMessage: &lex.V2modelsIntentConfirmationSettingConfirmationConditionalDefaultBranchResponseMessageGroupVariationPlainTextMessageArgs{
    										Value: pulumi.String("string"),
    									},
    									SsmlMessage: &lex.V2modelsIntentConfirmationSettingConfirmationConditionalDefaultBranchResponseMessageGroupVariationSsmlMessageArgs{
    										Value: pulumi.String("string"),
    									},
    								},
    							},
    						},
    					},
    				},
    			},
    		},
    		ConfirmationNextStep: &lex.V2modelsIntentConfirmationSettingConfirmationNextStepArgs{
    			DialogAction: &lex.V2modelsIntentConfirmationSettingConfirmationNextStepDialogActionArgs{
    				Type:                pulumi.String("string"),
    				SlotToElicit:        pulumi.String("string"),
    				SuppressNextMessage: pulumi.Bool(false),
    			},
    			Intent: &lex.V2modelsIntentConfirmationSettingConfirmationNextStepIntentArgs{
    				Name: pulumi.String("string"),
    				Slots: lex.V2modelsIntentConfirmationSettingConfirmationNextStepIntentSlotArray{
    					&lex.V2modelsIntentConfirmationSettingConfirmationNextStepIntentSlotArgs{
    						MapBlockKey: pulumi.String("string"),
    						Shape:       pulumi.String("string"),
    						Value: &lex.V2modelsIntentConfirmationSettingConfirmationNextStepIntentSlotValueArgs{
    							InterpretedValue: pulumi.String("string"),
    						},
    					},
    				},
    			},
    			SessionAttributes: pulumi.StringMap{
    				"string": pulumi.String("string"),
    			},
    		},
    		ConfirmationResponse: &lex.V2modelsIntentConfirmationSettingConfirmationResponseArgs{
    			AllowInterrupt: pulumi.Bool(false),
    			MessageGroups: lex.V2modelsIntentConfirmationSettingConfirmationResponseMessageGroupArray{
    				&lex.V2modelsIntentConfirmationSettingConfirmationResponseMessageGroupArgs{
    					Message: &lex.V2modelsIntentConfirmationSettingConfirmationResponseMessageGroupMessageArgs{
    						CustomPayload: &lex.V2modelsIntentConfirmationSettingConfirmationResponseMessageGroupMessageCustomPayloadArgs{
    							Value: pulumi.String("string"),
    						},
    						ImageResponseCard: &lex.V2modelsIntentConfirmationSettingConfirmationResponseMessageGroupMessageImageResponseCardArgs{
    							Title: pulumi.String("string"),
    							Buttons: lex.V2modelsIntentConfirmationSettingConfirmationResponseMessageGroupMessageImageResponseCardButtonArray{
    								&lex.V2modelsIntentConfirmationSettingConfirmationResponseMessageGroupMessageImageResponseCardButtonArgs{
    									Text:  pulumi.String("string"),
    									Value: pulumi.String("string"),
    								},
    							},
    							ImageUrl: pulumi.String("string"),
    							Subtitle: pulumi.String("string"),
    						},
    						PlainTextMessage: &lex.V2modelsIntentConfirmationSettingConfirmationResponseMessageGroupMessagePlainTextMessageArgs{
    							Value: pulumi.String("string"),
    						},
    						SsmlMessage: &lex.V2modelsIntentConfirmationSettingConfirmationResponseMessageGroupMessageSsmlMessageArgs{
    							Value: pulumi.String("string"),
    						},
    					},
    					Variations: lex.V2modelsIntentConfirmationSettingConfirmationResponseMessageGroupVariationArray{
    						&lex.V2modelsIntentConfirmationSettingConfirmationResponseMessageGroupVariationArgs{
    							CustomPayload: &lex.V2modelsIntentConfirmationSettingConfirmationResponseMessageGroupVariationCustomPayloadArgs{
    								Value: pulumi.String("string"),
    							},
    							ImageResponseCard: &lex.V2modelsIntentConfirmationSettingConfirmationResponseMessageGroupVariationImageResponseCardArgs{
    								Title: pulumi.String("string"),
    								Buttons: lex.V2modelsIntentConfirmationSettingConfirmationResponseMessageGroupVariationImageResponseCardButtonArray{
    									&lex.V2modelsIntentConfirmationSettingConfirmationResponseMessageGroupVariationImageResponseCardButtonArgs{
    										Text:  pulumi.String("string"),
    										Value: pulumi.String("string"),
    									},
    								},
    								ImageUrl: pulumi.String("string"),
    								Subtitle: pulumi.String("string"),
    							},
    							PlainTextMessage: &lex.V2modelsIntentConfirmationSettingConfirmationResponseMessageGroupVariationPlainTextMessageArgs{
    								Value: pulumi.String("string"),
    							},
    							SsmlMessage: &lex.V2modelsIntentConfirmationSettingConfirmationResponseMessageGroupVariationSsmlMessageArgs{
    								Value: pulumi.String("string"),
    							},
    						},
    					},
    				},
    			},
    		},
    		DeclinationConditional: &lex.V2modelsIntentConfirmationSettingDeclinationConditionalArgs{
    			Active: pulumi.Bool(false),
    			ConditionalBranches: lex.V2modelsIntentConfirmationSettingDeclinationConditionalConditionalBranchArray{
    				&lex.V2modelsIntentConfirmationSettingDeclinationConditionalConditionalBranchArgs{
    					Name: pulumi.String("string"),
    					Condition: &lex.V2modelsIntentConfirmationSettingDeclinationConditionalConditionalBranchConditionArgs{
    						ExpressionString: pulumi.String("string"),
    					},
    					NextStep: &lex.V2modelsIntentConfirmationSettingDeclinationConditionalConditionalBranchNextStepArgs{
    						DialogAction: &lex.V2modelsIntentConfirmationSettingDeclinationConditionalConditionalBranchNextStepDialogActionArgs{
    							Type:                pulumi.String("string"),
    							SlotToElicit:        pulumi.String("string"),
    							SuppressNextMessage: pulumi.Bool(false),
    						},
    						Intent: &lex.V2modelsIntentConfirmationSettingDeclinationConditionalConditionalBranchNextStepIntentArgs{
    							Name: pulumi.String("string"),
    							Slots: lex.V2modelsIntentConfirmationSettingDeclinationConditionalConditionalBranchNextStepIntentSlotArray{
    								&lex.V2modelsIntentConfirmationSettingDeclinationConditionalConditionalBranchNextStepIntentSlotArgs{
    									MapBlockKey: pulumi.String("string"),
    									Shape:       pulumi.String("string"),
    									Value: &lex.V2modelsIntentConfirmationSettingDeclinationConditionalConditionalBranchNextStepIntentSlotValueArgs{
    										InterpretedValue: pulumi.String("string"),
    									},
    								},
    							},
    						},
    						SessionAttributes: pulumi.StringMap{
    							"string": pulumi.String("string"),
    						},
    					},
    					Response: &lex.V2modelsIntentConfirmationSettingDeclinationConditionalConditionalBranchResponseArgs{
    						AllowInterrupt: pulumi.Bool(false),
    						MessageGroups: lex.V2modelsIntentConfirmationSettingDeclinationConditionalConditionalBranchResponseMessageGroupArray{
    							&lex.V2modelsIntentConfirmationSettingDeclinationConditionalConditionalBranchResponseMessageGroupArgs{
    								Message: &lex.V2modelsIntentConfirmationSettingDeclinationConditionalConditionalBranchResponseMessageGroupMessageArgs{
    									CustomPayload: &lex.V2modelsIntentConfirmationSettingDeclinationConditionalConditionalBranchResponseMessageGroupMessageCustomPayloadArgs{
    										Value: pulumi.String("string"),
    									},
    									ImageResponseCard: &lex.V2modelsIntentConfirmationSettingDeclinationConditionalConditionalBranchResponseMessageGroupMessageImageResponseCardArgs{
    										Title: pulumi.String("string"),
    										Buttons: lex.V2modelsIntentConfirmationSettingDeclinationConditionalConditionalBranchResponseMessageGroupMessageImageResponseCardButtonArray{
    											&lex.V2modelsIntentConfirmationSettingDeclinationConditionalConditionalBranchResponseMessageGroupMessageImageResponseCardButtonArgs{
    												Text:  pulumi.String("string"),
    												Value: pulumi.String("string"),
    											},
    										},
    										ImageUrl: pulumi.String("string"),
    										Subtitle: pulumi.String("string"),
    									},
    									PlainTextMessage: &lex.V2modelsIntentConfirmationSettingDeclinationConditionalConditionalBranchResponseMessageGroupMessagePlainTextMessageArgs{
    										Value: pulumi.String("string"),
    									},
    									SsmlMessage: &lex.V2modelsIntentConfirmationSettingDeclinationConditionalConditionalBranchResponseMessageGroupMessageSsmlMessageArgs{
    										Value: pulumi.String("string"),
    									},
    								},
    								Variations: lex.V2modelsIntentConfirmationSettingDeclinationConditionalConditionalBranchResponseMessageGroupVariationArray{
    									&lex.V2modelsIntentConfirmationSettingDeclinationConditionalConditionalBranchResponseMessageGroupVariationArgs{
    										CustomPayload: &lex.V2modelsIntentConfirmationSettingDeclinationConditionalConditionalBranchResponseMessageGroupVariationCustomPayloadArgs{
    											Value: pulumi.String("string"),
    										},
    										ImageResponseCard: &lex.V2modelsIntentConfirmationSettingDeclinationConditionalConditionalBranchResponseMessageGroupVariationImageResponseCardArgs{
    											Title: pulumi.String("string"),
    											Buttons: lex.V2modelsIntentConfirmationSettingDeclinationConditionalConditionalBranchResponseMessageGroupVariationImageResponseCardButtonArray{
    												&lex.V2modelsIntentConfirmationSettingDeclinationConditionalConditionalBranchResponseMessageGroupVariationImageResponseCardButtonArgs{
    													Text:  pulumi.String("string"),
    													Value: pulumi.String("string"),
    												},
    											},
    											ImageUrl: pulumi.String("string"),
    											Subtitle: pulumi.String("string"),
    										},
    										PlainTextMessage: &lex.V2modelsIntentConfirmationSettingDeclinationConditionalConditionalBranchResponseMessageGroupVariationPlainTextMessageArgs{
    											Value: pulumi.String("string"),
    										},
    										SsmlMessage: &lex.V2modelsIntentConfirmationSettingDeclinationConditionalConditionalBranchResponseMessageGroupVariationSsmlMessageArgs{
    											Value: pulumi.String("string"),
    										},
    									},
    								},
    							},
    						},
    					},
    				},
    			},
    			DefaultBranch: &lex.V2modelsIntentConfirmationSettingDeclinationConditionalDefaultBranchArgs{
    				NextStep: &lex.V2modelsIntentConfirmationSettingDeclinationConditionalDefaultBranchNextStepArgs{
    					DialogAction: &lex.V2modelsIntentConfirmationSettingDeclinationConditionalDefaultBranchNextStepDialogActionArgs{
    						Type:                pulumi.String("string"),
    						SlotToElicit:        pulumi.String("string"),
    						SuppressNextMessage: pulumi.Bool(false),
    					},
    					Intent: &lex.V2modelsIntentConfirmationSettingDeclinationConditionalDefaultBranchNextStepIntentArgs{
    						Name: pulumi.String("string"),
    						Slots: lex.V2modelsIntentConfirmationSettingDeclinationConditionalDefaultBranchNextStepIntentSlotArray{
    							&lex.V2modelsIntentConfirmationSettingDeclinationConditionalDefaultBranchNextStepIntentSlotArgs{
    								MapBlockKey: pulumi.String("string"),
    								Shape:       pulumi.String("string"),
    								Value: &lex.V2modelsIntentConfirmationSettingDeclinationConditionalDefaultBranchNextStepIntentSlotValueArgs{
    									InterpretedValue: pulumi.String("string"),
    								},
    							},
    						},
    					},
    					SessionAttributes: pulumi.StringMap{
    						"string": pulumi.String("string"),
    					},
    				},
    				Response: &lex.V2modelsIntentConfirmationSettingDeclinationConditionalDefaultBranchResponseArgs{
    					AllowInterrupt: pulumi.Bool(false),
    					MessageGroups: lex.V2modelsIntentConfirmationSettingDeclinationConditionalDefaultBranchResponseMessageGroupArray{
    						&lex.V2modelsIntentConfirmationSettingDeclinationConditionalDefaultBranchResponseMessageGroupArgs{
    							Message: &lex.V2modelsIntentConfirmationSettingDeclinationConditionalDefaultBranchResponseMessageGroupMessageArgs{
    								CustomPayload: &lex.V2modelsIntentConfirmationSettingDeclinationConditionalDefaultBranchResponseMessageGroupMessageCustomPayloadArgs{
    									Value: pulumi.String("string"),
    								},
    								ImageResponseCard: &lex.V2modelsIntentConfirmationSettingDeclinationConditionalDefaultBranchResponseMessageGroupMessageImageResponseCardArgs{
    									Title: pulumi.String("string"),
    									Buttons: lex.V2modelsIntentConfirmationSettingDeclinationConditionalDefaultBranchResponseMessageGroupMessageImageResponseCardButtonArray{
    										&lex.V2modelsIntentConfirmationSettingDeclinationConditionalDefaultBranchResponseMessageGroupMessageImageResponseCardButtonArgs{
    											Text:  pulumi.String("string"),
    											Value: pulumi.String("string"),
    										},
    									},
    									ImageUrl: pulumi.String("string"),
    									Subtitle: pulumi.String("string"),
    								},
    								PlainTextMessage: &lex.V2modelsIntentConfirmationSettingDeclinationConditionalDefaultBranchResponseMessageGroupMessagePlainTextMessageArgs{
    									Value: pulumi.String("string"),
    								},
    								SsmlMessage: &lex.V2modelsIntentConfirmationSettingDeclinationConditionalDefaultBranchResponseMessageGroupMessageSsmlMessageArgs{
    									Value: pulumi.String("string"),
    								},
    							},
    							Variations: lex.V2modelsIntentConfirmationSettingDeclinationConditionalDefaultBranchResponseMessageGroupVariationArray{
    								&lex.V2modelsIntentConfirmationSettingDeclinationConditionalDefaultBranchResponseMessageGroupVariationArgs{
    									CustomPayload: &lex.V2modelsIntentConfirmationSettingDeclinationConditionalDefaultBranchResponseMessageGroupVariationCustomPayloadArgs{
    										Value: pulumi.String("string"),
    									},
    									ImageResponseCard: &lex.V2modelsIntentConfirmationSettingDeclinationConditionalDefaultBranchResponseMessageGroupVariationImageResponseCardArgs{
    										Title: pulumi.String("string"),
    										Buttons: lex.V2modelsIntentConfirmationSettingDeclinationConditionalDefaultBranchResponseMessageGroupVariationImageResponseCardButtonArray{
    											&lex.V2modelsIntentConfirmationSettingDeclinationConditionalDefaultBranchResponseMessageGroupVariationImageResponseCardButtonArgs{
    												Text:  pulumi.String("string"),
    												Value: pulumi.String("string"),
    											},
    										},
    										ImageUrl: pulumi.String("string"),
    										Subtitle: pulumi.String("string"),
    									},
    									PlainTextMessage: &lex.V2modelsIntentConfirmationSettingDeclinationConditionalDefaultBranchResponseMessageGroupVariationPlainTextMessageArgs{
    										Value: pulumi.String("string"),
    									},
    									SsmlMessage: &lex.V2modelsIntentConfirmationSettingDeclinationConditionalDefaultBranchResponseMessageGroupVariationSsmlMessageArgs{
    										Value: pulumi.String("string"),
    									},
    								},
    							},
    						},
    					},
    				},
    			},
    		},
    		DeclinationNextStep: &lex.V2modelsIntentConfirmationSettingDeclinationNextStepArgs{
    			DialogAction: &lex.V2modelsIntentConfirmationSettingDeclinationNextStepDialogActionArgs{
    				Type:                pulumi.String("string"),
    				SlotToElicit:        pulumi.String("string"),
    				SuppressNextMessage: pulumi.Bool(false),
    			},
    			Intent: &lex.V2modelsIntentConfirmationSettingDeclinationNextStepIntentArgs{
    				Name: pulumi.String("string"),
    				Slots: lex.V2modelsIntentConfirmationSettingDeclinationNextStepIntentSlotArray{
    					&lex.V2modelsIntentConfirmationSettingDeclinationNextStepIntentSlotArgs{
    						MapBlockKey: pulumi.String("string"),
    						Shape:       pulumi.String("string"),
    						Value: &lex.V2modelsIntentConfirmationSettingDeclinationNextStepIntentSlotValueArgs{
    							InterpretedValue: pulumi.String("string"),
    						},
    					},
    				},
    			},
    			SessionAttributes: pulumi.StringMap{
    				"string": pulumi.String("string"),
    			},
    		},
    		DeclinationResponse: &lex.V2modelsIntentConfirmationSettingDeclinationResponseArgs{
    			AllowInterrupt: pulumi.Bool(false),
    			MessageGroups: lex.V2modelsIntentConfirmationSettingDeclinationResponseMessageGroupArray{
    				&lex.V2modelsIntentConfirmationSettingDeclinationResponseMessageGroupArgs{
    					Message: &lex.V2modelsIntentConfirmationSettingDeclinationResponseMessageGroupMessageArgs{
    						CustomPayload: &lex.V2modelsIntentConfirmationSettingDeclinationResponseMessageGroupMessageCustomPayloadArgs{
    							Value: pulumi.String("string"),
    						},
    						ImageResponseCard: &lex.V2modelsIntentConfirmationSettingDeclinationResponseMessageGroupMessageImageResponseCardArgs{
    							Title: pulumi.String("string"),
    							Buttons: lex.V2modelsIntentConfirmationSettingDeclinationResponseMessageGroupMessageImageResponseCardButtonArray{
    								&lex.V2modelsIntentConfirmationSettingDeclinationResponseMessageGroupMessageImageResponseCardButtonArgs{
    									Text:  pulumi.String("string"),
    									Value: pulumi.String("string"),
    								},
    							},
    							ImageUrl: pulumi.String("string"),
    							Subtitle: pulumi.String("string"),
    						},
    						PlainTextMessage: &lex.V2modelsIntentConfirmationSettingDeclinationResponseMessageGroupMessagePlainTextMessageArgs{
    							Value: pulumi.String("string"),
    						},
    						SsmlMessage: &lex.V2modelsIntentConfirmationSettingDeclinationResponseMessageGroupMessageSsmlMessageArgs{
    							Value: pulumi.String("string"),
    						},
    					},
    					Variations: lex.V2modelsIntentConfirmationSettingDeclinationResponseMessageGroupVariationArray{
    						&lex.V2modelsIntentConfirmationSettingDeclinationResponseMessageGroupVariationArgs{
    							CustomPayload: &lex.V2modelsIntentConfirmationSettingDeclinationResponseMessageGroupVariationCustomPayloadArgs{
    								Value: pulumi.String("string"),
    							},
    							ImageResponseCard: &lex.V2modelsIntentConfirmationSettingDeclinationResponseMessageGroupVariationImageResponseCardArgs{
    								Title: pulumi.String("string"),
    								Buttons: lex.V2modelsIntentConfirmationSettingDeclinationResponseMessageGroupVariationImageResponseCardButtonArray{
    									&lex.V2modelsIntentConfirmationSettingDeclinationResponseMessageGroupVariationImageResponseCardButtonArgs{
    										Text:  pulumi.String("string"),
    										Value: pulumi.String("string"),
    									},
    								},
    								ImageUrl: pulumi.String("string"),
    								Subtitle: pulumi.String("string"),
    							},
    							PlainTextMessage: &lex.V2modelsIntentConfirmationSettingDeclinationResponseMessageGroupVariationPlainTextMessageArgs{
    								Value: pulumi.String("string"),
    							},
    							SsmlMessage: &lex.V2modelsIntentConfirmationSettingDeclinationResponseMessageGroupVariationSsmlMessageArgs{
    								Value: pulumi.String("string"),
    							},
    						},
    					},
    				},
    			},
    		},
    		ElicitationCodeHook: &lex.V2modelsIntentConfirmationSettingElicitationCodeHookArgs{
    			EnableCodeHookInvocation: pulumi.Bool(false),
    			InvocationLabel:          pulumi.String("string"),
    		},
    		FailureConditional: &lex.V2modelsIntentConfirmationSettingFailureConditionalArgs{
    			Active: pulumi.Bool(false),
    			ConditionalBranches: lex.V2modelsIntentConfirmationSettingFailureConditionalConditionalBranchArray{
    				&lex.V2modelsIntentConfirmationSettingFailureConditionalConditionalBranchArgs{
    					Name: pulumi.String("string"),
    					Condition: &lex.V2modelsIntentConfirmationSettingFailureConditionalConditionalBranchConditionArgs{
    						ExpressionString: pulumi.String("string"),
    					},
    					NextStep: &lex.V2modelsIntentConfirmationSettingFailureConditionalConditionalBranchNextStepArgs{
    						DialogAction: &lex.V2modelsIntentConfirmationSettingFailureConditionalConditionalBranchNextStepDialogActionArgs{
    							Type:                pulumi.String("string"),
    							SlotToElicit:        pulumi.String("string"),
    							SuppressNextMessage: pulumi.Bool(false),
    						},
    						Intent: &lex.V2modelsIntentConfirmationSettingFailureConditionalConditionalBranchNextStepIntentArgs{
    							Name: pulumi.String("string"),
    							Slots: lex.V2modelsIntentConfirmationSettingFailureConditionalConditionalBranchNextStepIntentSlotArray{
    								&lex.V2modelsIntentConfirmationSettingFailureConditionalConditionalBranchNextStepIntentSlotArgs{
    									MapBlockKey: pulumi.String("string"),
    									Shape:       pulumi.String("string"),
    									Value: &lex.V2modelsIntentConfirmationSettingFailureConditionalConditionalBranchNextStepIntentSlotValueArgs{
    										InterpretedValue: pulumi.String("string"),
    									},
    								},
    							},
    						},
    						SessionAttributes: pulumi.StringMap{
    							"string": pulumi.String("string"),
    						},
    					},
    					Response: &lex.V2modelsIntentConfirmationSettingFailureConditionalConditionalBranchResponseArgs{
    						AllowInterrupt: pulumi.Bool(false),
    						MessageGroups: lex.V2modelsIntentConfirmationSettingFailureConditionalConditionalBranchResponseMessageGroupArray{
    							&lex.V2modelsIntentConfirmationSettingFailureConditionalConditionalBranchResponseMessageGroupArgs{
    								Message: &lex.V2modelsIntentConfirmationSettingFailureConditionalConditionalBranchResponseMessageGroupMessageArgs{
    									CustomPayload: &lex.V2modelsIntentConfirmationSettingFailureConditionalConditionalBranchResponseMessageGroupMessageCustomPayloadArgs{
    										Value: pulumi.String("string"),
    									},
    									ImageResponseCard: &lex.V2modelsIntentConfirmationSettingFailureConditionalConditionalBranchResponseMessageGroupMessageImageResponseCardArgs{
    										Title: pulumi.String("string"),
    										Buttons: lex.V2modelsIntentConfirmationSettingFailureConditionalConditionalBranchResponseMessageGroupMessageImageResponseCardButtonArray{
    											&lex.V2modelsIntentConfirmationSettingFailureConditionalConditionalBranchResponseMessageGroupMessageImageResponseCardButtonArgs{
    												Text:  pulumi.String("string"),
    												Value: pulumi.String("string"),
    											},
    										},
    										ImageUrl: pulumi.String("string"),
    										Subtitle: pulumi.String("string"),
    									},
    									PlainTextMessage: &lex.V2modelsIntentConfirmationSettingFailureConditionalConditionalBranchResponseMessageGroupMessagePlainTextMessageArgs{
    										Value: pulumi.String("string"),
    									},
    									SsmlMessage: &lex.V2modelsIntentConfirmationSettingFailureConditionalConditionalBranchResponseMessageGroupMessageSsmlMessageArgs{
    										Value: pulumi.String("string"),
    									},
    								},
    								Variations: lex.V2modelsIntentConfirmationSettingFailureConditionalConditionalBranchResponseMessageGroupVariationArray{
    									&lex.V2modelsIntentConfirmationSettingFailureConditionalConditionalBranchResponseMessageGroupVariationArgs{
    										CustomPayload: &lex.V2modelsIntentConfirmationSettingFailureConditionalConditionalBranchResponseMessageGroupVariationCustomPayloadArgs{
    											Value: pulumi.String("string"),
    										},
    										ImageResponseCard: &lex.V2modelsIntentConfirmationSettingFailureConditionalConditionalBranchResponseMessageGroupVariationImageResponseCardArgs{
    											Title: pulumi.String("string"),
    											Buttons: lex.V2modelsIntentConfirmationSettingFailureConditionalConditionalBranchResponseMessageGroupVariationImageResponseCardButtonArray{
    												&lex.V2modelsIntentConfirmationSettingFailureConditionalConditionalBranchResponseMessageGroupVariationImageResponseCardButtonArgs{
    													Text:  pulumi.String("string"),
    													Value: pulumi.String("string"),
    												},
    											},
    											ImageUrl: pulumi.String("string"),
    											Subtitle: pulumi.String("string"),
    										},
    										PlainTextMessage: &lex.V2modelsIntentConfirmationSettingFailureConditionalConditionalBranchResponseMessageGroupVariationPlainTextMessageArgs{
    											Value: pulumi.String("string"),
    										},
    										SsmlMessage: &lex.V2modelsIntentConfirmationSettingFailureConditionalConditionalBranchResponseMessageGroupVariationSsmlMessageArgs{
    											Value: pulumi.String("string"),
    										},
    									},
    								},
    							},
    						},
    					},
    				},
    			},
    			DefaultBranch: &lex.V2modelsIntentConfirmationSettingFailureConditionalDefaultBranchArgs{
    				NextStep: &lex.V2modelsIntentConfirmationSettingFailureConditionalDefaultBranchNextStepArgs{
    					DialogAction: &lex.V2modelsIntentConfirmationSettingFailureConditionalDefaultBranchNextStepDialogActionArgs{
    						Type:                pulumi.String("string"),
    						SlotToElicit:        pulumi.String("string"),
    						SuppressNextMessage: pulumi.Bool(false),
    					},
    					Intent: &lex.V2modelsIntentConfirmationSettingFailureConditionalDefaultBranchNextStepIntentArgs{
    						Name: pulumi.String("string"),
    						Slots: lex.V2modelsIntentConfirmationSettingFailureConditionalDefaultBranchNextStepIntentSlotArray{
    							&lex.V2modelsIntentConfirmationSettingFailureConditionalDefaultBranchNextStepIntentSlotArgs{
    								MapBlockKey: pulumi.String("string"),
    								Shape:       pulumi.String("string"),
    								Value: &lex.V2modelsIntentConfirmationSettingFailureConditionalDefaultBranchNextStepIntentSlotValueArgs{
    									InterpretedValue: pulumi.String("string"),
    								},
    							},
    						},
    					},
    					SessionAttributes: pulumi.StringMap{
    						"string": pulumi.String("string"),
    					},
    				},
    				Response: &lex.V2modelsIntentConfirmationSettingFailureConditionalDefaultBranchResponseArgs{
    					AllowInterrupt: pulumi.Bool(false),
    					MessageGroups: lex.V2modelsIntentConfirmationSettingFailureConditionalDefaultBranchResponseMessageGroupArray{
    						&lex.V2modelsIntentConfirmationSettingFailureConditionalDefaultBranchResponseMessageGroupArgs{
    							Message: &lex.V2modelsIntentConfirmationSettingFailureConditionalDefaultBranchResponseMessageGroupMessageArgs{
    								CustomPayload: &lex.V2modelsIntentConfirmationSettingFailureConditionalDefaultBranchResponseMessageGroupMessageCustomPayloadArgs{
    									Value: pulumi.String("string"),
    								},
    								ImageResponseCard: &lex.V2modelsIntentConfirmationSettingFailureConditionalDefaultBranchResponseMessageGroupMessageImageResponseCardArgs{
    									Title: pulumi.String("string"),
    									Buttons: lex.V2modelsIntentConfirmationSettingFailureConditionalDefaultBranchResponseMessageGroupMessageImageResponseCardButtonArray{
    										&lex.V2modelsIntentConfirmationSettingFailureConditionalDefaultBranchResponseMessageGroupMessageImageResponseCardButtonArgs{
    											Text:  pulumi.String("string"),
    											Value: pulumi.String("string"),
    										},
    									},
    									ImageUrl: pulumi.String("string"),
    									Subtitle: pulumi.String("string"),
    								},
    								PlainTextMessage: &lex.V2modelsIntentConfirmationSettingFailureConditionalDefaultBranchResponseMessageGroupMessagePlainTextMessageArgs{
    									Value: pulumi.String("string"),
    								},
    								SsmlMessage: &lex.V2modelsIntentConfirmationSettingFailureConditionalDefaultBranchResponseMessageGroupMessageSsmlMessageArgs{
    									Value: pulumi.String("string"),
    								},
    							},
    							Variations: lex.V2modelsIntentConfirmationSettingFailureConditionalDefaultBranchResponseMessageGroupVariationArray{
    								&lex.V2modelsIntentConfirmationSettingFailureConditionalDefaultBranchResponseMessageGroupVariationArgs{
    									CustomPayload: &lex.V2modelsIntentConfirmationSettingFailureConditionalDefaultBranchResponseMessageGroupVariationCustomPayloadArgs{
    										Value: pulumi.String("string"),
    									},
    									ImageResponseCard: &lex.V2modelsIntentConfirmationSettingFailureConditionalDefaultBranchResponseMessageGroupVariationImageResponseCardArgs{
    										Title: pulumi.String("string"),
    										Buttons: lex.V2modelsIntentConfirmationSettingFailureConditionalDefaultBranchResponseMessageGroupVariationImageResponseCardButtonArray{
    											&lex.V2modelsIntentConfirmationSettingFailureConditionalDefaultBranchResponseMessageGroupVariationImageResponseCardButtonArgs{
    												Text:  pulumi.String("string"),
    												Value: pulumi.String("string"),
    											},
    										},
    										ImageUrl: pulumi.String("string"),
    										Subtitle: pulumi.String("string"),
    									},
    									PlainTextMessage: &lex.V2modelsIntentConfirmationSettingFailureConditionalDefaultBranchResponseMessageGroupVariationPlainTextMessageArgs{
    										Value: pulumi.String("string"),
    									},
    									SsmlMessage: &lex.V2modelsIntentConfirmationSettingFailureConditionalDefaultBranchResponseMessageGroupVariationSsmlMessageArgs{
    										Value: pulumi.String("string"),
    									},
    								},
    							},
    						},
    					},
    				},
    			},
    		},
    		FailureNextStep: &lex.V2modelsIntentConfirmationSettingFailureNextStepArgs{
    			DialogAction: &lex.V2modelsIntentConfirmationSettingFailureNextStepDialogActionArgs{
    				Type:                pulumi.String("string"),
    				SlotToElicit:        pulumi.String("string"),
    				SuppressNextMessage: pulumi.Bool(false),
    			},
    			Intent: &lex.V2modelsIntentConfirmationSettingFailureNextStepIntentArgs{
    				Name: pulumi.String("string"),
    				Slots: lex.V2modelsIntentConfirmationSettingFailureNextStepIntentSlotArray{
    					&lex.V2modelsIntentConfirmationSettingFailureNextStepIntentSlotArgs{
    						MapBlockKey: pulumi.String("string"),
    						Shape:       pulumi.String("string"),
    						Value: &lex.V2modelsIntentConfirmationSettingFailureNextStepIntentSlotValueArgs{
    							InterpretedValue: pulumi.String("string"),
    						},
    					},
    				},
    			},
    			SessionAttributes: pulumi.StringMap{
    				"string": pulumi.String("string"),
    			},
    		},
    		FailureResponse: &lex.V2modelsIntentConfirmationSettingFailureResponseArgs{
    			AllowInterrupt: pulumi.Bool(false),
    			MessageGroups: lex.V2modelsIntentConfirmationSettingFailureResponseMessageGroupArray{
    				&lex.V2modelsIntentConfirmationSettingFailureResponseMessageGroupArgs{
    					Message: &lex.V2modelsIntentConfirmationSettingFailureResponseMessageGroupMessageArgs{
    						CustomPayload: &lex.V2modelsIntentConfirmationSettingFailureResponseMessageGroupMessageCustomPayloadArgs{
    							Value: pulumi.String("string"),
    						},
    						ImageResponseCard: &lex.V2modelsIntentConfirmationSettingFailureResponseMessageGroupMessageImageResponseCardArgs{
    							Title: pulumi.String("string"),
    							Buttons: lex.V2modelsIntentConfirmationSettingFailureResponseMessageGroupMessageImageResponseCardButtonArray{
    								&lex.V2modelsIntentConfirmationSettingFailureResponseMessageGroupMessageImageResponseCardButtonArgs{
    									Text:  pulumi.String("string"),
    									Value: pulumi.String("string"),
    								},
    							},
    							ImageUrl: pulumi.String("string"),
    							Subtitle: pulumi.String("string"),
    						},
    						PlainTextMessage: &lex.V2modelsIntentConfirmationSettingFailureResponseMessageGroupMessagePlainTextMessageArgs{
    							Value: pulumi.String("string"),
    						},
    						SsmlMessage: &lex.V2modelsIntentConfirmationSettingFailureResponseMessageGroupMessageSsmlMessageArgs{
    							Value: pulumi.String("string"),
    						},
    					},
    					Variations: lex.V2modelsIntentConfirmationSettingFailureResponseMessageGroupVariationArray{
    						&lex.V2modelsIntentConfirmationSettingFailureResponseMessageGroupVariationArgs{
    							CustomPayload: &lex.V2modelsIntentConfirmationSettingFailureResponseMessageGroupVariationCustomPayloadArgs{
    								Value: pulumi.String("string"),
    							},
    							ImageResponseCard: &lex.V2modelsIntentConfirmationSettingFailureResponseMessageGroupVariationImageResponseCardArgs{
    								Title: pulumi.String("string"),
    								Buttons: lex.V2modelsIntentConfirmationSettingFailureResponseMessageGroupVariationImageResponseCardButtonArray{
    									&lex.V2modelsIntentConfirmationSettingFailureResponseMessageGroupVariationImageResponseCardButtonArgs{
    										Text:  pulumi.String("string"),
    										Value: pulumi.String("string"),
    									},
    								},
    								ImageUrl: pulumi.String("string"),
    								Subtitle: pulumi.String("string"),
    							},
    							PlainTextMessage: &lex.V2modelsIntentConfirmationSettingFailureResponseMessageGroupVariationPlainTextMessageArgs{
    								Value: pulumi.String("string"),
    							},
    							SsmlMessage: &lex.V2modelsIntentConfirmationSettingFailureResponseMessageGroupVariationSsmlMessageArgs{
    								Value: pulumi.String("string"),
    							},
    						},
    					},
    				},
    			},
    		},
    		PromptSpecification: &lex.V2modelsIntentConfirmationSettingPromptSpecificationArgs{
    			MaxRetries:     pulumi.Int(0),
    			AllowInterrupt: pulumi.Bool(false),
    			MessageGroups: lex.V2modelsIntentConfirmationSettingPromptSpecificationMessageGroupArray{
    				&lex.V2modelsIntentConfirmationSettingPromptSpecificationMessageGroupArgs{
    					Message: &lex.V2modelsIntentConfirmationSettingPromptSpecificationMessageGroupMessageArgs{
    						CustomPayload: &lex.V2modelsIntentConfirmationSettingPromptSpecificationMessageGroupMessageCustomPayloadArgs{
    							Value: pulumi.String("string"),
    						},
    						ImageResponseCard: &lex.V2modelsIntentConfirmationSettingPromptSpecificationMessageGroupMessageImageResponseCardArgs{
    							Title: pulumi.String("string"),
    							Buttons: lex.V2modelsIntentConfirmationSettingPromptSpecificationMessageGroupMessageImageResponseCardButtonArray{
    								&lex.V2modelsIntentConfirmationSettingPromptSpecificationMessageGroupMessageImageResponseCardButtonArgs{
    									Text:  pulumi.String("string"),
    									Value: pulumi.String("string"),
    								},
    							},
    							ImageUrl: pulumi.String("string"),
    							Subtitle: pulumi.String("string"),
    						},
    						PlainTextMessage: &lex.V2modelsIntentConfirmationSettingPromptSpecificationMessageGroupMessagePlainTextMessageArgs{
    							Value: pulumi.String("string"),
    						},
    						SsmlMessage: &lex.V2modelsIntentConfirmationSettingPromptSpecificationMessageGroupMessageSsmlMessageArgs{
    							Value: pulumi.String("string"),
    						},
    					},
    					Variations: lex.V2modelsIntentConfirmationSettingPromptSpecificationMessageGroupVariationArray{
    						&lex.V2modelsIntentConfirmationSettingPromptSpecificationMessageGroupVariationArgs{
    							CustomPayload: &lex.V2modelsIntentConfirmationSettingPromptSpecificationMessageGroupVariationCustomPayloadArgs{
    								Value: pulumi.String("string"),
    							},
    							ImageResponseCard: &lex.V2modelsIntentConfirmationSettingPromptSpecificationMessageGroupVariationImageResponseCardArgs{
    								Title: pulumi.String("string"),
    								Buttons: lex.V2modelsIntentConfirmationSettingPromptSpecificationMessageGroupVariationImageResponseCardButtonArray{
    									&lex.V2modelsIntentConfirmationSettingPromptSpecificationMessageGroupVariationImageResponseCardButtonArgs{
    										Text:  pulumi.String("string"),
    										Value: pulumi.String("string"),
    									},
    								},
    								ImageUrl: pulumi.String("string"),
    								Subtitle: pulumi.String("string"),
    							},
    							PlainTextMessage: &lex.V2modelsIntentConfirmationSettingPromptSpecificationMessageGroupVariationPlainTextMessageArgs{
    								Value: pulumi.String("string"),
    							},
    							SsmlMessage: &lex.V2modelsIntentConfirmationSettingPromptSpecificationMessageGroupVariationSsmlMessageArgs{
    								Value: pulumi.String("string"),
    							},
    						},
    					},
    				},
    			},
    			MessageSelectionStrategy: pulumi.String("string"),
    			PromptAttemptsSpecifications: lex.V2modelsIntentConfirmationSettingPromptSpecificationPromptAttemptsSpecificationArray{
    				&lex.V2modelsIntentConfirmationSettingPromptSpecificationPromptAttemptsSpecificationArgs{
    					MapBlockKey:    pulumi.String("string"),
    					AllowInterrupt: pulumi.Bool(false),
    					AllowedInputTypes: &lex.V2modelsIntentConfirmationSettingPromptSpecificationPromptAttemptsSpecificationAllowedInputTypesArgs{
    						AllowAudioInput: pulumi.Bool(false),
    						AllowDtmfInput:  pulumi.Bool(false),
    					},
    					AudioAndDtmfInputSpecification: &lex.V2modelsIntentConfirmationSettingPromptSpecificationPromptAttemptsSpecificationAudioAndDtmfInputSpecificationArgs{
    						StartTimeoutMs: pulumi.Int(0),
    						AudioSpecification: &lex.V2modelsIntentConfirmationSettingPromptSpecificationPromptAttemptsSpecificationAudioAndDtmfInputSpecificationAudioSpecificationArgs{
    							EndTimeoutMs: pulumi.Int(0),
    							MaxLengthMs:  pulumi.Int(0),
    						},
    						DtmfSpecification: &lex.V2modelsIntentConfirmationSettingPromptSpecificationPromptAttemptsSpecificationAudioAndDtmfInputSpecificationDtmfSpecificationArgs{
    							DeletionCharacter: pulumi.String("string"),
    							EndCharacter:      pulumi.String("string"),
    							EndTimeoutMs:      pulumi.Int(0),
    							MaxLength:         pulumi.Int(0),
    						},
    					},
    					TextInputSpecification: &lex.V2modelsIntentConfirmationSettingPromptSpecificationPromptAttemptsSpecificationTextInputSpecificationArgs{
    						StartTimeoutMs: pulumi.Int(0),
    					},
    				},
    			},
    		},
    	},
    	KendraConfiguration: &lex.V2modelsIntentKendraConfigurationArgs{
    		KendraIndex:              pulumi.String("string"),
    		QueryFilterString:        pulumi.String("string"),
    		QueryFilterStringEnabled: pulumi.Bool(false),
    	},
    	Description: pulumi.String("string"),
    	Name:        pulumi.String("string"),
    	OutputContexts: lex.V2modelsIntentOutputContextArray{
    		&lex.V2modelsIntentOutputContextArgs{
    			Name:                pulumi.String("string"),
    			TimeToLiveInSeconds: pulumi.Int(0),
    			TurnsToLive:         pulumi.Int(0),
    		},
    	},
    	ParentIntentSignature: pulumi.String("string"),
    	QnaIntentConfiguration: &lex.V2modelsIntentQnaIntentConfigurationArgs{
    		BedrockModelConfiguration: &lex.V2modelsIntentQnaIntentConfigurationBedrockModelConfigurationArgs{
    			ModelArn:     pulumi.String("string"),
    			CustomPrompt: pulumi.String("string"),
    			Guardrail: &lex.V2modelsIntentQnaIntentConfigurationBedrockModelConfigurationGuardrailArgs{
    				Identifier: pulumi.String("string"),
    				Version:    pulumi.String("string"),
    			},
    			TraceStatus: pulumi.String("string"),
    		},
    		DataSourceConfiguration: &lex.V2modelsIntentQnaIntentConfigurationDataSourceConfigurationArgs{
    			BedrockKnowledgeStoreConfiguration: &lex.V2modelsIntentQnaIntentConfigurationDataSourceConfigurationBedrockKnowledgeStoreConfigurationArgs{
    				BedrockKnowledgeBaseArn: pulumi.String("string"),
    				ExactResponse:           pulumi.Bool(false),
    				ExactResponseFields: &lex.V2modelsIntentQnaIntentConfigurationDataSourceConfigurationBedrockKnowledgeStoreConfigurationExactResponseFieldsArgs{
    					AnswerField: pulumi.String("string"),
    				},
    			},
    			KendraConfiguration: &lex.V2modelsIntentQnaIntentConfigurationDataSourceConfigurationKendraConfigurationArgs{
    				KendraIndex:              pulumi.String("string"),
    				ExactResponse:            pulumi.Bool(false),
    				QueryFilterString:        pulumi.String("string"),
    				QueryFilterStringEnabled: pulumi.Bool(false),
    			},
    			OpensearchConfiguration: &lex.V2modelsIntentQnaIntentConfigurationDataSourceConfigurationOpensearchConfigurationArgs{
    				DomainEndpoint: pulumi.String("string"),
    				IndexName:      pulumi.String("string"),
    				ExactResponse:  pulumi.Bool(false),
    				ExactResponseFields: &lex.V2modelsIntentQnaIntentConfigurationDataSourceConfigurationOpensearchConfigurationExactResponseFieldsArgs{
    					AnswerField:   pulumi.String("string"),
    					QuestionField: pulumi.String("string"),
    				},
    				IncludeFields: pulumi.StringArray{
    					pulumi.String("string"),
    				},
    			},
    		},
    	},
    	Region: pulumi.String("string"),
    	SampleUtterances: lex.V2modelsIntentSampleUtteranceArray{
    		&lex.V2modelsIntentSampleUtteranceArgs{
    			Utterance: pulumi.String("string"),
    		},
    	},
    	SlotPriorities: lex.V2modelsIntentSlotPriorityArray{
    		&lex.V2modelsIntentSlotPriorityArgs{
    			Priority: pulumi.Int(0),
    			SlotId:   pulumi.String("string"),
    		},
    	},
    	Timeouts: &lex.V2modelsIntentTimeoutsArgs{
    		Create: pulumi.String("string"),
    		Delete: pulumi.String("string"),
    		Update: pulumi.String("string"),
    	},
    })
    
    resource "aws_lex_v2modelsintent" "v2modelsIntentResource" {
      bot_id      = "string"
      bot_version = "string"
      locale_id   = "string"
      input_contexts {
        name = "string"
      }
      closing_setting = {
        active = false
        closing_response = {
          allow_interrupt = false
          message_groups = [{
            "message" = {
              "customPayload" = {
                "value" = "string"
              }
              "imageResponseCard" = {
                "title" = "string"
                "buttons" = [{
                  "text"  = "string"
                  "value" = "string"
                }]
                "imageUrl" = "string"
                "subtitle" = "string"
              }
              "plainTextMessage" = {
                "value" = "string"
              }
              "ssmlMessage" = {
                "value" = "string"
              }
            }
            "variations" = [{
              "customPayload" = {
                "value" = "string"
              }
              "imageResponseCard" = {
                "title" = "string"
                "buttons" = [{
                  "text"  = "string"
                  "value" = "string"
                }]
                "imageUrl" = "string"
                "subtitle" = "string"
              }
              "plainTextMessage" = {
                "value" = "string"
              }
              "ssmlMessage" = {
                "value" = "string"
              }
            }]
          }]
        }
        conditional = {
          active = false
          conditional_branches = [{
            "name" = "string"
            "condition" = {
              "expressionString" = "string"
            }
            "nextStep" = {
              "dialogAction" = {
                "type"                = "string"
                "slotToElicit"        = "string"
                "suppressNextMessage" = false
              }
              "intent" = {
                "name" = "string"
                "slots" = [{
                  "mapBlockKey" = "string"
                  "shape"       = "string"
                  "value" = {
                    "interpretedValue" = "string"
                  }
                }]
              }
              "sessionAttributes" = {
                "string" = "string"
              }
            }
            "response" = {
              "allowInterrupt" = false
              "messageGroups" = [{
                "message" = {
                  "customPayload" = {
                    "value" = "string"
                  }
                  "imageResponseCard" = {
                    "title" = "string"
                    "buttons" = [{
                      "text"  = "string"
                      "value" = "string"
                    }]
                    "imageUrl" = "string"
                    "subtitle" = "string"
                  }
                  "plainTextMessage" = {
                    "value" = "string"
                  }
                  "ssmlMessage" = {
                    "value" = "string"
                  }
                }
                "variations" = [{
                  "customPayload" = {
                    "value" = "string"
                  }
                  "imageResponseCard" = {
                    "title" = "string"
                    "buttons" = [{
                      "text"  = "string"
                      "value" = "string"
                    }]
                    "imageUrl" = "string"
                    "subtitle" = "string"
                  }
                  "plainTextMessage" = {
                    "value" = "string"
                  }
                  "ssmlMessage" = {
                    "value" = "string"
                  }
                }]
              }]
            }
          }]
          default_branch = {
            next_step = {
              dialog_action = {
                type                  = "string"
                slot_to_elicit        = "string"
                suppress_next_message = false
              }
              intent = {
                name = "string"
                slots = [{
                  "mapBlockKey" = "string"
                  "shape"       = "string"
                  "value" = {
                    "interpretedValue" = "string"
                  }
                }]
              }
              session_attributes = {
                "string" = "string"
              }
            }
            response = {
              allow_interrupt = false
              message_groups = [{
                "message" = {
                  "customPayload" = {
                    "value" = "string"
                  }
                  "imageResponseCard" = {
                    "title" = "string"
                    "buttons" = [{
                      "text"  = "string"
                      "value" = "string"
                    }]
                    "imageUrl" = "string"
                    "subtitle" = "string"
                  }
                  "plainTextMessage" = {
                    "value" = "string"
                  }
                  "ssmlMessage" = {
                    "value" = "string"
                  }
                }
                "variations" = [{
                  "customPayload" = {
                    "value" = "string"
                  }
                  "imageResponseCard" = {
                    "title" = "string"
                    "buttons" = [{
                      "text"  = "string"
                      "value" = "string"
                    }]
                    "imageUrl" = "string"
                    "subtitle" = "string"
                  }
                  "plainTextMessage" = {
                    "value" = "string"
                  }
                  "ssmlMessage" = {
                    "value" = "string"
                  }
                }]
              }]
            }
          }
        }
        next_step = {
          dialog_action = {
            type                  = "string"
            slot_to_elicit        = "string"
            suppress_next_message = false
          }
          intent = {
            name = "string"
            slots = [{
              "mapBlockKey" = "string"
              "shape"       = "string"
              "value" = {
                "interpretedValue" = "string"
              }
            }]
          }
          session_attributes = {
            "string" = "string"
          }
        }
      }
      dialog_code_hook = {
        enabled = false
      }
      fulfillment_code_hook = {
        enabled = false
        active  = false
        fulfillment_updates_specification = {
          active = false
          start_response = {
            allow_interrupt  = false
            delay_in_seconds = 0
            message_groups = [{
              "message" = {
                "customPayload" = {
                  "value" = "string"
                }
                "imageResponseCard" = {
                  "title" = "string"
                  "buttons" = [{
                    "text"  = "string"
                    "value" = "string"
                  }]
                  "imageUrl" = "string"
                  "subtitle" = "string"
                }
                "plainTextMessage" = {
                  "value" = "string"
                }
                "ssmlMessage" = {
                  "value" = "string"
                }
              }
              "variations" = [{
                "customPayload" = {
                  "value" = "string"
                }
                "imageResponseCard" = {
                  "title" = "string"
                  "buttons" = [{
                    "text"  = "string"
                    "value" = "string"
                  }]
                  "imageUrl" = "string"
                  "subtitle" = "string"
                }
                "plainTextMessage" = {
                  "value" = "string"
                }
                "ssmlMessage" = {
                  "value" = "string"
                }
              }]
            }]
          }
          timeout_in_seconds = 0
          update_response = {
            frequency_in_seconds = 0
            allow_interrupt      = false
            message_groups = [{
              "message" = {
                "customPayload" = {
                  "value" = "string"
                }
                "imageResponseCard" = {
                  "title" = "string"
                  "buttons" = [{
                    "text"  = "string"
                    "value" = "string"
                  }]
                  "imageUrl" = "string"
                  "subtitle" = "string"
                }
                "plainTextMessage" = {
                  "value" = "string"
                }
                "ssmlMessage" = {
                  "value" = "string"
                }
              }
              "variations" = [{
                "customPayload" = {
                  "value" = "string"
                }
                "imageResponseCard" = {
                  "title" = "string"
                  "buttons" = [{
                    "text"  = "string"
                    "value" = "string"
                  }]
                  "imageUrl" = "string"
                  "subtitle" = "string"
                }
                "plainTextMessage" = {
                  "value" = "string"
                }
                "ssmlMessage" = {
                  "value" = "string"
                }
              }]
            }]
          }
        }
        post_fulfillment_status_specification = {
          failure_conditional = {
            active = false
            conditional_branches = [{
              "name" = "string"
              "condition" = {
                "expressionString" = "string"
              }
              "nextStep" = {
                "dialogAction" = {
                  "type"                = "string"
                  "slotToElicit"        = "string"
                  "suppressNextMessage" = false
                }
                "intent" = {
                  "name" = "string"
                  "slots" = [{
                    "mapBlockKey" = "string"
                    "shape"       = "string"
                    "value" = {
                      "interpretedValue" = "string"
                    }
                  }]
                }
                "sessionAttributes" = {
                  "string" = "string"
                }
              }
              "response" = {
                "allowInterrupt" = false
                "messageGroups" = [{
                  "message" = {
                    "customPayload" = {
                      "value" = "string"
                    }
                    "imageResponseCard" = {
                      "title" = "string"
                      "buttons" = [{
                        "text"  = "string"
                        "value" = "string"
                      }]
                      "imageUrl" = "string"
                      "subtitle" = "string"
                    }
                    "plainTextMessage" = {
                      "value" = "string"
                    }
                    "ssmlMessage" = {
                      "value" = "string"
                    }
                  }
                  "variations" = [{
                    "customPayload" = {
                      "value" = "string"
                    }
                    "imageResponseCard" = {
                      "title" = "string"
                      "buttons" = [{
                        "text"  = "string"
                        "value" = "string"
                      }]
                      "imageUrl" = "string"
                      "subtitle" = "string"
                    }
                    "plainTextMessage" = {
                      "value" = "string"
                    }
                    "ssmlMessage" = {
                      "value" = "string"
                    }
                  }]
                }]
              }
            }]
            default_branch = {
              next_step = {
                dialog_action = {
                  type                  = "string"
                  slot_to_elicit        = "string"
                  suppress_next_message = false
                }
                intent = {
                  name = "string"
                  slots = [{
                    "mapBlockKey" = "string"
                    "shape"       = "string"
                    "value" = {
                      "interpretedValue" = "string"
                    }
                  }]
                }
                session_attributes = {
                  "string" = "string"
                }
              }
              response = {
                allow_interrupt = false
                message_groups = [{
                  "message" = {
                    "customPayload" = {
                      "value" = "string"
                    }
                    "imageResponseCard" = {
                      "title" = "string"
                      "buttons" = [{
                        "text"  = "string"
                        "value" = "string"
                      }]
                      "imageUrl" = "string"
                      "subtitle" = "string"
                    }
                    "plainTextMessage" = {
                      "value" = "string"
                    }
                    "ssmlMessage" = {
                      "value" = "string"
                    }
                  }
                  "variations" = [{
                    "customPayload" = {
                      "value" = "string"
                    }
                    "imageResponseCard" = {
                      "title" = "string"
                      "buttons" = [{
                        "text"  = "string"
                        "value" = "string"
                      }]
                      "imageUrl" = "string"
                      "subtitle" = "string"
                    }
                    "plainTextMessage" = {
                      "value" = "string"
                    }
                    "ssmlMessage" = {
                      "value" = "string"
                    }
                  }]
                }]
              }
            }
          }
          failure_next_step = {
            dialog_action = {
              type                  = "string"
              slot_to_elicit        = "string"
              suppress_next_message = false
            }
            intent = {
              name = "string"
              slots = [{
                "mapBlockKey" = "string"
                "shape"       = "string"
                "value" = {
                  "interpretedValue" = "string"
                }
              }]
            }
            session_attributes = {
              "string" = "string"
            }
          }
          failure_response = {
            allow_interrupt = false
            message_groups = [{
              "message" = {
                "customPayload" = {
                  "value" = "string"
                }
                "imageResponseCard" = {
                  "title" = "string"
                  "buttons" = [{
                    "text"  = "string"
                    "value" = "string"
                  }]
                  "imageUrl" = "string"
                  "subtitle" = "string"
                }
                "plainTextMessage" = {
                  "value" = "string"
                }
                "ssmlMessage" = {
                  "value" = "string"
                }
              }
              "variations" = [{
                "customPayload" = {
                  "value" = "string"
                }
                "imageResponseCard" = {
                  "title" = "string"
                  "buttons" = [{
                    "text"  = "string"
                    "value" = "string"
                  }]
                  "imageUrl" = "string"
                  "subtitle" = "string"
                }
                "plainTextMessage" = {
                  "value" = "string"
                }
                "ssmlMessage" = {
                  "value" = "string"
                }
              }]
            }]
          }
          success_conditional = {
            active = false
            conditional_branches = [{
              "name" = "string"
              "condition" = {
                "expressionString" = "string"
              }
              "nextStep" = {
                "dialogAction" = {
                  "type"                = "string"
                  "slotToElicit"        = "string"
                  "suppressNextMessage" = false
                }
                "intent" = {
                  "name" = "string"
                  "slots" = [{
                    "mapBlockKey" = "string"
                    "shape"       = "string"
                    "value" = {
                      "interpretedValue" = "string"
                    }
                  }]
                }
                "sessionAttributes" = {
                  "string" = "string"
                }
              }
              "response" = {
                "allowInterrupt" = false
                "messageGroups" = [{
                  "message" = {
                    "customPayload" = {
                      "value" = "string"
                    }
                    "imageResponseCard" = {
                      "title" = "string"
                      "buttons" = [{
                        "text"  = "string"
                        "value" = "string"
                      }]
                      "imageUrl" = "string"
                      "subtitle" = "string"
                    }
                    "plainTextMessage" = {
                      "value" = "string"
                    }
                    "ssmlMessage" = {
                      "value" = "string"
                    }
                  }
                  "variations" = [{
                    "customPayload" = {
                      "value" = "string"
                    }
                    "imageResponseCard" = {
                      "title" = "string"
                      "buttons" = [{
                        "text"  = "string"
                        "value" = "string"
                      }]
                      "imageUrl" = "string"
                      "subtitle" = "string"
                    }
                    "plainTextMessage" = {
                      "value" = "string"
                    }
                    "ssmlMessage" = {
                      "value" = "string"
                    }
                  }]
                }]
              }
            }]
            default_branch = {
              next_step = {
                dialog_action = {
                  type                  = "string"
                  slot_to_elicit        = "string"
                  suppress_next_message = false
                }
                intent = {
                  name = "string"
                  slots = [{
                    "mapBlockKey" = "string"
                    "shape"       = "string"
                    "value" = {
                      "interpretedValue" = "string"
                    }
                  }]
                }
                session_attributes = {
                  "string" = "string"
                }
              }
              response = {
                allow_interrupt = false
                message_groups = [{
                  "message" = {
                    "customPayload" = {
                      "value" = "string"
                    }
                    "imageResponseCard" = {
                      "title" = "string"
                      "buttons" = [{
                        "text"  = "string"
                        "value" = "string"
                      }]
                      "imageUrl" = "string"
                      "subtitle" = "string"
                    }
                    "plainTextMessage" = {
                      "value" = "string"
                    }
                    "ssmlMessage" = {
                      "value" = "string"
                    }
                  }
                  "variations" = [{
                    "customPayload" = {
                      "value" = "string"
                    }
                    "imageResponseCard" = {
                      "title" = "string"
                      "buttons" = [{
                        "text"  = "string"
                        "value" = "string"
                      }]
                      "imageUrl" = "string"
                      "subtitle" = "string"
                    }
                    "plainTextMessage" = {
                      "value" = "string"
                    }
                    "ssmlMessage" = {
                      "value" = "string"
                    }
                  }]
                }]
              }
            }
          }
          success_next_step = {
            dialog_action = {
              type                  = "string"
              slot_to_elicit        = "string"
              suppress_next_message = false
            }
            intent = {
              name = "string"
              slots = [{
                "mapBlockKey" = "string"
                "shape"       = "string"
                "value" = {
                  "interpretedValue" = "string"
                }
              }]
            }
            session_attributes = {
              "string" = "string"
            }
          }
          success_response = {
            allow_interrupt = false
            message_groups = [{
              "message" = {
                "customPayload" = {
                  "value" = "string"
                }
                "imageResponseCard" = {
                  "title" = "string"
                  "buttons" = [{
                    "text"  = "string"
                    "value" = "string"
                  }]
                  "imageUrl" = "string"
                  "subtitle" = "string"
                }
                "plainTextMessage" = {
                  "value" = "string"
                }
                "ssmlMessage" = {
                  "value" = "string"
                }
              }
              "variations" = [{
                "customPayload" = {
                  "value" = "string"
                }
                "imageResponseCard" = {
                  "title" = "string"
                  "buttons" = [{
                    "text"  = "string"
                    "value" = "string"
                  }]
                  "imageUrl" = "string"
                  "subtitle" = "string"
                }
                "plainTextMessage" = {
                  "value" = "string"
                }
                "ssmlMessage" = {
                  "value" = "string"
                }
              }]
            }]
          }
          timeout_conditional = {
            active = false
            conditional_branches = [{
              "name" = "string"
              "condition" = {
                "expressionString" = "string"
              }
              "nextStep" = {
                "dialogAction" = {
                  "type"                = "string"
                  "slotToElicit"        = "string"
                  "suppressNextMessage" = false
                }
                "intent" = {
                  "name" = "string"
                  "slots" = [{
                    "mapBlockKey" = "string"
                    "shape"       = "string"
                    "value" = {
                      "interpretedValue" = "string"
                    }
                  }]
                }
                "sessionAttributes" = {
                  "string" = "string"
                }
              }
              "response" = {
                "allowInterrupt" = false
                "messageGroups" = [{
                  "message" = {
                    "customPayload" = {
                      "value" = "string"
                    }
                    "imageResponseCard" = {
                      "title" = "string"
                      "buttons" = [{
                        "text"  = "string"
                        "value" = "string"
                      }]
                      "imageUrl" = "string"
                      "subtitle" = "string"
                    }
                    "plainTextMessage" = {
                      "value" = "string"
                    }
                    "ssmlMessage" = {
                      "value" = "string"
                    }
                  }
                  "variations" = [{
                    "customPayload" = {
                      "value" = "string"
                    }
                    "imageResponseCard" = {
                      "title" = "string"
                      "buttons" = [{
                        "text"  = "string"
                        "value" = "string"
                      }]
                      "imageUrl" = "string"
                      "subtitle" = "string"
                    }
                    "plainTextMessage" = {
                      "value" = "string"
                    }
                    "ssmlMessage" = {
                      "value" = "string"
                    }
                  }]
                }]
              }
            }]
            default_branch = {
              next_step = {
                dialog_action = {
                  type                  = "string"
                  slot_to_elicit        = "string"
                  suppress_next_message = false
                }
                intent = {
                  name = "string"
                  slots = [{
                    "mapBlockKey" = "string"
                    "shape"       = "string"
                    "value" = {
                      "interpretedValue" = "string"
                    }
                  }]
                }
                session_attributes = {
                  "string" = "string"
                }
              }
              response = {
                allow_interrupt = false
                message_groups = [{
                  "message" = {
                    "customPayload" = {
                      "value" = "string"
                    }
                    "imageResponseCard" = {
                      "title" = "string"
                      "buttons" = [{
                        "text"  = "string"
                        "value" = "string"
                      }]
                      "imageUrl" = "string"
                      "subtitle" = "string"
                    }
                    "plainTextMessage" = {
                      "value" = "string"
                    }
                    "ssmlMessage" = {
                      "value" = "string"
                    }
                  }
                  "variations" = [{
                    "customPayload" = {
                      "value" = "string"
                    }
                    "imageResponseCard" = {
                      "title" = "string"
                      "buttons" = [{
                        "text"  = "string"
                        "value" = "string"
                      }]
                      "imageUrl" = "string"
                      "subtitle" = "string"
                    }
                    "plainTextMessage" = {
                      "value" = "string"
                    }
                    "ssmlMessage" = {
                      "value" = "string"
                    }
                  }]
                }]
              }
            }
          }
          timeout_next_step = {
            dialog_action = {
              type                  = "string"
              slot_to_elicit        = "string"
              suppress_next_message = false
            }
            intent = {
              name = "string"
              slots = [{
                "mapBlockKey" = "string"
                "shape"       = "string"
                "value" = {
                  "interpretedValue" = "string"
                }
              }]
            }
            session_attributes = {
              "string" = "string"
            }
          }
          timeout_response = {
            allow_interrupt = false
            message_groups = [{
              "message" = {
                "customPayload" = {
                  "value" = "string"
                }
                "imageResponseCard" = {
                  "title" = "string"
                  "buttons" = [{
                    "text"  = "string"
                    "value" = "string"
                  }]
                  "imageUrl" = "string"
                  "subtitle" = "string"
                }
                "plainTextMessage" = {
                  "value" = "string"
                }
                "ssmlMessage" = {
                  "value" = "string"
                }
              }
              "variations" = [{
                "customPayload" = {
                  "value" = "string"
                }
                "imageResponseCard" = {
                  "title" = "string"
                  "buttons" = [{
                    "text"  = "string"
                    "value" = "string"
                  }]
                  "imageUrl" = "string"
                  "subtitle" = "string"
                }
                "plainTextMessage" = {
                  "value" = "string"
                }
                "ssmlMessage" = {
                  "value" = "string"
                }
              }]
            }]
          }
        }
      }
      initial_response_setting = {
        code_hook = {
          active                      = false
          enable_code_hook_invocation = false
          invocation_label            = "string"
          post_code_hook_specification = {
            failure_conditional = {
              active = false
              conditional_branches = [{
                "name" = "string"
                "condition" = {
                  "expressionString" = "string"
                }
                "nextStep" = {
                  "dialogAction" = {
                    "type"                = "string"
                    "slotToElicit"        = "string"
                    "suppressNextMessage" = false
                  }
                  "intent" = {
                    "name" = "string"
                    "slots" = [{
                      "mapBlockKey" = "string"
                      "shape"       = "string"
                      "value" = {
                        "interpretedValue" = "string"
                      }
                    }]
                  }
                  "sessionAttributes" = {
                    "string" = "string"
                  }
                }
                "response" = {
                  "allowInterrupt" = false
                  "messageGroups" = [{
                    "message" = {
                      "customPayload" = {
                        "value" = "string"
                      }
                      "imageResponseCard" = {
                        "title" = "string"
                        "buttons" = [{
                          "text"  = "string"
                          "value" = "string"
                        }]
                        "imageUrl" = "string"
                        "subtitle" = "string"
                      }
                      "plainTextMessage" = {
                        "value" = "string"
                      }
                      "ssmlMessage" = {
                        "value" = "string"
                      }
                    }
                    "variations" = [{
                      "customPayload" = {
                        "value" = "string"
                      }
                      "imageResponseCard" = {
                        "title" = "string"
                        "buttons" = [{
                          "text"  = "string"
                          "value" = "string"
                        }]
                        "imageUrl" = "string"
                        "subtitle" = "string"
                      }
                      "plainTextMessage" = {
                        "value" = "string"
                      }
                      "ssmlMessage" = {
                        "value" = "string"
                      }
                    }]
                  }]
                }
              }]
              default_branch = {
                next_step = {
                  dialog_action = {
                    type                  = "string"
                    slot_to_elicit        = "string"
                    suppress_next_message = false
                  }
                  intent = {
                    name = "string"
                    slots = [{
                      "mapBlockKey" = "string"
                      "shape"       = "string"
                      "value" = {
                        "interpretedValue" = "string"
                      }
                    }]
                  }
                  session_attributes = {
                    "string" = "string"
                  }
                }
                response = {
                  allow_interrupt = false
                  message_groups = [{
                    "message" = {
                      "customPayload" = {
                        "value" = "string"
                      }
                      "imageResponseCard" = {
                        "title" = "string"
                        "buttons" = [{
                          "text"  = "string"
                          "value" = "string"
                        }]
                        "imageUrl" = "string"
                        "subtitle" = "string"
                      }
                      "plainTextMessage" = {
                        "value" = "string"
                      }
                      "ssmlMessage" = {
                        "value" = "string"
                      }
                    }
                    "variations" = [{
                      "customPayload" = {
                        "value" = "string"
                      }
                      "imageResponseCard" = {
                        "title" = "string"
                        "buttons" = [{
                          "text"  = "string"
                          "value" = "string"
                        }]
                        "imageUrl" = "string"
                        "subtitle" = "string"
                      }
                      "plainTextMessage" = {
                        "value" = "string"
                      }
                      "ssmlMessage" = {
                        "value" = "string"
                      }
                    }]
                  }]
                }
              }
            }
            failure_next_step = {
              dialog_action = {
                type                  = "string"
                slot_to_elicit        = "string"
                suppress_next_message = false
              }
              intent = {
                name = "string"
                slots = [{
                  "mapBlockKey" = "string"
                  "shape"       = "string"
                  "value" = {
                    "interpretedValue" = "string"
                  }
                }]
              }
              session_attributes = {
                "string" = "string"
              }
            }
            failure_response = {
              allow_interrupt = false
              message_groups = [{
                "message" = {
                  "customPayload" = {
                    "value" = "string"
                  }
                  "imageResponseCard" = {
                    "title" = "string"
                    "buttons" = [{
                      "text"  = "string"
                      "value" = "string"
                    }]
                    "imageUrl" = "string"
                    "subtitle" = "string"
                  }
                  "plainTextMessage" = {
                    "value" = "string"
                  }
                  "ssmlMessage" = {
                    "value" = "string"
                  }
                }
                "variations" = [{
                  "customPayload" = {
                    "value" = "string"
                  }
                  "imageResponseCard" = {
                    "title" = "string"
                    "buttons" = [{
                      "text"  = "string"
                      "value" = "string"
                    }]
                    "imageUrl" = "string"
                    "subtitle" = "string"
                  }
                  "plainTextMessage" = {
                    "value" = "string"
                  }
                  "ssmlMessage" = {
                    "value" = "string"
                  }
                }]
              }]
            }
            success_conditional = {
              active = false
              conditional_branches = [{
                "name" = "string"
                "condition" = {
                  "expressionString" = "string"
                }
                "nextStep" = {
                  "dialogAction" = {
                    "type"                = "string"
                    "slotToElicit"        = "string"
                    "suppressNextMessage" = false
                  }
                  "intent" = {
                    "name" = "string"
                    "slots" = [{
                      "mapBlockKey" = "string"
                      "shape"       = "string"
                      "value" = {
                        "interpretedValue" = "string"
                      }
                    }]
                  }
                  "sessionAttributes" = {
                    "string" = "string"
                  }
                }
                "response" = {
                  "allowInterrupt" = false
                  "messageGroups" = [{
                    "message" = {
                      "customPayload" = {
                        "value" = "string"
                      }
                      "imageResponseCard" = {
                        "title" = "string"
                        "buttons" = [{
                          "text"  = "string"
                          "value" = "string"
                        }]
                        "imageUrl" = "string"
                        "subtitle" = "string"
                      }
                      "plainTextMessage" = {
                        "value" = "string"
                      }
                      "ssmlMessage" = {
                        "value" = "string"
                      }
                    }
                    "variations" = [{
                      "customPayload" = {
                        "value" = "string"
                      }
                      "imageResponseCard" = {
                        "title" = "string"
                        "buttons" = [{
                          "text"  = "string"
                          "value" = "string"
                        }]
                        "imageUrl" = "string"
                        "subtitle" = "string"
                      }
                      "plainTextMessage" = {
                        "value" = "string"
                      }
                      "ssmlMessage" = {
                        "value" = "string"
                      }
                    }]
                  }]
                }
              }]
              default_branch = {
                next_step = {
                  dialog_action = {
                    type                  = "string"
                    slot_to_elicit        = "string"
                    suppress_next_message = false
                  }
                  intent = {
                    name = "string"
                    slots = [{
                      "mapBlockKey" = "string"
                      "shape"       = "string"
                      "value" = {
                        "interpretedValue" = "string"
                      }
                    }]
                  }
                  session_attributes = {
                    "string" = "string"
                  }
                }
                response = {
                  allow_interrupt = false
                  message_groups = [{
                    "message" = {
                      "customPayload" = {
                        "value" = "string"
                      }
                      "imageResponseCard" = {
                        "title" = "string"
                        "buttons" = [{
                          "text"  = "string"
                          "value" = "string"
                        }]
                        "imageUrl" = "string"
                        "subtitle" = "string"
                      }
                      "plainTextMessage" = {
                        "value" = "string"
                      }
                      "ssmlMessage" = {
                        "value" = "string"
                      }
                    }
                    "variations" = [{
                      "customPayload" = {
                        "value" = "string"
                      }
                      "imageResponseCard" = {
                        "title" = "string"
                        "buttons" = [{
                          "text"  = "string"
                          "value" = "string"
                        }]
                        "imageUrl" = "string"
                        "subtitle" = "string"
                      }
                      "plainTextMessage" = {
                        "value" = "string"
                      }
                      "ssmlMessage" = {
                        "value" = "string"
                      }
                    }]
                  }]
                }
              }
            }
            success_next_step = {
              dialog_action = {
                type                  = "string"
                slot_to_elicit        = "string"
                suppress_next_message = false
              }
              intent = {
                name = "string"
                slots = [{
                  "mapBlockKey" = "string"
                  "shape"       = "string"
                  "value" = {
                    "interpretedValue" = "string"
                  }
                }]
              }
              session_attributes = {
                "string" = "string"
              }
            }
            success_response = {
              allow_interrupt = false
              message_groups = [{
                "message" = {
                  "customPayload" = {
                    "value" = "string"
                  }
                  "imageResponseCard" = {
                    "title" = "string"
                    "buttons" = [{
                      "text"  = "string"
                      "value" = "string"
                    }]
                    "imageUrl" = "string"
                    "subtitle" = "string"
                  }
                  "plainTextMessage" = {
                    "value" = "string"
                  }
                  "ssmlMessage" = {
                    "value" = "string"
                  }
                }
                "variations" = [{
                  "customPayload" = {
                    "value" = "string"
                  }
                  "imageResponseCard" = {
                    "title" = "string"
                    "buttons" = [{
                      "text"  = "string"
                      "value" = "string"
                    }]
                    "imageUrl" = "string"
                    "subtitle" = "string"
                  }
                  "plainTextMessage" = {
                    "value" = "string"
                  }
                  "ssmlMessage" = {
                    "value" = "string"
                  }
                }]
              }]
            }
            timeout_conditional = {
              active = false
              conditional_branches = [{
                "name" = "string"
                "condition" = {
                  "expressionString" = "string"
                }
                "nextStep" = {
                  "dialogAction" = {
                    "type"                = "string"
                    "slotToElicit"        = "string"
                    "suppressNextMessage" = false
                  }
                  "intent" = {
                    "name" = "string"
                    "slots" = [{
                      "mapBlockKey" = "string"
                      "shape"       = "string"
                      "value" = {
                        "interpretedValue" = "string"
                      }
                    }]
                  }
                  "sessionAttributes" = {
                    "string" = "string"
                  }
                }
                "response" = {
                  "allowInterrupt" = false
                  "messageGroups" = [{
                    "message" = {
                      "customPayload" = {
                        "value" = "string"
                      }
                      "imageResponseCard" = {
                        "title" = "string"
                        "buttons" = [{
                          "text"  = "string"
                          "value" = "string"
                        }]
                        "imageUrl" = "string"
                        "subtitle" = "string"
                      }
                      "plainTextMessage" = {
                        "value" = "string"
                      }
                      "ssmlMessage" = {
                        "value" = "string"
                      }
                    }
                    "variations" = [{
                      "customPayload" = {
                        "value" = "string"
                      }
                      "imageResponseCard" = {
                        "title" = "string"
                        "buttons" = [{
                          "text"  = "string"
                          "value" = "string"
                        }]
                        "imageUrl" = "string"
                        "subtitle" = "string"
                      }
                      "plainTextMessage" = {
                        "value" = "string"
                      }
                      "ssmlMessage" = {
                        "value" = "string"
                      }
                    }]
                  }]
                }
              }]
              default_branch = {
                next_step = {
                  dialog_action = {
                    type                  = "string"
                    slot_to_elicit        = "string"
                    suppress_next_message = false
                  }
                  intent = {
                    name = "string"
                    slots = [{
                      "mapBlockKey" = "string"
                      "shape"       = "string"
                      "value" = {
                        "interpretedValue" = "string"
                      }
                    }]
                  }
                  session_attributes = {
                    "string" = "string"
                  }
                }
                response = {
                  allow_interrupt = false
                  message_groups = [{
                    "message" = {
                      "customPayload" = {
                        "value" = "string"
                      }
                      "imageResponseCard" = {
                        "title" = "string"
                        "buttons" = [{
                          "text"  = "string"
                          "value" = "string"
                        }]
                        "imageUrl" = "string"
                        "subtitle" = "string"
                      }
                      "plainTextMessage" = {
                        "value" = "string"
                      }
                      "ssmlMessage" = {
                        "value" = "string"
                      }
                    }
                    "variations" = [{
                      "customPayload" = {
                        "value" = "string"
                      }
                      "imageResponseCard" = {
                        "title" = "string"
                        "buttons" = [{
                          "text"  = "string"
                          "value" = "string"
                        }]
                        "imageUrl" = "string"
                        "subtitle" = "string"
                      }
                      "plainTextMessage" = {
                        "value" = "string"
                      }
                      "ssmlMessage" = {
                        "value" = "string"
                      }
                    }]
                  }]
                }
              }
            }
            timeout_next_step = {
              dialog_action = {
                type                  = "string"
                slot_to_elicit        = "string"
                suppress_next_message = false
              }
              intent = {
                name = "string"
                slots = [{
                  "mapBlockKey" = "string"
                  "shape"       = "string"
                  "value" = {
                    "interpretedValue" = "string"
                  }
                }]
              }
              session_attributes = {
                "string" = "string"
              }
            }
            timeout_response = {
              allow_interrupt = false
              message_groups = [{
                "message" = {
                  "customPayload" = {
                    "value" = "string"
                  }
                  "imageResponseCard" = {
                    "title" = "string"
                    "buttons" = [{
                      "text"  = "string"
                      "value" = "string"
                    }]
                    "imageUrl" = "string"
                    "subtitle" = "string"
                  }
                  "plainTextMessage" = {
                    "value" = "string"
                  }
                  "ssmlMessage" = {
                    "value" = "string"
                  }
                }
                "variations" = [{
                  "customPayload" = {
                    "value" = "string"
                  }
                  "imageResponseCard" = {
                    "title" = "string"
                    "buttons" = [{
                      "text"  = "string"
                      "value" = "string"
                    }]
                    "imageUrl" = "string"
                    "subtitle" = "string"
                  }
                  "plainTextMessage" = {
                    "value" = "string"
                  }
                  "ssmlMessage" = {
                    "value" = "string"
                  }
                }]
              }]
            }
          }
        }
        conditional = {
          active = false
          conditional_branches = [{
            "name" = "string"
            "condition" = {
              "expressionString" = "string"
            }
            "nextStep" = {
              "dialogAction" = {
                "type"                = "string"
                "slotToElicit"        = "string"
                "suppressNextMessage" = false
              }
              "intent" = {
                "name" = "string"
                "slots" = [{
                  "mapBlockKey" = "string"
                  "shape"       = "string"
                  "value" = {
                    "interpretedValue" = "string"
                  }
                }]
              }
              "sessionAttributes" = {
                "string" = "string"
              }
            }
            "response" = {
              "allowInterrupt" = false
              "messageGroups" = [{
                "message" = {
                  "customPayload" = {
                    "value" = "string"
                  }
                  "imageResponseCard" = {
                    "title" = "string"
                    "buttons" = [{
                      "text"  = "string"
                      "value" = "string"
                    }]
                    "imageUrl" = "string"
                    "subtitle" = "string"
                  }
                  "plainTextMessage" = {
                    "value" = "string"
                  }
                  "ssmlMessage" = {
                    "value" = "string"
                  }
                }
                "variations" = [{
                  "customPayload" = {
                    "value" = "string"
                  }
                  "imageResponseCard" = {
                    "title" = "string"
                    "buttons" = [{
                      "text"  = "string"
                      "value" = "string"
                    }]
                    "imageUrl" = "string"
                    "subtitle" = "string"
                  }
                  "plainTextMessage" = {
                    "value" = "string"
                  }
                  "ssmlMessage" = {
                    "value" = "string"
                  }
                }]
              }]
            }
          }]
          default_branch = {
            next_step = {
              dialog_action = {
                type                  = "string"
                slot_to_elicit        = "string"
                suppress_next_message = false
              }
              intent = {
                name = "string"
                slots = [{
                  "mapBlockKey" = "string"
                  "shape"       = "string"
                  "value" = {
                    "interpretedValue" = "string"
                  }
                }]
              }
              session_attributes = {
                "string" = "string"
              }
            }
            response = {
              allow_interrupt = false
              message_groups = [{
                "message" = {
                  "customPayload" = {
                    "value" = "string"
                  }
                  "imageResponseCard" = {
                    "title" = "string"
                    "buttons" = [{
                      "text"  = "string"
                      "value" = "string"
                    }]
                    "imageUrl" = "string"
                    "subtitle" = "string"
                  }
                  "plainTextMessage" = {
                    "value" = "string"
                  }
                  "ssmlMessage" = {
                    "value" = "string"
                  }
                }
                "variations" = [{
                  "customPayload" = {
                    "value" = "string"
                  }
                  "imageResponseCard" = {
                    "title" = "string"
                    "buttons" = [{
                      "text"  = "string"
                      "value" = "string"
                    }]
                    "imageUrl" = "string"
                    "subtitle" = "string"
                  }
                  "plainTextMessage" = {
                    "value" = "string"
                  }
                  "ssmlMessage" = {
                    "value" = "string"
                  }
                }]
              }]
            }
          }
        }
        initial_response = {
          allow_interrupt = false
          message_groups = [{
            "message" = {
              "customPayload" = {
                "value" = "string"
              }
              "imageResponseCard" = {
                "title" = "string"
                "buttons" = [{
                  "text"  = "string"
                  "value" = "string"
                }]
                "imageUrl" = "string"
                "subtitle" = "string"
              }
              "plainTextMessage" = {
                "value" = "string"
              }
              "ssmlMessage" = {
                "value" = "string"
              }
            }
            "variations" = [{
              "customPayload" = {
                "value" = "string"
              }
              "imageResponseCard" = {
                "title" = "string"
                "buttons" = [{
                  "text"  = "string"
                  "value" = "string"
                }]
                "imageUrl" = "string"
                "subtitle" = "string"
              }
              "plainTextMessage" = {
                "value" = "string"
              }
              "ssmlMessage" = {
                "value" = "string"
              }
            }]
          }]
        }
        next_step = {
          dialog_action = {
            type                  = "string"
            slot_to_elicit        = "string"
            suppress_next_message = false
          }
          intent = {
            name = "string"
            slots = [{
              "mapBlockKey" = "string"
              "shape"       = "string"
              "value" = {
                "interpretedValue" = "string"
              }
            }]
          }
          session_attributes = {
            "string" = "string"
          }
        }
      }
      confirmation_setting = {
        active = false
        code_hook = {
          active                      = false
          enable_code_hook_invocation = false
          invocation_label            = "string"
          post_code_hook_specification = {
            failure_conditional = {
              active = false
              conditional_branches = [{
                "name" = "string"
                "condition" = {
                  "expressionString" = "string"
                }
                "nextStep" = {
                  "dialogAction" = {
                    "type"                = "string"
                    "slotToElicit"        = "string"
                    "suppressNextMessage" = false
                  }
                  "intent" = {
                    "name" = "string"
                    "slots" = [{
                      "mapBlockKey" = "string"
                      "shape"       = "string"
                      "value" = {
                        "interpretedValue" = "string"
                      }
                    }]
                  }
                  "sessionAttributes" = {
                    "string" = "string"
                  }
                }
                "response" = {
                  "allowInterrupt" = false
                  "messageGroups" = [{
                    "message" = {
                      "customPayload" = {
                        "value" = "string"
                      }
                      "imageResponseCard" = {
                        "title" = "string"
                        "buttons" = [{
                          "text"  = "string"
                          "value" = "string"
                        }]
                        "imageUrl" = "string"
                        "subtitle" = "string"
                      }
                      "plainTextMessage" = {
                        "value" = "string"
                      }
                      "ssmlMessage" = {
                        "value" = "string"
                      }
                    }
                    "variations" = [{
                      "customPayload" = {
                        "value" = "string"
                      }
                      "imageResponseCard" = {
                        "title" = "string"
                        "buttons" = [{
                          "text"  = "string"
                          "value" = "string"
                        }]
                        "imageUrl" = "string"
                        "subtitle" = "string"
                      }
                      "plainTextMessage" = {
                        "value" = "string"
                      }
                      "ssmlMessage" = {
                        "value" = "string"
                      }
                    }]
                  }]
                }
              }]
              default_branch = {
                next_step = {
                  dialog_action = {
                    type                  = "string"
                    slot_to_elicit        = "string"
                    suppress_next_message = false
                  }
                  intent = {
                    name = "string"
                    slots = [{
                      "mapBlockKey" = "string"
                      "shape"       = "string"
                      "value" = {
                        "interpretedValue" = "string"
                      }
                    }]
                  }
                  session_attributes = {
                    "string" = "string"
                  }
                }
                response = {
                  allow_interrupt = false
                  message_groups = [{
                    "message" = {
                      "customPayload" = {
                        "value" = "string"
                      }
                      "imageResponseCard" = {
                        "title" = "string"
                        "buttons" = [{
                          "text"  = "string"
                          "value" = "string"
                        }]
                        "imageUrl" = "string"
                        "subtitle" = "string"
                      }
                      "plainTextMessage" = {
                        "value" = "string"
                      }
                      "ssmlMessage" = {
                        "value" = "string"
                      }
                    }
                    "variations" = [{
                      "customPayload" = {
                        "value" = "string"
                      }
                      "imageResponseCard" = {
                        "title" = "string"
                        "buttons" = [{
                          "text"  = "string"
                          "value" = "string"
                        }]
                        "imageUrl" = "string"
                        "subtitle" = "string"
                      }
                      "plainTextMessage" = {
                        "value" = "string"
                      }
                      "ssmlMessage" = {
                        "value" = "string"
                      }
                    }]
                  }]
                }
              }
            }
            failure_next_step = {
              dialog_action = {
                type                  = "string"
                slot_to_elicit        = "string"
                suppress_next_message = false
              }
              intent = {
                name = "string"
                slots = [{
                  "mapBlockKey" = "string"
                  "shape"       = "string"
                  "value" = {
                    "interpretedValue" = "string"
                  }
                }]
              }
              session_attributes = {
                "string" = "string"
              }
            }
            failure_response = {
              allow_interrupt = false
              message_groups = [{
                "message" = {
                  "customPayload" = {
                    "value" = "string"
                  }
                  "imageResponseCard" = {
                    "title" = "string"
                    "buttons" = [{
                      "text"  = "string"
                      "value" = "string"
                    }]
                    "imageUrl" = "string"
                    "subtitle" = "string"
                  }
                  "plainTextMessage" = {
                    "value" = "string"
                  }
                  "ssmlMessage" = {
                    "value" = "string"
                  }
                }
                "variations" = [{
                  "customPayload" = {
                    "value" = "string"
                  }
                  "imageResponseCard" = {
                    "title" = "string"
                    "buttons" = [{
                      "text"  = "string"
                      "value" = "string"
                    }]
                    "imageUrl" = "string"
                    "subtitle" = "string"
                  }
                  "plainTextMessage" = {
                    "value" = "string"
                  }
                  "ssmlMessage" = {
                    "value" = "string"
                  }
                }]
              }]
            }
            success_conditional = {
              active = false
              conditional_branches = [{
                "name" = "string"
                "condition" = {
                  "expressionString" = "string"
                }
                "nextStep" = {
                  "dialogAction" = {
                    "type"                = "string"
                    "slotToElicit"        = "string"
                    "suppressNextMessage" = false
                  }
                  "intent" = {
                    "name" = "string"
                    "slots" = [{
                      "mapBlockKey" = "string"
                      "shape"       = "string"
                      "value" = {
                        "interpretedValue" = "string"
                      }
                    }]
                  }
                  "sessionAttributes" = {
                    "string" = "string"
                  }
                }
                "response" = {
                  "allowInterrupt" = false
                  "messageGroups" = [{
                    "message" = {
                      "customPayload" = {
                        "value" = "string"
                      }
                      "imageResponseCard" = {
                        "title" = "string"
                        "buttons" = [{
                          "text"  = "string"
                          "value" = "string"
                        }]
                        "imageUrl" = "string"
                        "subtitle" = "string"
                      }
                      "plainTextMessage" = {
                        "value" = "string"
                      }
                      "ssmlMessage" = {
                        "value" = "string"
                      }
                    }
                    "variations" = [{
                      "customPayload" = {
                        "value" = "string"
                      }
                      "imageResponseCard" = {
                        "title" = "string"
                        "buttons" = [{
                          "text"  = "string"
                          "value" = "string"
                        }]
                        "imageUrl" = "string"
                        "subtitle" = "string"
                      }
                      "plainTextMessage" = {
                        "value" = "string"
                      }
                      "ssmlMessage" = {
                        "value" = "string"
                      }
                    }]
                  }]
                }
              }]
              default_branch = {
                next_step = {
                  dialog_action = {
                    type                  = "string"
                    slot_to_elicit        = "string"
                    suppress_next_message = false
                  }
                  intent = {
                    name = "string"
                    slots = [{
                      "mapBlockKey" = "string"
                      "shape"       = "string"
                      "value" = {
                        "interpretedValue" = "string"
                      }
                    }]
                  }
                  session_attributes = {
                    "string" = "string"
                  }
                }
                response = {
                  allow_interrupt = false
                  message_groups = [{
                    "message" = {
                      "customPayload" = {
                        "value" = "string"
                      }
                      "imageResponseCard" = {
                        "title" = "string"
                        "buttons" = [{
                          "text"  = "string"
                          "value" = "string"
                        }]
                        "imageUrl" = "string"
                        "subtitle" = "string"
                      }
                      "plainTextMessage" = {
                        "value" = "string"
                      }
                      "ssmlMessage" = {
                        "value" = "string"
                      }
                    }
                    "variations" = [{
                      "customPayload" = {
                        "value" = "string"
                      }
                      "imageResponseCard" = {
                        "title" = "string"
                        "buttons" = [{
                          "text"  = "string"
                          "value" = "string"
                        }]
                        "imageUrl" = "string"
                        "subtitle" = "string"
                      }
                      "plainTextMessage" = {
                        "value" = "string"
                      }
                      "ssmlMessage" = {
                        "value" = "string"
                      }
                    }]
                  }]
                }
              }
            }
            success_next_step = {
              dialog_action = {
                type                  = "string"
                slot_to_elicit        = "string"
                suppress_next_message = false
              }
              intent = {
                name = "string"
                slots = [{
                  "mapBlockKey" = "string"
                  "shape"       = "string"
                  "value" = {
                    "interpretedValue" = "string"
                  }
                }]
              }
              session_attributes = {
                "string" = "string"
              }
            }
            success_response = {
              allow_interrupt = false
              message_groups = [{
                "message" = {
                  "customPayload" = {
                    "value" = "string"
                  }
                  "imageResponseCard" = {
                    "title" = "string"
                    "buttons" = [{
                      "text"  = "string"
                      "value" = "string"
                    }]
                    "imageUrl" = "string"
                    "subtitle" = "string"
                  }
                  "plainTextMessage" = {
                    "value" = "string"
                  }
                  "ssmlMessage" = {
                    "value" = "string"
                  }
                }
                "variations" = [{
                  "customPayload" = {
                    "value" = "string"
                  }
                  "imageResponseCard" = {
                    "title" = "string"
                    "buttons" = [{
                      "text"  = "string"
                      "value" = "string"
                    }]
                    "imageUrl" = "string"
                    "subtitle" = "string"
                  }
                  "plainTextMessage" = {
                    "value" = "string"
                  }
                  "ssmlMessage" = {
                    "value" = "string"
                  }
                }]
              }]
            }
            timeout_conditional = {
              active = false
              conditional_branches = [{
                "name" = "string"
                "condition" = {
                  "expressionString" = "string"
                }
                "nextStep" = {
                  "dialogAction" = {
                    "type"                = "string"
                    "slotToElicit"        = "string"
                    "suppressNextMessage" = false
                  }
                  "intent" = {
                    "name" = "string"
                    "slots" = [{
                      "mapBlockKey" = "string"
                      "shape"       = "string"
                      "value" = {
                        "interpretedValue" = "string"
                      }
                    }]
                  }
                  "sessionAttributes" = {
                    "string" = "string"
                  }
                }
                "response" = {
                  "allowInterrupt" = false
                  "messageGroups" = [{
                    "message" = {
                      "customPayload" = {
                        "value" = "string"
                      }
                      "imageResponseCard" = {
                        "title" = "string"
                        "buttons" = [{
                          "text"  = "string"
                          "value" = "string"
                        }]
                        "imageUrl" = "string"
                        "subtitle" = "string"
                      }
                      "plainTextMessage" = {
                        "value" = "string"
                      }
                      "ssmlMessage" = {
                        "value" = "string"
                      }
                    }
                    "variations" = [{
                      "customPayload" = {
                        "value" = "string"
                      }
                      "imageResponseCard" = {
                        "title" = "string"
                        "buttons" = [{
                          "text"  = "string"
                          "value" = "string"
                        }]
                        "imageUrl" = "string"
                        "subtitle" = "string"
                      }
                      "plainTextMessage" = {
                        "value" = "string"
                      }
                      "ssmlMessage" = {
                        "value" = "string"
                      }
                    }]
                  }]
                }
              }]
              default_branch = {
                next_step = {
                  dialog_action = {
                    type                  = "string"
                    slot_to_elicit        = "string"
                    suppress_next_message = false
                  }
                  intent = {
                    name = "string"
                    slots = [{
                      "mapBlockKey" = "string"
                      "shape"       = "string"
                      "value" = {
                        "interpretedValue" = "string"
                      }
                    }]
                  }
                  session_attributes = {
                    "string" = "string"
                  }
                }
                response = {
                  allow_interrupt = false
                  message_groups = [{
                    "message" = {
                      "customPayload" = {
                        "value" = "string"
                      }
                      "imageResponseCard" = {
                        "title" = "string"
                        "buttons" = [{
                          "text"  = "string"
                          "value" = "string"
                        }]
                        "imageUrl" = "string"
                        "subtitle" = "string"
                      }
                      "plainTextMessage" = {
                        "value" = "string"
                      }
                      "ssmlMessage" = {
                        "value" = "string"
                      }
                    }
                    "variations" = [{
                      "customPayload" = {
                        "value" = "string"
                      }
                      "imageResponseCard" = {
                        "title" = "string"
                        "buttons" = [{
                          "text"  = "string"
                          "value" = "string"
                        }]
                        "imageUrl" = "string"
                        "subtitle" = "string"
                      }
                      "plainTextMessage" = {
                        "value" = "string"
                      }
                      "ssmlMessage" = {
                        "value" = "string"
                      }
                    }]
                  }]
                }
              }
            }
            timeout_next_step = {
              dialog_action = {
                type                  = "string"
                slot_to_elicit        = "string"
                suppress_next_message = false
              }
              intent = {
                name = "string"
                slots = [{
                  "mapBlockKey" = "string"
                  "shape"       = "string"
                  "value" = {
                    "interpretedValue" = "string"
                  }
                }]
              }
              session_attributes = {
                "string" = "string"
              }
            }
            timeout_response = {
              allow_interrupt = false
              message_groups = [{
                "message" = {
                  "customPayload" = {
                    "value" = "string"
                  }
                  "imageResponseCard" = {
                    "title" = "string"
                    "buttons" = [{
                      "text"  = "string"
                      "value" = "string"
                    }]
                    "imageUrl" = "string"
                    "subtitle" = "string"
                  }
                  "plainTextMessage" = {
                    "value" = "string"
                  }
                  "ssmlMessage" = {
                    "value" = "string"
                  }
                }
                "variations" = [{
                  "customPayload" = {
                    "value" = "string"
                  }
                  "imageResponseCard" = {
                    "title" = "string"
                    "buttons" = [{
                      "text"  = "string"
                      "value" = "string"
                    }]
                    "imageUrl" = "string"
                    "subtitle" = "string"
                  }
                  "plainTextMessage" = {
                    "value" = "string"
                  }
                  "ssmlMessage" = {
                    "value" = "string"
                  }
                }]
              }]
            }
          }
        }
        confirmation_conditional = {
          active = false
          conditional_branches = [{
            "name" = "string"
            "condition" = {
              "expressionString" = "string"
            }
            "nextStep" = {
              "dialogAction" = {
                "type"                = "string"
                "slotToElicit"        = "string"
                "suppressNextMessage" = false
              }
              "intent" = {
                "name" = "string"
                "slots" = [{
                  "mapBlockKey" = "string"
                  "shape"       = "string"
                  "value" = {
                    "interpretedValue" = "string"
                  }
                }]
              }
              "sessionAttributes" = {
                "string" = "string"
              }
            }
            "response" = {
              "allowInterrupt" = false
              "messageGroups" = [{
                "message" = {
                  "customPayload" = {
                    "value" = "string"
                  }
                  "imageResponseCard" = {
                    "title" = "string"
                    "buttons" = [{
                      "text"  = "string"
                      "value" = "string"
                    }]
                    "imageUrl" = "string"
                    "subtitle" = "string"
                  }
                  "plainTextMessage" = {
                    "value" = "string"
                  }
                  "ssmlMessage" = {
                    "value" = "string"
                  }
                }
                "variations" = [{
                  "customPayload" = {
                    "value" = "string"
                  }
                  "imageResponseCard" = {
                    "title" = "string"
                    "buttons" = [{
                      "text"  = "string"
                      "value" = "string"
                    }]
                    "imageUrl" = "string"
                    "subtitle" = "string"
                  }
                  "plainTextMessage" = {
                    "value" = "string"
                  }
                  "ssmlMessage" = {
                    "value" = "string"
                  }
                }]
              }]
            }
          }]
          default_branch = {
            next_step = {
              dialog_action = {
                type                  = "string"
                slot_to_elicit        = "string"
                suppress_next_message = false
              }
              intent = {
                name = "string"
                slots = [{
                  "mapBlockKey" = "string"
                  "shape"       = "string"
                  "value" = {
                    "interpretedValue" = "string"
                  }
                }]
              }
              session_attributes = {
                "string" = "string"
              }
            }
            response = {
              allow_interrupt = false
              message_groups = [{
                "message" = {
                  "customPayload" = {
                    "value" = "string"
                  }
                  "imageResponseCard" = {
                    "title" = "string"
                    "buttons" = [{
                      "text"  = "string"
                      "value" = "string"
                    }]
                    "imageUrl" = "string"
                    "subtitle" = "string"
                  }
                  "plainTextMessage" = {
                    "value" = "string"
                  }
                  "ssmlMessage" = {
                    "value" = "string"
                  }
                }
                "variations" = [{
                  "customPayload" = {
                    "value" = "string"
                  }
                  "imageResponseCard" = {
                    "title" = "string"
                    "buttons" = [{
                      "text"  = "string"
                      "value" = "string"
                    }]
                    "imageUrl" = "string"
                    "subtitle" = "string"
                  }
                  "plainTextMessage" = {
                    "value" = "string"
                  }
                  "ssmlMessage" = {
                    "value" = "string"
                  }
                }]
              }]
            }
          }
        }
        confirmation_next_step = {
          dialog_action = {
            type                  = "string"
            slot_to_elicit        = "string"
            suppress_next_message = false
          }
          intent = {
            name = "string"
            slots = [{
              "mapBlockKey" = "string"
              "shape"       = "string"
              "value" = {
                "interpretedValue" = "string"
              }
            }]
          }
          session_attributes = {
            "string" = "string"
          }
        }
        confirmation_response = {
          allow_interrupt = false
          message_groups = [{
            "message" = {
              "customPayload" = {
                "value" = "string"
              }
              "imageResponseCard" = {
                "title" = "string"
                "buttons" = [{
                  "text"  = "string"
                  "value" = "string"
                }]
                "imageUrl" = "string"
                "subtitle" = "string"
              }
              "plainTextMessage" = {
                "value" = "string"
              }
              "ssmlMessage" = {
                "value" = "string"
              }
            }
            "variations" = [{
              "customPayload" = {
                "value" = "string"
              }
              "imageResponseCard" = {
                "title" = "string"
                "buttons" = [{
                  "text"  = "string"
                  "value" = "string"
                }]
                "imageUrl" = "string"
                "subtitle" = "string"
              }
              "plainTextMessage" = {
                "value" = "string"
              }
              "ssmlMessage" = {
                "value" = "string"
              }
            }]
          }]
        }
        declination_conditional = {
          active = false
          conditional_branches = [{
            "name" = "string"
            "condition" = {
              "expressionString" = "string"
            }
            "nextStep" = {
              "dialogAction" = {
                "type"                = "string"
                "slotToElicit"        = "string"
                "suppressNextMessage" = false
              }
              "intent" = {
                "name" = "string"
                "slots" = [{
                  "mapBlockKey" = "string"
                  "shape"       = "string"
                  "value" = {
                    "interpretedValue" = "string"
                  }
                }]
              }
              "sessionAttributes" = {
                "string" = "string"
              }
            }
            "response" = {
              "allowInterrupt" = false
              "messageGroups" = [{
                "message" = {
                  "customPayload" = {
                    "value" = "string"
                  }
                  "imageResponseCard" = {
                    "title" = "string"
                    "buttons" = [{
                      "text"  = "string"
                      "value" = "string"
                    }]
                    "imageUrl" = "string"
                    "subtitle" = "string"
                  }
                  "plainTextMessage" = {
                    "value" = "string"
                  }
                  "ssmlMessage" = {
                    "value" = "string"
                  }
                }
                "variations" = [{
                  "customPayload" = {
                    "value" = "string"
                  }
                  "imageResponseCard" = {
                    "title" = "string"
                    "buttons" = [{
                      "text"  = "string"
                      "value" = "string"
                    }]
                    "imageUrl" = "string"
                    "subtitle" = "string"
                  }
                  "plainTextMessage" = {
                    "value" = "string"
                  }
                  "ssmlMessage" = {
                    "value" = "string"
                  }
                }]
              }]
            }
          }]
          default_branch = {
            next_step = {
              dialog_action = {
                type                  = "string"
                slot_to_elicit        = "string"
                suppress_next_message = false
              }
              intent = {
                name = "string"
                slots = [{
                  "mapBlockKey" = "string"
                  "shape"       = "string"
                  "value" = {
                    "interpretedValue" = "string"
                  }
                }]
              }
              session_attributes = {
                "string" = "string"
              }
            }
            response = {
              allow_interrupt = false
              message_groups = [{
                "message" = {
                  "customPayload" = {
                    "value" = "string"
                  }
                  "imageResponseCard" = {
                    "title" = "string"
                    "buttons" = [{
                      "text"  = "string"
                      "value" = "string"
                    }]
                    "imageUrl" = "string"
                    "subtitle" = "string"
                  }
                  "plainTextMessage" = {
                    "value" = "string"
                  }
                  "ssmlMessage" = {
                    "value" = "string"
                  }
                }
                "variations" = [{
                  "customPayload" = {
                    "value" = "string"
                  }
                  "imageResponseCard" = {
                    "title" = "string"
                    "buttons" = [{
                      "text"  = "string"
                      "value" = "string"
                    }]
                    "imageUrl" = "string"
                    "subtitle" = "string"
                  }
                  "plainTextMessage" = {
                    "value" = "string"
                  }
                  "ssmlMessage" = {
                    "value" = "string"
                  }
                }]
              }]
            }
          }
        }
        declination_next_step = {
          dialog_action = {
            type                  = "string"
            slot_to_elicit        = "string"
            suppress_next_message = false
          }
          intent = {
            name = "string"
            slots = [{
              "mapBlockKey" = "string"
              "shape"       = "string"
              "value" = {
                "interpretedValue" = "string"
              }
            }]
          }
          session_attributes = {
            "string" = "string"
          }
        }
        declination_response = {
          allow_interrupt = false
          message_groups = [{
            "message" = {
              "customPayload" = {
                "value" = "string"
              }
              "imageResponseCard" = {
                "title" = "string"
                "buttons" = [{
                  "text"  = "string"
                  "value" = "string"
                }]
                "imageUrl" = "string"
                "subtitle" = "string"
              }
              "plainTextMessage" = {
                "value" = "string"
              }
              "ssmlMessage" = {
                "value" = "string"
              }
            }
            "variations" = [{
              "customPayload" = {
                "value" = "string"
              }
              "imageResponseCard" = {
                "title" = "string"
                "buttons" = [{
                  "text"  = "string"
                  "value" = "string"
                }]
                "imageUrl" = "string"
                "subtitle" = "string"
              }
              "plainTextMessage" = {
                "value" = "string"
              }
              "ssmlMessage" = {
                "value" = "string"
              }
            }]
          }]
        }
        elicitation_code_hook = {
          enable_code_hook_invocation = false
          invocation_label            = "string"
        }
        failure_conditional = {
          active = false
          conditional_branches = [{
            "name" = "string"
            "condition" = {
              "expressionString" = "string"
            }
            "nextStep" = {
              "dialogAction" = {
                "type"                = "string"
                "slotToElicit"        = "string"
                "suppressNextMessage" = false
              }
              "intent" = {
                "name" = "string"
                "slots" = [{
                  "mapBlockKey" = "string"
                  "shape"       = "string"
                  "value" = {
                    "interpretedValue" = "string"
                  }
                }]
              }
              "sessionAttributes" = {
                "string" = "string"
              }
            }
            "response" = {
              "allowInterrupt" = false
              "messageGroups" = [{
                "message" = {
                  "customPayload" = {
                    "value" = "string"
                  }
                  "imageResponseCard" = {
                    "title" = "string"
                    "buttons" = [{
                      "text"  = "string"
                      "value" = "string"
                    }]
                    "imageUrl" = "string"
                    "subtitle" = "string"
                  }
                  "plainTextMessage" = {
                    "value" = "string"
                  }
                  "ssmlMessage" = {
                    "value" = "string"
                  }
                }
                "variations" = [{
                  "customPayload" = {
                    "value" = "string"
                  }
                  "imageResponseCard" = {
                    "title" = "string"
                    "buttons" = [{
                      "text"  = "string"
                      "value" = "string"
                    }]
                    "imageUrl" = "string"
                    "subtitle" = "string"
                  }
                  "plainTextMessage" = {
                    "value" = "string"
                  }
                  "ssmlMessage" = {
                    "value" = "string"
                  }
                }]
              }]
            }
          }]
          default_branch = {
            next_step = {
              dialog_action = {
                type                  = "string"
                slot_to_elicit        = "string"
                suppress_next_message = false
              }
              intent = {
                name = "string"
                slots = [{
                  "mapBlockKey" = "string"
                  "shape"       = "string"
                  "value" = {
                    "interpretedValue" = "string"
                  }
                }]
              }
              session_attributes = {
                "string" = "string"
              }
            }
            response = {
              allow_interrupt = false
              message_groups = [{
                "message" = {
                  "customPayload" = {
                    "value" = "string"
                  }
                  "imageResponseCard" = {
                    "title" = "string"
                    "buttons" = [{
                      "text"  = "string"
                      "value" = "string"
                    }]
                    "imageUrl" = "string"
                    "subtitle" = "string"
                  }
                  "plainTextMessage" = {
                    "value" = "string"
                  }
                  "ssmlMessage" = {
                    "value" = "string"
                  }
                }
                "variations" = [{
                  "customPayload" = {
                    "value" = "string"
                  }
                  "imageResponseCard" = {
                    "title" = "string"
                    "buttons" = [{
                      "text"  = "string"
                      "value" = "string"
                    }]
                    "imageUrl" = "string"
                    "subtitle" = "string"
                  }
                  "plainTextMessage" = {
                    "value" = "string"
                  }
                  "ssmlMessage" = {
                    "value" = "string"
                  }
                }]
              }]
            }
          }
        }
        failure_next_step = {
          dialog_action = {
            type                  = "string"
            slot_to_elicit        = "string"
            suppress_next_message = false
          }
          intent = {
            name = "string"
            slots = [{
              "mapBlockKey" = "string"
              "shape"       = "string"
              "value" = {
                "interpretedValue" = "string"
              }
            }]
          }
          session_attributes = {
            "string" = "string"
          }
        }
        failure_response = {
          allow_interrupt = false
          message_groups = [{
            "message" = {
              "customPayload" = {
                "value" = "string"
              }
              "imageResponseCard" = {
                "title" = "string"
                "buttons" = [{
                  "text"  = "string"
                  "value" = "string"
                }]
                "imageUrl" = "string"
                "subtitle" = "string"
              }
              "plainTextMessage" = {
                "value" = "string"
              }
              "ssmlMessage" = {
                "value" = "string"
              }
            }
            "variations" = [{
              "customPayload" = {
                "value" = "string"
              }
              "imageResponseCard" = {
                "title" = "string"
                "buttons" = [{
                  "text"  = "string"
                  "value" = "string"
                }]
                "imageUrl" = "string"
                "subtitle" = "string"
              }
              "plainTextMessage" = {
                "value" = "string"
              }
              "ssmlMessage" = {
                "value" = "string"
              }
            }]
          }]
        }
        prompt_specification = {
          max_retries     = 0
          allow_interrupt = false
          message_groups = [{
            "message" = {
              "customPayload" = {
                "value" = "string"
              }
              "imageResponseCard" = {
                "title" = "string"
                "buttons" = [{
                  "text"  = "string"
                  "value" = "string"
                }]
                "imageUrl" = "string"
                "subtitle" = "string"
              }
              "plainTextMessage" = {
                "value" = "string"
              }
              "ssmlMessage" = {
                "value" = "string"
              }
            }
            "variations" = [{
              "customPayload" = {
                "value" = "string"
              }
              "imageResponseCard" = {
                "title" = "string"
                "buttons" = [{
                  "text"  = "string"
                  "value" = "string"
                }]
                "imageUrl" = "string"
                "subtitle" = "string"
              }
              "plainTextMessage" = {
                "value" = "string"
              }
              "ssmlMessage" = {
                "value" = "string"
              }
            }]
          }]
          message_selection_strategy = "string"
          prompt_attempts_specifications = [{
            "mapBlockKey"    = "string"
            "allowInterrupt" = false
            "allowedInputTypes" = {
              "allowAudioInput" = false
              "allowDtmfInput"  = false
            }
            "audioAndDtmfInputSpecification" = {
              "startTimeoutMs" = 0
              "audioSpecification" = {
                "endTimeoutMs" = 0
                "maxLengthMs"  = 0
              }
              "dtmfSpecification" = {
                "deletionCharacter" = "string"
                "endCharacter"      = "string"
                "endTimeoutMs"      = 0
                "maxLength"         = 0
              }
            }
            "textInputSpecification" = {
              "startTimeoutMs" = 0
            }
          }]
        }
      }
      kendra_configuration = {
        kendra_index                = "string"
        query_filter_string         = "string"
        query_filter_string_enabled = false
      }
      description = "string"
      name        = "string"
      output_contexts {
        name                    = "string"
        time_to_live_in_seconds = 0
        turns_to_live           = 0
      }
      parent_intent_signature = "string"
      qna_intent_configuration = {
        bedrock_model_configuration = {
          model_arn     = "string"
          custom_prompt = "string"
          guardrail = {
            identifier = "string"
            version    = "string"
          }
          trace_status = "string"
        }
        data_source_configuration = {
          bedrock_knowledge_store_configuration = {
            bedrock_knowledge_base_arn = "string"
            exact_response             = false
            exact_response_fields = {
              answer_field = "string"
            }
          }
          kendra_configuration = {
            kendra_index                = "string"
            exact_response              = false
            query_filter_string         = "string"
            query_filter_string_enabled = false
          }
          opensearch_configuration = {
            domain_endpoint = "string"
            index_name      = "string"
            exact_response  = false
            exact_response_fields = {
              answer_field   = "string"
              question_field = "string"
            }
            include_fields = ["string"]
          }
        }
      }
      region = "string"
      sample_utterances {
        utterance = "string"
      }
      slot_priorities {
        priority = 0
        slot_id  = "string"
      }
      timeouts = {
        create = "string"
        delete = "string"
        update = "string"
      }
    }
    
    var v2modelsIntentResource = new V2modelsIntent("v2modelsIntentResource", V2modelsIntentArgs.builder()
        .botId("string")
        .botVersion("string")
        .localeId("string")
        .inputContexts(V2modelsIntentInputContextArgs.builder()
            .name("string")
            .build())
        .closingSetting(V2modelsIntentClosingSettingArgs.builder()
            .active(false)
            .closingResponse(V2modelsIntentClosingSettingClosingResponseArgs.builder()
                .allowInterrupt(false)
                .messageGroups(V2modelsIntentClosingSettingClosingResponseMessageGroupArgs.builder()
                    .message(V2modelsIntentClosingSettingClosingResponseMessageGroupMessageArgs.builder()
                        .customPayload(V2modelsIntentClosingSettingClosingResponseMessageGroupMessageCustomPayloadArgs.builder()
                            .value("string")
                            .build())
                        .imageResponseCard(V2modelsIntentClosingSettingClosingResponseMessageGroupMessageImageResponseCardArgs.builder()
                            .title("string")
                            .buttons(V2modelsIntentClosingSettingClosingResponseMessageGroupMessageImageResponseCardButtonArgs.builder()
                                .text("string")
                                .value("string")
                                .build())
                            .imageUrl("string")
                            .subtitle("string")
                            .build())
                        .plainTextMessage(V2modelsIntentClosingSettingClosingResponseMessageGroupMessagePlainTextMessageArgs.builder()
                            .value("string")
                            .build())
                        .ssmlMessage(V2modelsIntentClosingSettingClosingResponseMessageGroupMessageSsmlMessageArgs.builder()
                            .value("string")
                            .build())
                        .build())
                    .variations(V2modelsIntentClosingSettingClosingResponseMessageGroupVariationArgs.builder()
                        .customPayload(V2modelsIntentClosingSettingClosingResponseMessageGroupVariationCustomPayloadArgs.builder()
                            .value("string")
                            .build())
                        .imageResponseCard(V2modelsIntentClosingSettingClosingResponseMessageGroupVariationImageResponseCardArgs.builder()
                            .title("string")
                            .buttons(V2modelsIntentClosingSettingClosingResponseMessageGroupVariationImageResponseCardButtonArgs.builder()
                                .text("string")
                                .value("string")
                                .build())
                            .imageUrl("string")
                            .subtitle("string")
                            .build())
                        .plainTextMessage(V2modelsIntentClosingSettingClosingResponseMessageGroupVariationPlainTextMessageArgs.builder()
                            .value("string")
                            .build())
                        .ssmlMessage(V2modelsIntentClosingSettingClosingResponseMessageGroupVariationSsmlMessageArgs.builder()
                            .value("string")
                            .build())
                        .build())
                    .build())
                .build())
            .conditional(V2modelsIntentClosingSettingConditionalArgs.builder()
                .active(false)
                .conditionalBranches(V2modelsIntentClosingSettingConditionalConditionalBranchArgs.builder()
                    .name("string")
                    .condition(V2modelsIntentClosingSettingConditionalConditionalBranchConditionArgs.builder()
                        .expressionString("string")
                        .build())
                    .nextStep(V2modelsIntentClosingSettingConditionalConditionalBranchNextStepArgs.builder()
                        .dialogAction(V2modelsIntentClosingSettingConditionalConditionalBranchNextStepDialogActionArgs.builder()
                            .type("string")
                            .slotToElicit("string")
                            .suppressNextMessage(false)
                            .build())
                        .intent(V2modelsIntentClosingSettingConditionalConditionalBranchNextStepIntentArgs.builder()
                            .name("string")
                            .slots(V2modelsIntentClosingSettingConditionalConditionalBranchNextStepIntentSlotArgs.builder()
                                .mapBlockKey("string")
                                .shape("string")
                                .value(V2modelsIntentClosingSettingConditionalConditionalBranchNextStepIntentSlotValueArgs.builder()
                                    .interpretedValue("string")
                                    .build())
                                .build())
                            .build())
                        .sessionAttributes(Map.of("string", "string"))
                        .build())
                    .response(V2modelsIntentClosingSettingConditionalConditionalBranchResponseArgs.builder()
                        .allowInterrupt(false)
                        .messageGroups(V2modelsIntentClosingSettingConditionalConditionalBranchResponseMessageGroupArgs.builder()
                            .message(V2modelsIntentClosingSettingConditionalConditionalBranchResponseMessageGroupMessageArgs.builder()
                                .customPayload(V2modelsIntentClosingSettingConditionalConditionalBranchResponseMessageGroupMessageCustomPayloadArgs.builder()
                                    .value("string")
                                    .build())
                                .imageResponseCard(V2modelsIntentClosingSettingConditionalConditionalBranchResponseMessageGroupMessageImageResponseCardArgs.builder()
                                    .title("string")
                                    .buttons(V2modelsIntentClosingSettingConditionalConditionalBranchResponseMessageGroupMessageImageResponseCardButtonArgs.builder()
                                        .text("string")
                                        .value("string")
                                        .build())
                                    .imageUrl("string")
                                    .subtitle("string")
                                    .build())
                                .plainTextMessage(V2modelsIntentClosingSettingConditionalConditionalBranchResponseMessageGroupMessagePlainTextMessageArgs.builder()
                                    .value("string")
                                    .build())
                                .ssmlMessage(V2modelsIntentClosingSettingConditionalConditionalBranchResponseMessageGroupMessageSsmlMessageArgs.builder()
                                    .value("string")
                                    .build())
                                .build())
                            .variations(V2modelsIntentClosingSettingConditionalConditionalBranchResponseMessageGroupVariationArgs.builder()
                                .customPayload(V2modelsIntentClosingSettingConditionalConditionalBranchResponseMessageGroupVariationCustomPayloadArgs.builder()
                                    .value("string")
                                    .build())
                                .imageResponseCard(V2modelsIntentClosingSettingConditionalConditionalBranchResponseMessageGroupVariationImageResponseCardArgs.builder()
                                    .title("string")
                                    .buttons(V2modelsIntentClosingSettingConditionalConditionalBranchResponseMessageGroupVariationImageResponseCardButtonArgs.builder()
                                        .text("string")
                                        .value("string")
                                        .build())
                                    .imageUrl("string")
                                    .subtitle("string")
                                    .build())
                                .plainTextMessage(V2modelsIntentClosingSettingConditionalConditionalBranchResponseMessageGroupVariationPlainTextMessageArgs.builder()
                                    .value("string")
                                    .build())
                                .ssmlMessage(V2modelsIntentClosingSettingConditionalConditionalBranchResponseMessageGroupVariationSsmlMessageArgs.builder()
                                    .value("string")
                                    .build())
                                .build())
                            .build())
                        .build())
                    .build())
                .defaultBranch(V2modelsIntentClosingSettingConditionalDefaultBranchArgs.builder()
                    .nextStep(V2modelsIntentClosingSettingConditionalDefaultBranchNextStepArgs.builder()
                        .dialogAction(V2modelsIntentClosingSettingConditionalDefaultBranchNextStepDialogActionArgs.builder()
                            .type("string")
                            .slotToElicit("string")
                            .suppressNextMessage(false)
                            .build())
                        .intent(V2modelsIntentClosingSettingConditionalDefaultBranchNextStepIntentArgs.builder()
                            .name("string")
                            .slots(V2modelsIntentClosingSettingConditionalDefaultBranchNextStepIntentSlotArgs.builder()
                                .mapBlockKey("string")
                                .shape("string")
                                .value(V2modelsIntentClosingSettingConditionalDefaultBranchNextStepIntentSlotValueArgs.builder()
                                    .interpretedValue("string")
                                    .build())
                                .build())
                            .build())
                        .sessionAttributes(Map.of("string", "string"))
                        .build())
                    .response(V2modelsIntentClosingSettingConditionalDefaultBranchResponseArgs.builder()
                        .allowInterrupt(false)
                        .messageGroups(V2modelsIntentClosingSettingConditionalDefaultBranchResponseMessageGroupArgs.builder()
                            .message(V2modelsIntentClosingSettingConditionalDefaultBranchResponseMessageGroupMessageArgs.builder()
                                .customPayload(V2modelsIntentClosingSettingConditionalDefaultBranchResponseMessageGroupMessageCustomPayloadArgs.builder()
                                    .value("string")
                                    .build())
                                .imageResponseCard(V2modelsIntentClosingSettingConditionalDefaultBranchResponseMessageGroupMessageImageResponseCardArgs.builder()
                                    .title("string")
                                    .buttons(V2modelsIntentClosingSettingConditionalDefaultBranchResponseMessageGroupMessageImageResponseCardButtonArgs.builder()
                                        .text("string")
                                        .value("string")
                                        .build())
                                    .imageUrl("string")
                                    .subtitle("string")
                                    .build())
                                .plainTextMessage(V2modelsIntentClosingSettingConditionalDefaultBranchResponseMessageGroupMessagePlainTextMessageArgs.builder()
                                    .value("string")
                                    .build())
                                .ssmlMessage(V2modelsIntentClosingSettingConditionalDefaultBranchResponseMessageGroupMessageSsmlMessageArgs.builder()
                                    .value("string")
                                    .build())
                                .build())
                            .variations(V2modelsIntentClosingSettingConditionalDefaultBranchResponseMessageGroupVariationArgs.builder()
                                .customPayload(V2modelsIntentClosingSettingConditionalDefaultBranchResponseMessageGroupVariationCustomPayloadArgs.builder()
                                    .value("string")
                                    .build())
                                .imageResponseCard(V2modelsIntentClosingSettingConditionalDefaultBranchResponseMessageGroupVariationImageResponseCardArgs.builder()
                                    .title("string")
                                    .buttons(V2modelsIntentClosingSettingConditionalDefaultBranchResponseMessageGroupVariationImageResponseCardButtonArgs.builder()
                                        .text("string")
                                        .value("string")
                                        .build())
                                    .imageUrl("string")
                                    .subtitle("string")
                                    .build())
                                .plainTextMessage(V2modelsIntentClosingSettingConditionalDefaultBranchResponseMessageGroupVariationPlainTextMessageArgs.builder()
                                    .value("string")
                                    .build())
                                .ssmlMessage(V2modelsIntentClosingSettingConditionalDefaultBranchResponseMessageGroupVariationSsmlMessageArgs.builder()
                                    .value("string")
                                    .build())
                                .build())
                            .build())
                        .build())
                    .build())
                .build())
            .nextStep(V2modelsIntentClosingSettingNextStepArgs.builder()
                .dialogAction(V2modelsIntentClosingSettingNextStepDialogActionArgs.builder()
                    .type("string")
                    .slotToElicit("string")
                    .suppressNextMessage(false)
                    .build())
                .intent(V2modelsIntentClosingSettingNextStepIntentArgs.builder()
                    .name("string")
                    .slots(V2modelsIntentClosingSettingNextStepIntentSlotArgs.builder()
                        .mapBlockKey("string")
                        .shape("string")
                        .value(V2modelsIntentClosingSettingNextStepIntentSlotValueArgs.builder()
                            .interpretedValue("string")
                            .build())
                        .build())
                    .build())
                .sessionAttributes(Map.of("string", "string"))
                .build())
            .build())
        .dialogCodeHook(V2modelsIntentDialogCodeHookArgs.builder()
            .enabled(false)
            .build())
        .fulfillmentCodeHook(V2modelsIntentFulfillmentCodeHookArgs.builder()
            .enabled(false)
            .active(false)
            .fulfillmentUpdatesSpecification(V2modelsIntentFulfillmentCodeHookFulfillmentUpdatesSpecificationArgs.builder()
                .active(false)
                .startResponse(V2modelsIntentFulfillmentCodeHookFulfillmentUpdatesSpecificationStartResponseArgs.builder()
                    .allowInterrupt(false)
                    .delayInSeconds(0)
                    .messageGroups(V2modelsIntentFulfillmentCodeHookFulfillmentUpdatesSpecificationStartResponseMessageGroupArgs.builder()
                        .message(V2modelsIntentFulfillmentCodeHookFulfillmentUpdatesSpecificationStartResponseMessageGroupMessageArgs.builder()
                            .customPayload(V2modelsIntentFulfillmentCodeHookFulfillmentUpdatesSpecificationStartResponseMessageGroupMessageCustomPayloadArgs.builder()
                                .value("string")
                                .build())
                            .imageResponseCard(V2modelsIntentFulfillmentCodeHookFulfillmentUpdatesSpecificationStartResponseMessageGroupMessageImageResponseCardArgs.builder()
                                .title("string")
                                .buttons(V2modelsIntentFulfillmentCodeHookFulfillmentUpdatesSpecificationStartResponseMessageGroupMessageImageResponseCardButtonArgs.builder()
                                    .text("string")
                                    .value("string")
                                    .build())
                                .imageUrl("string")
                                .subtitle("string")
                                .build())
                            .plainTextMessage(V2modelsIntentFulfillmentCodeHookFulfillmentUpdatesSpecificationStartResponseMessageGroupMessagePlainTextMessageArgs.builder()
                                .value("string")
                                .build())
                            .ssmlMessage(V2modelsIntentFulfillmentCodeHookFulfillmentUpdatesSpecificationStartResponseMessageGroupMessageSsmlMessageArgs.builder()
                                .value("string")
                                .build())
                            .build())
                        .variations(V2modelsIntentFulfillmentCodeHookFulfillmentUpdatesSpecificationStartResponseMessageGroupVariationArgs.builder()
                            .customPayload(V2modelsIntentFulfillmentCodeHookFulfillmentUpdatesSpecificationStartResponseMessageGroupVariationCustomPayloadArgs.builder()
                                .value("string")
                                .build())
                            .imageResponseCard(V2modelsIntentFulfillmentCodeHookFulfillmentUpdatesSpecificationStartResponseMessageGroupVariationImageResponseCardArgs.builder()
                                .title("string")
                                .buttons(V2modelsIntentFulfillmentCodeHookFulfillmentUpdatesSpecificationStartResponseMessageGroupVariationImageResponseCardButtonArgs.builder()
                                    .text("string")
                                    .value("string")
                                    .build())
                                .imageUrl("string")
                                .subtitle("string")
                                .build())
                            .plainTextMessage(V2modelsIntentFulfillmentCodeHookFulfillmentUpdatesSpecificationStartResponseMessageGroupVariationPlainTextMessageArgs.builder()
                                .value("string")
                                .build())
                            .ssmlMessage(V2modelsIntentFulfillmentCodeHookFulfillmentUpdatesSpecificationStartResponseMessageGroupVariationSsmlMessageArgs.builder()
                                .value("string")
                                .build())
                            .build())
                        .build())
                    .build())
                .timeoutInSeconds(0)
                .updateResponse(V2modelsIntentFulfillmentCodeHookFulfillmentUpdatesSpecificationUpdateResponseArgs.builder()
                    .frequencyInSeconds(0)
                    .allowInterrupt(false)
                    .messageGroups(V2modelsIntentFulfillmentCodeHookFulfillmentUpdatesSpecificationUpdateResponseMessageGroupArgs.builder()
                        .message(V2modelsIntentFulfillmentCodeHookFulfillmentUpdatesSpecificationUpdateResponseMessageGroupMessageArgs.builder()
                            .customPayload(V2modelsIntentFulfillmentCodeHookFulfillmentUpdatesSpecificationUpdateResponseMessageGroupMessageCustomPayloadArgs.builder()
                                .value("string")
                                .build())
                            .imageResponseCard(V2modelsIntentFulfillmentCodeHookFulfillmentUpdatesSpecificationUpdateResponseMessageGroupMessageImageResponseCardArgs.builder()
                                .title("string")
                                .buttons(V2modelsIntentFulfillmentCodeHookFulfillmentUpdatesSpecificationUpdateResponseMessageGroupMessageImageResponseCardButtonArgs.builder()
                                    .text("string")
                                    .value("string")
                                    .build())
                                .imageUrl("string")
                                .subtitle("string")
                                .build())
                            .plainTextMessage(V2modelsIntentFulfillmentCodeHookFulfillmentUpdatesSpecificationUpdateResponseMessageGroupMessagePlainTextMessageArgs.builder()
                                .value("string")
                                .build())
                            .ssmlMessage(V2modelsIntentFulfillmentCodeHookFulfillmentUpdatesSpecificationUpdateResponseMessageGroupMessageSsmlMessageArgs.builder()
                                .value("string")
                                .build())
                            .build())
                        .variations(V2modelsIntentFulfillmentCodeHookFulfillmentUpdatesSpecificationUpdateResponseMessageGroupVariationArgs.builder()
                            .customPayload(V2modelsIntentFulfillmentCodeHookFulfillmentUpdatesSpecificationUpdateResponseMessageGroupVariationCustomPayloadArgs.builder()
                                .value("string")
                                .build())
                            .imageResponseCard(V2modelsIntentFulfillmentCodeHookFulfillmentUpdatesSpecificationUpdateResponseMessageGroupVariationImageResponseCardArgs.builder()
                                .title("string")
                                .buttons(V2modelsIntentFulfillmentCodeHookFulfillmentUpdatesSpecificationUpdateResponseMessageGroupVariationImageResponseCardButtonArgs.builder()
                                    .text("string")
                                    .value("string")
                                    .build())
                                .imageUrl("string")
                                .subtitle("string")
                                .build())
                            .plainTextMessage(V2modelsIntentFulfillmentCodeHookFulfillmentUpdatesSpecificationUpdateResponseMessageGroupVariationPlainTextMessageArgs.builder()
                                .value("string")
                                .build())
                            .ssmlMessage(V2modelsIntentFulfillmentCodeHookFulfillmentUpdatesSpecificationUpdateResponseMessageGroupVariationSsmlMessageArgs.builder()
                                .value("string")
                                .build())
                            .build())
                        .build())
                    .build())
                .build())
            .postFulfillmentStatusSpecification(V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationArgs.builder()
                .failureConditional(V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureConditionalArgs.builder()
                    .active(false)
                    .conditionalBranches(V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureConditionalConditionalBranchArgs.builder()
                        .name("string")
                        .condition(V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureConditionalConditionalBranchConditionArgs.builder()
                            .expressionString("string")
                            .build())
                        .nextStep(V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureConditionalConditionalBranchNextStepArgs.builder()
                            .dialogAction(V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureConditionalConditionalBranchNextStepDialogActionArgs.builder()
                                .type("string")
                                .slotToElicit("string")
                                .suppressNextMessage(false)
                                .build())
                            .intent(V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureConditionalConditionalBranchNextStepIntentArgs.builder()
                                .name("string")
                                .slots(V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureConditionalConditionalBranchNextStepIntentSlotArgs.builder()
                                    .mapBlockKey("string")
                                    .shape("string")
                                    .value(V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureConditionalConditionalBranchNextStepIntentSlotValueArgs.builder()
                                        .interpretedValue("string")
                                        .build())
                                    .build())
                                .build())
                            .sessionAttributes(Map.of("string", "string"))
                            .build())
                        .response(V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureConditionalConditionalBranchResponseArgs.builder()
                            .allowInterrupt(false)
                            .messageGroups(V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureConditionalConditionalBranchResponseMessageGroupArgs.builder()
                                .message(V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureConditionalConditionalBranchResponseMessageGroupMessageArgs.builder()
                                    .customPayload(V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureConditionalConditionalBranchResponseMessageGroupMessageCustomPayloadArgs.builder()
                                        .value("string")
                                        .build())
                                    .imageResponseCard(V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureConditionalConditionalBranchResponseMessageGroupMessageImageResponseCardArgs.builder()
                                        .title("string")
                                        .buttons(V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureConditionalConditionalBranchResponseMessageGroupMessageImageResponseCardButtonArgs.builder()
                                            .text("string")
                                            .value("string")
                                            .build())
                                        .imageUrl("string")
                                        .subtitle("string")
                                        .build())
                                    .plainTextMessage(V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureConditionalConditionalBranchResponseMessageGroupMessagePlainTextMessageArgs.builder()
                                        .value("string")
                                        .build())
                                    .ssmlMessage(V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureConditionalConditionalBranchResponseMessageGroupMessageSsmlMessageArgs.builder()
                                        .value("string")
                                        .build())
                                    .build())
                                .variations(V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureConditionalConditionalBranchResponseMessageGroupVariationArgs.builder()
                                    .customPayload(V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureConditionalConditionalBranchResponseMessageGroupVariationCustomPayloadArgs.builder()
                                        .value("string")
                                        .build())
                                    .imageResponseCard(V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureConditionalConditionalBranchResponseMessageGroupVariationImageResponseCardArgs.builder()
                                        .title("string")
                                        .buttons(V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureConditionalConditionalBranchResponseMessageGroupVariationImageResponseCardButtonArgs.builder()
                                            .text("string")
                                            .value("string")
                                            .build())
                                        .imageUrl("string")
                                        .subtitle("string")
                                        .build())
                                    .plainTextMessage(V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureConditionalConditionalBranchResponseMessageGroupVariationPlainTextMessageArgs.builder()
                                        .value("string")
                                        .build())
                                    .ssmlMessage(V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureConditionalConditionalBranchResponseMessageGroupVariationSsmlMessageArgs.builder()
                                        .value("string")
                                        .build())
                                    .build())
                                .build())
                            .build())
                        .build())
                    .defaultBranch(V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureConditionalDefaultBranchArgs.builder()
                        .nextStep(V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureConditionalDefaultBranchNextStepArgs.builder()
                            .dialogAction(V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureConditionalDefaultBranchNextStepDialogActionArgs.builder()
                                .type("string")
                                .slotToElicit("string")
                                .suppressNextMessage(false)
                                .build())
                            .intent(V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureConditionalDefaultBranchNextStepIntentArgs.builder()
                                .name("string")
                                .slots(V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureConditionalDefaultBranchNextStepIntentSlotArgs.builder()
                                    .mapBlockKey("string")
                                    .shape("string")
                                    .value(V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureConditionalDefaultBranchNextStepIntentSlotValueArgs.builder()
                                        .interpretedValue("string")
                                        .build())
                                    .build())
                                .build())
                            .sessionAttributes(Map.of("string", "string"))
                            .build())
                        .response(V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureConditionalDefaultBranchResponseArgs.builder()
                            .allowInterrupt(false)
                            .messageGroups(V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureConditionalDefaultBranchResponseMessageGroupArgs.builder()
                                .message(V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureConditionalDefaultBranchResponseMessageGroupMessageArgs.builder()
                                    .customPayload(V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureConditionalDefaultBranchResponseMessageGroupMessageCustomPayloadArgs.builder()
                                        .value("string")
                                        .build())
                                    .imageResponseCard(V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureConditionalDefaultBranchResponseMessageGroupMessageImageResponseCardArgs.builder()
                                        .title("string")
                                        .buttons(V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureConditionalDefaultBranchResponseMessageGroupMessageImageResponseCardButtonArgs.builder()
                                            .text("string")
                                            .value("string")
                                            .build())
                                        .imageUrl("string")
                                        .subtitle("string")
                                        .build())
                                    .plainTextMessage(V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureConditionalDefaultBranchResponseMessageGroupMessagePlainTextMessageArgs.builder()
                                        .value("string")
                                        .build())
                                    .ssmlMessage(V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureConditionalDefaultBranchResponseMessageGroupMessageSsmlMessageArgs.builder()
                                        .value("string")
                                        .build())
                                    .build())
                                .variations(V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureConditionalDefaultBranchResponseMessageGroupVariationArgs.builder()
                                    .customPayload(V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureConditionalDefaultBranchResponseMessageGroupVariationCustomPayloadArgs.builder()
                                        .value("string")
                                        .build())
                                    .imageResponseCard(V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureConditionalDefaultBranchResponseMessageGroupVariationImageResponseCardArgs.builder()
                                        .title("string")
                                        .buttons(V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureConditionalDefaultBranchResponseMessageGroupVariationImageResponseCardButtonArgs.builder()
                                            .text("string")
                                            .value("string")
                                            .build())
                                        .imageUrl("string")
                                        .subtitle("string")
                                        .build())
                                    .plainTextMessage(V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureConditionalDefaultBranchResponseMessageGroupVariationPlainTextMessageArgs.builder()
                                        .value("string")
                                        .build())
                                    .ssmlMessage(V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureConditionalDefaultBranchResponseMessageGroupVariationSsmlMessageArgs.builder()
                                        .value("string")
                                        .build())
                                    .build())
                                .build())
                            .build())
                        .build())
                    .build())
                .failureNextStep(V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureNextStepArgs.builder()
                    .dialogAction(V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureNextStepDialogActionArgs.builder()
                        .type("string")
                        .slotToElicit("string")
                        .suppressNextMessage(false)
                        .build())
                    .intent(V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureNextStepIntentArgs.builder()
                        .name("string")
                        .slots(V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureNextStepIntentSlotArgs.builder()
                            .mapBlockKey("string")
                            .shape("string")
                            .value(V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureNextStepIntentSlotValueArgs.builder()
                                .interpretedValue("string")
                                .build())
                            .build())
                        .build())
                    .sessionAttributes(Map.of("string", "string"))
                    .build())
                .failureResponse(V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureResponseArgs.builder()
                    .allowInterrupt(false)
                    .messageGroups(V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureResponseMessageGroupArgs.builder()
                        .message(V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureResponseMessageGroupMessageArgs.builder()
                            .customPayload(V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureResponseMessageGroupMessageCustomPayloadArgs.builder()
                                .value("string")
                                .build())
                            .imageResponseCard(V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureResponseMessageGroupMessageImageResponseCardArgs.builder()
                                .title("string")
                                .buttons(V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureResponseMessageGroupMessageImageResponseCardButtonArgs.builder()
                                    .text("string")
                                    .value("string")
                                    .build())
                                .imageUrl("string")
                                .subtitle("string")
                                .build())
                            .plainTextMessage(V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureResponseMessageGroupMessagePlainTextMessageArgs.builder()
                                .value("string")
                                .build())
                            .ssmlMessage(V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureResponseMessageGroupMessageSsmlMessageArgs.builder()
                                .value("string")
                                .build())
                            .build())
                        .variations(V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureResponseMessageGroupVariationArgs.builder()
                            .customPayload(V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureResponseMessageGroupVariationCustomPayloadArgs.builder()
                                .value("string")
                                .build())
                            .imageResponseCard(V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureResponseMessageGroupVariationImageResponseCardArgs.builder()
                                .title("string")
                                .buttons(V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureResponseMessageGroupVariationImageResponseCardButtonArgs.builder()
                                    .text("string")
                                    .value("string")
                                    .build())
                                .imageUrl("string")
                                .subtitle("string")
                                .build())
                            .plainTextMessage(V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureResponseMessageGroupVariationPlainTextMessageArgs.builder()
                                .value("string")
                                .build())
                            .ssmlMessage(V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureResponseMessageGroupVariationSsmlMessageArgs.builder()
                                .value("string")
                                .build())
                            .build())
                        .build())
                    .build())
                .successConditional(V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessConditionalArgs.builder()
                    .active(false)
                    .conditionalBranches(V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessConditionalConditionalBranchArgs.builder()
                        .name("string")
                        .condition(V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessConditionalConditionalBranchConditionArgs.builder()
                            .expressionString("string")
                            .build())
                        .nextStep(V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessConditionalConditionalBranchNextStepArgs.builder()
                            .dialogAction(V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessConditionalConditionalBranchNextStepDialogActionArgs.builder()
                                .type("string")
                                .slotToElicit("string")
                                .suppressNextMessage(false)
                                .build())
                            .intent(V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessConditionalConditionalBranchNextStepIntentArgs.builder()
                                .name("string")
                                .slots(V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessConditionalConditionalBranchNextStepIntentSlotArgs.builder()
                                    .mapBlockKey("string")
                                    .shape("string")
                                    .value(V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessConditionalConditionalBranchNextStepIntentSlotValueArgs.builder()
                                        .interpretedValue("string")
                                        .build())
                                    .build())
                                .build())
                            .sessionAttributes(Map.of("string", "string"))
                            .build())
                        .response(V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessConditionalConditionalBranchResponseArgs.builder()
                            .allowInterrupt(false)
                            .messageGroups(V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessConditionalConditionalBranchResponseMessageGroupArgs.builder()
                                .message(V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessConditionalConditionalBranchResponseMessageGroupMessageArgs.builder()
                                    .customPayload(V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessConditionalConditionalBranchResponseMessageGroupMessageCustomPayloadArgs.builder()
                                        .value("string")
                                        .build())
                                    .imageResponseCard(V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessConditionalConditionalBranchResponseMessageGroupMessageImageResponseCardArgs.builder()
                                        .title("string")
                                        .buttons(V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessConditionalConditionalBranchResponseMessageGroupMessageImageResponseCardButtonArgs.builder()
                                            .text("string")
                                            .value("string")
                                            .build())
                                        .imageUrl("string")
                                        .subtitle("string")
                                        .build())
                                    .plainTextMessage(V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessConditionalConditionalBranchResponseMessageGroupMessagePlainTextMessageArgs.builder()
                                        .value("string")
                                        .build())
                                    .ssmlMessage(V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessConditionalConditionalBranchResponseMessageGroupMessageSsmlMessageArgs.builder()
                                        .value("string")
                                        .build())
                                    .build())
                                .variations(V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessConditionalConditionalBranchResponseMessageGroupVariationArgs.builder()
                                    .customPayload(V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessConditionalConditionalBranchResponseMessageGroupVariationCustomPayloadArgs.builder()
                                        .value("string")
                                        .build())
                                    .imageResponseCard(V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessConditionalConditionalBranchResponseMessageGroupVariationImageResponseCardArgs.builder()
                                        .title("string")
                                        .buttons(V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessConditionalConditionalBranchResponseMessageGroupVariationImageResponseCardButtonArgs.builder()
                                            .text("string")
                                            .value("string")
                                            .build())
                                        .imageUrl("string")
                                        .subtitle("string")
                                        .build())
                                    .plainTextMessage(V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessConditionalConditionalBranchResponseMessageGroupVariationPlainTextMessageArgs.builder()
                                        .value("string")
                                        .build())
                                    .ssmlMessage(V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessConditionalConditionalBranchResponseMessageGroupVariationSsmlMessageArgs.builder()
                                        .value("string")
                                        .build())
                                    .build())
                                .build())
                            .build())
                        .build())
                    .defaultBranch(V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessConditionalDefaultBranchArgs.builder()
                        .nextStep(V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessConditionalDefaultBranchNextStepArgs.builder()
                            .dialogAction(V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessConditionalDefaultBranchNextStepDialogActionArgs.builder()
                                .type("string")
                                .slotToElicit("string")
                                .suppressNextMessage(false)
                                .build())
                            .intent(V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessConditionalDefaultBranchNextStepIntentArgs.builder()
                                .name("string")
                                .slots(V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessConditionalDefaultBranchNextStepIntentSlotArgs.builder()
                                    .mapBlockKey("string")
                                    .shape("string")
                                    .value(V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessConditionalDefaultBranchNextStepIntentSlotValueArgs.builder()
                                        .interpretedValue("string")
                                        .build())
                                    .build())
                                .build())
                            .sessionAttributes(Map.of("string", "string"))
                            .build())
                        .response(V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessConditionalDefaultBranchResponseArgs.builder()
                            .allowInterrupt(false)
                            .messageGroups(V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessConditionalDefaultBranchResponseMessageGroupArgs.builder()
                                .message(V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessConditionalDefaultBranchResponseMessageGroupMessageArgs.builder()
                                    .customPayload(V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessConditionalDefaultBranchResponseMessageGroupMessageCustomPayloadArgs.builder()
                                        .value("string")
                                        .build())
                                    .imageResponseCard(V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessConditionalDefaultBranchResponseMessageGroupMessageImageResponseCardArgs.builder()
                                        .title("string")
                                        .buttons(V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessConditionalDefaultBranchResponseMessageGroupMessageImageResponseCardButtonArgs.builder()
                                            .text("string")
                                            .value("string")
                                            .build())
                                        .imageUrl("string")
                                        .subtitle("string")
                                        .build())
                                    .plainTextMessage(V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessConditionalDefaultBranchResponseMessageGroupMessagePlainTextMessageArgs.builder()
                                        .value("string")
                                        .build())
                                    .ssmlMessage(V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessConditionalDefaultBranchResponseMessageGroupMessageSsmlMessageArgs.builder()
                                        .value("string")
                                        .build())
                                    .build())
                                .variations(V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessConditionalDefaultBranchResponseMessageGroupVariationArgs.builder()
                                    .customPayload(V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessConditionalDefaultBranchResponseMessageGroupVariationCustomPayloadArgs.builder()
                                        .value("string")
                                        .build())
                                    .imageResponseCard(V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessConditionalDefaultBranchResponseMessageGroupVariationImageResponseCardArgs.builder()
                                        .title("string")
                                        .buttons(V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessConditionalDefaultBranchResponseMessageGroupVariationImageResponseCardButtonArgs.builder()
                                            .text("string")
                                            .value("string")
                                            .build())
                                        .imageUrl("string")
                                        .subtitle("string")
                                        .build())
                                    .plainTextMessage(V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessConditionalDefaultBranchResponseMessageGroupVariationPlainTextMessageArgs.builder()
                                        .value("string")
                                        .build())
                                    .ssmlMessage(V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessConditionalDefaultBranchResponseMessageGroupVariationSsmlMessageArgs.builder()
                                        .value("string")
                                        .build())
                                    .build())
                                .build())
                            .build())
                        .build())
                    .build())
                .successNextStep(V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessNextStepArgs.builder()
                    .dialogAction(V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessNextStepDialogActionArgs.builder()
                        .type("string")
                        .slotToElicit("string")
                        .suppressNextMessage(false)
                        .build())
                    .intent(V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessNextStepIntentArgs.builder()
                        .name("string")
                        .slots(V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessNextStepIntentSlotArgs.builder()
                            .mapBlockKey("string")
                            .shape("string")
                            .value(V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessNextStepIntentSlotValueArgs.builder()
                                .interpretedValue("string")
                                .build())
                            .build())
                        .build())
                    .sessionAttributes(Map.of("string", "string"))
                    .build())
                .successResponse(V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessResponseArgs.builder()
                    .allowInterrupt(false)
                    .messageGroups(V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessResponseMessageGroupArgs.builder()
                        .message(V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessResponseMessageGroupMessageArgs.builder()
                            .customPayload(V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessResponseMessageGroupMessageCustomPayloadArgs.builder()
                                .value("string")
                                .build())
                            .imageResponseCard(V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessResponseMessageGroupMessageImageResponseCardArgs.builder()
                                .title("string")
                                .buttons(V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessResponseMessageGroupMessageImageResponseCardButtonArgs.builder()
                                    .text("string")
                                    .value("string")
                                    .build())
                                .imageUrl("string")
                                .subtitle("string")
                                .build())
                            .plainTextMessage(V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessResponseMessageGroupMessagePlainTextMessageArgs.builder()
                                .value("string")
                                .build())
                            .ssmlMessage(V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessResponseMessageGroupMessageSsmlMessageArgs.builder()
                                .value("string")
                                .build())
                            .build())
                        .variations(V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessResponseMessageGroupVariationArgs.builder()
                            .customPayload(V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessResponseMessageGroupVariationCustomPayloadArgs.builder()
                                .value("string")
                                .build())
                            .imageResponseCard(V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessResponseMessageGroupVariationImageResponseCardArgs.builder()
                                .title("string")
                                .buttons(V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessResponseMessageGroupVariationImageResponseCardButtonArgs.builder()
                                    .text("string")
                                    .value("string")
                                    .build())
                                .imageUrl("string")
                                .subtitle("string")
                                .build())
                            .plainTextMessage(V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessResponseMessageGroupVariationPlainTextMessageArgs.builder()
                                .value("string")
                                .build())
                            .ssmlMessage(V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessResponseMessageGroupVariationSsmlMessageArgs.builder()
                                .value("string")
                                .build())
                            .build())
                        .build())
                    .build())
                .timeoutConditional(V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutConditionalArgs.builder()
                    .active(false)
                    .conditionalBranches(V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutConditionalConditionalBranchArgs.builder()
                        .name("string")
                        .condition(V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutConditionalConditionalBranchConditionArgs.builder()
                            .expressionString("string")
                            .build())
                        .nextStep(V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutConditionalConditionalBranchNextStepArgs.builder()
                            .dialogAction(V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutConditionalConditionalBranchNextStepDialogActionArgs.builder()
                                .type("string")
                                .slotToElicit("string")
                                .suppressNextMessage(false)
                                .build())
                            .intent(V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutConditionalConditionalBranchNextStepIntentArgs.builder()
                                .name("string")
                                .slots(V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutConditionalConditionalBranchNextStepIntentSlotArgs.builder()
                                    .mapBlockKey("string")
                                    .shape("string")
                                    .value(V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutConditionalConditionalBranchNextStepIntentSlotValueArgs.builder()
                                        .interpretedValue("string")
                                        .build())
                                    .build())
                                .build())
                            .sessionAttributes(Map.of("string", "string"))
                            .build())
                        .response(V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutConditionalConditionalBranchResponseArgs.builder()
                            .allowInterrupt(false)
                            .messageGroups(V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupArgs.builder()
                                .message(V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupMessageArgs.builder()
                                    .customPayload(V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupMessageCustomPayloadArgs.builder()
                                        .value("string")
                                        .build())
                                    .imageResponseCard(V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupMessageImageResponseCardArgs.builder()
                                        .title("string")
                                        .buttons(V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupMessageImageResponseCardButtonArgs.builder()
                                            .text("string")
                                            .value("string")
                                            .build())
                                        .imageUrl("string")
                                        .subtitle("string")
                                        .build())
                                    .plainTextMessage(V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupMessagePlainTextMessageArgs.builder()
                                        .value("string")
                                        .build())
                                    .ssmlMessage(V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupMessageSsmlMessageArgs.builder()
                                        .value("string")
                                        .build())
                                    .build())
                                .variations(V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupVariationArgs.builder()
                                    .customPayload(V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupVariationCustomPayloadArgs.builder()
                                        .value("string")
                                        .build())
                                    .imageResponseCard(V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupVariationImageResponseCardArgs.builder()
                                        .title("string")
                                        .buttons(V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupVariationImageResponseCardButtonArgs.builder()
                                            .text("string")
                                            .value("string")
                                            .build())
                                        .imageUrl("string")
                                        .subtitle("string")
                                        .build())
                                    .plainTextMessage(V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupVariationPlainTextMessageArgs.builder()
                                        .value("string")
                                        .build())
                                    .ssmlMessage(V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupVariationSsmlMessageArgs.builder()
                                        .value("string")
                                        .build())
                                    .build())
                                .build())
                            .build())
                        .build())
                    .defaultBranch(V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutConditionalDefaultBranchArgs.builder()
                        .nextStep(V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutConditionalDefaultBranchNextStepArgs.builder()
                            .dialogAction(V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutConditionalDefaultBranchNextStepDialogActionArgs.builder()
                                .type("string")
                                .slotToElicit("string")
                                .suppressNextMessage(false)
                                .build())
                            .intent(V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutConditionalDefaultBranchNextStepIntentArgs.builder()
                                .name("string")
                                .slots(V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutConditionalDefaultBranchNextStepIntentSlotArgs.builder()
                                    .mapBlockKey("string")
                                    .shape("string")
                                    .value(V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutConditionalDefaultBranchNextStepIntentSlotValueArgs.builder()
                                        .interpretedValue("string")
                                        .build())
                                    .build())
                                .build())
                            .sessionAttributes(Map.of("string", "string"))
                            .build())
                        .response(V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutConditionalDefaultBranchResponseArgs.builder()
                            .allowInterrupt(false)
                            .messageGroups(V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutConditionalDefaultBranchResponseMessageGroupArgs.builder()
                                .message(V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutConditionalDefaultBranchResponseMessageGroupMessageArgs.builder()
                                    .customPayload(V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutConditionalDefaultBranchResponseMessageGroupMessageCustomPayloadArgs.builder()
                                        .value("string")
                                        .build())
                                    .imageResponseCard(V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutConditionalDefaultBranchResponseMessageGroupMessageImageResponseCardArgs.builder()
                                        .title("string")
                                        .buttons(V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutConditionalDefaultBranchResponseMessageGroupMessageImageResponseCardButtonArgs.builder()
                                            .text("string")
                                            .value("string")
                                            .build())
                                        .imageUrl("string")
                                        .subtitle("string")
                                        .build())
                                    .plainTextMessage(V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutConditionalDefaultBranchResponseMessageGroupMessagePlainTextMessageArgs.builder()
                                        .value("string")
                                        .build())
                                    .ssmlMessage(V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutConditionalDefaultBranchResponseMessageGroupMessageSsmlMessageArgs.builder()
                                        .value("string")
                                        .build())
                                    .build())
                                .variations(V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutConditionalDefaultBranchResponseMessageGroupVariationArgs.builder()
                                    .customPayload(V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutConditionalDefaultBranchResponseMessageGroupVariationCustomPayloadArgs.builder()
                                        .value("string")
                                        .build())
                                    .imageResponseCard(V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutConditionalDefaultBranchResponseMessageGroupVariationImageResponseCardArgs.builder()
                                        .title("string")
                                        .buttons(V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutConditionalDefaultBranchResponseMessageGroupVariationImageResponseCardButtonArgs.builder()
                                            .text("string")
                                            .value("string")
                                            .build())
                                        .imageUrl("string")
                                        .subtitle("string")
                                        .build())
                                    .plainTextMessage(V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutConditionalDefaultBranchResponseMessageGroupVariationPlainTextMessageArgs.builder()
                                        .value("string")
                                        .build())
                                    .ssmlMessage(V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutConditionalDefaultBranchResponseMessageGroupVariationSsmlMessageArgs.builder()
                                        .value("string")
                                        .build())
                                    .build())
                                .build())
                            .build())
                        .build())
                    .build())
                .timeoutNextStep(V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutNextStepArgs.builder()
                    .dialogAction(V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutNextStepDialogActionArgs.builder()
                        .type("string")
                        .slotToElicit("string")
                        .suppressNextMessage(false)
                        .build())
                    .intent(V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutNextStepIntentArgs.builder()
                        .name("string")
                        .slots(V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutNextStepIntentSlotArgs.builder()
                            .mapBlockKey("string")
                            .shape("string")
                            .value(V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutNextStepIntentSlotValueArgs.builder()
                                .interpretedValue("string")
                                .build())
                            .build())
                        .build())
                    .sessionAttributes(Map.of("string", "string"))
                    .build())
                .timeoutResponse(V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutResponseArgs.builder()
                    .allowInterrupt(false)
                    .messageGroups(V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutResponseMessageGroupArgs.builder()
                        .message(V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutResponseMessageGroupMessageArgs.builder()
                            .customPayload(V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutResponseMessageGroupMessageCustomPayloadArgs.builder()
                                .value("string")
                                .build())
                            .imageResponseCard(V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutResponseMessageGroupMessageImageResponseCardArgs.builder()
                                .title("string")
                                .buttons(V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutResponseMessageGroupMessageImageResponseCardButtonArgs.builder()
                                    .text("string")
                                    .value("string")
                                    .build())
                                .imageUrl("string")
                                .subtitle("string")
                                .build())
                            .plainTextMessage(V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutResponseMessageGroupMessagePlainTextMessageArgs.builder()
                                .value("string")
                                .build())
                            .ssmlMessage(V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutResponseMessageGroupMessageSsmlMessageArgs.builder()
                                .value("string")
                                .build())
                            .build())
                        .variations(V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutResponseMessageGroupVariationArgs.builder()
                            .customPayload(V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutResponseMessageGroupVariationCustomPayloadArgs.builder()
                                .value("string")
                                .build())
                            .imageResponseCard(V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutResponseMessageGroupVariationImageResponseCardArgs.builder()
                                .title("string")
                                .buttons(V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutResponseMessageGroupVariationImageResponseCardButtonArgs.builder()
                                    .text("string")
                                    .value("string")
                                    .build())
                                .imageUrl("string")
                                .subtitle("string")
                                .build())
                            .plainTextMessage(V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutResponseMessageGroupVariationPlainTextMessageArgs.builder()
                                .value("string")
                                .build())
                            .ssmlMessage(V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutResponseMessageGroupVariationSsmlMessageArgs.builder()
                                .value("string")
                                .build())
                            .build())
                        .build())
                    .build())
                .build())
            .build())
        .initialResponseSetting(V2modelsIntentInitialResponseSettingArgs.builder()
            .codeHook(V2modelsIntentInitialResponseSettingCodeHookArgs.builder()
                .active(false)
                .enableCodeHookInvocation(false)
                .invocationLabel("string")
                .postCodeHookSpecification(V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationArgs.builder()
                    .failureConditional(V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureConditionalArgs.builder()
                        .active(false)
                        .conditionalBranches(V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureConditionalConditionalBranchArgs.builder()
                            .name("string")
                            .condition(V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureConditionalConditionalBranchConditionArgs.builder()
                                .expressionString("string")
                                .build())
                            .nextStep(V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureConditionalConditionalBranchNextStepArgs.builder()
                                .dialogAction(V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureConditionalConditionalBranchNextStepDialogActionArgs.builder()
                                    .type("string")
                                    .slotToElicit("string")
                                    .suppressNextMessage(false)
                                    .build())
                                .intent(V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureConditionalConditionalBranchNextStepIntentArgs.builder()
                                    .name("string")
                                    .slots(V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureConditionalConditionalBranchNextStepIntentSlotArgs.builder()
                                        .mapBlockKey("string")
                                        .shape("string")
                                        .value(V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureConditionalConditionalBranchNextStepIntentSlotValueArgs.builder()
                                            .interpretedValue("string")
                                            .build())
                                        .build())
                                    .build())
                                .sessionAttributes(Map.of("string", "string"))
                                .build())
                            .response(V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureConditionalConditionalBranchResponseArgs.builder()
                                .allowInterrupt(false)
                                .messageGroups(V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureConditionalConditionalBranchResponseMessageGroupArgs.builder()
                                    .message(V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureConditionalConditionalBranchResponseMessageGroupMessageArgs.builder()
                                        .customPayload(V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureConditionalConditionalBranchResponseMessageGroupMessageCustomPayloadArgs.builder()
                                            .value("string")
                                            .build())
                                        .imageResponseCard(V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureConditionalConditionalBranchResponseMessageGroupMessageImageResponseCardArgs.builder()
                                            .title("string")
                                            .buttons(V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureConditionalConditionalBranchResponseMessageGroupMessageImageResponseCardButtonArgs.builder()
                                                .text("string")
                                                .value("string")
                                                .build())
                                            .imageUrl("string")
                                            .subtitle("string")
                                            .build())
                                        .plainTextMessage(V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureConditionalConditionalBranchResponseMessageGroupMessagePlainTextMessageArgs.builder()
                                            .value("string")
                                            .build())
                                        .ssmlMessage(V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureConditionalConditionalBranchResponseMessageGroupMessageSsmlMessageArgs.builder()
                                            .value("string")
                                            .build())
                                        .build())
                                    .variations(V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureConditionalConditionalBranchResponseMessageGroupVariationArgs.builder()
                                        .customPayload(V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureConditionalConditionalBranchResponseMessageGroupVariationCustomPayloadArgs.builder()
                                            .value("string")
                                            .build())
                                        .imageResponseCard(V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureConditionalConditionalBranchResponseMessageGroupVariationImageResponseCardArgs.builder()
                                            .title("string")
                                            .buttons(V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureConditionalConditionalBranchResponseMessageGroupVariationImageResponseCardButtonArgs.builder()
                                                .text("string")
                                                .value("string")
                                                .build())
                                            .imageUrl("string")
                                            .subtitle("string")
                                            .build())
                                        .plainTextMessage(V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureConditionalConditionalBranchResponseMessageGroupVariationPlainTextMessageArgs.builder()
                                            .value("string")
                                            .build())
                                        .ssmlMessage(V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureConditionalConditionalBranchResponseMessageGroupVariationSsmlMessageArgs.builder()
                                            .value("string")
                                            .build())
                                        .build())
                                    .build())
                                .build())
                            .build())
                        .defaultBranch(V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureConditionalDefaultBranchArgs.builder()
                            .nextStep(V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureConditionalDefaultBranchNextStepArgs.builder()
                                .dialogAction(V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureConditionalDefaultBranchNextStepDialogActionArgs.builder()
                                    .type("string")
                                    .slotToElicit("string")
                                    .suppressNextMessage(false)
                                    .build())
                                .intent(V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureConditionalDefaultBranchNextStepIntentArgs.builder()
                                    .name("string")
                                    .slots(V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureConditionalDefaultBranchNextStepIntentSlotArgs.builder()
                                        .mapBlockKey("string")
                                        .shape("string")
                                        .value(V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureConditionalDefaultBranchNextStepIntentSlotValueArgs.builder()
                                            .interpretedValue("string")
                                            .build())
                                        .build())
                                    .build())
                                .sessionAttributes(Map.of("string", "string"))
                                .build())
                            .response(V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureConditionalDefaultBranchResponseArgs.builder()
                                .allowInterrupt(false)
                                .messageGroups(V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureConditionalDefaultBranchResponseMessageGroupArgs.builder()
                                    .message(V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureConditionalDefaultBranchResponseMessageGroupMessageArgs.builder()
                                        .customPayload(V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureConditionalDefaultBranchResponseMessageGroupMessageCustomPayloadArgs.builder()
                                            .value("string")
                                            .build())
                                        .imageResponseCard(V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureConditionalDefaultBranchResponseMessageGroupMessageImageResponseCardArgs.builder()
                                            .title("string")
                                            .buttons(V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureConditionalDefaultBranchResponseMessageGroupMessageImageResponseCardButtonArgs.builder()
                                                .text("string")
                                                .value("string")
                                                .build())
                                            .imageUrl("string")
                                            .subtitle("string")
                                            .build())
                                        .plainTextMessage(V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureConditionalDefaultBranchResponseMessageGroupMessagePlainTextMessageArgs.builder()
                                            .value("string")
                                            .build())
                                        .ssmlMessage(V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureConditionalDefaultBranchResponseMessageGroupMessageSsmlMessageArgs.builder()
                                            .value("string")
                                            .build())
                                        .build())
                                    .variations(V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureConditionalDefaultBranchResponseMessageGroupVariationArgs.builder()
                                        .customPayload(V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureConditionalDefaultBranchResponseMessageGroupVariationCustomPayloadArgs.builder()
                                            .value("string")
                                            .build())
                                        .imageResponseCard(V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureConditionalDefaultBranchResponseMessageGroupVariationImageResponseCardArgs.builder()
                                            .title("string")
                                            .buttons(V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureConditionalDefaultBranchResponseMessageGroupVariationImageResponseCardButtonArgs.builder()
                                                .text("string")
                                                .value("string")
                                                .build())
                                            .imageUrl("string")
                                            .subtitle("string")
                                            .build())
                                        .plainTextMessage(V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureConditionalDefaultBranchResponseMessageGroupVariationPlainTextMessageArgs.builder()
                                            .value("string")
                                            .build())
                                        .ssmlMessage(V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureConditionalDefaultBranchResponseMessageGroupVariationSsmlMessageArgs.builder()
                                            .value("string")
                                            .build())
                                        .build())
                                    .build())
                                .build())
                            .build())
                        .build())
                    .failureNextStep(V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureNextStepArgs.builder()
                        .dialogAction(V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureNextStepDialogActionArgs.builder()
                            .type("string")
                            .slotToElicit("string")
                            .suppressNextMessage(false)
                            .build())
                        .intent(V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureNextStepIntentArgs.builder()
                            .name("string")
                            .slots(V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureNextStepIntentSlotArgs.builder()
                                .mapBlockKey("string")
                                .shape("string")
                                .value(V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureNextStepIntentSlotValueArgs.builder()
                                    .interpretedValue("string")
                                    .build())
                                .build())
                            .build())
                        .sessionAttributes(Map.of("string", "string"))
                        .build())
                    .failureResponse(V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureResponseArgs.builder()
                        .allowInterrupt(false)
                        .messageGroups(V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureResponseMessageGroupArgs.builder()
                            .message(V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureResponseMessageGroupMessageArgs.builder()
                                .customPayload(V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureResponseMessageGroupMessageCustomPayloadArgs.builder()
                                    .value("string")
                                    .build())
                                .imageResponseCard(V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureResponseMessageGroupMessageImageResponseCardArgs.builder()
                                    .title("string")
                                    .buttons(V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureResponseMessageGroupMessageImageResponseCardButtonArgs.builder()
                                        .text("string")
                                        .value("string")
                                        .build())
                                    .imageUrl("string")
                                    .subtitle("string")
                                    .build())
                                .plainTextMessage(V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureResponseMessageGroupMessagePlainTextMessageArgs.builder()
                                    .value("string")
                                    .build())
                                .ssmlMessage(V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureResponseMessageGroupMessageSsmlMessageArgs.builder()
                                    .value("string")
                                    .build())
                                .build())
                            .variations(V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureResponseMessageGroupVariationArgs.builder()
                                .customPayload(V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureResponseMessageGroupVariationCustomPayloadArgs.builder()
                                    .value("string")
                                    .build())
                                .imageResponseCard(V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureResponseMessageGroupVariationImageResponseCardArgs.builder()
                                    .title("string")
                                    .buttons(V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureResponseMessageGroupVariationImageResponseCardButtonArgs.builder()
                                        .text("string")
                                        .value("string")
                                        .build())
                                    .imageUrl("string")
                                    .subtitle("string")
                                    .build())
                                .plainTextMessage(V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureResponseMessageGroupVariationPlainTextMessageArgs.builder()
                                    .value("string")
                                    .build())
                                .ssmlMessage(V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureResponseMessageGroupVariationSsmlMessageArgs.builder()
                                    .value("string")
                                    .build())
                                .build())
                            .build())
                        .build())
                    .successConditional(V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationSuccessConditionalArgs.builder()
                        .active(false)
                        .conditionalBranches(V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationSuccessConditionalConditionalBranchArgs.builder()
                            .name("string")
                            .condition(V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationSuccessConditionalConditionalBranchConditionArgs.builder()
                                .expressionString("string")
                                .build())
                            .nextStep(V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationSuccessConditionalConditionalBranchNextStepArgs.builder()
                                .dialogAction(V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationSuccessConditionalConditionalBranchNextStepDialogActionArgs.builder()
                                    .type("string")
                                    .slotToElicit("string")
                                    .suppressNextMessage(false)
                                    .build())
                                .intent(V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationSuccessConditionalConditionalBranchNextStepIntentArgs.builder()
                                    .name("string")
                                    .slots(V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationSuccessConditionalConditionalBranchNextStepIntentSlotArgs.builder()
                                        .mapBlockKey("string")
                                        .shape("string")
                                        .value(V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationSuccessConditionalConditionalBranchNextStepIntentSlotValueArgs.builder()
                                            .interpretedValue("string")
                                            .build())
                                        .build())
                                    .build())
                                .sessionAttributes(Map.of("string", "string"))
                                .build())
                            .response(V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationSuccessConditionalConditionalBranchResponseArgs.builder()
                                .allowInterrupt(false)
                                .messageGroups(V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationSuccessConditionalConditionalBranchResponseMessageGroupArgs.builder()
                                    .message(V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationSuccessConditionalConditionalBranchResponseMessageGroupMessageArgs.builder()
                                        .customPayload(V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationSuccessConditionalConditionalBranchResponseMessageGroupMessageCustomPayloadArgs.builder()
                                            .value("string")
                                            .build())
                                        .imageResponseCard(V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationSuccessConditionalConditionalBranchResponseMessageGroupMessageImageResponseCardArgs.builder()
                                            .title("string")
                                            .buttons(V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationSuccessConditionalConditionalBranchResponseMessageGroupMessageImageResponseCardButtonArgs.builder()
                                                .text("string")
                                                .value("string")
                                                .build())
                                            .imageUrl("string")
                                            .subtitle("string")
                                            .build())
                                        .plainTextMessage(V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationSuccessConditionalConditionalBranchResponseMessageGroupMessagePlainTextMessageArgs.builder()
                                            .value("string")
                                            .build())
                                        .ssmlMessage(V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationSuccessConditionalConditionalBranchResponseMessageGroupMessageSsmlMessageArgs.builder()
                                            .value("string")
                                            .build())
                                        .build())
                                    .variations(V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationSuccessConditionalConditionalBranchResponseMessageGroupVariationArgs.builder()
                                        .customPayload(V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationSuccessConditionalConditionalBranchResponseMessageGroupVariationCustomPayloadArgs.builder()
                                            .value("string")
                                            .build())
                                        .imageResponseCard(V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationSuccessConditionalConditionalBranchResponseMessageGroupVariationImageResponseCardArgs.builder()
                                            .title("string")
                                            .buttons(V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationSuccessConditionalConditionalBranchResponseMessageGroupVariationImageResponseCardButtonArgs.builder()
                                                .text("string")
                                                .value("string")
                                                .build())
                                            .imageUrl("string")
                                            .subtitle("string")
                                            .build())
                                        .plainTextMessage(V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationSuccessConditionalConditionalBranchResponseMessageGroupVariationPlainTextMessageArgs.builder()
                                            .value("string")
                                            .build())
                                        .ssmlMessage(V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationSuccessConditionalConditionalBranchResponseMessageGroupVariationSsmlMessageArgs.builder()
                                            .value("string")
                                            .build())
                                        .build())
                                    .build())
                                .build())
                            .build())
                        .defaultBranch(V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationSuccessConditionalDefaultBranchArgs.builder()
                            .nextStep(V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationSuccessConditionalDefaultBranchNextStepArgs.builder()
                                .dialogAction(V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationSuccessConditionalDefaultBranchNextStepDialogActionArgs.builder()
                                    .type("string")
                                    .slotToElicit("string")
                                    .suppressNextMessage(false)
                                    .build())
                                .intent(V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationSuccessConditionalDefaultBranchNextStepIntentArgs.builder()
                                    .name("string")
                                    .slots(V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationSuccessConditionalDefaultBranchNextStepIntentSlotArgs.builder()
                                        .mapBlockKey("string")
                                        .shape("string")
                                        .value(V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationSuccessConditionalDefaultBranchNextStepIntentSlotValueArgs.builder()
                                            .interpretedValue("string")
                                            .build())
                                        .build())
                                    .build())
                                .sessionAttributes(Map.of("string", "string"))
                                .build())
                            .response(V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationSuccessConditionalDefaultBranchResponseArgs.builder()
                                .allowInterrupt(false)
                                .messageGroups(V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationSuccessConditionalDefaultBranchResponseMessageGroupArgs.builder()
                                    .message(V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationSuccessConditionalDefaultBranchResponseMessageGroupMessageArgs.builder()
                                        .customPayload(V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationSuccessConditionalDefaultBranchResponseMessageGroupMessageCustomPayloadArgs.builder()
                                            .value("string")
                                            .build())
                                        .imageResponseCard(V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationSuccessConditionalDefaultBranchResponseMessageGroupMessageImageResponseCardArgs.builder()
                                            .title("string")
                                            .buttons(V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationSuccessConditionalDefaultBranchResponseMessageGroupMessageImageResponseCardButtonArgs.builder()
                                                .text("string")
                                                .value("string")
                                                .build())
                                            .imageUrl("string")
                                            .subtitle("string")
                                            .build())
                                        .plainTextMessage(V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationSuccessConditionalDefaultBranchResponseMessageGroupMessagePlainTextMessageArgs.builder()
                                            .value("string")
                                            .build())
                                        .ssmlMessage(V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationSuccessConditionalDefaultBranchResponseMessageGroupMessageSsmlMessageArgs.builder()
                                            .value("string")
                                            .build())
                                        .build())
                                    .variations(V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationSuccessConditionalDefaultBranchResponseMessageGroupVariationArgs.builder()
                                        .customPayload(V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationSuccessConditionalDefaultBranchResponseMessageGroupVariationCustomPayloadArgs.builder()
                                            .value("string")
                                            .build())
                                        .imageResponseCard(V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationSuccessConditionalDefaultBranchResponseMessageGroupVariationImageResponseCardArgs.builder()
                                            .title("string")
                                            .buttons(V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationSuccessConditionalDefaultBranchResponseMessageGroupVariationImageResponseCardButtonArgs.builder()
                                                .text("string")
                                                .value("string")
                                                .build())
                                            .imageUrl("string")
                                            .subtitle("string")
                                            .build())
                                        .plainTextMessage(V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationSuccessConditionalDefaultBranchResponseMessageGroupVariationPlainTextMessageArgs.builder()
                                            .value("string")
                                            .build())
                                        .ssmlMessage(V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationSuccessConditionalDefaultBranchResponseMessageGroupVariationSsmlMessageArgs.builder()
                                            .value("string")
                                            .build())
                                        .build())
                                    .build())
                                .build())
                            .build())
                        .build())
                    .successNextStep(V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationSuccessNextStepArgs.builder()
                        .dialogAction(V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationSuccessNextStepDialogActionArgs.builder()
                            .type("string")
                            .slotToElicit("string")
                            .suppressNextMessage(false)
                            .build())
                        .intent(V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationSuccessNextStepIntentArgs.builder()
                            .name("string")
                            .slots(V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationSuccessNextStepIntentSlotArgs.builder()
                                .mapBlockKey("string")
                                .shape("string")
                                .value(V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationSuccessNextStepIntentSlotValueArgs.builder()
                                    .interpretedValue("string")
                                    .build())
                                .build())
                            .build())
                        .sessionAttributes(Map.of("string", "string"))
                        .build())
                    .successResponse(V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationSuccessResponseArgs.builder()
                        .allowInterrupt(false)
                        .messageGroups(V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationSuccessResponseMessageGroupArgs.builder()
                            .message(V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationSuccessResponseMessageGroupMessageArgs.builder()
                                .customPayload(V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationSuccessResponseMessageGroupMessageCustomPayloadArgs.builder()
                                    .value("string")
                                    .build())
                                .imageResponseCard(V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationSuccessResponseMessageGroupMessageImageResponseCardArgs.builder()
                                    .title("string")
                                    .buttons(V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationSuccessResponseMessageGroupMessageImageResponseCardButtonArgs.builder()
                                        .text("string")
                                        .value("string")
                                        .build())
                                    .imageUrl("string")
                                    .subtitle("string")
                                    .build())
                                .plainTextMessage(V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationSuccessResponseMessageGroupMessagePlainTextMessageArgs.builder()
                                    .value("string")
                                    .build())
                                .ssmlMessage(V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationSuccessResponseMessageGroupMessageSsmlMessageArgs.builder()
                                    .value("string")
                                    .build())
                                .build())
                            .variations(V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationSuccessResponseMessageGroupVariationArgs.builder()
                                .customPayload(V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationSuccessResponseMessageGroupVariationCustomPayloadArgs.builder()
                                    .value("string")
                                    .build())
                                .imageResponseCard(V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationSuccessResponseMessageGroupVariationImageResponseCardArgs.builder()
                                    .title("string")
                                    .buttons(V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationSuccessResponseMessageGroupVariationImageResponseCardButtonArgs.builder()
                                        .text("string")
                                        .value("string")
                                        .build())
                                    .imageUrl("string")
                                    .subtitle("string")
                                    .build())
                                .plainTextMessage(V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationSuccessResponseMessageGroupVariationPlainTextMessageArgs.builder()
                                    .value("string")
                                    .build())
                                .ssmlMessage(V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationSuccessResponseMessageGroupVariationSsmlMessageArgs.builder()
                                    .value("string")
                                    .build())
                                .build())
                            .build())
                        .build())
                    .timeoutConditional(V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutConditionalArgs.builder()
                        .active(false)
                        .conditionalBranches(V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutConditionalConditionalBranchArgs.builder()
                            .name("string")
                            .condition(V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutConditionalConditionalBranchConditionArgs.builder()
                                .expressionString("string")
                                .build())
                            .nextStep(V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutConditionalConditionalBranchNextStepArgs.builder()
                                .dialogAction(V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutConditionalConditionalBranchNextStepDialogActionArgs.builder()
                                    .type("string")
                                    .slotToElicit("string")
                                    .suppressNextMessage(false)
                                    .build())
                                .intent(V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutConditionalConditionalBranchNextStepIntentArgs.builder()
                                    .name("string")
                                    .slots(V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutConditionalConditionalBranchNextStepIntentSlotArgs.builder()
                                        .mapBlockKey("string")
                                        .shape("string")
                                        .value(V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutConditionalConditionalBranchNextStepIntentSlotValueArgs.builder()
                                            .interpretedValue("string")
                                            .build())
                                        .build())
                                    .build())
                                .sessionAttributes(Map.of("string", "string"))
                                .build())
                            .response(V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutConditionalConditionalBranchResponseArgs.builder()
                                .allowInterrupt(false)
                                .messageGroups(V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupArgs.builder()
                                    .message(V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupMessageArgs.builder()
                                        .customPayload(V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupMessageCustomPayloadArgs.builder()
                                            .value("string")
                                            .build())
                                        .imageResponseCard(V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupMessageImageResponseCardArgs.builder()
                                            .title("string")
                                            .buttons(V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupMessageImageResponseCardButtonArgs.builder()
                                                .text("string")
                                                .value("string")
                                                .build())
                                            .imageUrl("string")
                                            .subtitle("string")
                                            .build())
                                        .plainTextMessage(V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupMessagePlainTextMessageArgs.builder()
                                            .value("string")
                                            .build())
                                        .ssmlMessage(V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupMessageSsmlMessageArgs.builder()
                                            .value("string")
                                            .build())
                                        .build())
                                    .variations(V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupVariationArgs.builder()
                                        .customPayload(V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupVariationCustomPayloadArgs.builder()
                                            .value("string")
                                            .build())
                                        .imageResponseCard(V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupVariationImageResponseCardArgs.builder()
                                            .title("string")
                                            .buttons(V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupVariationImageResponseCardButtonArgs.builder()
                                                .text("string")
                                                .value("string")
                                                .build())
                                            .imageUrl("string")
                                            .subtitle("string")
                                            .build())
                                        .plainTextMessage(V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupVariationPlainTextMessageArgs.builder()
                                            .value("string")
                                            .build())
                                        .ssmlMessage(V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupVariationSsmlMessageArgs.builder()
                                            .value("string")
                                            .build())
                                        .build())
                                    .build())
                                .build())
                            .build())
                        .defaultBranch(V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutConditionalDefaultBranchArgs.builder()
                            .nextStep(V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutConditionalDefaultBranchNextStepArgs.builder()
                                .dialogAction(V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutConditionalDefaultBranchNextStepDialogActionArgs.builder()
                                    .type("string")
                                    .slotToElicit("string")
                                    .suppressNextMessage(false)
                                    .build())
                                .intent(V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutConditionalDefaultBranchNextStepIntentArgs.builder()
                                    .name("string")
                                    .slots(V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutConditionalDefaultBranchNextStepIntentSlotArgs.builder()
                                        .mapBlockKey("string")
                                        .shape("string")
                                        .value(V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutConditionalDefaultBranchNextStepIntentSlotValueArgs.builder()
                                            .interpretedValue("string")
                                            .build())
                                        .build())
                                    .build())
                                .sessionAttributes(Map.of("string", "string"))
                                .build())
                            .response(V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutConditionalDefaultBranchResponseArgs.builder()
                                .allowInterrupt(false)
                                .messageGroups(V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutConditionalDefaultBranchResponseMessageGroupArgs.builder()
                                    .message(V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutConditionalDefaultBranchResponseMessageGroupMessageArgs.builder()
                                        .customPayload(V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutConditionalDefaultBranchResponseMessageGroupMessageCustomPayloadArgs.builder()
                                            .value("string")
                                            .build())
                                        .imageResponseCard(V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutConditionalDefaultBranchResponseMessageGroupMessageImageResponseCardArgs.builder()
                                            .title("string")
                                            .buttons(V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutConditionalDefaultBranchResponseMessageGroupMessageImageResponseCardButtonArgs.builder()
                                                .text("string")
                                                .value("string")
                                                .build())
                                            .imageUrl("string")
                                            .subtitle("string")
                                            .build())
                                        .plainTextMessage(V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutConditionalDefaultBranchResponseMessageGroupMessagePlainTextMessageArgs.builder()
                                            .value("string")
                                            .build())
                                        .ssmlMessage(V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutConditionalDefaultBranchResponseMessageGroupMessageSsmlMessageArgs.builder()
                                            .value("string")
                                            .build())
                                        .build())
                                    .variations(V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutConditionalDefaultBranchResponseMessageGroupVariationArgs.builder()
                                        .customPayload(V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutConditionalDefaultBranchResponseMessageGroupVariationCustomPayloadArgs.builder()
                                            .value("string")
                                            .build())
                                        .imageResponseCard(V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutConditionalDefaultBranchResponseMessageGroupVariationImageResponseCardArgs.builder()
                                            .title("string")
                                            .buttons(V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutConditionalDefaultBranchResponseMessageGroupVariationImageResponseCardButtonArgs.builder()
                                                .text("string")
                                                .value("string")
                                                .build())
                                            .imageUrl("string")
                                            .subtitle("string")
                                            .build())
                                        .plainTextMessage(V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutConditionalDefaultBranchResponseMessageGroupVariationPlainTextMessageArgs.builder()
                                            .value("string")
                                            .build())
                                        .ssmlMessage(V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutConditionalDefaultBranchResponseMessageGroupVariationSsmlMessageArgs.builder()
                                            .value("string")
                                            .build())
                                        .build())
                                    .build())
                                .build())
                            .build())
                        .build())
                    .timeoutNextStep(V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutNextStepArgs.builder()
                        .dialogAction(V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutNextStepDialogActionArgs.builder()
                            .type("string")
                            .slotToElicit("string")
                            .suppressNextMessage(false)
                            .build())
                        .intent(V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutNextStepIntentArgs.builder()
                            .name("string")
                            .slots(V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutNextStepIntentSlotArgs.builder()
                                .mapBlockKey("string")
                                .shape("string")
                                .value(V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutNextStepIntentSlotValueArgs.builder()
                                    .interpretedValue("string")
                                    .build())
                                .build())
                            .build())
                        .sessionAttributes(Map.of("string", "string"))
                        .build())
                    .timeoutResponse(V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutResponseArgs.builder()
                        .allowInterrupt(false)
                        .messageGroups(V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutResponseMessageGroupArgs.builder()
                            .message(V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutResponseMessageGroupMessageArgs.builder()
                                .customPayload(V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutResponseMessageGroupMessageCustomPayloadArgs.builder()
                                    .value("string")
                                    .build())
                                .imageResponseCard(V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutResponseMessageGroupMessageImageResponseCardArgs.builder()
                                    .title("string")
                                    .buttons(V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutResponseMessageGroupMessageImageResponseCardButtonArgs.builder()
                                        .text("string")
                                        .value("string")
                                        .build())
                                    .imageUrl("string")
                                    .subtitle("string")
                                    .build())
                                .plainTextMessage(V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutResponseMessageGroupMessagePlainTextMessageArgs.builder()
                                    .value("string")
                                    .build())
                                .ssmlMessage(V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutResponseMessageGroupMessageSsmlMessageArgs.builder()
                                    .value("string")
                                    .build())
                                .build())
                            .variations(V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutResponseMessageGroupVariationArgs.builder()
                                .customPayload(V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutResponseMessageGroupVariationCustomPayloadArgs.builder()
                                    .value("string")
                                    .build())
                                .imageResponseCard(V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutResponseMessageGroupVariationImageResponseCardArgs.builder()
                                    .title("string")
                                    .buttons(V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutResponseMessageGroupVariationImageResponseCardButtonArgs.builder()
                                        .text("string")
                                        .value("string")
                                        .build())
                                    .imageUrl("string")
                                    .subtitle("string")
                                    .build())
                                .plainTextMessage(V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutResponseMessageGroupVariationPlainTextMessageArgs.builder()
                                    .value("string")
                                    .build())
                                .ssmlMessage(V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutResponseMessageGroupVariationSsmlMessageArgs.builder()
                                    .value("string")
                                    .build())
                                .build())
                            .build())
                        .build())
                    .build())
                .build())
            .conditional(V2modelsIntentInitialResponseSettingConditionalArgs.builder()
                .active(false)
                .conditionalBranches(V2modelsIntentInitialResponseSettingConditionalConditionalBranchArgs.builder()
                    .name("string")
                    .condition(V2modelsIntentInitialResponseSettingConditionalConditionalBranchConditionArgs.builder()
                        .expressionString("string")
                        .build())
                    .nextStep(V2modelsIntentInitialResponseSettingConditionalConditionalBranchNextStepArgs.builder()
                        .dialogAction(V2modelsIntentInitialResponseSettingConditionalConditionalBranchNextStepDialogActionArgs.builder()
                            .type("string")
                            .slotToElicit("string")
                            .suppressNextMessage(false)
                            .build())
                        .intent(V2modelsIntentInitialResponseSettingConditionalConditionalBranchNextStepIntentArgs.builder()
                            .name("string")
                            .slots(V2modelsIntentInitialResponseSettingConditionalConditionalBranchNextStepIntentSlotArgs.builder()
                                .mapBlockKey("string")
                                .shape("string")
                                .value(V2modelsIntentInitialResponseSettingConditionalConditionalBranchNextStepIntentSlotValueArgs.builder()
                                    .interpretedValue("string")
                                    .build())
                                .build())
                            .build())
                        .sessionAttributes(Map.of("string", "string"))
                        .build())
                    .response(V2modelsIntentInitialResponseSettingConditionalConditionalBranchResponseArgs.builder()
                        .allowInterrupt(false)
                        .messageGroups(V2modelsIntentInitialResponseSettingConditionalConditionalBranchResponseMessageGroupArgs.builder()
                            .message(V2modelsIntentInitialResponseSettingConditionalConditionalBranchResponseMessageGroupMessageArgs.builder()
                                .customPayload(V2modelsIntentInitialResponseSettingConditionalConditionalBranchResponseMessageGroupMessageCustomPayloadArgs.builder()
                                    .value("string")
                                    .build())
                                .imageResponseCard(V2modelsIntentInitialResponseSettingConditionalConditionalBranchResponseMessageGroupMessageImageResponseCardArgs.builder()
                                    .title("string")
                                    .buttons(V2modelsIntentInitialResponseSettingConditionalConditionalBranchResponseMessageGroupMessageImageResponseCardButtonArgs.builder()
                                        .text("string")
                                        .value("string")
                                        .build())
                                    .imageUrl("string")
                                    .subtitle("string")
                                    .build())
                                .plainTextMessage(V2modelsIntentInitialResponseSettingConditionalConditionalBranchResponseMessageGroupMessagePlainTextMessageArgs.builder()
                                    .value("string")
                                    .build())
                                .ssmlMessage(V2modelsIntentInitialResponseSettingConditionalConditionalBranchResponseMessageGroupMessageSsmlMessageArgs.builder()
                                    .value("string")
                                    .build())
                                .build())
                            .variations(V2modelsIntentInitialResponseSettingConditionalConditionalBranchResponseMessageGroupVariationArgs.builder()
                                .customPayload(V2modelsIntentInitialResponseSettingConditionalConditionalBranchResponseMessageGroupVariationCustomPayloadArgs.builder()
                                    .value("string")
                                    .build())
                                .imageResponseCard(V2modelsIntentInitialResponseSettingConditionalConditionalBranchResponseMessageGroupVariationImageResponseCardArgs.builder()
                                    .title("string")
                                    .buttons(V2modelsIntentInitialResponseSettingConditionalConditionalBranchResponseMessageGroupVariationImageResponseCardButtonArgs.builder()
                                        .text("string")
                                        .value("string")
                                        .build())
                                    .imageUrl("string")
                                    .subtitle("string")
                                    .build())
                                .plainTextMessage(V2modelsIntentInitialResponseSettingConditionalConditionalBranchResponseMessageGroupVariationPlainTextMessageArgs.builder()
                                    .value("string")
                                    .build())
                                .ssmlMessage(V2modelsIntentInitialResponseSettingConditionalConditionalBranchResponseMessageGroupVariationSsmlMessageArgs.builder()
                                    .value("string")
                                    .build())
                                .build())
                            .build())
                        .build())
                    .build())
                .defaultBranch(V2modelsIntentInitialResponseSettingConditionalDefaultBranchArgs.builder()
                    .nextStep(V2modelsIntentInitialResponseSettingConditionalDefaultBranchNextStepArgs.builder()
                        .dialogAction(V2modelsIntentInitialResponseSettingConditionalDefaultBranchNextStepDialogActionArgs.builder()
                            .type("string")
                            .slotToElicit("string")
                            .suppressNextMessage(false)
                            .build())
                        .intent(V2modelsIntentInitialResponseSettingConditionalDefaultBranchNextStepIntentArgs.builder()
                            .name("string")
                            .slots(V2modelsIntentInitialResponseSettingConditionalDefaultBranchNextStepIntentSlotArgs.builder()
                                .mapBlockKey("string")
                                .shape("string")
                                .value(V2modelsIntentInitialResponseSettingConditionalDefaultBranchNextStepIntentSlotValueArgs.builder()
                                    .interpretedValue("string")
                                    .build())
                                .build())
                            .build())
                        .sessionAttributes(Map.of("string", "string"))
                        .build())
                    .response(V2modelsIntentInitialResponseSettingConditionalDefaultBranchResponseArgs.builder()
                        .allowInterrupt(false)
                        .messageGroups(V2modelsIntentInitialResponseSettingConditionalDefaultBranchResponseMessageGroupArgs.builder()
                            .message(V2modelsIntentInitialResponseSettingConditionalDefaultBranchResponseMessageGroupMessageArgs.builder()
                                .customPayload(V2modelsIntentInitialResponseSettingConditionalDefaultBranchResponseMessageGroupMessageCustomPayloadArgs.builder()
                                    .value("string")
                                    .build())
                                .imageResponseCard(V2modelsIntentInitialResponseSettingConditionalDefaultBranchResponseMessageGroupMessageImageResponseCardArgs.builder()
                                    .title("string")
                                    .buttons(V2modelsIntentInitialResponseSettingConditionalDefaultBranchResponseMessageGroupMessageImageResponseCardButtonArgs.builder()
                                        .text("string")
                                        .value("string")
                                        .build())
                                    .imageUrl("string")
                                    .subtitle("string")
                                    .build())
                                .plainTextMessage(V2modelsIntentInitialResponseSettingConditionalDefaultBranchResponseMessageGroupMessagePlainTextMessageArgs.builder()
                                    .value("string")
                                    .build())
                                .ssmlMessage(V2modelsIntentInitialResponseSettingConditionalDefaultBranchResponseMessageGroupMessageSsmlMessageArgs.builder()
                                    .value("string")
                                    .build())
                                .build())
                            .variations(V2modelsIntentInitialResponseSettingConditionalDefaultBranchResponseMessageGroupVariationArgs.builder()
                                .customPayload(V2modelsIntentInitialResponseSettingConditionalDefaultBranchResponseMessageGroupVariationCustomPayloadArgs.builder()
                                    .value("string")
                                    .build())
                                .imageResponseCard(V2modelsIntentInitialResponseSettingConditionalDefaultBranchResponseMessageGroupVariationImageResponseCardArgs.builder()
                                    .title("string")
                                    .buttons(V2modelsIntentInitialResponseSettingConditionalDefaultBranchResponseMessageGroupVariationImageResponseCardButtonArgs.builder()
                                        .text("string")
                                        .value("string")
                                        .build())
                                    .imageUrl("string")
                                    .subtitle("string")
                                    .build())
                                .plainTextMessage(V2modelsIntentInitialResponseSettingConditionalDefaultBranchResponseMessageGroupVariationPlainTextMessageArgs.builder()
                                    .value("string")
                                    .build())
                                .ssmlMessage(V2modelsIntentInitialResponseSettingConditionalDefaultBranchResponseMessageGroupVariationSsmlMessageArgs.builder()
                                    .value("string")
                                    .build())
                                .build())
                            .build())
                        .build())
                    .build())
                .build())
            .initialResponse(V2modelsIntentInitialResponseSettingInitialResponseArgs.builder()
                .allowInterrupt(false)
                .messageGroups(V2modelsIntentInitialResponseSettingInitialResponseMessageGroupArgs.builder()
                    .message(V2modelsIntentInitialResponseSettingInitialResponseMessageGroupMessageArgs.builder()
                        .customPayload(V2modelsIntentInitialResponseSettingInitialResponseMessageGroupMessageCustomPayloadArgs.builder()
                            .value("string")
                            .build())
                        .imageResponseCard(V2modelsIntentInitialResponseSettingInitialResponseMessageGroupMessageImageResponseCardArgs.builder()
                            .title("string")
                            .buttons(V2modelsIntentInitialResponseSettingInitialResponseMessageGroupMessageImageResponseCardButtonArgs.builder()
                                .text("string")
                                .value("string")
                                .build())
                            .imageUrl("string")
                            .subtitle("string")
                            .build())
                        .plainTextMessage(V2modelsIntentInitialResponseSettingInitialResponseMessageGroupMessagePlainTextMessageArgs.builder()
                            .value("string")
                            .build())
                        .ssmlMessage(V2modelsIntentInitialResponseSettingInitialResponseMessageGroupMessageSsmlMessageArgs.builder()
                            .value("string")
                            .build())
                        .build())
                    .variations(V2modelsIntentInitialResponseSettingInitialResponseMessageGroupVariationArgs.builder()
                        .customPayload(V2modelsIntentInitialResponseSettingInitialResponseMessageGroupVariationCustomPayloadArgs.builder()
                            .value("string")
                            .build())
                        .imageResponseCard(V2modelsIntentInitialResponseSettingInitialResponseMessageGroupVariationImageResponseCardArgs.builder()
                            .title("string")
                            .buttons(V2modelsIntentInitialResponseSettingInitialResponseMessageGroupVariationImageResponseCardButtonArgs.builder()
                                .text("string")
                                .value("string")
                                .build())
                            .imageUrl("string")
                            .subtitle("string")
                            .build())
                        .plainTextMessage(V2modelsIntentInitialResponseSettingInitialResponseMessageGroupVariationPlainTextMessageArgs.builder()
                            .value("string")
                            .build())
                        .ssmlMessage(V2modelsIntentInitialResponseSettingInitialResponseMessageGroupVariationSsmlMessageArgs.builder()
                            .value("string")
                            .build())
                        .build())
                    .build())
                .build())
            .nextStep(V2modelsIntentInitialResponseSettingNextStepArgs.builder()
                .dialogAction(V2modelsIntentInitialResponseSettingNextStepDialogActionArgs.builder()
                    .type("string")
                    .slotToElicit("string")
                    .suppressNextMessage(false)
                    .build())
                .intent(V2modelsIntentInitialResponseSettingNextStepIntentArgs.builder()
                    .name("string")
                    .slots(V2modelsIntentInitialResponseSettingNextStepIntentSlotArgs.builder()
                        .mapBlockKey("string")
                        .shape("string")
                        .value(V2modelsIntentInitialResponseSettingNextStepIntentSlotValueArgs.builder()
                            .interpretedValue("string")
                            .build())
                        .build())
                    .build())
                .sessionAttributes(Map.of("string", "string"))
                .build())
            .build())
        .confirmationSetting(V2modelsIntentConfirmationSettingArgs.builder()
            .active(false)
            .codeHook(V2modelsIntentConfirmationSettingCodeHookArgs.builder()
                .active(false)
                .enableCodeHookInvocation(false)
                .invocationLabel("string")
                .postCodeHookSpecification(V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationArgs.builder()
                    .failureConditional(V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureConditionalArgs.builder()
                        .active(false)
                        .conditionalBranches(V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureConditionalConditionalBranchArgs.builder()
                            .name("string")
                            .condition(V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureConditionalConditionalBranchConditionArgs.builder()
                                .expressionString("string")
                                .build())
                            .nextStep(V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureConditionalConditionalBranchNextStepArgs.builder()
                                .dialogAction(V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureConditionalConditionalBranchNextStepDialogActionArgs.builder()
                                    .type("string")
                                    .slotToElicit("string")
                                    .suppressNextMessage(false)
                                    .build())
                                .intent(V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureConditionalConditionalBranchNextStepIntentArgs.builder()
                                    .name("string")
                                    .slots(V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureConditionalConditionalBranchNextStepIntentSlotArgs.builder()
                                        .mapBlockKey("string")
                                        .shape("string")
                                        .value(V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureConditionalConditionalBranchNextStepIntentSlotValueArgs.builder()
                                            .interpretedValue("string")
                                            .build())
                                        .build())
                                    .build())
                                .sessionAttributes(Map.of("string", "string"))
                                .build())
                            .response(V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureConditionalConditionalBranchResponseArgs.builder()
                                .allowInterrupt(false)
                                .messageGroups(V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureConditionalConditionalBranchResponseMessageGroupArgs.builder()
                                    .message(V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureConditionalConditionalBranchResponseMessageGroupMessageArgs.builder()
                                        .customPayload(V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureConditionalConditionalBranchResponseMessageGroupMessageCustomPayloadArgs.builder()
                                            .value("string")
                                            .build())
                                        .imageResponseCard(V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureConditionalConditionalBranchResponseMessageGroupMessageImageResponseCardArgs.builder()
                                            .title("string")
                                            .buttons(V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureConditionalConditionalBranchResponseMessageGroupMessageImageResponseCardButtonArgs.builder()
                                                .text("string")
                                                .value("string")
                                                .build())
                                            .imageUrl("string")
                                            .subtitle("string")
                                            .build())
                                        .plainTextMessage(V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureConditionalConditionalBranchResponseMessageGroupMessagePlainTextMessageArgs.builder()
                                            .value("string")
                                            .build())
                                        .ssmlMessage(V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureConditionalConditionalBranchResponseMessageGroupMessageSsmlMessageArgs.builder()
                                            .value("string")
                                            .build())
                                        .build())
                                    .variations(V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureConditionalConditionalBranchResponseMessageGroupVariationArgs.builder()
                                        .customPayload(V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureConditionalConditionalBranchResponseMessageGroupVariationCustomPayloadArgs.builder()
                                            .value("string")
                                            .build())
                                        .imageResponseCard(V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureConditionalConditionalBranchResponseMessageGroupVariationImageResponseCardArgs.builder()
                                            .title("string")
                                            .buttons(V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureConditionalConditionalBranchResponseMessageGroupVariationImageResponseCardButtonArgs.builder()
                                                .text("string")
                                                .value("string")
                                                .build())
                                            .imageUrl("string")
                                            .subtitle("string")
                                            .build())
                                        .plainTextMessage(V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureConditionalConditionalBranchResponseMessageGroupVariationPlainTextMessageArgs.builder()
                                            .value("string")
                                            .build())
                                        .ssmlMessage(V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureConditionalConditionalBranchResponseMessageGroupVariationSsmlMessageArgs.builder()
                                            .value("string")
                                            .build())
                                        .build())
                                    .build())
                                .build())
                            .build())
                        .defaultBranch(V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureConditionalDefaultBranchArgs.builder()
                            .nextStep(V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureConditionalDefaultBranchNextStepArgs.builder()
                                .dialogAction(V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureConditionalDefaultBranchNextStepDialogActionArgs.builder()
                                    .type("string")
                                    .slotToElicit("string")
                                    .suppressNextMessage(false)
                                    .build())
                                .intent(V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureConditionalDefaultBranchNextStepIntentArgs.builder()
                                    .name("string")
                                    .slots(V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureConditionalDefaultBranchNextStepIntentSlotArgs.builder()
                                        .mapBlockKey("string")
                                        .shape("string")
                                        .value(V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureConditionalDefaultBranchNextStepIntentSlotValueArgs.builder()
                                            .interpretedValue("string")
                                            .build())
                                        .build())
                                    .build())
                                .sessionAttributes(Map.of("string", "string"))
                                .build())
                            .response(V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureConditionalDefaultBranchResponseArgs.builder()
                                .allowInterrupt(false)
                                .messageGroups(V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureConditionalDefaultBranchResponseMessageGroupArgs.builder()
                                    .message(V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureConditionalDefaultBranchResponseMessageGroupMessageArgs.builder()
                                        .customPayload(V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureConditionalDefaultBranchResponseMessageGroupMessageCustomPayloadArgs.builder()
                                            .value("string")
                                            .build())
                                        .imageResponseCard(V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureConditionalDefaultBranchResponseMessageGroupMessageImageResponseCardArgs.builder()
                                            .title("string")
                                            .buttons(V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureConditionalDefaultBranchResponseMessageGroupMessageImageResponseCardButtonArgs.builder()
                                                .text("string")
                                                .value("string")
                                                .build())
                                            .imageUrl("string")
                                            .subtitle("string")
                                            .build())
                                        .plainTextMessage(V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureConditionalDefaultBranchResponseMessageGroupMessagePlainTextMessageArgs.builder()
                                            .value("string")
                                            .build())
                                        .ssmlMessage(V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureConditionalDefaultBranchResponseMessageGroupMessageSsmlMessageArgs.builder()
                                            .value("string")
                                            .build())
                                        .build())
                                    .variations(V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureConditionalDefaultBranchResponseMessageGroupVariationArgs.builder()
                                        .customPayload(V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureConditionalDefaultBranchResponseMessageGroupVariationCustomPayloadArgs.builder()
                                            .value("string")
                                            .build())
                                        .imageResponseCard(V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureConditionalDefaultBranchResponseMessageGroupVariationImageResponseCardArgs.builder()
                                            .title("string")
                                            .buttons(V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureConditionalDefaultBranchResponseMessageGroupVariationImageResponseCardButtonArgs.builder()
                                                .text("string")
                                                .value("string")
                                                .build())
                                            .imageUrl("string")
                                            .subtitle("string")
                                            .build())
                                        .plainTextMessage(V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureConditionalDefaultBranchResponseMessageGroupVariationPlainTextMessageArgs.builder()
                                            .value("string")
                                            .build())
                                        .ssmlMessage(V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureConditionalDefaultBranchResponseMessageGroupVariationSsmlMessageArgs.builder()
                                            .value("string")
                                            .build())
                                        .build())
                                    .build())
                                .build())
                            .build())
                        .build())
                    .failureNextStep(V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureNextStepArgs.builder()
                        .dialogAction(V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureNextStepDialogActionArgs.builder()
                            .type("string")
                            .slotToElicit("string")
                            .suppressNextMessage(false)
                            .build())
                        .intent(V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureNextStepIntentArgs.builder()
                            .name("string")
                            .slots(V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureNextStepIntentSlotArgs.builder()
                                .mapBlockKey("string")
                                .shape("string")
                                .value(V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureNextStepIntentSlotValueArgs.builder()
                                    .interpretedValue("string")
                                    .build())
                                .build())
                            .build())
                        .sessionAttributes(Map.of("string", "string"))
                        .build())
                    .failureResponse(V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureResponseArgs.builder()
                        .allowInterrupt(false)
                        .messageGroups(V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureResponseMessageGroupArgs.builder()
                            .message(V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureResponseMessageGroupMessageArgs.builder()
                                .customPayload(V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureResponseMessageGroupMessageCustomPayloadArgs.builder()
                                    .value("string")
                                    .build())
                                .imageResponseCard(V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureResponseMessageGroupMessageImageResponseCardArgs.builder()
                                    .title("string")
                                    .buttons(V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureResponseMessageGroupMessageImageResponseCardButtonArgs.builder()
                                        .text("string")
                                        .value("string")
                                        .build())
                                    .imageUrl("string")
                                    .subtitle("string")
                                    .build())
                                .plainTextMessage(V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureResponseMessageGroupMessagePlainTextMessageArgs.builder()
                                    .value("string")
                                    .build())
                                .ssmlMessage(V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureResponseMessageGroupMessageSsmlMessageArgs.builder()
                                    .value("string")
                                    .build())
                                .build())
                            .variations(V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureResponseMessageGroupVariationArgs.builder()
                                .customPayload(V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureResponseMessageGroupVariationCustomPayloadArgs.builder()
                                    .value("string")
                                    .build())
                                .imageResponseCard(V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureResponseMessageGroupVariationImageResponseCardArgs.builder()
                                    .title("string")
                                    .buttons(V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureResponseMessageGroupVariationImageResponseCardButtonArgs.builder()
                                        .text("string")
                                        .value("string")
                                        .build())
                                    .imageUrl("string")
                                    .subtitle("string")
                                    .build())
                                .plainTextMessage(V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureResponseMessageGroupVariationPlainTextMessageArgs.builder()
                                    .value("string")
                                    .build())
                                .ssmlMessage(V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureResponseMessageGroupVariationSsmlMessageArgs.builder()
                                    .value("string")
                                    .build())
                                .build())
                            .build())
                        .build())
                    .successConditional(V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessConditionalArgs.builder()
                        .active(false)
                        .conditionalBranches(V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessConditionalConditionalBranchArgs.builder()
                            .name("string")
                            .condition(V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessConditionalConditionalBranchConditionArgs.builder()
                                .expressionString("string")
                                .build())
                            .nextStep(V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessConditionalConditionalBranchNextStepArgs.builder()
                                .dialogAction(V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessConditionalConditionalBranchNextStepDialogActionArgs.builder()
                                    .type("string")
                                    .slotToElicit("string")
                                    .suppressNextMessage(false)
                                    .build())
                                .intent(V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessConditionalConditionalBranchNextStepIntentArgs.builder()
                                    .name("string")
                                    .slots(V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessConditionalConditionalBranchNextStepIntentSlotArgs.builder()
                                        .mapBlockKey("string")
                                        .shape("string")
                                        .value(V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessConditionalConditionalBranchNextStepIntentSlotValueArgs.builder()
                                            .interpretedValue("string")
                                            .build())
                                        .build())
                                    .build())
                                .sessionAttributes(Map.of("string", "string"))
                                .build())
                            .response(V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessConditionalConditionalBranchResponseArgs.builder()
                                .allowInterrupt(false)
                                .messageGroups(V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessConditionalConditionalBranchResponseMessageGroupArgs.builder()
                                    .message(V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessConditionalConditionalBranchResponseMessageGroupMessageArgs.builder()
                                        .customPayload(V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessConditionalConditionalBranchResponseMessageGroupMessageCustomPayloadArgs.builder()
                                            .value("string")
                                            .build())
                                        .imageResponseCard(V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessConditionalConditionalBranchResponseMessageGroupMessageImageResponseCardArgs.builder()
                                            .title("string")
                                            .buttons(V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessConditionalConditionalBranchResponseMessageGroupMessageImageResponseCardButtonArgs.builder()
                                                .text("string")
                                                .value("string")
                                                .build())
                                            .imageUrl("string")
                                            .subtitle("string")
                                            .build())
                                        .plainTextMessage(V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessConditionalConditionalBranchResponseMessageGroupMessagePlainTextMessageArgs.builder()
                                            .value("string")
                                            .build())
                                        .ssmlMessage(V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessConditionalConditionalBranchResponseMessageGroupMessageSsmlMessageArgs.builder()
                                            .value("string")
                                            .build())
                                        .build())
                                    .variations(V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessConditionalConditionalBranchResponseMessageGroupVariationArgs.builder()
                                        .customPayload(V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessConditionalConditionalBranchResponseMessageGroupVariationCustomPayloadArgs.builder()
                                            .value("string")
                                            .build())
                                        .imageResponseCard(V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessConditionalConditionalBranchResponseMessageGroupVariationImageResponseCardArgs.builder()
                                            .title("string")
                                            .buttons(V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessConditionalConditionalBranchResponseMessageGroupVariationImageResponseCardButtonArgs.builder()
                                                .text("string")
                                                .value("string")
                                                .build())
                                            .imageUrl("string")
                                            .subtitle("string")
                                            .build())
                                        .plainTextMessage(V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessConditionalConditionalBranchResponseMessageGroupVariationPlainTextMessageArgs.builder()
                                            .value("string")
                                            .build())
                                        .ssmlMessage(V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessConditionalConditionalBranchResponseMessageGroupVariationSsmlMessageArgs.builder()
                                            .value("string")
                                            .build())
                                        .build())
                                    .build())
                                .build())
                            .build())
                        .defaultBranch(V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessConditionalDefaultBranchArgs.builder()
                            .nextStep(V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessConditionalDefaultBranchNextStepArgs.builder()
                                .dialogAction(V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessConditionalDefaultBranchNextStepDialogActionArgs.builder()
                                    .type("string")
                                    .slotToElicit("string")
                                    .suppressNextMessage(false)
                                    .build())
                                .intent(V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessConditionalDefaultBranchNextStepIntentArgs.builder()
                                    .name("string")
                                    .slots(V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessConditionalDefaultBranchNextStepIntentSlotArgs.builder()
                                        .mapBlockKey("string")
                                        .shape("string")
                                        .value(V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessConditionalDefaultBranchNextStepIntentSlotValueArgs.builder()
                                            .interpretedValue("string")
                                            .build())
                                        .build())
                                    .build())
                                .sessionAttributes(Map.of("string", "string"))
                                .build())
                            .response(V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessConditionalDefaultBranchResponseArgs.builder()
                                .allowInterrupt(false)
                                .messageGroups(V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessConditionalDefaultBranchResponseMessageGroupArgs.builder()
                                    .message(V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessConditionalDefaultBranchResponseMessageGroupMessageArgs.builder()
                                        .customPayload(V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessConditionalDefaultBranchResponseMessageGroupMessageCustomPayloadArgs.builder()
                                            .value("string")
                                            .build())
                                        .imageResponseCard(V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessConditionalDefaultBranchResponseMessageGroupMessageImageResponseCardArgs.builder()
                                            .title("string")
                                            .buttons(V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessConditionalDefaultBranchResponseMessageGroupMessageImageResponseCardButtonArgs.builder()
                                                .text("string")
                                                .value("string")
                                                .build())
                                            .imageUrl("string")
                                            .subtitle("string")
                                            .build())
                                        .plainTextMessage(V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessConditionalDefaultBranchResponseMessageGroupMessagePlainTextMessageArgs.builder()
                                            .value("string")
                                            .build())
                                        .ssmlMessage(V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessConditionalDefaultBranchResponseMessageGroupMessageSsmlMessageArgs.builder()
                                            .value("string")
                                            .build())
                                        .build())
                                    .variations(V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessConditionalDefaultBranchResponseMessageGroupVariationArgs.builder()
                                        .customPayload(V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessConditionalDefaultBranchResponseMessageGroupVariationCustomPayloadArgs.builder()
                                            .value("string")
                                            .build())
                                        .imageResponseCard(V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessConditionalDefaultBranchResponseMessageGroupVariationImageResponseCardArgs.builder()
                                            .title("string")
                                            .buttons(V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessConditionalDefaultBranchResponseMessageGroupVariationImageResponseCardButtonArgs.builder()
                                                .text("string")
                                                .value("string")
                                                .build())
                                            .imageUrl("string")
                                            .subtitle("string")
                                            .build())
                                        .plainTextMessage(V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessConditionalDefaultBranchResponseMessageGroupVariationPlainTextMessageArgs.builder()
                                            .value("string")
                                            .build())
                                        .ssmlMessage(V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessConditionalDefaultBranchResponseMessageGroupVariationSsmlMessageArgs.builder()
                                            .value("string")
                                            .build())
                                        .build())
                                    .build())
                                .build())
                            .build())
                        .build())
                    .successNextStep(V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessNextStepArgs.builder()
                        .dialogAction(V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessNextStepDialogActionArgs.builder()
                            .type("string")
                            .slotToElicit("string")
                            .suppressNextMessage(false)
                            .build())
                        .intent(V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessNextStepIntentArgs.builder()
                            .name("string")
                            .slots(V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessNextStepIntentSlotArgs.builder()
                                .mapBlockKey("string")
                                .shape("string")
                                .value(V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessNextStepIntentSlotValueArgs.builder()
                                    .interpretedValue("string")
                                    .build())
                                .build())
                            .build())
                        .sessionAttributes(Map.of("string", "string"))
                        .build())
                    .successResponse(V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessResponseArgs.builder()
                        .allowInterrupt(false)
                        .messageGroups(V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessResponseMessageGroupArgs.builder()
                            .message(V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessResponseMessageGroupMessageArgs.builder()
                                .customPayload(V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessResponseMessageGroupMessageCustomPayloadArgs.builder()
                                    .value("string")
                                    .build())
                                .imageResponseCard(V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessResponseMessageGroupMessageImageResponseCardArgs.builder()
                                    .title("string")
                                    .buttons(V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessResponseMessageGroupMessageImageResponseCardButtonArgs.builder()
                                        .text("string")
                                        .value("string")
                                        .build())
                                    .imageUrl("string")
                                    .subtitle("string")
                                    .build())
                                .plainTextMessage(V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessResponseMessageGroupMessagePlainTextMessageArgs.builder()
                                    .value("string")
                                    .build())
                                .ssmlMessage(V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessResponseMessageGroupMessageSsmlMessageArgs.builder()
                                    .value("string")
                                    .build())
                                .build())
                            .variations(V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessResponseMessageGroupVariationArgs.builder()
                                .customPayload(V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessResponseMessageGroupVariationCustomPayloadArgs.builder()
                                    .value("string")
                                    .build())
                                .imageResponseCard(V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessResponseMessageGroupVariationImageResponseCardArgs.builder()
                                    .title("string")
                                    .buttons(V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessResponseMessageGroupVariationImageResponseCardButtonArgs.builder()
                                        .text("string")
                                        .value("string")
                                        .build())
                                    .imageUrl("string")
                                    .subtitle("string")
                                    .build())
                                .plainTextMessage(V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessResponseMessageGroupVariationPlainTextMessageArgs.builder()
                                    .value("string")
                                    .build())
                                .ssmlMessage(V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessResponseMessageGroupVariationSsmlMessageArgs.builder()
                                    .value("string")
                                    .build())
                                .build())
                            .build())
                        .build())
                    .timeoutConditional(V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutConditionalArgs.builder()
                        .active(false)
                        .conditionalBranches(V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutConditionalConditionalBranchArgs.builder()
                            .name("string")
                            .condition(V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutConditionalConditionalBranchConditionArgs.builder()
                                .expressionString("string")
                                .build())
                            .nextStep(V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutConditionalConditionalBranchNextStepArgs.builder()
                                .dialogAction(V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutConditionalConditionalBranchNextStepDialogActionArgs.builder()
                                    .type("string")
                                    .slotToElicit("string")
                                    .suppressNextMessage(false)
                                    .build())
                                .intent(V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutConditionalConditionalBranchNextStepIntentArgs.builder()
                                    .name("string")
                                    .slots(V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutConditionalConditionalBranchNextStepIntentSlotArgs.builder()
                                        .mapBlockKey("string")
                                        .shape("string")
                                        .value(V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutConditionalConditionalBranchNextStepIntentSlotValueArgs.builder()
                                            .interpretedValue("string")
                                            .build())
                                        .build())
                                    .build())
                                .sessionAttributes(Map.of("string", "string"))
                                .build())
                            .response(V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutConditionalConditionalBranchResponseArgs.builder()
                                .allowInterrupt(false)
                                .messageGroups(V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupArgs.builder()
                                    .message(V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupMessageArgs.builder()
                                        .customPayload(V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupMessageCustomPayloadArgs.builder()
                                            .value("string")
                                            .build())
                                        .imageResponseCard(V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupMessageImageResponseCardArgs.builder()
                                            .title("string")
                                            .buttons(V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupMessageImageResponseCardButtonArgs.builder()
                                                .text("string")
                                                .value("string")
                                                .build())
                                            .imageUrl("string")
                                            .subtitle("string")
                                            .build())
                                        .plainTextMessage(V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupMessagePlainTextMessageArgs.builder()
                                            .value("string")
                                            .build())
                                        .ssmlMessage(V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupMessageSsmlMessageArgs.builder()
                                            .value("string")
                                            .build())
                                        .build())
                                    .variations(V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupVariationArgs.builder()
                                        .customPayload(V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupVariationCustomPayloadArgs.builder()
                                            .value("string")
                                            .build())
                                        .imageResponseCard(V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupVariationImageResponseCardArgs.builder()
                                            .title("string")
                                            .buttons(V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupVariationImageResponseCardButtonArgs.builder()
                                                .text("string")
                                                .value("string")
                                                .build())
                                            .imageUrl("string")
                                            .subtitle("string")
                                            .build())
                                        .plainTextMessage(V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupVariationPlainTextMessageArgs.builder()
                                            .value("string")
                                            .build())
                                        .ssmlMessage(V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupVariationSsmlMessageArgs.builder()
                                            .value("string")
                                            .build())
                                        .build())
                                    .build())
                                .build())
                            .build())
                        .defaultBranch(V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutConditionalDefaultBranchArgs.builder()
                            .nextStep(V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutConditionalDefaultBranchNextStepArgs.builder()
                                .dialogAction(V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutConditionalDefaultBranchNextStepDialogActionArgs.builder()
                                    .type("string")
                                    .slotToElicit("string")
                                    .suppressNextMessage(false)
                                    .build())
                                .intent(V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutConditionalDefaultBranchNextStepIntentArgs.builder()
                                    .name("string")
                                    .slots(V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutConditionalDefaultBranchNextStepIntentSlotArgs.builder()
                                        .mapBlockKey("string")
                                        .shape("string")
                                        .value(V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutConditionalDefaultBranchNextStepIntentSlotValueArgs.builder()
                                            .interpretedValue("string")
                                            .build())
                                        .build())
                                    .build())
                                .sessionAttributes(Map.of("string", "string"))
                                .build())
                            .response(V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutConditionalDefaultBranchResponseArgs.builder()
                                .allowInterrupt(false)
                                .messageGroups(V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutConditionalDefaultBranchResponseMessageGroupArgs.builder()
                                    .message(V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutConditionalDefaultBranchResponseMessageGroupMessageArgs.builder()
                                        .customPayload(V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutConditionalDefaultBranchResponseMessageGroupMessageCustomPayloadArgs.builder()
                                            .value("string")
                                            .build())
                                        .imageResponseCard(V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutConditionalDefaultBranchResponseMessageGroupMessageImageResponseCardArgs.builder()
                                            .title("string")
                                            .buttons(V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutConditionalDefaultBranchResponseMessageGroupMessageImageResponseCardButtonArgs.builder()
                                                .text("string")
                                                .value("string")
                                                .build())
                                            .imageUrl("string")
                                            .subtitle("string")
                                            .build())
                                        .plainTextMessage(V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutConditionalDefaultBranchResponseMessageGroupMessagePlainTextMessageArgs.builder()
                                            .value("string")
                                            .build())
                                        .ssmlMessage(V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutConditionalDefaultBranchResponseMessageGroupMessageSsmlMessageArgs.builder()
                                            .value("string")
                                            .build())
                                        .build())
                                    .variations(V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutConditionalDefaultBranchResponseMessageGroupVariationArgs.builder()
                                        .customPayload(V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutConditionalDefaultBranchResponseMessageGroupVariationCustomPayloadArgs.builder()
                                            .value("string")
                                            .build())
                                        .imageResponseCard(V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutConditionalDefaultBranchResponseMessageGroupVariationImageResponseCardArgs.builder()
                                            .title("string")
                                            .buttons(V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutConditionalDefaultBranchResponseMessageGroupVariationImageResponseCardButtonArgs.builder()
                                                .text("string")
                                                .value("string")
                                                .build())
                                            .imageUrl("string")
                                            .subtitle("string")
                                            .build())
                                        .plainTextMessage(V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutConditionalDefaultBranchResponseMessageGroupVariationPlainTextMessageArgs.builder()
                                            .value("string")
                                            .build())
                                        .ssmlMessage(V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutConditionalDefaultBranchResponseMessageGroupVariationSsmlMessageArgs.builder()
                                            .value("string")
                                            .build())
                                        .build())
                                    .build())
                                .build())
                            .build())
                        .build())
                    .timeoutNextStep(V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutNextStepArgs.builder()
                        .dialogAction(V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutNextStepDialogActionArgs.builder()
                            .type("string")
                            .slotToElicit("string")
                            .suppressNextMessage(false)
                            .build())
                        .intent(V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutNextStepIntentArgs.builder()
                            .name("string")
                            .slots(V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutNextStepIntentSlotArgs.builder()
                                .mapBlockKey("string")
                                .shape("string")
                                .value(V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutNextStepIntentSlotValueArgs.builder()
                                    .interpretedValue("string")
                                    .build())
                                .build())
                            .build())
                        .sessionAttributes(Map.of("string", "string"))
                        .build())
                    .timeoutResponse(V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutResponseArgs.builder()
                        .allowInterrupt(false)
                        .messageGroups(V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutResponseMessageGroupArgs.builder()
                            .message(V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutResponseMessageGroupMessageArgs.builder()
                                .customPayload(V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutResponseMessageGroupMessageCustomPayloadArgs.builder()
                                    .value("string")
                                    .build())
                                .imageResponseCard(V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutResponseMessageGroupMessageImageResponseCardArgs.builder()
                                    .title("string")
                                    .buttons(V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutResponseMessageGroupMessageImageResponseCardButtonArgs.builder()
                                        .text("string")
                                        .value("string")
                                        .build())
                                    .imageUrl("string")
                                    .subtitle("string")
                                    .build())
                                .plainTextMessage(V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutResponseMessageGroupMessagePlainTextMessageArgs.builder()
                                    .value("string")
                                    .build())
                                .ssmlMessage(V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutResponseMessageGroupMessageSsmlMessageArgs.builder()
                                    .value("string")
                                    .build())
                                .build())
                            .variations(V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutResponseMessageGroupVariationArgs.builder()
                                .customPayload(V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutResponseMessageGroupVariationCustomPayloadArgs.builder()
                                    .value("string")
                                    .build())
                                .imageResponseCard(V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutResponseMessageGroupVariationImageResponseCardArgs.builder()
                                    .title("string")
                                    .buttons(V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutResponseMessageGroupVariationImageResponseCardButtonArgs.builder()
                                        .text("string")
                                        .value("string")
                                        .build())
                                    .imageUrl("string")
                                    .subtitle("string")
                                    .build())
                                .plainTextMessage(V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutResponseMessageGroupVariationPlainTextMessageArgs.builder()
                                    .value("string")
                                    .build())
                                .ssmlMessage(V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutResponseMessageGroupVariationSsmlMessageArgs.builder()
                                    .value("string")
                                    .build())
                                .build())
                            .build())
                        .build())
                    .build())
                .build())
            .confirmationConditional(V2modelsIntentConfirmationSettingConfirmationConditionalArgs.builder()
                .active(false)
                .conditionalBranches(V2modelsIntentConfirmationSettingConfirmationConditionalConditionalBranchArgs.builder()
                    .name("string")
                    .condition(V2modelsIntentConfirmationSettingConfirmationConditionalConditionalBranchConditionArgs.builder()
                        .expressionString("string")
                        .build())
                    .nextStep(V2modelsIntentConfirmationSettingConfirmationConditionalConditionalBranchNextStepArgs.builder()
                        .dialogAction(V2modelsIntentConfirmationSettingConfirmationConditionalConditionalBranchNextStepDialogActionArgs.builder()
                            .type("string")
                            .slotToElicit("string")
                            .suppressNextMessage(false)
                            .build())
                        .intent(V2modelsIntentConfirmationSettingConfirmationConditionalConditionalBranchNextStepIntentArgs.builder()
                            .name("string")
                            .slots(V2modelsIntentConfirmationSettingConfirmationConditionalConditionalBranchNextStepIntentSlotArgs.builder()
                                .mapBlockKey("string")
                                .shape("string")
                                .value(V2modelsIntentConfirmationSettingConfirmationConditionalConditionalBranchNextStepIntentSlotValueArgs.builder()
                                    .interpretedValue("string")
                                    .build())
                                .build())
                            .build())
                        .sessionAttributes(Map.of("string", "string"))
                        .build())
                    .response(V2modelsIntentConfirmationSettingConfirmationConditionalConditionalBranchResponseArgs.builder()
                        .allowInterrupt(false)
                        .messageGroups(V2modelsIntentConfirmationSettingConfirmationConditionalConditionalBranchResponseMessageGroupArgs.builder()
                            .message(V2modelsIntentConfirmationSettingConfirmationConditionalConditionalBranchResponseMessageGroupMessageArgs.builder()
                                .customPayload(V2modelsIntentConfirmationSettingConfirmationConditionalConditionalBranchResponseMessageGroupMessageCustomPayloadArgs.builder()
                                    .value("string")
                                    .build())
                                .imageResponseCard(V2modelsIntentConfirmationSettingConfirmationConditionalConditionalBranchResponseMessageGroupMessageImageResponseCardArgs.builder()
                                    .title("string")
                                    .buttons(V2modelsIntentConfirmationSettingConfirmationConditionalConditionalBranchResponseMessageGroupMessageImageResponseCardButtonArgs.builder()
                                        .text("string")
                                        .value("string")
                                        .build())
                                    .imageUrl("string")
                                    .subtitle("string")
                                    .build())
                                .plainTextMessage(V2modelsIntentConfirmationSettingConfirmationConditionalConditionalBranchResponseMessageGroupMessagePlainTextMessageArgs.builder()
                                    .value("string")
                                    .build())
                                .ssmlMessage(V2modelsIntentConfirmationSettingConfirmationConditionalConditionalBranchResponseMessageGroupMessageSsmlMessageArgs.builder()
                                    .value("string")
                                    .build())
                                .build())
                            .variations(V2modelsIntentConfirmationSettingConfirmationConditionalConditionalBranchResponseMessageGroupVariationArgs.builder()
                                .customPayload(V2modelsIntentConfirmationSettingConfirmationConditionalConditionalBranchResponseMessageGroupVariationCustomPayloadArgs.builder()
                                    .value("string")
                                    .build())
                                .imageResponseCard(V2modelsIntentConfirmationSettingConfirmationConditionalConditionalBranchResponseMessageGroupVariationImageResponseCardArgs.builder()
                                    .title("string")
                                    .buttons(V2modelsIntentConfirmationSettingConfirmationConditionalConditionalBranchResponseMessageGroupVariationImageResponseCardButtonArgs.builder()
                                        .text("string")
                                        .value("string")
                                        .build())
                                    .imageUrl("string")
                                    .subtitle("string")
                                    .build())
                                .plainTextMessage(V2modelsIntentConfirmationSettingConfirmationConditionalConditionalBranchResponseMessageGroupVariationPlainTextMessageArgs.builder()
                                    .value("string")
                                    .build())
                                .ssmlMessage(V2modelsIntentConfirmationSettingConfirmationConditionalConditionalBranchResponseMessageGroupVariationSsmlMessageArgs.builder()
                                    .value("string")
                                    .build())
                                .build())
                            .build())
                        .build())
                    .build())
                .defaultBranch(V2modelsIntentConfirmationSettingConfirmationConditionalDefaultBranchArgs.builder()
                    .nextStep(V2modelsIntentConfirmationSettingConfirmationConditionalDefaultBranchNextStepArgs.builder()
                        .dialogAction(V2modelsIntentConfirmationSettingConfirmationConditionalDefaultBranchNextStepDialogActionArgs.builder()
                            .type("string")
                            .slotToElicit("string")
                            .suppressNextMessage(false)
                            .build())
                        .intent(V2modelsIntentConfirmationSettingConfirmationConditionalDefaultBranchNextStepIntentArgs.builder()
                            .name("string")
                            .slots(V2modelsIntentConfirmationSettingConfirmationConditionalDefaultBranchNextStepIntentSlotArgs.builder()
                                .mapBlockKey("string")
                                .shape("string")
                                .value(V2modelsIntentConfirmationSettingConfirmationConditionalDefaultBranchNextStepIntentSlotValueArgs.builder()
                                    .interpretedValue("string")
                                    .build())
                                .build())
                            .build())
                        .sessionAttributes(Map.of("string", "string"))
                        .build())
                    .response(V2modelsIntentConfirmationSettingConfirmationConditionalDefaultBranchResponseArgs.builder()
                        .allowInterrupt(false)
                        .messageGroups(V2modelsIntentConfirmationSettingConfirmationConditionalDefaultBranchResponseMessageGroupArgs.builder()
                            .message(V2modelsIntentConfirmationSettingConfirmationConditionalDefaultBranchResponseMessageGroupMessageArgs.builder()
                                .customPayload(V2modelsIntentConfirmationSettingConfirmationConditionalDefaultBranchResponseMessageGroupMessageCustomPayloadArgs.builder()
                                    .value("string")
                                    .build())
                                .imageResponseCard(V2modelsIntentConfirmationSettingConfirmationConditionalDefaultBranchResponseMessageGroupMessageImageResponseCardArgs.builder()
                                    .title("string")
                                    .buttons(V2modelsIntentConfirmationSettingConfirmationConditionalDefaultBranchResponseMessageGroupMessageImageResponseCardButtonArgs.builder()
                                        .text("string")
                                        .value("string")
                                        .build())
                                    .imageUrl("string")
                                    .subtitle("string")
                                    .build())
                                .plainTextMessage(V2modelsIntentConfirmationSettingConfirmationConditionalDefaultBranchResponseMessageGroupMessagePlainTextMessageArgs.builder()
                                    .value("string")
                                    .build())
                                .ssmlMessage(V2modelsIntentConfirmationSettingConfirmationConditionalDefaultBranchResponseMessageGroupMessageSsmlMessageArgs.builder()
                                    .value("string")
                                    .build())
                                .build())
                            .variations(V2modelsIntentConfirmationSettingConfirmationConditionalDefaultBranchResponseMessageGroupVariationArgs.builder()
                                .customPayload(V2modelsIntentConfirmationSettingConfirmationConditionalDefaultBranchResponseMessageGroupVariationCustomPayloadArgs.builder()
                                    .value("string")
                                    .build())
                                .imageResponseCard(V2modelsIntentConfirmationSettingConfirmationConditionalDefaultBranchResponseMessageGroupVariationImageResponseCardArgs.builder()
                                    .title("string")
                                    .buttons(V2modelsIntentConfirmationSettingConfirmationConditionalDefaultBranchResponseMessageGroupVariationImageResponseCardButtonArgs.builder()
                                        .text("string")
                                        .value("string")
                                        .build())
                                    .imageUrl("string")
                                    .subtitle("string")
                                    .build())
                                .plainTextMessage(V2modelsIntentConfirmationSettingConfirmationConditionalDefaultBranchResponseMessageGroupVariationPlainTextMessageArgs.builder()
                                    .value("string")
                                    .build())
                                .ssmlMessage(V2modelsIntentConfirmationSettingConfirmationConditionalDefaultBranchResponseMessageGroupVariationSsmlMessageArgs.builder()
                                    .value("string")
                                    .build())
                                .build())
                            .build())
                        .build())
                    .build())
                .build())
            .confirmationNextStep(V2modelsIntentConfirmationSettingConfirmationNextStepArgs.builder()
                .dialogAction(V2modelsIntentConfirmationSettingConfirmationNextStepDialogActionArgs.builder()
                    .type("string")
                    .slotToElicit("string")
                    .suppressNextMessage(false)
                    .build())
                .intent(V2modelsIntentConfirmationSettingConfirmationNextStepIntentArgs.builder()
                    .name("string")
                    .slots(V2modelsIntentConfirmationSettingConfirmationNextStepIntentSlotArgs.builder()
                        .mapBlockKey("string")
                        .shape("string")
                        .value(V2modelsIntentConfirmationSettingConfirmationNextStepIntentSlotValueArgs.builder()
                            .interpretedValue("string")
                            .build())
                        .build())
                    .build())
                .sessionAttributes(Map.of("string", "string"))
                .build())
            .confirmationResponse(V2modelsIntentConfirmationSettingConfirmationResponseArgs.builder()
                .allowInterrupt(false)
                .messageGroups(V2modelsIntentConfirmationSettingConfirmationResponseMessageGroupArgs.builder()
                    .message(V2modelsIntentConfirmationSettingConfirmationResponseMessageGroupMessageArgs.builder()
                        .customPayload(V2modelsIntentConfirmationSettingConfirmationResponseMessageGroupMessageCustomPayloadArgs.builder()
                            .value("string")
                            .build())
                        .imageResponseCard(V2modelsIntentConfirmationSettingConfirmationResponseMessageGroupMessageImageResponseCardArgs.builder()
                            .title("string")
                            .buttons(V2modelsIntentConfirmationSettingConfirmationResponseMessageGroupMessageImageResponseCardButtonArgs.builder()
                                .text("string")
                                .value("string")
                                .build())
                            .imageUrl("string")
                            .subtitle("string")
                            .build())
                        .plainTextMessage(V2modelsIntentConfirmationSettingConfirmationResponseMessageGroupMessagePlainTextMessageArgs.builder()
                            .value("string")
                            .build())
                        .ssmlMessage(V2modelsIntentConfirmationSettingConfirmationResponseMessageGroupMessageSsmlMessageArgs.builder()
                            .value("string")
                            .build())
                        .build())
                    .variations(V2modelsIntentConfirmationSettingConfirmationResponseMessageGroupVariationArgs.builder()
                        .customPayload(V2modelsIntentConfirmationSettingConfirmationResponseMessageGroupVariationCustomPayloadArgs.builder()
                            .value("string")
                            .build())
                        .imageResponseCard(V2modelsIntentConfirmationSettingConfirmationResponseMessageGroupVariationImageResponseCardArgs.builder()
                            .title("string")
                            .buttons(V2modelsIntentConfirmationSettingConfirmationResponseMessageGroupVariationImageResponseCardButtonArgs.builder()
                                .text("string")
                                .value("string")
                                .build())
                            .imageUrl("string")
                            .subtitle("string")
                            .build())
                        .plainTextMessage(V2modelsIntentConfirmationSettingConfirmationResponseMessageGroupVariationPlainTextMessageArgs.builder()
                            .value("string")
                            .build())
                        .ssmlMessage(V2modelsIntentConfirmationSettingConfirmationResponseMessageGroupVariationSsmlMessageArgs.builder()
                            .value("string")
                            .build())
                        .build())
                    .build())
                .build())
            .declinationConditional(V2modelsIntentConfirmationSettingDeclinationConditionalArgs.builder()
                .active(false)
                .conditionalBranches(V2modelsIntentConfirmationSettingDeclinationConditionalConditionalBranchArgs.builder()
                    .name("string")
                    .condition(V2modelsIntentConfirmationSettingDeclinationConditionalConditionalBranchConditionArgs.builder()
                        .expressionString("string")
                        .build())
                    .nextStep(V2modelsIntentConfirmationSettingDeclinationConditionalConditionalBranchNextStepArgs.builder()
                        .dialogAction(V2modelsIntentConfirmationSettingDeclinationConditionalConditionalBranchNextStepDialogActionArgs.builder()
                            .type("string")
                            .slotToElicit("string")
                            .suppressNextMessage(false)
                            .build())
                        .intent(V2modelsIntentConfirmationSettingDeclinationConditionalConditionalBranchNextStepIntentArgs.builder()
                            .name("string")
                            .slots(V2modelsIntentConfirmationSettingDeclinationConditionalConditionalBranchNextStepIntentSlotArgs.builder()
                                .mapBlockKey("string")
                                .shape("string")
                                .value(V2modelsIntentConfirmationSettingDeclinationConditionalConditionalBranchNextStepIntentSlotValueArgs.builder()
                                    .interpretedValue("string")
                                    .build())
                                .build())
                            .build())
                        .sessionAttributes(Map.of("string", "string"))
                        .build())
                    .response(V2modelsIntentConfirmationSettingDeclinationConditionalConditionalBranchResponseArgs.builder()
                        .allowInterrupt(false)
                        .messageGroups(V2modelsIntentConfirmationSettingDeclinationConditionalConditionalBranchResponseMessageGroupArgs.builder()
                            .message(V2modelsIntentConfirmationSettingDeclinationConditionalConditionalBranchResponseMessageGroupMessageArgs.builder()
                                .customPayload(V2modelsIntentConfirmationSettingDeclinationConditionalConditionalBranchResponseMessageGroupMessageCustomPayloadArgs.builder()
                                    .value("string")
                                    .build())
                                .imageResponseCard(V2modelsIntentConfirmationSettingDeclinationConditionalConditionalBranchResponseMessageGroupMessageImageResponseCardArgs.builder()
                                    .title("string")
                                    .buttons(V2modelsIntentConfirmationSettingDeclinationConditionalConditionalBranchResponseMessageGroupMessageImageResponseCardButtonArgs.builder()
                                        .text("string")
                                        .value("string")
                                        .build())
                                    .imageUrl("string")
                                    .subtitle("string")
                                    .build())
                                .plainTextMessage(V2modelsIntentConfirmationSettingDeclinationConditionalConditionalBranchResponseMessageGroupMessagePlainTextMessageArgs.builder()
                                    .value("string")
                                    .build())
                                .ssmlMessage(V2modelsIntentConfirmationSettingDeclinationConditionalConditionalBranchResponseMessageGroupMessageSsmlMessageArgs.builder()
                                    .value("string")
                                    .build())
                                .build())
                            .variations(V2modelsIntentConfirmationSettingDeclinationConditionalConditionalBranchResponseMessageGroupVariationArgs.builder()
                                .customPayload(V2modelsIntentConfirmationSettingDeclinationConditionalConditionalBranchResponseMessageGroupVariationCustomPayloadArgs.builder()
                                    .value("string")
                                    .build())
                                .imageResponseCard(V2modelsIntentConfirmationSettingDeclinationConditionalConditionalBranchResponseMessageGroupVariationImageResponseCardArgs.builder()
                                    .title("string")
                                    .buttons(V2modelsIntentConfirmationSettingDeclinationConditionalConditionalBranchResponseMessageGroupVariationImageResponseCardButtonArgs.builder()
                                        .text("string")
                                        .value("string")
                                        .build())
                                    .imageUrl("string")
                                    .subtitle("string")
                                    .build())
                                .plainTextMessage(V2modelsIntentConfirmationSettingDeclinationConditionalConditionalBranchResponseMessageGroupVariationPlainTextMessageArgs.builder()
                                    .value("string")
                                    .build())
                                .ssmlMessage(V2modelsIntentConfirmationSettingDeclinationConditionalConditionalBranchResponseMessageGroupVariationSsmlMessageArgs.builder()
                                    .value("string")
                                    .build())
                                .build())
                            .build())
                        .build())
                    .build())
                .defaultBranch(V2modelsIntentConfirmationSettingDeclinationConditionalDefaultBranchArgs.builder()
                    .nextStep(V2modelsIntentConfirmationSettingDeclinationConditionalDefaultBranchNextStepArgs.builder()
                        .dialogAction(V2modelsIntentConfirmationSettingDeclinationConditionalDefaultBranchNextStepDialogActionArgs.builder()
                            .type("string")
                            .slotToElicit("string")
                            .suppressNextMessage(false)
                            .build())
                        .intent(V2modelsIntentConfirmationSettingDeclinationConditionalDefaultBranchNextStepIntentArgs.builder()
                            .name("string")
                            .slots(V2modelsIntentConfirmationSettingDeclinationConditionalDefaultBranchNextStepIntentSlotArgs.builder()
                                .mapBlockKey("string")
                                .shape("string")
                                .value(V2modelsIntentConfirmationSettingDeclinationConditionalDefaultBranchNextStepIntentSlotValueArgs.builder()
                                    .interpretedValue("string")
                                    .build())
                                .build())
                            .build())
                        .sessionAttributes(Map.of("string", "string"))
                        .build())
                    .response(V2modelsIntentConfirmationSettingDeclinationConditionalDefaultBranchResponseArgs.builder()
                        .allowInterrupt(false)
                        .messageGroups(V2modelsIntentConfirmationSettingDeclinationConditionalDefaultBranchResponseMessageGroupArgs.builder()
                            .message(V2modelsIntentConfirmationSettingDeclinationConditionalDefaultBranchResponseMessageGroupMessageArgs.builder()
                                .customPayload(V2modelsIntentConfirmationSettingDeclinationConditionalDefaultBranchResponseMessageGroupMessageCustomPayloadArgs.builder()
                                    .value("string")
                                    .build())
                                .imageResponseCard(V2modelsIntentConfirmationSettingDeclinationConditionalDefaultBranchResponseMessageGroupMessageImageResponseCardArgs.builder()
                                    .title("string")
                                    .buttons(V2modelsIntentConfirmationSettingDeclinationConditionalDefaultBranchResponseMessageGroupMessageImageResponseCardButtonArgs.builder()
                                        .text("string")
                                        .value("string")
                                        .build())
                                    .imageUrl("string")
                                    .subtitle("string")
                                    .build())
                                .plainTextMessage(V2modelsIntentConfirmationSettingDeclinationConditionalDefaultBranchResponseMessageGroupMessagePlainTextMessageArgs.builder()
                                    .value("string")
                                    .build())
                                .ssmlMessage(V2modelsIntentConfirmationSettingDeclinationConditionalDefaultBranchResponseMessageGroupMessageSsmlMessageArgs.builder()
                                    .value("string")
                                    .build())
                                .build())
                            .variations(V2modelsIntentConfirmationSettingDeclinationConditionalDefaultBranchResponseMessageGroupVariationArgs.builder()
                                .customPayload(V2modelsIntentConfirmationSettingDeclinationConditionalDefaultBranchResponseMessageGroupVariationCustomPayloadArgs.builder()
                                    .value("string")
                                    .build())
                                .imageResponseCard(V2modelsIntentConfirmationSettingDeclinationConditionalDefaultBranchResponseMessageGroupVariationImageResponseCardArgs.builder()
                                    .title("string")
                                    .buttons(V2modelsIntentConfirmationSettingDeclinationConditionalDefaultBranchResponseMessageGroupVariationImageResponseCardButtonArgs.builder()
                                        .text("string")
                                        .value("string")
                                        .build())
                                    .imageUrl("string")
                                    .subtitle("string")
                                    .build())
                                .plainTextMessage(V2modelsIntentConfirmationSettingDeclinationConditionalDefaultBranchResponseMessageGroupVariationPlainTextMessageArgs.builder()
                                    .value("string")
                                    .build())
                                .ssmlMessage(V2modelsIntentConfirmationSettingDeclinationConditionalDefaultBranchResponseMessageGroupVariationSsmlMessageArgs.builder()
                                    .value("string")
                                    .build())
                                .build())
                            .build())
                        .build())
                    .build())
                .build())
            .declinationNextStep(V2modelsIntentConfirmationSettingDeclinationNextStepArgs.builder()
                .dialogAction(V2modelsIntentConfirmationSettingDeclinationNextStepDialogActionArgs.builder()
                    .type("string")
                    .slotToElicit("string")
                    .suppressNextMessage(false)
                    .build())
                .intent(V2modelsIntentConfirmationSettingDeclinationNextStepIntentArgs.builder()
                    .name("string")
                    .slots(V2modelsIntentConfirmationSettingDeclinationNextStepIntentSlotArgs.builder()
                        .mapBlockKey("string")
                        .shape("string")
                        .value(V2modelsIntentConfirmationSettingDeclinationNextStepIntentSlotValueArgs.builder()
                            .interpretedValue("string")
                            .build())
                        .build())
                    .build())
                .sessionAttributes(Map.of("string", "string"))
                .build())
            .declinationResponse(V2modelsIntentConfirmationSettingDeclinationResponseArgs.builder()
                .allowInterrupt(false)
                .messageGroups(V2modelsIntentConfirmationSettingDeclinationResponseMessageGroupArgs.builder()
                    .message(V2modelsIntentConfirmationSettingDeclinationResponseMessageGroupMessageArgs.builder()
                        .customPayload(V2modelsIntentConfirmationSettingDeclinationResponseMessageGroupMessageCustomPayloadArgs.builder()
                            .value("string")
                            .build())
                        .imageResponseCard(V2modelsIntentConfirmationSettingDeclinationResponseMessageGroupMessageImageResponseCardArgs.builder()
                            .title("string")
                            .buttons(V2modelsIntentConfirmationSettingDeclinationResponseMessageGroupMessageImageResponseCardButtonArgs.builder()
                                .text("string")
                                .value("string")
                                .build())
                            .imageUrl("string")
                            .subtitle("string")
                            .build())
                        .plainTextMessage(V2modelsIntentConfirmationSettingDeclinationResponseMessageGroupMessagePlainTextMessageArgs.builder()
                            .value("string")
                            .build())
                        .ssmlMessage(V2modelsIntentConfirmationSettingDeclinationResponseMessageGroupMessageSsmlMessageArgs.builder()
                            .value("string")
                            .build())
                        .build())
                    .variations(V2modelsIntentConfirmationSettingDeclinationResponseMessageGroupVariationArgs.builder()
                        .customPayload(V2modelsIntentConfirmationSettingDeclinationResponseMessageGroupVariationCustomPayloadArgs.builder()
                            .value("string")
                            .build())
                        .imageResponseCard(V2modelsIntentConfirmationSettingDeclinationResponseMessageGroupVariationImageResponseCardArgs.builder()
                            .title("string")
                            .buttons(V2modelsIntentConfirmationSettingDeclinationResponseMessageGroupVariationImageResponseCardButtonArgs.builder()
                                .text("string")
                                .value("string")
                                .build())
                            .imageUrl("string")
                            .subtitle("string")
                            .build())
                        .plainTextMessage(V2modelsIntentConfirmationSettingDeclinationResponseMessageGroupVariationPlainTextMessageArgs.builder()
                            .value("string")
                            .build())
                        .ssmlMessage(V2modelsIntentConfirmationSettingDeclinationResponseMessageGroupVariationSsmlMessageArgs.builder()
                            .value("string")
                            .build())
                        .build())
                    .build())
                .build())
            .elicitationCodeHook(V2modelsIntentConfirmationSettingElicitationCodeHookArgs.builder()
                .enableCodeHookInvocation(false)
                .invocationLabel("string")
                .build())
            .failureConditional(V2modelsIntentConfirmationSettingFailureConditionalArgs.builder()
                .active(false)
                .conditionalBranches(V2modelsIntentConfirmationSettingFailureConditionalConditionalBranchArgs.builder()
                    .name("string")
                    .condition(V2modelsIntentConfirmationSettingFailureConditionalConditionalBranchConditionArgs.builder()
                        .expressionString("string")
                        .build())
                    .nextStep(V2modelsIntentConfirmationSettingFailureConditionalConditionalBranchNextStepArgs.builder()
                        .dialogAction(V2modelsIntentConfirmationSettingFailureConditionalConditionalBranchNextStepDialogActionArgs.builder()
                            .type("string")
                            .slotToElicit("string")
                            .suppressNextMessage(false)
                            .build())
                        .intent(V2modelsIntentConfirmationSettingFailureConditionalConditionalBranchNextStepIntentArgs.builder()
                            .name("string")
                            .slots(V2modelsIntentConfirmationSettingFailureConditionalConditionalBranchNextStepIntentSlotArgs.builder()
                                .mapBlockKey("string")
                                .shape("string")
                                .value(V2modelsIntentConfirmationSettingFailureConditionalConditionalBranchNextStepIntentSlotValueArgs.builder()
                                    .interpretedValue("string")
                                    .build())
                                .build())
                            .build())
                        .sessionAttributes(Map.of("string", "string"))
                        .build())
                    .response(V2modelsIntentConfirmationSettingFailureConditionalConditionalBranchResponseArgs.builder()
                        .allowInterrupt(false)
                        .messageGroups(V2modelsIntentConfirmationSettingFailureConditionalConditionalBranchResponseMessageGroupArgs.builder()
                            .message(V2modelsIntentConfirmationSettingFailureConditionalConditionalBranchResponseMessageGroupMessageArgs.builder()
                                .customPayload(V2modelsIntentConfirmationSettingFailureConditionalConditionalBranchResponseMessageGroupMessageCustomPayloadArgs.builder()
                                    .value("string")
                                    .build())
                                .imageResponseCard(V2modelsIntentConfirmationSettingFailureConditionalConditionalBranchResponseMessageGroupMessageImageResponseCardArgs.builder()
                                    .title("string")
                                    .buttons(V2modelsIntentConfirmationSettingFailureConditionalConditionalBranchResponseMessageGroupMessageImageResponseCardButtonArgs.builder()
                                        .text("string")
                                        .value("string")
                                        .build())
                                    .imageUrl("string")
                                    .subtitle("string")
                                    .build())
                                .plainTextMessage(V2modelsIntentConfirmationSettingFailureConditionalConditionalBranchResponseMessageGroupMessagePlainTextMessageArgs.builder()
                                    .value("string")
                                    .build())
                                .ssmlMessage(V2modelsIntentConfirmationSettingFailureConditionalConditionalBranchResponseMessageGroupMessageSsmlMessageArgs.builder()
                                    .value("string")
                                    .build())
                                .build())
                            .variations(V2modelsIntentConfirmationSettingFailureConditionalConditionalBranchResponseMessageGroupVariationArgs.builder()
                                .customPayload(V2modelsIntentConfirmationSettingFailureConditionalConditionalBranchResponseMessageGroupVariationCustomPayloadArgs.builder()
                                    .value("string")
                                    .build())
                                .imageResponseCard(V2modelsIntentConfirmationSettingFailureConditionalConditionalBranchResponseMessageGroupVariationImageResponseCardArgs.builder()
                                    .title("string")
                                    .buttons(V2modelsIntentConfirmationSettingFailureConditionalConditionalBranchResponseMessageGroupVariationImageResponseCardButtonArgs.builder()
                                        .text("string")
                                        .value("string")
                                        .build())
                                    .imageUrl("string")
                                    .subtitle("string")
                                    .build())
                                .plainTextMessage(V2modelsIntentConfirmationSettingFailureConditionalConditionalBranchResponseMessageGroupVariationPlainTextMessageArgs.builder()
                                    .value("string")
                                    .build())
                                .ssmlMessage(V2modelsIntentConfirmationSettingFailureConditionalConditionalBranchResponseMessageGroupVariationSsmlMessageArgs.builder()
                                    .value("string")
                                    .build())
                                .build())
                            .build())
                        .build())
                    .build())
                .defaultBranch(V2modelsIntentConfirmationSettingFailureConditionalDefaultBranchArgs.builder()
                    .nextStep(V2modelsIntentConfirmationSettingFailureConditionalDefaultBranchNextStepArgs.builder()
                        .dialogAction(V2modelsIntentConfirmationSettingFailureConditionalDefaultBranchNextStepDialogActionArgs.builder()
                            .type("string")
                            .slotToElicit("string")
                            .suppressNextMessage(false)
                            .build())
                        .intent(V2modelsIntentConfirmationSettingFailureConditionalDefaultBranchNextStepIntentArgs.builder()
                            .name("string")
                            .slots(V2modelsIntentConfirmationSettingFailureConditionalDefaultBranchNextStepIntentSlotArgs.builder()
                                .mapBlockKey("string")
                                .shape("string")
                                .value(V2modelsIntentConfirmationSettingFailureConditionalDefaultBranchNextStepIntentSlotValueArgs.builder()
                                    .interpretedValue("string")
                                    .build())
                                .build())
                            .build())
                        .sessionAttributes(Map.of("string", "string"))
                        .build())
                    .response(V2modelsIntentConfirmationSettingFailureConditionalDefaultBranchResponseArgs.builder()
                        .allowInterrupt(false)
                        .messageGroups(V2modelsIntentConfirmationSettingFailureConditionalDefaultBranchResponseMessageGroupArgs.builder()
                            .message(V2modelsIntentConfirmationSettingFailureConditionalDefaultBranchResponseMessageGroupMessageArgs.builder()
                                .customPayload(V2modelsIntentConfirmationSettingFailureConditionalDefaultBranchResponseMessageGroupMessageCustomPayloadArgs.builder()
                                    .value("string")
                                    .build())
                                .imageResponseCard(V2modelsIntentConfirmationSettingFailureConditionalDefaultBranchResponseMessageGroupMessageImageResponseCardArgs.builder()
                                    .title("string")
                                    .buttons(V2modelsIntentConfirmationSettingFailureConditionalDefaultBranchResponseMessageGroupMessageImageResponseCardButtonArgs.builder()
                                        .text("string")
                                        .value("string")
                                        .build())
                                    .imageUrl("string")
                                    .subtitle("string")
                                    .build())
                                .plainTextMessage(V2modelsIntentConfirmationSettingFailureConditionalDefaultBranchResponseMessageGroupMessagePlainTextMessageArgs.builder()
                                    .value("string")
                                    .build())
                                .ssmlMessage(V2modelsIntentConfirmationSettingFailureConditionalDefaultBranchResponseMessageGroupMessageSsmlMessageArgs.builder()
                                    .value("string")
                                    .build())
                                .build())
                            .variations(V2modelsIntentConfirmationSettingFailureConditionalDefaultBranchResponseMessageGroupVariationArgs.builder()
                                .customPayload(V2modelsIntentConfirmationSettingFailureConditionalDefaultBranchResponseMessageGroupVariationCustomPayloadArgs.builder()
                                    .value("string")
                                    .build())
                                .imageResponseCard(V2modelsIntentConfirmationSettingFailureConditionalDefaultBranchResponseMessageGroupVariationImageResponseCardArgs.builder()
                                    .title("string")
                                    .buttons(V2modelsIntentConfirmationSettingFailureConditionalDefaultBranchResponseMessageGroupVariationImageResponseCardButtonArgs.builder()
                                        .text("string")
                                        .value("string")
                                        .build())
                                    .imageUrl("string")
                                    .subtitle("string")
                                    .build())
                                .plainTextMessage(V2modelsIntentConfirmationSettingFailureConditionalDefaultBranchResponseMessageGroupVariationPlainTextMessageArgs.builder()
                                    .value("string")
                                    .build())
                                .ssmlMessage(V2modelsIntentConfirmationSettingFailureConditionalDefaultBranchResponseMessageGroupVariationSsmlMessageArgs.builder()
                                    .value("string")
                                    .build())
                                .build())
                            .build())
                        .build())
                    .build())
                .build())
            .failureNextStep(V2modelsIntentConfirmationSettingFailureNextStepArgs.builder()
                .dialogAction(V2modelsIntentConfirmationSettingFailureNextStepDialogActionArgs.builder()
                    .type("string")
                    .slotToElicit("string")
                    .suppressNextMessage(false)
                    .build())
                .intent(V2modelsIntentConfirmationSettingFailureNextStepIntentArgs.builder()
                    .name("string")
                    .slots(V2modelsIntentConfirmationSettingFailureNextStepIntentSlotArgs.builder()
                        .mapBlockKey("string")
                        .shape("string")
                        .value(V2modelsIntentConfirmationSettingFailureNextStepIntentSlotValueArgs.builder()
                            .interpretedValue("string")
                            .build())
                        .build())
                    .build())
                .sessionAttributes(Map.of("string", "string"))
                .build())
            .failureResponse(V2modelsIntentConfirmationSettingFailureResponseArgs.builder()
                .allowInterrupt(false)
                .messageGroups(V2modelsIntentConfirmationSettingFailureResponseMessageGroupArgs.builder()
                    .message(V2modelsIntentConfirmationSettingFailureResponseMessageGroupMessageArgs.builder()
                        .customPayload(V2modelsIntentConfirmationSettingFailureResponseMessageGroupMessageCustomPayloadArgs.builder()
                            .value("string")
                            .build())
                        .imageResponseCard(V2modelsIntentConfirmationSettingFailureResponseMessageGroupMessageImageResponseCardArgs.builder()
                            .title("string")
                            .buttons(V2modelsIntentConfirmationSettingFailureResponseMessageGroupMessageImageResponseCardButtonArgs.builder()
                                .text("string")
                                .value("string")
                                .build())
                            .imageUrl("string")
                            .subtitle("string")
                            .build())
                        .plainTextMessage(V2modelsIntentConfirmationSettingFailureResponseMessageGroupMessagePlainTextMessageArgs.builder()
                            .value("string")
                            .build())
                        .ssmlMessage(V2modelsIntentConfirmationSettingFailureResponseMessageGroupMessageSsmlMessageArgs.builder()
                            .value("string")
                            .build())
                        .build())
                    .variations(V2modelsIntentConfirmationSettingFailureResponseMessageGroupVariationArgs.builder()
                        .customPayload(V2modelsIntentConfirmationSettingFailureResponseMessageGroupVariationCustomPayloadArgs.builder()
                            .value("string")
                            .build())
                        .imageResponseCard(V2modelsIntentConfirmationSettingFailureResponseMessageGroupVariationImageResponseCardArgs.builder()
                            .title("string")
                            .buttons(V2modelsIntentConfirmationSettingFailureResponseMessageGroupVariationImageResponseCardButtonArgs.builder()
                                .text("string")
                                .value("string")
                                .build())
                            .imageUrl("string")
                            .subtitle("string")
                            .build())
                        .plainTextMessage(V2modelsIntentConfirmationSettingFailureResponseMessageGroupVariationPlainTextMessageArgs.builder()
                            .value("string")
                            .build())
                        .ssmlMessage(V2modelsIntentConfirmationSettingFailureResponseMessageGroupVariationSsmlMessageArgs.builder()
                            .value("string")
                            .build())
                        .build())
                    .build())
                .build())
            .promptSpecification(V2modelsIntentConfirmationSettingPromptSpecificationArgs.builder()
                .maxRetries(0)
                .allowInterrupt(false)
                .messageGroups(V2modelsIntentConfirmationSettingPromptSpecificationMessageGroupArgs.builder()
                    .message(V2modelsIntentConfirmationSettingPromptSpecificationMessageGroupMessageArgs.builder()
                        .customPayload(V2modelsIntentConfirmationSettingPromptSpecificationMessageGroupMessageCustomPayloadArgs.builder()
                            .value("string")
                            .build())
                        .imageResponseCard(V2modelsIntentConfirmationSettingPromptSpecificationMessageGroupMessageImageResponseCardArgs.builder()
                            .title("string")
                            .buttons(V2modelsIntentConfirmationSettingPromptSpecificationMessageGroupMessageImageResponseCardButtonArgs.builder()
                                .text("string")
                                .value("string")
                                .build())
                            .imageUrl("string")
                            .subtitle("string")
                            .build())
                        .plainTextMessage(V2modelsIntentConfirmationSettingPromptSpecificationMessageGroupMessagePlainTextMessageArgs.builder()
                            .value("string")
                            .build())
                        .ssmlMessage(V2modelsIntentConfirmationSettingPromptSpecificationMessageGroupMessageSsmlMessageArgs.builder()
                            .value("string")
                            .build())
                        .build())
                    .variations(V2modelsIntentConfirmationSettingPromptSpecificationMessageGroupVariationArgs.builder()
                        .customPayload(V2modelsIntentConfirmationSettingPromptSpecificationMessageGroupVariationCustomPayloadArgs.builder()
                            .value("string")
                            .build())
                        .imageResponseCard(V2modelsIntentConfirmationSettingPromptSpecificationMessageGroupVariationImageResponseCardArgs.builder()
                            .title("string")
                            .buttons(V2modelsIntentConfirmationSettingPromptSpecificationMessageGroupVariationImageResponseCardButtonArgs.builder()
                                .text("string")
                                .value("string")
                                .build())
                            .imageUrl("string")
                            .subtitle("string")
                            .build())
                        .plainTextMessage(V2modelsIntentConfirmationSettingPromptSpecificationMessageGroupVariationPlainTextMessageArgs.builder()
                            .value("string")
                            .build())
                        .ssmlMessage(V2modelsIntentConfirmationSettingPromptSpecificationMessageGroupVariationSsmlMessageArgs.builder()
                            .value("string")
                            .build())
                        .build())
                    .build())
                .messageSelectionStrategy("string")
                .promptAttemptsSpecifications(V2modelsIntentConfirmationSettingPromptSpecificationPromptAttemptsSpecificationArgs.builder()
                    .mapBlockKey("string")
                    .allowInterrupt(false)
                    .allowedInputTypes(V2modelsIntentConfirmationSettingPromptSpecificationPromptAttemptsSpecificationAllowedInputTypesArgs.builder()
                        .allowAudioInput(false)
                        .allowDtmfInput(false)
                        .build())
                    .audioAndDtmfInputSpecification(V2modelsIntentConfirmationSettingPromptSpecificationPromptAttemptsSpecificationAudioAndDtmfInputSpecificationArgs.builder()
                        .startTimeoutMs(0)
                        .audioSpecification(V2modelsIntentConfirmationSettingPromptSpecificationPromptAttemptsSpecificationAudioAndDtmfInputSpecificationAudioSpecificationArgs.builder()
                            .endTimeoutMs(0)
                            .maxLengthMs(0)
                            .build())
                        .dtmfSpecification(V2modelsIntentConfirmationSettingPromptSpecificationPromptAttemptsSpecificationAudioAndDtmfInputSpecificationDtmfSpecificationArgs.builder()
                            .deletionCharacter("string")
                            .endCharacter("string")
                            .endTimeoutMs(0)
                            .maxLength(0)
                            .build())
                        .build())
                    .textInputSpecification(V2modelsIntentConfirmationSettingPromptSpecificationPromptAttemptsSpecificationTextInputSpecificationArgs.builder()
                        .startTimeoutMs(0)
                        .build())
                    .build())
                .build())
            .build())
        .kendraConfiguration(V2modelsIntentKendraConfigurationArgs.builder()
            .kendraIndex("string")
            .queryFilterString("string")
            .queryFilterStringEnabled(false)
            .build())
        .description("string")
        .name("string")
        .outputContexts(V2modelsIntentOutputContextArgs.builder()
            .name("string")
            .timeToLiveInSeconds(0)
            .turnsToLive(0)
            .build())
        .parentIntentSignature("string")
        .qnaIntentConfiguration(V2modelsIntentQnaIntentConfigurationArgs.builder()
            .bedrockModelConfiguration(V2modelsIntentQnaIntentConfigurationBedrockModelConfigurationArgs.builder()
                .modelArn("string")
                .customPrompt("string")
                .guardrail(V2modelsIntentQnaIntentConfigurationBedrockModelConfigurationGuardrailArgs.builder()
                    .identifier("string")
                    .version("string")
                    .build())
                .traceStatus("string")
                .build())
            .dataSourceConfiguration(V2modelsIntentQnaIntentConfigurationDataSourceConfigurationArgs.builder()
                .bedrockKnowledgeStoreConfiguration(V2modelsIntentQnaIntentConfigurationDataSourceConfigurationBedrockKnowledgeStoreConfigurationArgs.builder()
                    .bedrockKnowledgeBaseArn("string")
                    .exactResponse(false)
                    .exactResponseFields(V2modelsIntentQnaIntentConfigurationDataSourceConfigurationBedrockKnowledgeStoreConfigurationExactResponseFieldsArgs.builder()
                        .answerField("string")
                        .build())
                    .build())
                .kendraConfiguration(V2modelsIntentQnaIntentConfigurationDataSourceConfigurationKendraConfigurationArgs.builder()
                    .kendraIndex("string")
                    .exactResponse(false)
                    .queryFilterString("string")
                    .queryFilterStringEnabled(false)
                    .build())
                .opensearchConfiguration(V2modelsIntentQnaIntentConfigurationDataSourceConfigurationOpensearchConfigurationArgs.builder()
                    .domainEndpoint("string")
                    .indexName("string")
                    .exactResponse(false)
                    .exactResponseFields(V2modelsIntentQnaIntentConfigurationDataSourceConfigurationOpensearchConfigurationExactResponseFieldsArgs.builder()
                        .answerField("string")
                        .questionField("string")
                        .build())
                    .includeFields("string")
                    .build())
                .build())
            .build())
        .region("string")
        .sampleUtterances(V2modelsIntentSampleUtteranceArgs.builder()
            .utterance("string")
            .build())
        .slotPriorities(V2modelsIntentSlotPriorityArgs.builder()
            .priority(0)
            .slotId("string")
            .build())
        .timeouts(V2modelsIntentTimeoutsArgs.builder()
            .create("string")
            .delete("string")
            .update("string")
            .build())
        .build());
    
    v2models_intent_resource = aws.lex.V2modelsIntent("v2modelsIntentResource",
        bot_id="string",
        bot_version="string",
        locale_id="string",
        input_contexts=[{
            "name": "string",
        }],
        closing_setting={
            "active": False,
            "closing_response": {
                "allow_interrupt": False,
                "message_groups": [{
                    "message": {
                        "custom_payload": {
                            "value": "string",
                        },
                        "image_response_card": {
                            "title": "string",
                            "buttons": [{
                                "text": "string",
                                "value": "string",
                            }],
                            "image_url": "string",
                            "subtitle": "string",
                        },
                        "plain_text_message": {
                            "value": "string",
                        },
                        "ssml_message": {
                            "value": "string",
                        },
                    },
                    "variations": [{
                        "custom_payload": {
                            "value": "string",
                        },
                        "image_response_card": {
                            "title": "string",
                            "buttons": [{
                                "text": "string",
                                "value": "string",
                            }],
                            "image_url": "string",
                            "subtitle": "string",
                        },
                        "plain_text_message": {
                            "value": "string",
                        },
                        "ssml_message": {
                            "value": "string",
                        },
                    }],
                }],
            },
            "conditional": {
                "active": False,
                "conditional_branches": [{
                    "name": "string",
                    "condition": {
                        "expression_string": "string",
                    },
                    "next_step": {
                        "dialog_action": {
                            "type": "string",
                            "slot_to_elicit": "string",
                            "suppress_next_message": False,
                        },
                        "intent": {
                            "name": "string",
                            "slots": [{
                                "map_block_key": "string",
                                "shape": "string",
                                "value": {
                                    "interpreted_value": "string",
                                },
                            }],
                        },
                        "session_attributes": {
                            "string": "string",
                        },
                    },
                    "response": {
                        "allow_interrupt": False,
                        "message_groups": [{
                            "message": {
                                "custom_payload": {
                                    "value": "string",
                                },
                                "image_response_card": {
                                    "title": "string",
                                    "buttons": [{
                                        "text": "string",
                                        "value": "string",
                                    }],
                                    "image_url": "string",
                                    "subtitle": "string",
                                },
                                "plain_text_message": {
                                    "value": "string",
                                },
                                "ssml_message": {
                                    "value": "string",
                                },
                            },
                            "variations": [{
                                "custom_payload": {
                                    "value": "string",
                                },
                                "image_response_card": {
                                    "title": "string",
                                    "buttons": [{
                                        "text": "string",
                                        "value": "string",
                                    }],
                                    "image_url": "string",
                                    "subtitle": "string",
                                },
                                "plain_text_message": {
                                    "value": "string",
                                },
                                "ssml_message": {
                                    "value": "string",
                                },
                            }],
                        }],
                    },
                }],
                "default_branch": {
                    "next_step": {
                        "dialog_action": {
                            "type": "string",
                            "slot_to_elicit": "string",
                            "suppress_next_message": False,
                        },
                        "intent": {
                            "name": "string",
                            "slots": [{
                                "map_block_key": "string",
                                "shape": "string",
                                "value": {
                                    "interpreted_value": "string",
                                },
                            }],
                        },
                        "session_attributes": {
                            "string": "string",
                        },
                    },
                    "response": {
                        "allow_interrupt": False,
                        "message_groups": [{
                            "message": {
                                "custom_payload": {
                                    "value": "string",
                                },
                                "image_response_card": {
                                    "title": "string",
                                    "buttons": [{
                                        "text": "string",
                                        "value": "string",
                                    }],
                                    "image_url": "string",
                                    "subtitle": "string",
                                },
                                "plain_text_message": {
                                    "value": "string",
                                },
                                "ssml_message": {
                                    "value": "string",
                                },
                            },
                            "variations": [{
                                "custom_payload": {
                                    "value": "string",
                                },
                                "image_response_card": {
                                    "title": "string",
                                    "buttons": [{
                                        "text": "string",
                                        "value": "string",
                                    }],
                                    "image_url": "string",
                                    "subtitle": "string",
                                },
                                "plain_text_message": {
                                    "value": "string",
                                },
                                "ssml_message": {
                                    "value": "string",
                                },
                            }],
                        }],
                    },
                },
            },
            "next_step": {
                "dialog_action": {
                    "type": "string",
                    "slot_to_elicit": "string",
                    "suppress_next_message": False,
                },
                "intent": {
                    "name": "string",
                    "slots": [{
                        "map_block_key": "string",
                        "shape": "string",
                        "value": {
                            "interpreted_value": "string",
                        },
                    }],
                },
                "session_attributes": {
                    "string": "string",
                },
            },
        },
        dialog_code_hook={
            "enabled": False,
        },
        fulfillment_code_hook={
            "enabled": False,
            "active": False,
            "fulfillment_updates_specification": {
                "active": False,
                "start_response": {
                    "allow_interrupt": False,
                    "delay_in_seconds": 0,
                    "message_groups": [{
                        "message": {
                            "custom_payload": {
                                "value": "string",
                            },
                            "image_response_card": {
                                "title": "string",
                                "buttons": [{
                                    "text": "string",
                                    "value": "string",
                                }],
                                "image_url": "string",
                                "subtitle": "string",
                            },
                            "plain_text_message": {
                                "value": "string",
                            },
                            "ssml_message": {
                                "value": "string",
                            },
                        },
                        "variations": [{
                            "custom_payload": {
                                "value": "string",
                            },
                            "image_response_card": {
                                "title": "string",
                                "buttons": [{
                                    "text": "string",
                                    "value": "string",
                                }],
                                "image_url": "string",
                                "subtitle": "string",
                            },
                            "plain_text_message": {
                                "value": "string",
                            },
                            "ssml_message": {
                                "value": "string",
                            },
                        }],
                    }],
                },
                "timeout_in_seconds": 0,
                "update_response": {
                    "frequency_in_seconds": 0,
                    "allow_interrupt": False,
                    "message_groups": [{
                        "message": {
                            "custom_payload": {
                                "value": "string",
                            },
                            "image_response_card": {
                                "title": "string",
                                "buttons": [{
                                    "text": "string",
                                    "value": "string",
                                }],
                                "image_url": "string",
                                "subtitle": "string",
                            },
                            "plain_text_message": {
                                "value": "string",
                            },
                            "ssml_message": {
                                "value": "string",
                            },
                        },
                        "variations": [{
                            "custom_payload": {
                                "value": "string",
                            },
                            "image_response_card": {
                                "title": "string",
                                "buttons": [{
                                    "text": "string",
                                    "value": "string",
                                }],
                                "image_url": "string",
                                "subtitle": "string",
                            },
                            "plain_text_message": {
                                "value": "string",
                            },
                            "ssml_message": {
                                "value": "string",
                            },
                        }],
                    }],
                },
            },
            "post_fulfillment_status_specification": {
                "failure_conditional": {
                    "active": False,
                    "conditional_branches": [{
                        "name": "string",
                        "condition": {
                            "expression_string": "string",
                        },
                        "next_step": {
                            "dialog_action": {
                                "type": "string",
                                "slot_to_elicit": "string",
                                "suppress_next_message": False,
                            },
                            "intent": {
                                "name": "string",
                                "slots": [{
                                    "map_block_key": "string",
                                    "shape": "string",
                                    "value": {
                                        "interpreted_value": "string",
                                    },
                                }],
                            },
                            "session_attributes": {
                                "string": "string",
                            },
                        },
                        "response": {
                            "allow_interrupt": False,
                            "message_groups": [{
                                "message": {
                                    "custom_payload": {
                                        "value": "string",
                                    },
                                    "image_response_card": {
                                        "title": "string",
                                        "buttons": [{
                                            "text": "string",
                                            "value": "string",
                                        }],
                                        "image_url": "string",
                                        "subtitle": "string",
                                    },
                                    "plain_text_message": {
                                        "value": "string",
                                    },
                                    "ssml_message": {
                                        "value": "string",
                                    },
                                },
                                "variations": [{
                                    "custom_payload": {
                                        "value": "string",
                                    },
                                    "image_response_card": {
                                        "title": "string",
                                        "buttons": [{
                                            "text": "string",
                                            "value": "string",
                                        }],
                                        "image_url": "string",
                                        "subtitle": "string",
                                    },
                                    "plain_text_message": {
                                        "value": "string",
                                    },
                                    "ssml_message": {
                                        "value": "string",
                                    },
                                }],
                            }],
                        },
                    }],
                    "default_branch": {
                        "next_step": {
                            "dialog_action": {
                                "type": "string",
                                "slot_to_elicit": "string",
                                "suppress_next_message": False,
                            },
                            "intent": {
                                "name": "string",
                                "slots": [{
                                    "map_block_key": "string",
                                    "shape": "string",
                                    "value": {
                                        "interpreted_value": "string",
                                    },
                                }],
                            },
                            "session_attributes": {
                                "string": "string",
                            },
                        },
                        "response": {
                            "allow_interrupt": False,
                            "message_groups": [{
                                "message": {
                                    "custom_payload": {
                                        "value": "string",
                                    },
                                    "image_response_card": {
                                        "title": "string",
                                        "buttons": [{
                                            "text": "string",
                                            "value": "string",
                                        }],
                                        "image_url": "string",
                                        "subtitle": "string",
                                    },
                                    "plain_text_message": {
                                        "value": "string",
                                    },
                                    "ssml_message": {
                                        "value": "string",
                                    },
                                },
                                "variations": [{
                                    "custom_payload": {
                                        "value": "string",
                                    },
                                    "image_response_card": {
                                        "title": "string",
                                        "buttons": [{
                                            "text": "string",
                                            "value": "string",
                                        }],
                                        "image_url": "string",
                                        "subtitle": "string",
                                    },
                                    "plain_text_message": {
                                        "value": "string",
                                    },
                                    "ssml_message": {
                                        "value": "string",
                                    },
                                }],
                            }],
                        },
                    },
                },
                "failure_next_step": {
                    "dialog_action": {
                        "type": "string",
                        "slot_to_elicit": "string",
                        "suppress_next_message": False,
                    },
                    "intent": {
                        "name": "string",
                        "slots": [{
                            "map_block_key": "string",
                            "shape": "string",
                            "value": {
                                "interpreted_value": "string",
                            },
                        }],
                    },
                    "session_attributes": {
                        "string": "string",
                    },
                },
                "failure_response": {
                    "allow_interrupt": False,
                    "message_groups": [{
                        "message": {
                            "custom_payload": {
                                "value": "string",
                            },
                            "image_response_card": {
                                "title": "string",
                                "buttons": [{
                                    "text": "string",
                                    "value": "string",
                                }],
                                "image_url": "string",
                                "subtitle": "string",
                            },
                            "plain_text_message": {
                                "value": "string",
                            },
                            "ssml_message": {
                                "value": "string",
                            },
                        },
                        "variations": [{
                            "custom_payload": {
                                "value": "string",
                            },
                            "image_response_card": {
                                "title": "string",
                                "buttons": [{
                                    "text": "string",
                                    "value": "string",
                                }],
                                "image_url": "string",
                                "subtitle": "string",
                            },
                            "plain_text_message": {
                                "value": "string",
                            },
                            "ssml_message": {
                                "value": "string",
                            },
                        }],
                    }],
                },
                "success_conditional": {
                    "active": False,
                    "conditional_branches": [{
                        "name": "string",
                        "condition": {
                            "expression_string": "string",
                        },
                        "next_step": {
                            "dialog_action": {
                                "type": "string",
                                "slot_to_elicit": "string",
                                "suppress_next_message": False,
                            },
                            "intent": {
                                "name": "string",
                                "slots": [{
                                    "map_block_key": "string",
                                    "shape": "string",
                                    "value": {
                                        "interpreted_value": "string",
                                    },
                                }],
                            },
                            "session_attributes": {
                                "string": "string",
                            },
                        },
                        "response": {
                            "allow_interrupt": False,
                            "message_groups": [{
                                "message": {
                                    "custom_payload": {
                                        "value": "string",
                                    },
                                    "image_response_card": {
                                        "title": "string",
                                        "buttons": [{
                                            "text": "string",
                                            "value": "string",
                                        }],
                                        "image_url": "string",
                                        "subtitle": "string",
                                    },
                                    "plain_text_message": {
                                        "value": "string",
                                    },
                                    "ssml_message": {
                                        "value": "string",
                                    },
                                },
                                "variations": [{
                                    "custom_payload": {
                                        "value": "string",
                                    },
                                    "image_response_card": {
                                        "title": "string",
                                        "buttons": [{
                                            "text": "string",
                                            "value": "string",
                                        }],
                                        "image_url": "string",
                                        "subtitle": "string",
                                    },
                                    "plain_text_message": {
                                        "value": "string",
                                    },
                                    "ssml_message": {
                                        "value": "string",
                                    },
                                }],
                            }],
                        },
                    }],
                    "default_branch": {
                        "next_step": {
                            "dialog_action": {
                                "type": "string",
                                "slot_to_elicit": "string",
                                "suppress_next_message": False,
                            },
                            "intent": {
                                "name": "string",
                                "slots": [{
                                    "map_block_key": "string",
                                    "shape": "string",
                                    "value": {
                                        "interpreted_value": "string",
                                    },
                                }],
                            },
                            "session_attributes": {
                                "string": "string",
                            },
                        },
                        "response": {
                            "allow_interrupt": False,
                            "message_groups": [{
                                "message": {
                                    "custom_payload": {
                                        "value": "string",
                                    },
                                    "image_response_card": {
                                        "title": "string",
                                        "buttons": [{
                                            "text": "string",
                                            "value": "string",
                                        }],
                                        "image_url": "string",
                                        "subtitle": "string",
                                    },
                                    "plain_text_message": {
                                        "value": "string",
                                    },
                                    "ssml_message": {
                                        "value": "string",
                                    },
                                },
                                "variations": [{
                                    "custom_payload": {
                                        "value": "string",
                                    },
                                    "image_response_card": {
                                        "title": "string",
                                        "buttons": [{
                                            "text": "string",
                                            "value": "string",
                                        }],
                                        "image_url": "string",
                                        "subtitle": "string",
                                    },
                                    "plain_text_message": {
                                        "value": "string",
                                    },
                                    "ssml_message": {
                                        "value": "string",
                                    },
                                }],
                            }],
                        },
                    },
                },
                "success_next_step": {
                    "dialog_action": {
                        "type": "string",
                        "slot_to_elicit": "string",
                        "suppress_next_message": False,
                    },
                    "intent": {
                        "name": "string",
                        "slots": [{
                            "map_block_key": "string",
                            "shape": "string",
                            "value": {
                                "interpreted_value": "string",
                            },
                        }],
                    },
                    "session_attributes": {
                        "string": "string",
                    },
                },
                "success_response": {
                    "allow_interrupt": False,
                    "message_groups": [{
                        "message": {
                            "custom_payload": {
                                "value": "string",
                            },
                            "image_response_card": {
                                "title": "string",
                                "buttons": [{
                                    "text": "string",
                                    "value": "string",
                                }],
                                "image_url": "string",
                                "subtitle": "string",
                            },
                            "plain_text_message": {
                                "value": "string",
                            },
                            "ssml_message": {
                                "value": "string",
                            },
                        },
                        "variations": [{
                            "custom_payload": {
                                "value": "string",
                            },
                            "image_response_card": {
                                "title": "string",
                                "buttons": [{
                                    "text": "string",
                                    "value": "string",
                                }],
                                "image_url": "string",
                                "subtitle": "string",
                            },
                            "plain_text_message": {
                                "value": "string",
                            },
                            "ssml_message": {
                                "value": "string",
                            },
                        }],
                    }],
                },
                "timeout_conditional": {
                    "active": False,
                    "conditional_branches": [{
                        "name": "string",
                        "condition": {
                            "expression_string": "string",
                        },
                        "next_step": {
                            "dialog_action": {
                                "type": "string",
                                "slot_to_elicit": "string",
                                "suppress_next_message": False,
                            },
                            "intent": {
                                "name": "string",
                                "slots": [{
                                    "map_block_key": "string",
                                    "shape": "string",
                                    "value": {
                                        "interpreted_value": "string",
                                    },
                                }],
                            },
                            "session_attributes": {
                                "string": "string",
                            },
                        },
                        "response": {
                            "allow_interrupt": False,
                            "message_groups": [{
                                "message": {
                                    "custom_payload": {
                                        "value": "string",
                                    },
                                    "image_response_card": {
                                        "title": "string",
                                        "buttons": [{
                                            "text": "string",
                                            "value": "string",
                                        }],
                                        "image_url": "string",
                                        "subtitle": "string",
                                    },
                                    "plain_text_message": {
                                        "value": "string",
                                    },
                                    "ssml_message": {
                                        "value": "string",
                                    },
                                },
                                "variations": [{
                                    "custom_payload": {
                                        "value": "string",
                                    },
                                    "image_response_card": {
                                        "title": "string",
                                        "buttons": [{
                                            "text": "string",
                                            "value": "string",
                                        }],
                                        "image_url": "string",
                                        "subtitle": "string",
                                    },
                                    "plain_text_message": {
                                        "value": "string",
                                    },
                                    "ssml_message": {
                                        "value": "string",
                                    },
                                }],
                            }],
                        },
                    }],
                    "default_branch": {
                        "next_step": {
                            "dialog_action": {
                                "type": "string",
                                "slot_to_elicit": "string",
                                "suppress_next_message": False,
                            },
                            "intent": {
                                "name": "string",
                                "slots": [{
                                    "map_block_key": "string",
                                    "shape": "string",
                                    "value": {
                                        "interpreted_value": "string",
                                    },
                                }],
                            },
                            "session_attributes": {
                                "string": "string",
                            },
                        },
                        "response": {
                            "allow_interrupt": False,
                            "message_groups": [{
                                "message": {
                                    "custom_payload": {
                                        "value": "string",
                                    },
                                    "image_response_card": {
                                        "title": "string",
                                        "buttons": [{
                                            "text": "string",
                                            "value": "string",
                                        }],
                                        "image_url": "string",
                                        "subtitle": "string",
                                    },
                                    "plain_text_message": {
                                        "value": "string",
                                    },
                                    "ssml_message": {
                                        "value": "string",
                                    },
                                },
                                "variations": [{
                                    "custom_payload": {
                                        "value": "string",
                                    },
                                    "image_response_card": {
                                        "title": "string",
                                        "buttons": [{
                                            "text": "string",
                                            "value": "string",
                                        }],
                                        "image_url": "string",
                                        "subtitle": "string",
                                    },
                                    "plain_text_message": {
                                        "value": "string",
                                    },
                                    "ssml_message": {
                                        "value": "string",
                                    },
                                }],
                            }],
                        },
                    },
                },
                "timeout_next_step": {
                    "dialog_action": {
                        "type": "string",
                        "slot_to_elicit": "string",
                        "suppress_next_message": False,
                    },
                    "intent": {
                        "name": "string",
                        "slots": [{
                            "map_block_key": "string",
                            "shape": "string",
                            "value": {
                                "interpreted_value": "string",
                            },
                        }],
                    },
                    "session_attributes": {
                        "string": "string",
                    },
                },
                "timeout_response": {
                    "allow_interrupt": False,
                    "message_groups": [{
                        "message": {
                            "custom_payload": {
                                "value": "string",
                            },
                            "image_response_card": {
                                "title": "string",
                                "buttons": [{
                                    "text": "string",
                                    "value": "string",
                                }],
                                "image_url": "string",
                                "subtitle": "string",
                            },
                            "plain_text_message": {
                                "value": "string",
                            },
                            "ssml_message": {
                                "value": "string",
                            },
                        },
                        "variations": [{
                            "custom_payload": {
                                "value": "string",
                            },
                            "image_response_card": {
                                "title": "string",
                                "buttons": [{
                                    "text": "string",
                                    "value": "string",
                                }],
                                "image_url": "string",
                                "subtitle": "string",
                            },
                            "plain_text_message": {
                                "value": "string",
                            },
                            "ssml_message": {
                                "value": "string",
                            },
                        }],
                    }],
                },
            },
        },
        initial_response_setting={
            "code_hook": {
                "active": False,
                "enable_code_hook_invocation": False,
                "invocation_label": "string",
                "post_code_hook_specification": {
                    "failure_conditional": {
                        "active": False,
                        "conditional_branches": [{
                            "name": "string",
                            "condition": {
                                "expression_string": "string",
                            },
                            "next_step": {
                                "dialog_action": {
                                    "type": "string",
                                    "slot_to_elicit": "string",
                                    "suppress_next_message": False,
                                },
                                "intent": {
                                    "name": "string",
                                    "slots": [{
                                        "map_block_key": "string",
                                        "shape": "string",
                                        "value": {
                                            "interpreted_value": "string",
                                        },
                                    }],
                                },
                                "session_attributes": {
                                    "string": "string",
                                },
                            },
                            "response": {
                                "allow_interrupt": False,
                                "message_groups": [{
                                    "message": {
                                        "custom_payload": {
                                            "value": "string",
                                        },
                                        "image_response_card": {
                                            "title": "string",
                                            "buttons": [{
                                                "text": "string",
                                                "value": "string",
                                            }],
                                            "image_url": "string",
                                            "subtitle": "string",
                                        },
                                        "plain_text_message": {
                                            "value": "string",
                                        },
                                        "ssml_message": {
                                            "value": "string",
                                        },
                                    },
                                    "variations": [{
                                        "custom_payload": {
                                            "value": "string",
                                        },
                                        "image_response_card": {
                                            "title": "string",
                                            "buttons": [{
                                                "text": "string",
                                                "value": "string",
                                            }],
                                            "image_url": "string",
                                            "subtitle": "string",
                                        },
                                        "plain_text_message": {
                                            "value": "string",
                                        },
                                        "ssml_message": {
                                            "value": "string",
                                        },
                                    }],
                                }],
                            },
                        }],
                        "default_branch": {
                            "next_step": {
                                "dialog_action": {
                                    "type": "string",
                                    "slot_to_elicit": "string",
                                    "suppress_next_message": False,
                                },
                                "intent": {
                                    "name": "string",
                                    "slots": [{
                                        "map_block_key": "string",
                                        "shape": "string",
                                        "value": {
                                            "interpreted_value": "string",
                                        },
                                    }],
                                },
                                "session_attributes": {
                                    "string": "string",
                                },
                            },
                            "response": {
                                "allow_interrupt": False,
                                "message_groups": [{
                                    "message": {
                                        "custom_payload": {
                                            "value": "string",
                                        },
                                        "image_response_card": {
                                            "title": "string",
                                            "buttons": [{
                                                "text": "string",
                                                "value": "string",
                                            }],
                                            "image_url": "string",
                                            "subtitle": "string",
                                        },
                                        "plain_text_message": {
                                            "value": "string",
                                        },
                                        "ssml_message": {
                                            "value": "string",
                                        },
                                    },
                                    "variations": [{
                                        "custom_payload": {
                                            "value": "string",
                                        },
                                        "image_response_card": {
                                            "title": "string",
                                            "buttons": [{
                                                "text": "string",
                                                "value": "string",
                                            }],
                                            "image_url": "string",
                                            "subtitle": "string",
                                        },
                                        "plain_text_message": {
                                            "value": "string",
                                        },
                                        "ssml_message": {
                                            "value": "string",
                                        },
                                    }],
                                }],
                            },
                        },
                    },
                    "failure_next_step": {
                        "dialog_action": {
                            "type": "string",
                            "slot_to_elicit": "string",
                            "suppress_next_message": False,
                        },
                        "intent": {
                            "name": "string",
                            "slots": [{
                                "map_block_key": "string",
                                "shape": "string",
                                "value": {
                                    "interpreted_value": "string",
                                },
                            }],
                        },
                        "session_attributes": {
                            "string": "string",
                        },
                    },
                    "failure_response": {
                        "allow_interrupt": False,
                        "message_groups": [{
                            "message": {
                                "custom_payload": {
                                    "value": "string",
                                },
                                "image_response_card": {
                                    "title": "string",
                                    "buttons": [{
                                        "text": "string",
                                        "value": "string",
                                    }],
                                    "image_url": "string",
                                    "subtitle": "string",
                                },
                                "plain_text_message": {
                                    "value": "string",
                                },
                                "ssml_message": {
                                    "value": "string",
                                },
                            },
                            "variations": [{
                                "custom_payload": {
                                    "value": "string",
                                },
                                "image_response_card": {
                                    "title": "string",
                                    "buttons": [{
                                        "text": "string",
                                        "value": "string",
                                    }],
                                    "image_url": "string",
                                    "subtitle": "string",
                                },
                                "plain_text_message": {
                                    "value": "string",
                                },
                                "ssml_message": {
                                    "value": "string",
                                },
                            }],
                        }],
                    },
                    "success_conditional": {
                        "active": False,
                        "conditional_branches": [{
                            "name": "string",
                            "condition": {
                                "expression_string": "string",
                            },
                            "next_step": {
                                "dialog_action": {
                                    "type": "string",
                                    "slot_to_elicit": "string",
                                    "suppress_next_message": False,
                                },
                                "intent": {
                                    "name": "string",
                                    "slots": [{
                                        "map_block_key": "string",
                                        "shape": "string",
                                        "value": {
                                            "interpreted_value": "string",
                                        },
                                    }],
                                },
                                "session_attributes": {
                                    "string": "string",
                                },
                            },
                            "response": {
                                "allow_interrupt": False,
                                "message_groups": [{
                                    "message": {
                                        "custom_payload": {
                                            "value": "string",
                                        },
                                        "image_response_card": {
                                            "title": "string",
                                            "buttons": [{
                                                "text": "string",
                                                "value": "string",
                                            }],
                                            "image_url": "string",
                                            "subtitle": "string",
                                        },
                                        "plain_text_message": {
                                            "value": "string",
                                        },
                                        "ssml_message": {
                                            "value": "string",
                                        },
                                    },
                                    "variations": [{
                                        "custom_payload": {
                                            "value": "string",
                                        },
                                        "image_response_card": {
                                            "title": "string",
                                            "buttons": [{
                                                "text": "string",
                                                "value": "string",
                                            }],
                                            "image_url": "string",
                                            "subtitle": "string",
                                        },
                                        "plain_text_message": {
                                            "value": "string",
                                        },
                                        "ssml_message": {
                                            "value": "string",
                                        },
                                    }],
                                }],
                            },
                        }],
                        "default_branch": {
                            "next_step": {
                                "dialog_action": {
                                    "type": "string",
                                    "slot_to_elicit": "string",
                                    "suppress_next_message": False,
                                },
                                "intent": {
                                    "name": "string",
                                    "slots": [{
                                        "map_block_key": "string",
                                        "shape": "string",
                                        "value": {
                                            "interpreted_value": "string",
                                        },
                                    }],
                                },
                                "session_attributes": {
                                    "string": "string",
                                },
                            },
                            "response": {
                                "allow_interrupt": False,
                                "message_groups": [{
                                    "message": {
                                        "custom_payload": {
                                            "value": "string",
                                        },
                                        "image_response_card": {
                                            "title": "string",
                                            "buttons": [{
                                                "text": "string",
                                                "value": "string",
                                            }],
                                            "image_url": "string",
                                            "subtitle": "string",
                                        },
                                        "plain_text_message": {
                                            "value": "string",
                                        },
                                        "ssml_message": {
                                            "value": "string",
                                        },
                                    },
                                    "variations": [{
                                        "custom_payload": {
                                            "value": "string",
                                        },
                                        "image_response_card": {
                                            "title": "string",
                                            "buttons": [{
                                                "text": "string",
                                                "value": "string",
                                            }],
                                            "image_url": "string",
                                            "subtitle": "string",
                                        },
                                        "plain_text_message": {
                                            "value": "string",
                                        },
                                        "ssml_message": {
                                            "value": "string",
                                        },
                                    }],
                                }],
                            },
                        },
                    },
                    "success_next_step": {
                        "dialog_action": {
                            "type": "string",
                            "slot_to_elicit": "string",
                            "suppress_next_message": False,
                        },
                        "intent": {
                            "name": "string",
                            "slots": [{
                                "map_block_key": "string",
                                "shape": "string",
                                "value": {
                                    "interpreted_value": "string",
                                },
                            }],
                        },
                        "session_attributes": {
                            "string": "string",
                        },
                    },
                    "success_response": {
                        "allow_interrupt": False,
                        "message_groups": [{
                            "message": {
                                "custom_payload": {
                                    "value": "string",
                                },
                                "image_response_card": {
                                    "title": "string",
                                    "buttons": [{
                                        "text": "string",
                                        "value": "string",
                                    }],
                                    "image_url": "string",
                                    "subtitle": "string",
                                },
                                "plain_text_message": {
                                    "value": "string",
                                },
                                "ssml_message": {
                                    "value": "string",
                                },
                            },
                            "variations": [{
                                "custom_payload": {
                                    "value": "string",
                                },
                                "image_response_card": {
                                    "title": "string",
                                    "buttons": [{
                                        "text": "string",
                                        "value": "string",
                                    }],
                                    "image_url": "string",
                                    "subtitle": "string",
                                },
                                "plain_text_message": {
                                    "value": "string",
                                },
                                "ssml_message": {
                                    "value": "string",
                                },
                            }],
                        }],
                    },
                    "timeout_conditional": {
                        "active": False,
                        "conditional_branches": [{
                            "name": "string",
                            "condition": {
                                "expression_string": "string",
                            },
                            "next_step": {
                                "dialog_action": {
                                    "type": "string",
                                    "slot_to_elicit": "string",
                                    "suppress_next_message": False,
                                },
                                "intent": {
                                    "name": "string",
                                    "slots": [{
                                        "map_block_key": "string",
                                        "shape": "string",
                                        "value": {
                                            "interpreted_value": "string",
                                        },
                                    }],
                                },
                                "session_attributes": {
                                    "string": "string",
                                },
                            },
                            "response": {
                                "allow_interrupt": False,
                                "message_groups": [{
                                    "message": {
                                        "custom_payload": {
                                            "value": "string",
                                        },
                                        "image_response_card": {
                                            "title": "string",
                                            "buttons": [{
                                                "text": "string",
                                                "value": "string",
                                            }],
                                            "image_url": "string",
                                            "subtitle": "string",
                                        },
                                        "plain_text_message": {
                                            "value": "string",
                                        },
                                        "ssml_message": {
                                            "value": "string",
                                        },
                                    },
                                    "variations": [{
                                        "custom_payload": {
                                            "value": "string",
                                        },
                                        "image_response_card": {
                                            "title": "string",
                                            "buttons": [{
                                                "text": "string",
                                                "value": "string",
                                            }],
                                            "image_url": "string",
                                            "subtitle": "string",
                                        },
                                        "plain_text_message": {
                                            "value": "string",
                                        },
                                        "ssml_message": {
                                            "value": "string",
                                        },
                                    }],
                                }],
                            },
                        }],
                        "default_branch": {
                            "next_step": {
                                "dialog_action": {
                                    "type": "string",
                                    "slot_to_elicit": "string",
                                    "suppress_next_message": False,
                                },
                                "intent": {
                                    "name": "string",
                                    "slots": [{
                                        "map_block_key": "string",
                                        "shape": "string",
                                        "value": {
                                            "interpreted_value": "string",
                                        },
                                    }],
                                },
                                "session_attributes": {
                                    "string": "string",
                                },
                            },
                            "response": {
                                "allow_interrupt": False,
                                "message_groups": [{
                                    "message": {
                                        "custom_payload": {
                                            "value": "string",
                                        },
                                        "image_response_card": {
                                            "title": "string",
                                            "buttons": [{
                                                "text": "string",
                                                "value": "string",
                                            }],
                                            "image_url": "string",
                                            "subtitle": "string",
                                        },
                                        "plain_text_message": {
                                            "value": "string",
                                        },
                                        "ssml_message": {
                                            "value": "string",
                                        },
                                    },
                                    "variations": [{
                                        "custom_payload": {
                                            "value": "string",
                                        },
                                        "image_response_card": {
                                            "title": "string",
                                            "buttons": [{
                                                "text": "string",
                                                "value": "string",
                                            }],
                                            "image_url": "string",
                                            "subtitle": "string",
                                        },
                                        "plain_text_message": {
                                            "value": "string",
                                        },
                                        "ssml_message": {
                                            "value": "string",
                                        },
                                    }],
                                }],
                            },
                        },
                    },
                    "timeout_next_step": {
                        "dialog_action": {
                            "type": "string",
                            "slot_to_elicit": "string",
                            "suppress_next_message": False,
                        },
                        "intent": {
                            "name": "string",
                            "slots": [{
                                "map_block_key": "string",
                                "shape": "string",
                                "value": {
                                    "interpreted_value": "string",
                                },
                            }],
                        },
                        "session_attributes": {
                            "string": "string",
                        },
                    },
                    "timeout_response": {
                        "allow_interrupt": False,
                        "message_groups": [{
                            "message": {
                                "custom_payload": {
                                    "value": "string",
                                },
                                "image_response_card": {
                                    "title": "string",
                                    "buttons": [{
                                        "text": "string",
                                        "value": "string",
                                    }],
                                    "image_url": "string",
                                    "subtitle": "string",
                                },
                                "plain_text_message": {
                                    "value": "string",
                                },
                                "ssml_message": {
                                    "value": "string",
                                },
                            },
                            "variations": [{
                                "custom_payload": {
                                    "value": "string",
                                },
                                "image_response_card": {
                                    "title": "string",
                                    "buttons": [{
                                        "text": "string",
                                        "value": "string",
                                    }],
                                    "image_url": "string",
                                    "subtitle": "string",
                                },
                                "plain_text_message": {
                                    "value": "string",
                                },
                                "ssml_message": {
                                    "value": "string",
                                },
                            }],
                        }],
                    },
                },
            },
            "conditional": {
                "active": False,
                "conditional_branches": [{
                    "name": "string",
                    "condition": {
                        "expression_string": "string",
                    },
                    "next_step": {
                        "dialog_action": {
                            "type": "string",
                            "slot_to_elicit": "string",
                            "suppress_next_message": False,
                        },
                        "intent": {
                            "name": "string",
                            "slots": [{
                                "map_block_key": "string",
                                "shape": "string",
                                "value": {
                                    "interpreted_value": "string",
                                },
                            }],
                        },
                        "session_attributes": {
                            "string": "string",
                        },
                    },
                    "response": {
                        "allow_interrupt": False,
                        "message_groups": [{
                            "message": {
                                "custom_payload": {
                                    "value": "string",
                                },
                                "image_response_card": {
                                    "title": "string",
                                    "buttons": [{
                                        "text": "string",
                                        "value": "string",
                                    }],
                                    "image_url": "string",
                                    "subtitle": "string",
                                },
                                "plain_text_message": {
                                    "value": "string",
                                },
                                "ssml_message": {
                                    "value": "string",
                                },
                            },
                            "variations": [{
                                "custom_payload": {
                                    "value": "string",
                                },
                                "image_response_card": {
                                    "title": "string",
                                    "buttons": [{
                                        "text": "string",
                                        "value": "string",
                                    }],
                                    "image_url": "string",
                                    "subtitle": "string",
                                },
                                "plain_text_message": {
                                    "value": "string",
                                },
                                "ssml_message": {
                                    "value": "string",
                                },
                            }],
                        }],
                    },
                }],
                "default_branch": {
                    "next_step": {
                        "dialog_action": {
                            "type": "string",
                            "slot_to_elicit": "string",
                            "suppress_next_message": False,
                        },
                        "intent": {
                            "name": "string",
                            "slots": [{
                                "map_block_key": "string",
                                "shape": "string",
                                "value": {
                                    "interpreted_value": "string",
                                },
                            }],
                        },
                        "session_attributes": {
                            "string": "string",
                        },
                    },
                    "response": {
                        "allow_interrupt": False,
                        "message_groups": [{
                            "message": {
                                "custom_payload": {
                                    "value": "string",
                                },
                                "image_response_card": {
                                    "title": "string",
                                    "buttons": [{
                                        "text": "string",
                                        "value": "string",
                                    }],
                                    "image_url": "string",
                                    "subtitle": "string",
                                },
                                "plain_text_message": {
                                    "value": "string",
                                },
                                "ssml_message": {
                                    "value": "string",
                                },
                            },
                            "variations": [{
                                "custom_payload": {
                                    "value": "string",
                                },
                                "image_response_card": {
                                    "title": "string",
                                    "buttons": [{
                                        "text": "string",
                                        "value": "string",
                                    }],
                                    "image_url": "string",
                                    "subtitle": "string",
                                },
                                "plain_text_message": {
                                    "value": "string",
                                },
                                "ssml_message": {
                                    "value": "string",
                                },
                            }],
                        }],
                    },
                },
            },
            "initial_response": {
                "allow_interrupt": False,
                "message_groups": [{
                    "message": {
                        "custom_payload": {
                            "value": "string",
                        },
                        "image_response_card": {
                            "title": "string",
                            "buttons": [{
                                "text": "string",
                                "value": "string",
                            }],
                            "image_url": "string",
                            "subtitle": "string",
                        },
                        "plain_text_message": {
                            "value": "string",
                        },
                        "ssml_message": {
                            "value": "string",
                        },
                    },
                    "variations": [{
                        "custom_payload": {
                            "value": "string",
                        },
                        "image_response_card": {
                            "title": "string",
                            "buttons": [{
                                "text": "string",
                                "value": "string",
                            }],
                            "image_url": "string",
                            "subtitle": "string",
                        },
                        "plain_text_message": {
                            "value": "string",
                        },
                        "ssml_message": {
                            "value": "string",
                        },
                    }],
                }],
            },
            "next_step": {
                "dialog_action": {
                    "type": "string",
                    "slot_to_elicit": "string",
                    "suppress_next_message": False,
                },
                "intent": {
                    "name": "string",
                    "slots": [{
                        "map_block_key": "string",
                        "shape": "string",
                        "value": {
                            "interpreted_value": "string",
                        },
                    }],
                },
                "session_attributes": {
                    "string": "string",
                },
            },
        },
        confirmation_setting={
            "active": False,
            "code_hook": {
                "active": False,
                "enable_code_hook_invocation": False,
                "invocation_label": "string",
                "post_code_hook_specification": {
                    "failure_conditional": {
                        "active": False,
                        "conditional_branches": [{
                            "name": "string",
                            "condition": {
                                "expression_string": "string",
                            },
                            "next_step": {
                                "dialog_action": {
                                    "type": "string",
                                    "slot_to_elicit": "string",
                                    "suppress_next_message": False,
                                },
                                "intent": {
                                    "name": "string",
                                    "slots": [{
                                        "map_block_key": "string",
                                        "shape": "string",
                                        "value": {
                                            "interpreted_value": "string",
                                        },
                                    }],
                                },
                                "session_attributes": {
                                    "string": "string",
                                },
                            },
                            "response": {
                                "allow_interrupt": False,
                                "message_groups": [{
                                    "message": {
                                        "custom_payload": {
                                            "value": "string",
                                        },
                                        "image_response_card": {
                                            "title": "string",
                                            "buttons": [{
                                                "text": "string",
                                                "value": "string",
                                            }],
                                            "image_url": "string",
                                            "subtitle": "string",
                                        },
                                        "plain_text_message": {
                                            "value": "string",
                                        },
                                        "ssml_message": {
                                            "value": "string",
                                        },
                                    },
                                    "variations": [{
                                        "custom_payload": {
                                            "value": "string",
                                        },
                                        "image_response_card": {
                                            "title": "string",
                                            "buttons": [{
                                                "text": "string",
                                                "value": "string",
                                            }],
                                            "image_url": "string",
                                            "subtitle": "string",
                                        },
                                        "plain_text_message": {
                                            "value": "string",
                                        },
                                        "ssml_message": {
                                            "value": "string",
                                        },
                                    }],
                                }],
                            },
                        }],
                        "default_branch": {
                            "next_step": {
                                "dialog_action": {
                                    "type": "string",
                                    "slot_to_elicit": "string",
                                    "suppress_next_message": False,
                                },
                                "intent": {
                                    "name": "string",
                                    "slots": [{
                                        "map_block_key": "string",
                                        "shape": "string",
                                        "value": {
                                            "interpreted_value": "string",
                                        },
                                    }],
                                },
                                "session_attributes": {
                                    "string": "string",
                                },
                            },
                            "response": {
                                "allow_interrupt": False,
                                "message_groups": [{
                                    "message": {
                                        "custom_payload": {
                                            "value": "string",
                                        },
                                        "image_response_card": {
                                            "title": "string",
                                            "buttons": [{
                                                "text": "string",
                                                "value": "string",
                                            }],
                                            "image_url": "string",
                                            "subtitle": "string",
                                        },
                                        "plain_text_message": {
                                            "value": "string",
                                        },
                                        "ssml_message": {
                                            "value": "string",
                                        },
                                    },
                                    "variations": [{
                                        "custom_payload": {
                                            "value": "string",
                                        },
                                        "image_response_card": {
                                            "title": "string",
                                            "buttons": [{
                                                "text": "string",
                                                "value": "string",
                                            }],
                                            "image_url": "string",
                                            "subtitle": "string",
                                        },
                                        "plain_text_message": {
                                            "value": "string",
                                        },
                                        "ssml_message": {
                                            "value": "string",
                                        },
                                    }],
                                }],
                            },
                        },
                    },
                    "failure_next_step": {
                        "dialog_action": {
                            "type": "string",
                            "slot_to_elicit": "string",
                            "suppress_next_message": False,
                        },
                        "intent": {
                            "name": "string",
                            "slots": [{
                                "map_block_key": "string",
                                "shape": "string",
                                "value": {
                                    "interpreted_value": "string",
                                },
                            }],
                        },
                        "session_attributes": {
                            "string": "string",
                        },
                    },
                    "failure_response": {
                        "allow_interrupt": False,
                        "message_groups": [{
                            "message": {
                                "custom_payload": {
                                    "value": "string",
                                },
                                "image_response_card": {
                                    "title": "string",
                                    "buttons": [{
                                        "text": "string",
                                        "value": "string",
                                    }],
                                    "image_url": "string",
                                    "subtitle": "string",
                                },
                                "plain_text_message": {
                                    "value": "string",
                                },
                                "ssml_message": {
                                    "value": "string",
                                },
                            },
                            "variations": [{
                                "custom_payload": {
                                    "value": "string",
                                },
                                "image_response_card": {
                                    "title": "string",
                                    "buttons": [{
                                        "text": "string",
                                        "value": "string",
                                    }],
                                    "image_url": "string",
                                    "subtitle": "string",
                                },
                                "plain_text_message": {
                                    "value": "string",
                                },
                                "ssml_message": {
                                    "value": "string",
                                },
                            }],
                        }],
                    },
                    "success_conditional": {
                        "active": False,
                        "conditional_branches": [{
                            "name": "string",
                            "condition": {
                                "expression_string": "string",
                            },
                            "next_step": {
                                "dialog_action": {
                                    "type": "string",
                                    "slot_to_elicit": "string",
                                    "suppress_next_message": False,
                                },
                                "intent": {
                                    "name": "string",
                                    "slots": [{
                                        "map_block_key": "string",
                                        "shape": "string",
                                        "value": {
                                            "interpreted_value": "string",
                                        },
                                    }],
                                },
                                "session_attributes": {
                                    "string": "string",
                                },
                            },
                            "response": {
                                "allow_interrupt": False,
                                "message_groups": [{
                                    "message": {
                                        "custom_payload": {
                                            "value": "string",
                                        },
                                        "image_response_card": {
                                            "title": "string",
                                            "buttons": [{
                                                "text": "string",
                                                "value": "string",
                                            }],
                                            "image_url": "string",
                                            "subtitle": "string",
                                        },
                                        "plain_text_message": {
                                            "value": "string",
                                        },
                                        "ssml_message": {
                                            "value": "string",
                                        },
                                    },
                                    "variations": [{
                                        "custom_payload": {
                                            "value": "string",
                                        },
                                        "image_response_card": {
                                            "title": "string",
                                            "buttons": [{
                                                "text": "string",
                                                "value": "string",
                                            }],
                                            "image_url": "string",
                                            "subtitle": "string",
                                        },
                                        "plain_text_message": {
                                            "value": "string",
                                        },
                                        "ssml_message": {
                                            "value": "string",
                                        },
                                    }],
                                }],
                            },
                        }],
                        "default_branch": {
                            "next_step": {
                                "dialog_action": {
                                    "type": "string",
                                    "slot_to_elicit": "string",
                                    "suppress_next_message": False,
                                },
                                "intent": {
                                    "name": "string",
                                    "slots": [{
                                        "map_block_key": "string",
                                        "shape": "string",
                                        "value": {
                                            "interpreted_value": "string",
                                        },
                                    }],
                                },
                                "session_attributes": {
                                    "string": "string",
                                },
                            },
                            "response": {
                                "allow_interrupt": False,
                                "message_groups": [{
                                    "message": {
                                        "custom_payload": {
                                            "value": "string",
                                        },
                                        "image_response_card": {
                                            "title": "string",
                                            "buttons": [{
                                                "text": "string",
                                                "value": "string",
                                            }],
                                            "image_url": "string",
                                            "subtitle": "string",
                                        },
                                        "plain_text_message": {
                                            "value": "string",
                                        },
                                        "ssml_message": {
                                            "value": "string",
                                        },
                                    },
                                    "variations": [{
                                        "custom_payload": {
                                            "value": "string",
                                        },
                                        "image_response_card": {
                                            "title": "string",
                                            "buttons": [{
                                                "text": "string",
                                                "value": "string",
                                            }],
                                            "image_url": "string",
                                            "subtitle": "string",
                                        },
                                        "plain_text_message": {
                                            "value": "string",
                                        },
                                        "ssml_message": {
                                            "value": "string",
                                        },
                                    }],
                                }],
                            },
                        },
                    },
                    "success_next_step": {
                        "dialog_action": {
                            "type": "string",
                            "slot_to_elicit": "string",
                            "suppress_next_message": False,
                        },
                        "intent": {
                            "name": "string",
                            "slots": [{
                                "map_block_key": "string",
                                "shape": "string",
                                "value": {
                                    "interpreted_value": "string",
                                },
                            }],
                        },
                        "session_attributes": {
                            "string": "string",
                        },
                    },
                    "success_response": {
                        "allow_interrupt": False,
                        "message_groups": [{
                            "message": {
                                "custom_payload": {
                                    "value": "string",
                                },
                                "image_response_card": {
                                    "title": "string",
                                    "buttons": [{
                                        "text": "string",
                                        "value": "string",
                                    }],
                                    "image_url": "string",
                                    "subtitle": "string",
                                },
                                "plain_text_message": {
                                    "value": "string",
                                },
                                "ssml_message": {
                                    "value": "string",
                                },
                            },
                            "variations": [{
                                "custom_payload": {
                                    "value": "string",
                                },
                                "image_response_card": {
                                    "title": "string",
                                    "buttons": [{
                                        "text": "string",
                                        "value": "string",
                                    }],
                                    "image_url": "string",
                                    "subtitle": "string",
                                },
                                "plain_text_message": {
                                    "value": "string",
                                },
                                "ssml_message": {
                                    "value": "string",
                                },
                            }],
                        }],
                    },
                    "timeout_conditional": {
                        "active": False,
                        "conditional_branches": [{
                            "name": "string",
                            "condition": {
                                "expression_string": "string",
                            },
                            "next_step": {
                                "dialog_action": {
                                    "type": "string",
                                    "slot_to_elicit": "string",
                                    "suppress_next_message": False,
                                },
                                "intent": {
                                    "name": "string",
                                    "slots": [{
                                        "map_block_key": "string",
                                        "shape": "string",
                                        "value": {
                                            "interpreted_value": "string",
                                        },
                                    }],
                                },
                                "session_attributes": {
                                    "string": "string",
                                },
                            },
                            "response": {
                                "allow_interrupt": False,
                                "message_groups": [{
                                    "message": {
                                        "custom_payload": {
                                            "value": "string",
                                        },
                                        "image_response_card": {
                                            "title": "string",
                                            "buttons": [{
                                                "text": "string",
                                                "value": "string",
                                            }],
                                            "image_url": "string",
                                            "subtitle": "string",
                                        },
                                        "plain_text_message": {
                                            "value": "string",
                                        },
                                        "ssml_message": {
                                            "value": "string",
                                        },
                                    },
                                    "variations": [{
                                        "custom_payload": {
                                            "value": "string",
                                        },
                                        "image_response_card": {
                                            "title": "string",
                                            "buttons": [{
                                                "text": "string",
                                                "value": "string",
                                            }],
                                            "image_url": "string",
                                            "subtitle": "string",
                                        },
                                        "plain_text_message": {
                                            "value": "string",
                                        },
                                        "ssml_message": {
                                            "value": "string",
                                        },
                                    }],
                                }],
                            },
                        }],
                        "default_branch": {
                            "next_step": {
                                "dialog_action": {
                                    "type": "string",
                                    "slot_to_elicit": "string",
                                    "suppress_next_message": False,
                                },
                                "intent": {
                                    "name": "string",
                                    "slots": [{
                                        "map_block_key": "string",
                                        "shape": "string",
                                        "value": {
                                            "interpreted_value": "string",
                                        },
                                    }],
                                },
                                "session_attributes": {
                                    "string": "string",
                                },
                            },
                            "response": {
                                "allow_interrupt": False,
                                "message_groups": [{
                                    "message": {
                                        "custom_payload": {
                                            "value": "string",
                                        },
                                        "image_response_card": {
                                            "title": "string",
                                            "buttons": [{
                                                "text": "string",
                                                "value": "string",
                                            }],
                                            "image_url": "string",
                                            "subtitle": "string",
                                        },
                                        "plain_text_message": {
                                            "value": "string",
                                        },
                                        "ssml_message": {
                                            "value": "string",
                                        },
                                    },
                                    "variations": [{
                                        "custom_payload": {
                                            "value": "string",
                                        },
                                        "image_response_card": {
                                            "title": "string",
                                            "buttons": [{
                                                "text": "string",
                                                "value": "string",
                                            }],
                                            "image_url": "string",
                                            "subtitle": "string",
                                        },
                                        "plain_text_message": {
                                            "value": "string",
                                        },
                                        "ssml_message": {
                                            "value": "string",
                                        },
                                    }],
                                }],
                            },
                        },
                    },
                    "timeout_next_step": {
                        "dialog_action": {
                            "type": "string",
                            "slot_to_elicit": "string",
                            "suppress_next_message": False,
                        },
                        "intent": {
                            "name": "string",
                            "slots": [{
                                "map_block_key": "string",
                                "shape": "string",
                                "value": {
                                    "interpreted_value": "string",
                                },
                            }],
                        },
                        "session_attributes": {
                            "string": "string",
                        },
                    },
                    "timeout_response": {
                        "allow_interrupt": False,
                        "message_groups": [{
                            "message": {
                                "custom_payload": {
                                    "value": "string",
                                },
                                "image_response_card": {
                                    "title": "string",
                                    "buttons": [{
                                        "text": "string",
                                        "value": "string",
                                    }],
                                    "image_url": "string",
                                    "subtitle": "string",
                                },
                                "plain_text_message": {
                                    "value": "string",
                                },
                                "ssml_message": {
                                    "value": "string",
                                },
                            },
                            "variations": [{
                                "custom_payload": {
                                    "value": "string",
                                },
                                "image_response_card": {
                                    "title": "string",
                                    "buttons": [{
                                        "text": "string",
                                        "value": "string",
                                    }],
                                    "image_url": "string",
                                    "subtitle": "string",
                                },
                                "plain_text_message": {
                                    "value": "string",
                                },
                                "ssml_message": {
                                    "value": "string",
                                },
                            }],
                        }],
                    },
                },
            },
            "confirmation_conditional": {
                "active": False,
                "conditional_branches": [{
                    "name": "string",
                    "condition": {
                        "expression_string": "string",
                    },
                    "next_step": {
                        "dialog_action": {
                            "type": "string",
                            "slot_to_elicit": "string",
                            "suppress_next_message": False,
                        },
                        "intent": {
                            "name": "string",
                            "slots": [{
                                "map_block_key": "string",
                                "shape": "string",
                                "value": {
                                    "interpreted_value": "string",
                                },
                            }],
                        },
                        "session_attributes": {
                            "string": "string",
                        },
                    },
                    "response": {
                        "allow_interrupt": False,
                        "message_groups": [{
                            "message": {
                                "custom_payload": {
                                    "value": "string",
                                },
                                "image_response_card": {
                                    "title": "string",
                                    "buttons": [{
                                        "text": "string",
                                        "value": "string",
                                    }],
                                    "image_url": "string",
                                    "subtitle": "string",
                                },
                                "plain_text_message": {
                                    "value": "string",
                                },
                                "ssml_message": {
                                    "value": "string",
                                },
                            },
                            "variations": [{
                                "custom_payload": {
                                    "value": "string",
                                },
                                "image_response_card": {
                                    "title": "string",
                                    "buttons": [{
                                        "text": "string",
                                        "value": "string",
                                    }],
                                    "image_url": "string",
                                    "subtitle": "string",
                                },
                                "plain_text_message": {
                                    "value": "string",
                                },
                                "ssml_message": {
                                    "value": "string",
                                },
                            }],
                        }],
                    },
                }],
                "default_branch": {
                    "next_step": {
                        "dialog_action": {
                            "type": "string",
                            "slot_to_elicit": "string",
                            "suppress_next_message": False,
                        },
                        "intent": {
                            "name": "string",
                            "slots": [{
                                "map_block_key": "string",
                                "shape": "string",
                                "value": {
                                    "interpreted_value": "string",
                                },
                            }],
                        },
                        "session_attributes": {
                            "string": "string",
                        },
                    },
                    "response": {
                        "allow_interrupt": False,
                        "message_groups": [{
                            "message": {
                                "custom_payload": {
                                    "value": "string",
                                },
                                "image_response_card": {
                                    "title": "string",
                                    "buttons": [{
                                        "text": "string",
                                        "value": "string",
                                    }],
                                    "image_url": "string",
                                    "subtitle": "string",
                                },
                                "plain_text_message": {
                                    "value": "string",
                                },
                                "ssml_message": {
                                    "value": "string",
                                },
                            },
                            "variations": [{
                                "custom_payload": {
                                    "value": "string",
                                },
                                "image_response_card": {
                                    "title": "string",
                                    "buttons": [{
                                        "text": "string",
                                        "value": "string",
                                    }],
                                    "image_url": "string",
                                    "subtitle": "string",
                                },
                                "plain_text_message": {
                                    "value": "string",
                                },
                                "ssml_message": {
                                    "value": "string",
                                },
                            }],
                        }],
                    },
                },
            },
            "confirmation_next_step": {
                "dialog_action": {
                    "type": "string",
                    "slot_to_elicit": "string",
                    "suppress_next_message": False,
                },
                "intent": {
                    "name": "string",
                    "slots": [{
                        "map_block_key": "string",
                        "shape": "string",
                        "value": {
                            "interpreted_value": "string",
                        },
                    }],
                },
                "session_attributes": {
                    "string": "string",
                },
            },
            "confirmation_response": {
                "allow_interrupt": False,
                "message_groups": [{
                    "message": {
                        "custom_payload": {
                            "value": "string",
                        },
                        "image_response_card": {
                            "title": "string",
                            "buttons": [{
                                "text": "string",
                                "value": "string",
                            }],
                            "image_url": "string",
                            "subtitle": "string",
                        },
                        "plain_text_message": {
                            "value": "string",
                        },
                        "ssml_message": {
                            "value": "string",
                        },
                    },
                    "variations": [{
                        "custom_payload": {
                            "value": "string",
                        },
                        "image_response_card": {
                            "title": "string",
                            "buttons": [{
                                "text": "string",
                                "value": "string",
                            }],
                            "image_url": "string",
                            "subtitle": "string",
                        },
                        "plain_text_message": {
                            "value": "string",
                        },
                        "ssml_message": {
                            "value": "string",
                        },
                    }],
                }],
            },
            "declination_conditional": {
                "active": False,
                "conditional_branches": [{
                    "name": "string",
                    "condition": {
                        "expression_string": "string",
                    },
                    "next_step": {
                        "dialog_action": {
                            "type": "string",
                            "slot_to_elicit": "string",
                            "suppress_next_message": False,
                        },
                        "intent": {
                            "name": "string",
                            "slots": [{
                                "map_block_key": "string",
                                "shape": "string",
                                "value": {
                                    "interpreted_value": "string",
                                },
                            }],
                        },
                        "session_attributes": {
                            "string": "string",
                        },
                    },
                    "response": {
                        "allow_interrupt": False,
                        "message_groups": [{
                            "message": {
                                "custom_payload": {
                                    "value": "string",
                                },
                                "image_response_card": {
                                    "title": "string",
                                    "buttons": [{
                                        "text": "string",
                                        "value": "string",
                                    }],
                                    "image_url": "string",
                                    "subtitle": "string",
                                },
                                "plain_text_message": {
                                    "value": "string",
                                },
                                "ssml_message": {
                                    "value": "string",
                                },
                            },
                            "variations": [{
                                "custom_payload": {
                                    "value": "string",
                                },
                                "image_response_card": {
                                    "title": "string",
                                    "buttons": [{
                                        "text": "string",
                                        "value": "string",
                                    }],
                                    "image_url": "string",
                                    "subtitle": "string",
                                },
                                "plain_text_message": {
                                    "value": "string",
                                },
                                "ssml_message": {
                                    "value": "string",
                                },
                            }],
                        }],
                    },
                }],
                "default_branch": {
                    "next_step": {
                        "dialog_action": {
                            "type": "string",
                            "slot_to_elicit": "string",
                            "suppress_next_message": False,
                        },
                        "intent": {
                            "name": "string",
                            "slots": [{
                                "map_block_key": "string",
                                "shape": "string",
                                "value": {
                                    "interpreted_value": "string",
                                },
                            }],
                        },
                        "session_attributes": {
                            "string": "string",
                        },
                    },
                    "response": {
                        "allow_interrupt": False,
                        "message_groups": [{
                            "message": {
                                "custom_payload": {
                                    "value": "string",
                                },
                                "image_response_card": {
                                    "title": "string",
                                    "buttons": [{
                                        "text": "string",
                                        "value": "string",
                                    }],
                                    "image_url": "string",
                                    "subtitle": "string",
                                },
                                "plain_text_message": {
                                    "value": "string",
                                },
                                "ssml_message": {
                                    "value": "string",
                                },
                            },
                            "variations": [{
                                "custom_payload": {
                                    "value": "string",
                                },
                                "image_response_card": {
                                    "title": "string",
                                    "buttons": [{
                                        "text": "string",
                                        "value": "string",
                                    }],
                                    "image_url": "string",
                                    "subtitle": "string",
                                },
                                "plain_text_message": {
                                    "value": "string",
                                },
                                "ssml_message": {
                                    "value": "string",
                                },
                            }],
                        }],
                    },
                },
            },
            "declination_next_step": {
                "dialog_action": {
                    "type": "string",
                    "slot_to_elicit": "string",
                    "suppress_next_message": False,
                },
                "intent": {
                    "name": "string",
                    "slots": [{
                        "map_block_key": "string",
                        "shape": "string",
                        "value": {
                            "interpreted_value": "string",
                        },
                    }],
                },
                "session_attributes": {
                    "string": "string",
                },
            },
            "declination_response": {
                "allow_interrupt": False,
                "message_groups": [{
                    "message": {
                        "custom_payload": {
                            "value": "string",
                        },
                        "image_response_card": {
                            "title": "string",
                            "buttons": [{
                                "text": "string",
                                "value": "string",
                            }],
                            "image_url": "string",
                            "subtitle": "string",
                        },
                        "plain_text_message": {
                            "value": "string",
                        },
                        "ssml_message": {
                            "value": "string",
                        },
                    },
                    "variations": [{
                        "custom_payload": {
                            "value": "string",
                        },
                        "image_response_card": {
                            "title": "string",
                            "buttons": [{
                                "text": "string",
                                "value": "string",
                            }],
                            "image_url": "string",
                            "subtitle": "string",
                        },
                        "plain_text_message": {
                            "value": "string",
                        },
                        "ssml_message": {
                            "value": "string",
                        },
                    }],
                }],
            },
            "elicitation_code_hook": {
                "enable_code_hook_invocation": False,
                "invocation_label": "string",
            },
            "failure_conditional": {
                "active": False,
                "conditional_branches": [{
                    "name": "string",
                    "condition": {
                        "expression_string": "string",
                    },
                    "next_step": {
                        "dialog_action": {
                            "type": "string",
                            "slot_to_elicit": "string",
                            "suppress_next_message": False,
                        },
                        "intent": {
                            "name": "string",
                            "slots": [{
                                "map_block_key": "string",
                                "shape": "string",
                                "value": {
                                    "interpreted_value": "string",
                                },
                            }],
                        },
                        "session_attributes": {
                            "string": "string",
                        },
                    },
                    "response": {
                        "allow_interrupt": False,
                        "message_groups": [{
                            "message": {
                                "custom_payload": {
                                    "value": "string",
                                },
                                "image_response_card": {
                                    "title": "string",
                                    "buttons": [{
                                        "text": "string",
                                        "value": "string",
                                    }],
                                    "image_url": "string",
                                    "subtitle": "string",
                                },
                                "plain_text_message": {
                                    "value": "string",
                                },
                                "ssml_message": {
                                    "value": "string",
                                },
                            },
                            "variations": [{
                                "custom_payload": {
                                    "value": "string",
                                },
                                "image_response_card": {
                                    "title": "string",
                                    "buttons": [{
                                        "text": "string",
                                        "value": "string",
                                    }],
                                    "image_url": "string",
                                    "subtitle": "string",
                                },
                                "plain_text_message": {
                                    "value": "string",
                                },
                                "ssml_message": {
                                    "value": "string",
                                },
                            }],
                        }],
                    },
                }],
                "default_branch": {
                    "next_step": {
                        "dialog_action": {
                            "type": "string",
                            "slot_to_elicit": "string",
                            "suppress_next_message": False,
                        },
                        "intent": {
                            "name": "string",
                            "slots": [{
                                "map_block_key": "string",
                                "shape": "string",
                                "value": {
                                    "interpreted_value": "string",
                                },
                            }],
                        },
                        "session_attributes": {
                            "string": "string",
                        },
                    },
                    "response": {
                        "allow_interrupt": False,
                        "message_groups": [{
                            "message": {
                                "custom_payload": {
                                    "value": "string",
                                },
                                "image_response_card": {
                                    "title": "string",
                                    "buttons": [{
                                        "text": "string",
                                        "value": "string",
                                    }],
                                    "image_url": "string",
                                    "subtitle": "string",
                                },
                                "plain_text_message": {
                                    "value": "string",
                                },
                                "ssml_message": {
                                    "value": "string",
                                },
                            },
                            "variations": [{
                                "custom_payload": {
                                    "value": "string",
                                },
                                "image_response_card": {
                                    "title": "string",
                                    "buttons": [{
                                        "text": "string",
                                        "value": "string",
                                    }],
                                    "image_url": "string",
                                    "subtitle": "string",
                                },
                                "plain_text_message": {
                                    "value": "string",
                                },
                                "ssml_message": {
                                    "value": "string",
                                },
                            }],
                        }],
                    },
                },
            },
            "failure_next_step": {
                "dialog_action": {
                    "type": "string",
                    "slot_to_elicit": "string",
                    "suppress_next_message": False,
                },
                "intent": {
                    "name": "string",
                    "slots": [{
                        "map_block_key": "string",
                        "shape": "string",
                        "value": {
                            "interpreted_value": "string",
                        },
                    }],
                },
                "session_attributes": {
                    "string": "string",
                },
            },
            "failure_response": {
                "allow_interrupt": False,
                "message_groups": [{
                    "message": {
                        "custom_payload": {
                            "value": "string",
                        },
                        "image_response_card": {
                            "title": "string",
                            "buttons": [{
                                "text": "string",
                                "value": "string",
                            }],
                            "image_url": "string",
                            "subtitle": "string",
                        },
                        "plain_text_message": {
                            "value": "string",
                        },
                        "ssml_message": {
                            "value": "string",
                        },
                    },
                    "variations": [{
                        "custom_payload": {
                            "value": "string",
                        },
                        "image_response_card": {
                            "title": "string",
                            "buttons": [{
                                "text": "string",
                                "value": "string",
                            }],
                            "image_url": "string",
                            "subtitle": "string",
                        },
                        "plain_text_message": {
                            "value": "string",
                        },
                        "ssml_message": {
                            "value": "string",
                        },
                    }],
                }],
            },
            "prompt_specification": {
                "max_retries": 0,
                "allow_interrupt": False,
                "message_groups": [{
                    "message": {
                        "custom_payload": {
                            "value": "string",
                        },
                        "image_response_card": {
                            "title": "string",
                            "buttons": [{
                                "text": "string",
                                "value": "string",
                            }],
                            "image_url": "string",
                            "subtitle": "string",
                        },
                        "plain_text_message": {
                            "value": "string",
                        },
                        "ssml_message": {
                            "value": "string",
                        },
                    },
                    "variations": [{
                        "custom_payload": {
                            "value": "string",
                        },
                        "image_response_card": {
                            "title": "string",
                            "buttons": [{
                                "text": "string",
                                "value": "string",
                            }],
                            "image_url": "string",
                            "subtitle": "string",
                        },
                        "plain_text_message": {
                            "value": "string",
                        },
                        "ssml_message": {
                            "value": "string",
                        },
                    }],
                }],
                "message_selection_strategy": "string",
                "prompt_attempts_specifications": [{
                    "map_block_key": "string",
                    "allow_interrupt": False,
                    "allowed_input_types": {
                        "allow_audio_input": False,
                        "allow_dtmf_input": False,
                    },
                    "audio_and_dtmf_input_specification": {
                        "start_timeout_ms": 0,
                        "audio_specification": {
                            "end_timeout_ms": 0,
                            "max_length_ms": 0,
                        },
                        "dtmf_specification": {
                            "deletion_character": "string",
                            "end_character": "string",
                            "end_timeout_ms": 0,
                            "max_length": 0,
                        },
                    },
                    "text_input_specification": {
                        "start_timeout_ms": 0,
                    },
                }],
            },
        },
        kendra_configuration={
            "kendra_index": "string",
            "query_filter_string": "string",
            "query_filter_string_enabled": False,
        },
        description="string",
        name="string",
        output_contexts=[{
            "name": "string",
            "time_to_live_in_seconds": 0,
            "turns_to_live": 0,
        }],
        parent_intent_signature="string",
        qna_intent_configuration={
            "bedrock_model_configuration": {
                "model_arn": "string",
                "custom_prompt": "string",
                "guardrail": {
                    "identifier": "string",
                    "version": "string",
                },
                "trace_status": "string",
            },
            "data_source_configuration": {
                "bedrock_knowledge_store_configuration": {
                    "bedrock_knowledge_base_arn": "string",
                    "exact_response": False,
                    "exact_response_fields": {
                        "answer_field": "string",
                    },
                },
                "kendra_configuration": {
                    "kendra_index": "string",
                    "exact_response": False,
                    "query_filter_string": "string",
                    "query_filter_string_enabled": False,
                },
                "opensearch_configuration": {
                    "domain_endpoint": "string",
                    "index_name": "string",
                    "exact_response": False,
                    "exact_response_fields": {
                        "answer_field": "string",
                        "question_field": "string",
                    },
                    "include_fields": ["string"],
                },
            },
        },
        region="string",
        sample_utterances=[{
            "utterance": "string",
        }],
        slot_priorities=[{
            "priority": 0,
            "slot_id": "string",
        }],
        timeouts={
            "create": "string",
            "delete": "string",
            "update": "string",
        })
    
    const v2modelsIntentResource = new aws.lex.V2modelsIntent("v2modelsIntentResource", {
        botId: "string",
        botVersion: "string",
        localeId: "string",
        inputContexts: [{
            name: "string",
        }],
        closingSetting: {
            active: false,
            closingResponse: {
                allowInterrupt: false,
                messageGroups: [{
                    message: {
                        customPayload: {
                            value: "string",
                        },
                        imageResponseCard: {
                            title: "string",
                            buttons: [{
                                text: "string",
                                value: "string",
                            }],
                            imageUrl: "string",
                            subtitle: "string",
                        },
                        plainTextMessage: {
                            value: "string",
                        },
                        ssmlMessage: {
                            value: "string",
                        },
                    },
                    variations: [{
                        customPayload: {
                            value: "string",
                        },
                        imageResponseCard: {
                            title: "string",
                            buttons: [{
                                text: "string",
                                value: "string",
                            }],
                            imageUrl: "string",
                            subtitle: "string",
                        },
                        plainTextMessage: {
                            value: "string",
                        },
                        ssmlMessage: {
                            value: "string",
                        },
                    }],
                }],
            },
            conditional: {
                active: false,
                conditionalBranches: [{
                    name: "string",
                    condition: {
                        expressionString: "string",
                    },
                    nextStep: {
                        dialogAction: {
                            type: "string",
                            slotToElicit: "string",
                            suppressNextMessage: false,
                        },
                        intent: {
                            name: "string",
                            slots: [{
                                mapBlockKey: "string",
                                shape: "string",
                                value: {
                                    interpretedValue: "string",
                                },
                            }],
                        },
                        sessionAttributes: {
                            string: "string",
                        },
                    },
                    response: {
                        allowInterrupt: false,
                        messageGroups: [{
                            message: {
                                customPayload: {
                                    value: "string",
                                },
                                imageResponseCard: {
                                    title: "string",
                                    buttons: [{
                                        text: "string",
                                        value: "string",
                                    }],
                                    imageUrl: "string",
                                    subtitle: "string",
                                },
                                plainTextMessage: {
                                    value: "string",
                                },
                                ssmlMessage: {
                                    value: "string",
                                },
                            },
                            variations: [{
                                customPayload: {
                                    value: "string",
                                },
                                imageResponseCard: {
                                    title: "string",
                                    buttons: [{
                                        text: "string",
                                        value: "string",
                                    }],
                                    imageUrl: "string",
                                    subtitle: "string",
                                },
                                plainTextMessage: {
                                    value: "string",
                                },
                                ssmlMessage: {
                                    value: "string",
                                },
                            }],
                        }],
                    },
                }],
                defaultBranch: {
                    nextStep: {
                        dialogAction: {
                            type: "string",
                            slotToElicit: "string",
                            suppressNextMessage: false,
                        },
                        intent: {
                            name: "string",
                            slots: [{
                                mapBlockKey: "string",
                                shape: "string",
                                value: {
                                    interpretedValue: "string",
                                },
                            }],
                        },
                        sessionAttributes: {
                            string: "string",
                        },
                    },
                    response: {
                        allowInterrupt: false,
                        messageGroups: [{
                            message: {
                                customPayload: {
                                    value: "string",
                                },
                                imageResponseCard: {
                                    title: "string",
                                    buttons: [{
                                        text: "string",
                                        value: "string",
                                    }],
                                    imageUrl: "string",
                                    subtitle: "string",
                                },
                                plainTextMessage: {
                                    value: "string",
                                },
                                ssmlMessage: {
                                    value: "string",
                                },
                            },
                            variations: [{
                                customPayload: {
                                    value: "string",
                                },
                                imageResponseCard: {
                                    title: "string",
                                    buttons: [{
                                        text: "string",
                                        value: "string",
                                    }],
                                    imageUrl: "string",
                                    subtitle: "string",
                                },
                                plainTextMessage: {
                                    value: "string",
                                },
                                ssmlMessage: {
                                    value: "string",
                                },
                            }],
                        }],
                    },
                },
            },
            nextStep: {
                dialogAction: {
                    type: "string",
                    slotToElicit: "string",
                    suppressNextMessage: false,
                },
                intent: {
                    name: "string",
                    slots: [{
                        mapBlockKey: "string",
                        shape: "string",
                        value: {
                            interpretedValue: "string",
                        },
                    }],
                },
                sessionAttributes: {
                    string: "string",
                },
            },
        },
        dialogCodeHook: {
            enabled: false,
        },
        fulfillmentCodeHook: {
            enabled: false,
            active: false,
            fulfillmentUpdatesSpecification: {
                active: false,
                startResponse: {
                    allowInterrupt: false,
                    delayInSeconds: 0,
                    messageGroups: [{
                        message: {
                            customPayload: {
                                value: "string",
                            },
                            imageResponseCard: {
                                title: "string",
                                buttons: [{
                                    text: "string",
                                    value: "string",
                                }],
                                imageUrl: "string",
                                subtitle: "string",
                            },
                            plainTextMessage: {
                                value: "string",
                            },
                            ssmlMessage: {
                                value: "string",
                            },
                        },
                        variations: [{
                            customPayload: {
                                value: "string",
                            },
                            imageResponseCard: {
                                title: "string",
                                buttons: [{
                                    text: "string",
                                    value: "string",
                                }],
                                imageUrl: "string",
                                subtitle: "string",
                            },
                            plainTextMessage: {
                                value: "string",
                            },
                            ssmlMessage: {
                                value: "string",
                            },
                        }],
                    }],
                },
                timeoutInSeconds: 0,
                updateResponse: {
                    frequencyInSeconds: 0,
                    allowInterrupt: false,
                    messageGroups: [{
                        message: {
                            customPayload: {
                                value: "string",
                            },
                            imageResponseCard: {
                                title: "string",
                                buttons: [{
                                    text: "string",
                                    value: "string",
                                }],
                                imageUrl: "string",
                                subtitle: "string",
                            },
                            plainTextMessage: {
                                value: "string",
                            },
                            ssmlMessage: {
                                value: "string",
                            },
                        },
                        variations: [{
                            customPayload: {
                                value: "string",
                            },
                            imageResponseCard: {
                                title: "string",
                                buttons: [{
                                    text: "string",
                                    value: "string",
                                }],
                                imageUrl: "string",
                                subtitle: "string",
                            },
                            plainTextMessage: {
                                value: "string",
                            },
                            ssmlMessage: {
                                value: "string",
                            },
                        }],
                    }],
                },
            },
            postFulfillmentStatusSpecification: {
                failureConditional: {
                    active: false,
                    conditionalBranches: [{
                        name: "string",
                        condition: {
                            expressionString: "string",
                        },
                        nextStep: {
                            dialogAction: {
                                type: "string",
                                slotToElicit: "string",
                                suppressNextMessage: false,
                            },
                            intent: {
                                name: "string",
                                slots: [{
                                    mapBlockKey: "string",
                                    shape: "string",
                                    value: {
                                        interpretedValue: "string",
                                    },
                                }],
                            },
                            sessionAttributes: {
                                string: "string",
                            },
                        },
                        response: {
                            allowInterrupt: false,
                            messageGroups: [{
                                message: {
                                    customPayload: {
                                        value: "string",
                                    },
                                    imageResponseCard: {
                                        title: "string",
                                        buttons: [{
                                            text: "string",
                                            value: "string",
                                        }],
                                        imageUrl: "string",
                                        subtitle: "string",
                                    },
                                    plainTextMessage: {
                                        value: "string",
                                    },
                                    ssmlMessage: {
                                        value: "string",
                                    },
                                },
                                variations: [{
                                    customPayload: {
                                        value: "string",
                                    },
                                    imageResponseCard: {
                                        title: "string",
                                        buttons: [{
                                            text: "string",
                                            value: "string",
                                        }],
                                        imageUrl: "string",
                                        subtitle: "string",
                                    },
                                    plainTextMessage: {
                                        value: "string",
                                    },
                                    ssmlMessage: {
                                        value: "string",
                                    },
                                }],
                            }],
                        },
                    }],
                    defaultBranch: {
                        nextStep: {
                            dialogAction: {
                                type: "string",
                                slotToElicit: "string",
                                suppressNextMessage: false,
                            },
                            intent: {
                                name: "string",
                                slots: [{
                                    mapBlockKey: "string",
                                    shape: "string",
                                    value: {
                                        interpretedValue: "string",
                                    },
                                }],
                            },
                            sessionAttributes: {
                                string: "string",
                            },
                        },
                        response: {
                            allowInterrupt: false,
                            messageGroups: [{
                                message: {
                                    customPayload: {
                                        value: "string",
                                    },
                                    imageResponseCard: {
                                        title: "string",
                                        buttons: [{
                                            text: "string",
                                            value: "string",
                                        }],
                                        imageUrl: "string",
                                        subtitle: "string",
                                    },
                                    plainTextMessage: {
                                        value: "string",
                                    },
                                    ssmlMessage: {
                                        value: "string",
                                    },
                                },
                                variations: [{
                                    customPayload: {
                                        value: "string",
                                    },
                                    imageResponseCard: {
                                        title: "string",
                                        buttons: [{
                                            text: "string",
                                            value: "string",
                                        }],
                                        imageUrl: "string",
                                        subtitle: "string",
                                    },
                                    plainTextMessage: {
                                        value: "string",
                                    },
                                    ssmlMessage: {
                                        value: "string",
                                    },
                                }],
                            }],
                        },
                    },
                },
                failureNextStep: {
                    dialogAction: {
                        type: "string",
                        slotToElicit: "string",
                        suppressNextMessage: false,
                    },
                    intent: {
                        name: "string",
                        slots: [{
                            mapBlockKey: "string",
                            shape: "string",
                            value: {
                                interpretedValue: "string",
                            },
                        }],
                    },
                    sessionAttributes: {
                        string: "string",
                    },
                },
                failureResponse: {
                    allowInterrupt: false,
                    messageGroups: [{
                        message: {
                            customPayload: {
                                value: "string",
                            },
                            imageResponseCard: {
                                title: "string",
                                buttons: [{
                                    text: "string",
                                    value: "string",
                                }],
                                imageUrl: "string",
                                subtitle: "string",
                            },
                            plainTextMessage: {
                                value: "string",
                            },
                            ssmlMessage: {
                                value: "string",
                            },
                        },
                        variations: [{
                            customPayload: {
                                value: "string",
                            },
                            imageResponseCard: {
                                title: "string",
                                buttons: [{
                                    text: "string",
                                    value: "string",
                                }],
                                imageUrl: "string",
                                subtitle: "string",
                            },
                            plainTextMessage: {
                                value: "string",
                            },
                            ssmlMessage: {
                                value: "string",
                            },
                        }],
                    }],
                },
                successConditional: {
                    active: false,
                    conditionalBranches: [{
                        name: "string",
                        condition: {
                            expressionString: "string",
                        },
                        nextStep: {
                            dialogAction: {
                                type: "string",
                                slotToElicit: "string",
                                suppressNextMessage: false,
                            },
                            intent: {
                                name: "string",
                                slots: [{
                                    mapBlockKey: "string",
                                    shape: "string",
                                    value: {
                                        interpretedValue: "string",
                                    },
                                }],
                            },
                            sessionAttributes: {
                                string: "string",
                            },
                        },
                        response: {
                            allowInterrupt: false,
                            messageGroups: [{
                                message: {
                                    customPayload: {
                                        value: "string",
                                    },
                                    imageResponseCard: {
                                        title: "string",
                                        buttons: [{
                                            text: "string",
                                            value: "string",
                                        }],
                                        imageUrl: "string",
                                        subtitle: "string",
                                    },
                                    plainTextMessage: {
                                        value: "string",
                                    },
                                    ssmlMessage: {
                                        value: "string",
                                    },
                                },
                                variations: [{
                                    customPayload: {
                                        value: "string",
                                    },
                                    imageResponseCard: {
                                        title: "string",
                                        buttons: [{
                                            text: "string",
                                            value: "string",
                                        }],
                                        imageUrl: "string",
                                        subtitle: "string",
                                    },
                                    plainTextMessage: {
                                        value: "string",
                                    },
                                    ssmlMessage: {
                                        value: "string",
                                    },
                                }],
                            }],
                        },
                    }],
                    defaultBranch: {
                        nextStep: {
                            dialogAction: {
                                type: "string",
                                slotToElicit: "string",
                                suppressNextMessage: false,
                            },
                            intent: {
                                name: "string",
                                slots: [{
                                    mapBlockKey: "string",
                                    shape: "string",
                                    value: {
                                        interpretedValue: "string",
                                    },
                                }],
                            },
                            sessionAttributes: {
                                string: "string",
                            },
                        },
                        response: {
                            allowInterrupt: false,
                            messageGroups: [{
                                message: {
                                    customPayload: {
                                        value: "string",
                                    },
                                    imageResponseCard: {
                                        title: "string",
                                        buttons: [{
                                            text: "string",
                                            value: "string",
                                        }],
                                        imageUrl: "string",
                                        subtitle: "string",
                                    },
                                    plainTextMessage: {
                                        value: "string",
                                    },
                                    ssmlMessage: {
                                        value: "string",
                                    },
                                },
                                variations: [{
                                    customPayload: {
                                        value: "string",
                                    },
                                    imageResponseCard: {
                                        title: "string",
                                        buttons: [{
                                            text: "string",
                                            value: "string",
                                        }],
                                        imageUrl: "string",
                                        subtitle: "string",
                                    },
                                    plainTextMessage: {
                                        value: "string",
                                    },
                                    ssmlMessage: {
                                        value: "string",
                                    },
                                }],
                            }],
                        },
                    },
                },
                successNextStep: {
                    dialogAction: {
                        type: "string",
                        slotToElicit: "string",
                        suppressNextMessage: false,
                    },
                    intent: {
                        name: "string",
                        slots: [{
                            mapBlockKey: "string",
                            shape: "string",
                            value: {
                                interpretedValue: "string",
                            },
                        }],
                    },
                    sessionAttributes: {
                        string: "string",
                    },
                },
                successResponse: {
                    allowInterrupt: false,
                    messageGroups: [{
                        message: {
                            customPayload: {
                                value: "string",
                            },
                            imageResponseCard: {
                                title: "string",
                                buttons: [{
                                    text: "string",
                                    value: "string",
                                }],
                                imageUrl: "string",
                                subtitle: "string",
                            },
                            plainTextMessage: {
                                value: "string",
                            },
                            ssmlMessage: {
                                value: "string",
                            },
                        },
                        variations: [{
                            customPayload: {
                                value: "string",
                            },
                            imageResponseCard: {
                                title: "string",
                                buttons: [{
                                    text: "string",
                                    value: "string",
                                }],
                                imageUrl: "string",
                                subtitle: "string",
                            },
                            plainTextMessage: {
                                value: "string",
                            },
                            ssmlMessage: {
                                value: "string",
                            },
                        }],
                    }],
                },
                timeoutConditional: {
                    active: false,
                    conditionalBranches: [{
                        name: "string",
                        condition: {
                            expressionString: "string",
                        },
                        nextStep: {
                            dialogAction: {
                                type: "string",
                                slotToElicit: "string",
                                suppressNextMessage: false,
                            },
                            intent: {
                                name: "string",
                                slots: [{
                                    mapBlockKey: "string",
                                    shape: "string",
                                    value: {
                                        interpretedValue: "string",
                                    },
                                }],
                            },
                            sessionAttributes: {
                                string: "string",
                            },
                        },
                        response: {
                            allowInterrupt: false,
                            messageGroups: [{
                                message: {
                                    customPayload: {
                                        value: "string",
                                    },
                                    imageResponseCard: {
                                        title: "string",
                                        buttons: [{
                                            text: "string",
                                            value: "string",
                                        }],
                                        imageUrl: "string",
                                        subtitle: "string",
                                    },
                                    plainTextMessage: {
                                        value: "string",
                                    },
                                    ssmlMessage: {
                                        value: "string",
                                    },
                                },
                                variations: [{
                                    customPayload: {
                                        value: "string",
                                    },
                                    imageResponseCard: {
                                        title: "string",
                                        buttons: [{
                                            text: "string",
                                            value: "string",
                                        }],
                                        imageUrl: "string",
                                        subtitle: "string",
                                    },
                                    plainTextMessage: {
                                        value: "string",
                                    },
                                    ssmlMessage: {
                                        value: "string",
                                    },
                                }],
                            }],
                        },
                    }],
                    defaultBranch: {
                        nextStep: {
                            dialogAction: {
                                type: "string",
                                slotToElicit: "string",
                                suppressNextMessage: false,
                            },
                            intent: {
                                name: "string",
                                slots: [{
                                    mapBlockKey: "string",
                                    shape: "string",
                                    value: {
                                        interpretedValue: "string",
                                    },
                                }],
                            },
                            sessionAttributes: {
                                string: "string",
                            },
                        },
                        response: {
                            allowInterrupt: false,
                            messageGroups: [{
                                message: {
                                    customPayload: {
                                        value: "string",
                                    },
                                    imageResponseCard: {
                                        title: "string",
                                        buttons: [{
                                            text: "string",
                                            value: "string",
                                        }],
                                        imageUrl: "string",
                                        subtitle: "string",
                                    },
                                    plainTextMessage: {
                                        value: "string",
                                    },
                                    ssmlMessage: {
                                        value: "string",
                                    },
                                },
                                variations: [{
                                    customPayload: {
                                        value: "string",
                                    },
                                    imageResponseCard: {
                                        title: "string",
                                        buttons: [{
                                            text: "string",
                                            value: "string",
                                        }],
                                        imageUrl: "string",
                                        subtitle: "string",
                                    },
                                    plainTextMessage: {
                                        value: "string",
                                    },
                                    ssmlMessage: {
                                        value: "string",
                                    },
                                }],
                            }],
                        },
                    },
                },
                timeoutNextStep: {
                    dialogAction: {
                        type: "string",
                        slotToElicit: "string",
                        suppressNextMessage: false,
                    },
                    intent: {
                        name: "string",
                        slots: [{
                            mapBlockKey: "string",
                            shape: "string",
                            value: {
                                interpretedValue: "string",
                            },
                        }],
                    },
                    sessionAttributes: {
                        string: "string",
                    },
                },
                timeoutResponse: {
                    allowInterrupt: false,
                    messageGroups: [{
                        message: {
                            customPayload: {
                                value: "string",
                            },
                            imageResponseCard: {
                                title: "string",
                                buttons: [{
                                    text: "string",
                                    value: "string",
                                }],
                                imageUrl: "string",
                                subtitle: "string",
                            },
                            plainTextMessage: {
                                value: "string",
                            },
                            ssmlMessage: {
                                value: "string",
                            },
                        },
                        variations: [{
                            customPayload: {
                                value: "string",
                            },
                            imageResponseCard: {
                                title: "string",
                                buttons: [{
                                    text: "string",
                                    value: "string",
                                }],
                                imageUrl: "string",
                                subtitle: "string",
                            },
                            plainTextMessage: {
                                value: "string",
                            },
                            ssmlMessage: {
                                value: "string",
                            },
                        }],
                    }],
                },
            },
        },
        initialResponseSetting: {
            codeHook: {
                active: false,
                enableCodeHookInvocation: false,
                invocationLabel: "string",
                postCodeHookSpecification: {
                    failureConditional: {
                        active: false,
                        conditionalBranches: [{
                            name: "string",
                            condition: {
                                expressionString: "string",
                            },
                            nextStep: {
                                dialogAction: {
                                    type: "string",
                                    slotToElicit: "string",
                                    suppressNextMessage: false,
                                },
                                intent: {
                                    name: "string",
                                    slots: [{
                                        mapBlockKey: "string",
                                        shape: "string",
                                        value: {
                                            interpretedValue: "string",
                                        },
                                    }],
                                },
                                sessionAttributes: {
                                    string: "string",
                                },
                            },
                            response: {
                                allowInterrupt: false,
                                messageGroups: [{
                                    message: {
                                        customPayload: {
                                            value: "string",
                                        },
                                        imageResponseCard: {
                                            title: "string",
                                            buttons: [{
                                                text: "string",
                                                value: "string",
                                            }],
                                            imageUrl: "string",
                                            subtitle: "string",
                                        },
                                        plainTextMessage: {
                                            value: "string",
                                        },
                                        ssmlMessage: {
                                            value: "string",
                                        },
                                    },
                                    variations: [{
                                        customPayload: {
                                            value: "string",
                                        },
                                        imageResponseCard: {
                                            title: "string",
                                            buttons: [{
                                                text: "string",
                                                value: "string",
                                            }],
                                            imageUrl: "string",
                                            subtitle: "string",
                                        },
                                        plainTextMessage: {
                                            value: "string",
                                        },
                                        ssmlMessage: {
                                            value: "string",
                                        },
                                    }],
                                }],
                            },
                        }],
                        defaultBranch: {
                            nextStep: {
                                dialogAction: {
                                    type: "string",
                                    slotToElicit: "string",
                                    suppressNextMessage: false,
                                },
                                intent: {
                                    name: "string",
                                    slots: [{
                                        mapBlockKey: "string",
                                        shape: "string",
                                        value: {
                                            interpretedValue: "string",
                                        },
                                    }],
                                },
                                sessionAttributes: {
                                    string: "string",
                                },
                            },
                            response: {
                                allowInterrupt: false,
                                messageGroups: [{
                                    message: {
                                        customPayload: {
                                            value: "string",
                                        },
                                        imageResponseCard: {
                                            title: "string",
                                            buttons: [{
                                                text: "string",
                                                value: "string",
                                            }],
                                            imageUrl: "string",
                                            subtitle: "string",
                                        },
                                        plainTextMessage: {
                                            value: "string",
                                        },
                                        ssmlMessage: {
                                            value: "string",
                                        },
                                    },
                                    variations: [{
                                        customPayload: {
                                            value: "string",
                                        },
                                        imageResponseCard: {
                                            title: "string",
                                            buttons: [{
                                                text: "string",
                                                value: "string",
                                            }],
                                            imageUrl: "string",
                                            subtitle: "string",
                                        },
                                        plainTextMessage: {
                                            value: "string",
                                        },
                                        ssmlMessage: {
                                            value: "string",
                                        },
                                    }],
                                }],
                            },
                        },
                    },
                    failureNextStep: {
                        dialogAction: {
                            type: "string",
                            slotToElicit: "string",
                            suppressNextMessage: false,
                        },
                        intent: {
                            name: "string",
                            slots: [{
                                mapBlockKey: "string",
                                shape: "string",
                                value: {
                                    interpretedValue: "string",
                                },
                            }],
                        },
                        sessionAttributes: {
                            string: "string",
                        },
                    },
                    failureResponse: {
                        allowInterrupt: false,
                        messageGroups: [{
                            message: {
                                customPayload: {
                                    value: "string",
                                },
                                imageResponseCard: {
                                    title: "string",
                                    buttons: [{
                                        text: "string",
                                        value: "string",
                                    }],
                                    imageUrl: "string",
                                    subtitle: "string",
                                },
                                plainTextMessage: {
                                    value: "string",
                                },
                                ssmlMessage: {
                                    value: "string",
                                },
                            },
                            variations: [{
                                customPayload: {
                                    value: "string",
                                },
                                imageResponseCard: {
                                    title: "string",
                                    buttons: [{
                                        text: "string",
                                        value: "string",
                                    }],
                                    imageUrl: "string",
                                    subtitle: "string",
                                },
                                plainTextMessage: {
                                    value: "string",
                                },
                                ssmlMessage: {
                                    value: "string",
                                },
                            }],
                        }],
                    },
                    successConditional: {
                        active: false,
                        conditionalBranches: [{
                            name: "string",
                            condition: {
                                expressionString: "string",
                            },
                            nextStep: {
                                dialogAction: {
                                    type: "string",
                                    slotToElicit: "string",
                                    suppressNextMessage: false,
                                },
                                intent: {
                                    name: "string",
                                    slots: [{
                                        mapBlockKey: "string",
                                        shape: "string",
                                        value: {
                                            interpretedValue: "string",
                                        },
                                    }],
                                },
                                sessionAttributes: {
                                    string: "string",
                                },
                            },
                            response: {
                                allowInterrupt: false,
                                messageGroups: [{
                                    message: {
                                        customPayload: {
                                            value: "string",
                                        },
                                        imageResponseCard: {
                                            title: "string",
                                            buttons: [{
                                                text: "string",
                                                value: "string",
                                            }],
                                            imageUrl: "string",
                                            subtitle: "string",
                                        },
                                        plainTextMessage: {
                                            value: "string",
                                        },
                                        ssmlMessage: {
                                            value: "string",
                                        },
                                    },
                                    variations: [{
                                        customPayload: {
                                            value: "string",
                                        },
                                        imageResponseCard: {
                                            title: "string",
                                            buttons: [{
                                                text: "string",
                                                value: "string",
                                            }],
                                            imageUrl: "string",
                                            subtitle: "string",
                                        },
                                        plainTextMessage: {
                                            value: "string",
                                        },
                                        ssmlMessage: {
                                            value: "string",
                                        },
                                    }],
                                }],
                            },
                        }],
                        defaultBranch: {
                            nextStep: {
                                dialogAction: {
                                    type: "string",
                                    slotToElicit: "string",
                                    suppressNextMessage: false,
                                },
                                intent: {
                                    name: "string",
                                    slots: [{
                                        mapBlockKey: "string",
                                        shape: "string",
                                        value: {
                                            interpretedValue: "string",
                                        },
                                    }],
                                },
                                sessionAttributes: {
                                    string: "string",
                                },
                            },
                            response: {
                                allowInterrupt: false,
                                messageGroups: [{
                                    message: {
                                        customPayload: {
                                            value: "string",
                                        },
                                        imageResponseCard: {
                                            title: "string",
                                            buttons: [{
                                                text: "string",
                                                value: "string",
                                            }],
                                            imageUrl: "string",
                                            subtitle: "string",
                                        },
                                        plainTextMessage: {
                                            value: "string",
                                        },
                                        ssmlMessage: {
                                            value: "string",
                                        },
                                    },
                                    variations: [{
                                        customPayload: {
                                            value: "string",
                                        },
                                        imageResponseCard: {
                                            title: "string",
                                            buttons: [{
                                                text: "string",
                                                value: "string",
                                            }],
                                            imageUrl: "string",
                                            subtitle: "string",
                                        },
                                        plainTextMessage: {
                                            value: "string",
                                        },
                                        ssmlMessage: {
                                            value: "string",
                                        },
                                    }],
                                }],
                            },
                        },
                    },
                    successNextStep: {
                        dialogAction: {
                            type: "string",
                            slotToElicit: "string",
                            suppressNextMessage: false,
                        },
                        intent: {
                            name: "string",
                            slots: [{
                                mapBlockKey: "string",
                                shape: "string",
                                value: {
                                    interpretedValue: "string",
                                },
                            }],
                        },
                        sessionAttributes: {
                            string: "string",
                        },
                    },
                    successResponse: {
                        allowInterrupt: false,
                        messageGroups: [{
                            message: {
                                customPayload: {
                                    value: "string",
                                },
                                imageResponseCard: {
                                    title: "string",
                                    buttons: [{
                                        text: "string",
                                        value: "string",
                                    }],
                                    imageUrl: "string",
                                    subtitle: "string",
                                },
                                plainTextMessage: {
                                    value: "string",
                                },
                                ssmlMessage: {
                                    value: "string",
                                },
                            },
                            variations: [{
                                customPayload: {
                                    value: "string",
                                },
                                imageResponseCard: {
                                    title: "string",
                                    buttons: [{
                                        text: "string",
                                        value: "string",
                                    }],
                                    imageUrl: "string",
                                    subtitle: "string",
                                },
                                plainTextMessage: {
                                    value: "string",
                                },
                                ssmlMessage: {
                                    value: "string",
                                },
                            }],
                        }],
                    },
                    timeoutConditional: {
                        active: false,
                        conditionalBranches: [{
                            name: "string",
                            condition: {
                                expressionString: "string",
                            },
                            nextStep: {
                                dialogAction: {
                                    type: "string",
                                    slotToElicit: "string",
                                    suppressNextMessage: false,
                                },
                                intent: {
                                    name: "string",
                                    slots: [{
                                        mapBlockKey: "string",
                                        shape: "string",
                                        value: {
                                            interpretedValue: "string",
                                        },
                                    }],
                                },
                                sessionAttributes: {
                                    string: "string",
                                },
                            },
                            response: {
                                allowInterrupt: false,
                                messageGroups: [{
                                    message: {
                                        customPayload: {
                                            value: "string",
                                        },
                                        imageResponseCard: {
                                            title: "string",
                                            buttons: [{
                                                text: "string",
                                                value: "string",
                                            }],
                                            imageUrl: "string",
                                            subtitle: "string",
                                        },
                                        plainTextMessage: {
                                            value: "string",
                                        },
                                        ssmlMessage: {
                                            value: "string",
                                        },
                                    },
                                    variations: [{
                                        customPayload: {
                                            value: "string",
                                        },
                                        imageResponseCard: {
                                            title: "string",
                                            buttons: [{
                                                text: "string",
                                                value: "string",
                                            }],
                                            imageUrl: "string",
                                            subtitle: "string",
                                        },
                                        plainTextMessage: {
                                            value: "string",
                                        },
                                        ssmlMessage: {
                                            value: "string",
                                        },
                                    }],
                                }],
                            },
                        }],
                        defaultBranch: {
                            nextStep: {
                                dialogAction: {
                                    type: "string",
                                    slotToElicit: "string",
                                    suppressNextMessage: false,
                                },
                                intent: {
                                    name: "string",
                                    slots: [{
                                        mapBlockKey: "string",
                                        shape: "string",
                                        value: {
                                            interpretedValue: "string",
                                        },
                                    }],
                                },
                                sessionAttributes: {
                                    string: "string",
                                },
                            },
                            response: {
                                allowInterrupt: false,
                                messageGroups: [{
                                    message: {
                                        customPayload: {
                                            value: "string",
                                        },
                                        imageResponseCard: {
                                            title: "string",
                                            buttons: [{
                                                text: "string",
                                                value: "string",
                                            }],
                                            imageUrl: "string",
                                            subtitle: "string",
                                        },
                                        plainTextMessage: {
                                            value: "string",
                                        },
                                        ssmlMessage: {
                                            value: "string",
                                        },
                                    },
                                    variations: [{
                                        customPayload: {
                                            value: "string",
                                        },
                                        imageResponseCard: {
                                            title: "string",
                                            buttons: [{
                                                text: "string",
                                                value: "string",
                                            }],
                                            imageUrl: "string",
                                            subtitle: "string",
                                        },
                                        plainTextMessage: {
                                            value: "string",
                                        },
                                        ssmlMessage: {
                                            value: "string",
                                        },
                                    }],
                                }],
                            },
                        },
                    },
                    timeoutNextStep: {
                        dialogAction: {
                            type: "string",
                            slotToElicit: "string",
                            suppressNextMessage: false,
                        },
                        intent: {
                            name: "string",
                            slots: [{
                                mapBlockKey: "string",
                                shape: "string",
                                value: {
                                    interpretedValue: "string",
                                },
                            }],
                        },
                        sessionAttributes: {
                            string: "string",
                        },
                    },
                    timeoutResponse: {
                        allowInterrupt: false,
                        messageGroups: [{
                            message: {
                                customPayload: {
                                    value: "string",
                                },
                                imageResponseCard: {
                                    title: "string",
                                    buttons: [{
                                        text: "string",
                                        value: "string",
                                    }],
                                    imageUrl: "string",
                                    subtitle: "string",
                                },
                                plainTextMessage: {
                                    value: "string",
                                },
                                ssmlMessage: {
                                    value: "string",
                                },
                            },
                            variations: [{
                                customPayload: {
                                    value: "string",
                                },
                                imageResponseCard: {
                                    title: "string",
                                    buttons: [{
                                        text: "string",
                                        value: "string",
                                    }],
                                    imageUrl: "string",
                                    subtitle: "string",
                                },
                                plainTextMessage: {
                                    value: "string",
                                },
                                ssmlMessage: {
                                    value: "string",
                                },
                            }],
                        }],
                    },
                },
            },
            conditional: {
                active: false,
                conditionalBranches: [{
                    name: "string",
                    condition: {
                        expressionString: "string",
                    },
                    nextStep: {
                        dialogAction: {
                            type: "string",
                            slotToElicit: "string",
                            suppressNextMessage: false,
                        },
                        intent: {
                            name: "string",
                            slots: [{
                                mapBlockKey: "string",
                                shape: "string",
                                value: {
                                    interpretedValue: "string",
                                },
                            }],
                        },
                        sessionAttributes: {
                            string: "string",
                        },
                    },
                    response: {
                        allowInterrupt: false,
                        messageGroups: [{
                            message: {
                                customPayload: {
                                    value: "string",
                                },
                                imageResponseCard: {
                                    title: "string",
                                    buttons: [{
                                        text: "string",
                                        value: "string",
                                    }],
                                    imageUrl: "string",
                                    subtitle: "string",
                                },
                                plainTextMessage: {
                                    value: "string",
                                },
                                ssmlMessage: {
                                    value: "string",
                                },
                            },
                            variations: [{
                                customPayload: {
                                    value: "string",
                                },
                                imageResponseCard: {
                                    title: "string",
                                    buttons: [{
                                        text: "string",
                                        value: "string",
                                    }],
                                    imageUrl: "string",
                                    subtitle: "string",
                                },
                                plainTextMessage: {
                                    value: "string",
                                },
                                ssmlMessage: {
                                    value: "string",
                                },
                            }],
                        }],
                    },
                }],
                defaultBranch: {
                    nextStep: {
                        dialogAction: {
                            type: "string",
                            slotToElicit: "string",
                            suppressNextMessage: false,
                        },
                        intent: {
                            name: "string",
                            slots: [{
                                mapBlockKey: "string",
                                shape: "string",
                                value: {
                                    interpretedValue: "string",
                                },
                            }],
                        },
                        sessionAttributes: {
                            string: "string",
                        },
                    },
                    response: {
                        allowInterrupt: false,
                        messageGroups: [{
                            message: {
                                customPayload: {
                                    value: "string",
                                },
                                imageResponseCard: {
                                    title: "string",
                                    buttons: [{
                                        text: "string",
                                        value: "string",
                                    }],
                                    imageUrl: "string",
                                    subtitle: "string",
                                },
                                plainTextMessage: {
                                    value: "string",
                                },
                                ssmlMessage: {
                                    value: "string",
                                },
                            },
                            variations: [{
                                customPayload: {
                                    value: "string",
                                },
                                imageResponseCard: {
                                    title: "string",
                                    buttons: [{
                                        text: "string",
                                        value: "string",
                                    }],
                                    imageUrl: "string",
                                    subtitle: "string",
                                },
                                plainTextMessage: {
                                    value: "string",
                                },
                                ssmlMessage: {
                                    value: "string",
                                },
                            }],
                        }],
                    },
                },
            },
            initialResponse: {
                allowInterrupt: false,
                messageGroups: [{
                    message: {
                        customPayload: {
                            value: "string",
                        },
                        imageResponseCard: {
                            title: "string",
                            buttons: [{
                                text: "string",
                                value: "string",
                            }],
                            imageUrl: "string",
                            subtitle: "string",
                        },
                        plainTextMessage: {
                            value: "string",
                        },
                        ssmlMessage: {
                            value: "string",
                        },
                    },
                    variations: [{
                        customPayload: {
                            value: "string",
                        },
                        imageResponseCard: {
                            title: "string",
                            buttons: [{
                                text: "string",
                                value: "string",
                            }],
                            imageUrl: "string",
                            subtitle: "string",
                        },
                        plainTextMessage: {
                            value: "string",
                        },
                        ssmlMessage: {
                            value: "string",
                        },
                    }],
                }],
            },
            nextStep: {
                dialogAction: {
                    type: "string",
                    slotToElicit: "string",
                    suppressNextMessage: false,
                },
                intent: {
                    name: "string",
                    slots: [{
                        mapBlockKey: "string",
                        shape: "string",
                        value: {
                            interpretedValue: "string",
                        },
                    }],
                },
                sessionAttributes: {
                    string: "string",
                },
            },
        },
        confirmationSetting: {
            active: false,
            codeHook: {
                active: false,
                enableCodeHookInvocation: false,
                invocationLabel: "string",
                postCodeHookSpecification: {
                    failureConditional: {
                        active: false,
                        conditionalBranches: [{
                            name: "string",
                            condition: {
                                expressionString: "string",
                            },
                            nextStep: {
                                dialogAction: {
                                    type: "string",
                                    slotToElicit: "string",
                                    suppressNextMessage: false,
                                },
                                intent: {
                                    name: "string",
                                    slots: [{
                                        mapBlockKey: "string",
                                        shape: "string",
                                        value: {
                                            interpretedValue: "string",
                                        },
                                    }],
                                },
                                sessionAttributes: {
                                    string: "string",
                                },
                            },
                            response: {
                                allowInterrupt: false,
                                messageGroups: [{
                                    message: {
                                        customPayload: {
                                            value: "string",
                                        },
                                        imageResponseCard: {
                                            title: "string",
                                            buttons: [{
                                                text: "string",
                                                value: "string",
                                            }],
                                            imageUrl: "string",
                                            subtitle: "string",
                                        },
                                        plainTextMessage: {
                                            value: "string",
                                        },
                                        ssmlMessage: {
                                            value: "string",
                                        },
                                    },
                                    variations: [{
                                        customPayload: {
                                            value: "string",
                                        },
                                        imageResponseCard: {
                                            title: "string",
                                            buttons: [{
                                                text: "string",
                                                value: "string",
                                            }],
                                            imageUrl: "string",
                                            subtitle: "string",
                                        },
                                        plainTextMessage: {
                                            value: "string",
                                        },
                                        ssmlMessage: {
                                            value: "string",
                                        },
                                    }],
                                }],
                            },
                        }],
                        defaultBranch: {
                            nextStep: {
                                dialogAction: {
                                    type: "string",
                                    slotToElicit: "string",
                                    suppressNextMessage: false,
                                },
                                intent: {
                                    name: "string",
                                    slots: [{
                                        mapBlockKey: "string",
                                        shape: "string",
                                        value: {
                                            interpretedValue: "string",
                                        },
                                    }],
                                },
                                sessionAttributes: {
                                    string: "string",
                                },
                            },
                            response: {
                                allowInterrupt: false,
                                messageGroups: [{
                                    message: {
                                        customPayload: {
                                            value: "string",
                                        },
                                        imageResponseCard: {
                                            title: "string",
                                            buttons: [{
                                                text: "string",
                                                value: "string",
                                            }],
                                            imageUrl: "string",
                                            subtitle: "string",
                                        },
                                        plainTextMessage: {
                                            value: "string",
                                        },
                                        ssmlMessage: {
                                            value: "string",
                                        },
                                    },
                                    variations: [{
                                        customPayload: {
                                            value: "string",
                                        },
                                        imageResponseCard: {
                                            title: "string",
                                            buttons: [{
                                                text: "string",
                                                value: "string",
                                            }],
                                            imageUrl: "string",
                                            subtitle: "string",
                                        },
                                        plainTextMessage: {
                                            value: "string",
                                        },
                                        ssmlMessage: {
                                            value: "string",
                                        },
                                    }],
                                }],
                            },
                        },
                    },
                    failureNextStep: {
                        dialogAction: {
                            type: "string",
                            slotToElicit: "string",
                            suppressNextMessage: false,
                        },
                        intent: {
                            name: "string",
                            slots: [{
                                mapBlockKey: "string",
                                shape: "string",
                                value: {
                                    interpretedValue: "string",
                                },
                            }],
                        },
                        sessionAttributes: {
                            string: "string",
                        },
                    },
                    failureResponse: {
                        allowInterrupt: false,
                        messageGroups: [{
                            message: {
                                customPayload: {
                                    value: "string",
                                },
                                imageResponseCard: {
                                    title: "string",
                                    buttons: [{
                                        text: "string",
                                        value: "string",
                                    }],
                                    imageUrl: "string",
                                    subtitle: "string",
                                },
                                plainTextMessage: {
                                    value: "string",
                                },
                                ssmlMessage: {
                                    value: "string",
                                },
                            },
                            variations: [{
                                customPayload: {
                                    value: "string",
                                },
                                imageResponseCard: {
                                    title: "string",
                                    buttons: [{
                                        text: "string",
                                        value: "string",
                                    }],
                                    imageUrl: "string",
                                    subtitle: "string",
                                },
                                plainTextMessage: {
                                    value: "string",
                                },
                                ssmlMessage: {
                                    value: "string",
                                },
                            }],
                        }],
                    },
                    successConditional: {
                        active: false,
                        conditionalBranches: [{
                            name: "string",
                            condition: {
                                expressionString: "string",
                            },
                            nextStep: {
                                dialogAction: {
                                    type: "string",
                                    slotToElicit: "string",
                                    suppressNextMessage: false,
                                },
                                intent: {
                                    name: "string",
                                    slots: [{
                                        mapBlockKey: "string",
                                        shape: "string",
                                        value: {
                                            interpretedValue: "string",
                                        },
                                    }],
                                },
                                sessionAttributes: {
                                    string: "string",
                                },
                            },
                            response: {
                                allowInterrupt: false,
                                messageGroups: [{
                                    message: {
                                        customPayload: {
                                            value: "string",
                                        },
                                        imageResponseCard: {
                                            title: "string",
                                            buttons: [{
                                                text: "string",
                                                value: "string",
                                            }],
                                            imageUrl: "string",
                                            subtitle: "string",
                                        },
                                        plainTextMessage: {
                                            value: "string",
                                        },
                                        ssmlMessage: {
                                            value: "string",
                                        },
                                    },
                                    variations: [{
                                        customPayload: {
                                            value: "string",
                                        },
                                        imageResponseCard: {
                                            title: "string",
                                            buttons: [{
                                                text: "string",
                                                value: "string",
                                            }],
                                            imageUrl: "string",
                                            subtitle: "string",
                                        },
                                        plainTextMessage: {
                                            value: "string",
                                        },
                                        ssmlMessage: {
                                            value: "string",
                                        },
                                    }],
                                }],
                            },
                        }],
                        defaultBranch: {
                            nextStep: {
                                dialogAction: {
                                    type: "string",
                                    slotToElicit: "string",
                                    suppressNextMessage: false,
                                },
                                intent: {
                                    name: "string",
                                    slots: [{
                                        mapBlockKey: "string",
                                        shape: "string",
                                        value: {
                                            interpretedValue: "string",
                                        },
                                    }],
                                },
                                sessionAttributes: {
                                    string: "string",
                                },
                            },
                            response: {
                                allowInterrupt: false,
                                messageGroups: [{
                                    message: {
                                        customPayload: {
                                            value: "string",
                                        },
                                        imageResponseCard: {
                                            title: "string",
                                            buttons: [{
                                                text: "string",
                                                value: "string",
                                            }],
                                            imageUrl: "string",
                                            subtitle: "string",
                                        },
                                        plainTextMessage: {
                                            value: "string",
                                        },
                                        ssmlMessage: {
                                            value: "string",
                                        },
                                    },
                                    variations: [{
                                        customPayload: {
                                            value: "string",
                                        },
                                        imageResponseCard: {
                                            title: "string",
                                            buttons: [{
                                                text: "string",
                                                value: "string",
                                            }],
                                            imageUrl: "string",
                                            subtitle: "string",
                                        },
                                        plainTextMessage: {
                                            value: "string",
                                        },
                                        ssmlMessage: {
                                            value: "string",
                                        },
                                    }],
                                }],
                            },
                        },
                    },
                    successNextStep: {
                        dialogAction: {
                            type: "string",
                            slotToElicit: "string",
                            suppressNextMessage: false,
                        },
                        intent: {
                            name: "string",
                            slots: [{
                                mapBlockKey: "string",
                                shape: "string",
                                value: {
                                    interpretedValue: "string",
                                },
                            }],
                        },
                        sessionAttributes: {
                            string: "string",
                        },
                    },
                    successResponse: {
                        allowInterrupt: false,
                        messageGroups: [{
                            message: {
                                customPayload: {
                                    value: "string",
                                },
                                imageResponseCard: {
                                    title: "string",
                                    buttons: [{
                                        text: "string",
                                        value: "string",
                                    }],
                                    imageUrl: "string",
                                    subtitle: "string",
                                },
                                plainTextMessage: {
                                    value: "string",
                                },
                                ssmlMessage: {
                                    value: "string",
                                },
                            },
                            variations: [{
                                customPayload: {
                                    value: "string",
                                },
                                imageResponseCard: {
                                    title: "string",
                                    buttons: [{
                                        text: "string",
                                        value: "string",
                                    }],
                                    imageUrl: "string",
                                    subtitle: "string",
                                },
                                plainTextMessage: {
                                    value: "string",
                                },
                                ssmlMessage: {
                                    value: "string",
                                },
                            }],
                        }],
                    },
                    timeoutConditional: {
                        active: false,
                        conditionalBranches: [{
                            name: "string",
                            condition: {
                                expressionString: "string",
                            },
                            nextStep: {
                                dialogAction: {
                                    type: "string",
                                    slotToElicit: "string",
                                    suppressNextMessage: false,
                                },
                                intent: {
                                    name: "string",
                                    slots: [{
                                        mapBlockKey: "string",
                                        shape: "string",
                                        value: {
                                            interpretedValue: "string",
                                        },
                                    }],
                                },
                                sessionAttributes: {
                                    string: "string",
                                },
                            },
                            response: {
                                allowInterrupt: false,
                                messageGroups: [{
                                    message: {
                                        customPayload: {
                                            value: "string",
                                        },
                                        imageResponseCard: {
                                            title: "string",
                                            buttons: [{
                                                text: "string",
                                                value: "string",
                                            }],
                                            imageUrl: "string",
                                            subtitle: "string",
                                        },
                                        plainTextMessage: {
                                            value: "string",
                                        },
                                        ssmlMessage: {
                                            value: "string",
                                        },
                                    },
                                    variations: [{
                                        customPayload: {
                                            value: "string",
                                        },
                                        imageResponseCard: {
                                            title: "string",
                                            buttons: [{
                                                text: "string",
                                                value: "string",
                                            }],
                                            imageUrl: "string",
                                            subtitle: "string",
                                        },
                                        plainTextMessage: {
                                            value: "string",
                                        },
                                        ssmlMessage: {
                                            value: "string",
                                        },
                                    }],
                                }],
                            },
                        }],
                        defaultBranch: {
                            nextStep: {
                                dialogAction: {
                                    type: "string",
                                    slotToElicit: "string",
                                    suppressNextMessage: false,
                                },
                                intent: {
                                    name: "string",
                                    slots: [{
                                        mapBlockKey: "string",
                                        shape: "string",
                                        value: {
                                            interpretedValue: "string",
                                        },
                                    }],
                                },
                                sessionAttributes: {
                                    string: "string",
                                },
                            },
                            response: {
                                allowInterrupt: false,
                                messageGroups: [{
                                    message: {
                                        customPayload: {
                                            value: "string",
                                        },
                                        imageResponseCard: {
                                            title: "string",
                                            buttons: [{
                                                text: "string",
                                                value: "string",
                                            }],
                                            imageUrl: "string",
                                            subtitle: "string",
                                        },
                                        plainTextMessage: {
                                            value: "string",
                                        },
                                        ssmlMessage: {
                                            value: "string",
                                        },
                                    },
                                    variations: [{
                                        customPayload: {
                                            value: "string",
                                        },
                                        imageResponseCard: {
                                            title: "string",
                                            buttons: [{
                                                text: "string",
                                                value: "string",
                                            }],
                                            imageUrl: "string",
                                            subtitle: "string",
                                        },
                                        plainTextMessage: {
                                            value: "string",
                                        },
                                        ssmlMessage: {
                                            value: "string",
                                        },
                                    }],
                                }],
                            },
                        },
                    },
                    timeoutNextStep: {
                        dialogAction: {
                            type: "string",
                            slotToElicit: "string",
                            suppressNextMessage: false,
                        },
                        intent: {
                            name: "string",
                            slots: [{
                                mapBlockKey: "string",
                                shape: "string",
                                value: {
                                    interpretedValue: "string",
                                },
                            }],
                        },
                        sessionAttributes: {
                            string: "string",
                        },
                    },
                    timeoutResponse: {
                        allowInterrupt: false,
                        messageGroups: [{
                            message: {
                                customPayload: {
                                    value: "string",
                                },
                                imageResponseCard: {
                                    title: "string",
                                    buttons: [{
                                        text: "string",
                                        value: "string",
                                    }],
                                    imageUrl: "string",
                                    subtitle: "string",
                                },
                                plainTextMessage: {
                                    value: "string",
                                },
                                ssmlMessage: {
                                    value: "string",
                                },
                            },
                            variations: [{
                                customPayload: {
                                    value: "string",
                                },
                                imageResponseCard: {
                                    title: "string",
                                    buttons: [{
                                        text: "string",
                                        value: "string",
                                    }],
                                    imageUrl: "string",
                                    subtitle: "string",
                                },
                                plainTextMessage: {
                                    value: "string",
                                },
                                ssmlMessage: {
                                    value: "string",
                                },
                            }],
                        }],
                    },
                },
            },
            confirmationConditional: {
                active: false,
                conditionalBranches: [{
                    name: "string",
                    condition: {
                        expressionString: "string",
                    },
                    nextStep: {
                        dialogAction: {
                            type: "string",
                            slotToElicit: "string",
                            suppressNextMessage: false,
                        },
                        intent: {
                            name: "string",
                            slots: [{
                                mapBlockKey: "string",
                                shape: "string",
                                value: {
                                    interpretedValue: "string",
                                },
                            }],
                        },
                        sessionAttributes: {
                            string: "string",
                        },
                    },
                    response: {
                        allowInterrupt: false,
                        messageGroups: [{
                            message: {
                                customPayload: {
                                    value: "string",
                                },
                                imageResponseCard: {
                                    title: "string",
                                    buttons: [{
                                        text: "string",
                                        value: "string",
                                    }],
                                    imageUrl: "string",
                                    subtitle: "string",
                                },
                                plainTextMessage: {
                                    value: "string",
                                },
                                ssmlMessage: {
                                    value: "string",
                                },
                            },
                            variations: [{
                                customPayload: {
                                    value: "string",
                                },
                                imageResponseCard: {
                                    title: "string",
                                    buttons: [{
                                        text: "string",
                                        value: "string",
                                    }],
                                    imageUrl: "string",
                                    subtitle: "string",
                                },
                                plainTextMessage: {
                                    value: "string",
                                },
                                ssmlMessage: {
                                    value: "string",
                                },
                            }],
                        }],
                    },
                }],
                defaultBranch: {
                    nextStep: {
                        dialogAction: {
                            type: "string",
                            slotToElicit: "string",
                            suppressNextMessage: false,
                        },
                        intent: {
                            name: "string",
                            slots: [{
                                mapBlockKey: "string",
                                shape: "string",
                                value: {
                                    interpretedValue: "string",
                                },
                            }],
                        },
                        sessionAttributes: {
                            string: "string",
                        },
                    },
                    response: {
                        allowInterrupt: false,
                        messageGroups: [{
                            message: {
                                customPayload: {
                                    value: "string",
                                },
                                imageResponseCard: {
                                    title: "string",
                                    buttons: [{
                                        text: "string",
                                        value: "string",
                                    }],
                                    imageUrl: "string",
                                    subtitle: "string",
                                },
                                plainTextMessage: {
                                    value: "string",
                                },
                                ssmlMessage: {
                                    value: "string",
                                },
                            },
                            variations: [{
                                customPayload: {
                                    value: "string",
                                },
                                imageResponseCard: {
                                    title: "string",
                                    buttons: [{
                                        text: "string",
                                        value: "string",
                                    }],
                                    imageUrl: "string",
                                    subtitle: "string",
                                },
                                plainTextMessage: {
                                    value: "string",
                                },
                                ssmlMessage: {
                                    value: "string",
                                },
                            }],
                        }],
                    },
                },
            },
            confirmationNextStep: {
                dialogAction: {
                    type: "string",
                    slotToElicit: "string",
                    suppressNextMessage: false,
                },
                intent: {
                    name: "string",
                    slots: [{
                        mapBlockKey: "string",
                        shape: "string",
                        value: {
                            interpretedValue: "string",
                        },
                    }],
                },
                sessionAttributes: {
                    string: "string",
                },
            },
            confirmationResponse: {
                allowInterrupt: false,
                messageGroups: [{
                    message: {
                        customPayload: {
                            value: "string",
                        },
                        imageResponseCard: {
                            title: "string",
                            buttons: [{
                                text: "string",
                                value: "string",
                            }],
                            imageUrl: "string",
                            subtitle: "string",
                        },
                        plainTextMessage: {
                            value: "string",
                        },
                        ssmlMessage: {
                            value: "string",
                        },
                    },
                    variations: [{
                        customPayload: {
                            value: "string",
                        },
                        imageResponseCard: {
                            title: "string",
                            buttons: [{
                                text: "string",
                                value: "string",
                            }],
                            imageUrl: "string",
                            subtitle: "string",
                        },
                        plainTextMessage: {
                            value: "string",
                        },
                        ssmlMessage: {
                            value: "string",
                        },
                    }],
                }],
            },
            declinationConditional: {
                active: false,
                conditionalBranches: [{
                    name: "string",
                    condition: {
                        expressionString: "string",
                    },
                    nextStep: {
                        dialogAction: {
                            type: "string",
                            slotToElicit: "string",
                            suppressNextMessage: false,
                        },
                        intent: {
                            name: "string",
                            slots: [{
                                mapBlockKey: "string",
                                shape: "string",
                                value: {
                                    interpretedValue: "string",
                                },
                            }],
                        },
                        sessionAttributes: {
                            string: "string",
                        },
                    },
                    response: {
                        allowInterrupt: false,
                        messageGroups: [{
                            message: {
                                customPayload: {
                                    value: "string",
                                },
                                imageResponseCard: {
                                    title: "string",
                                    buttons: [{
                                        text: "string",
                                        value: "string",
                                    }],
                                    imageUrl: "string",
                                    subtitle: "string",
                                },
                                plainTextMessage: {
                                    value: "string",
                                },
                                ssmlMessage: {
                                    value: "string",
                                },
                            },
                            variations: [{
                                customPayload: {
                                    value: "string",
                                },
                                imageResponseCard: {
                                    title: "string",
                                    buttons: [{
                                        text: "string",
                                        value: "string",
                                    }],
                                    imageUrl: "string",
                                    subtitle: "string",
                                },
                                plainTextMessage: {
                                    value: "string",
                                },
                                ssmlMessage: {
                                    value: "string",
                                },
                            }],
                        }],
                    },
                }],
                defaultBranch: {
                    nextStep: {
                        dialogAction: {
                            type: "string",
                            slotToElicit: "string",
                            suppressNextMessage: false,
                        },
                        intent: {
                            name: "string",
                            slots: [{
                                mapBlockKey: "string",
                                shape: "string",
                                value: {
                                    interpretedValue: "string",
                                },
                            }],
                        },
                        sessionAttributes: {
                            string: "string",
                        },
                    },
                    response: {
                        allowInterrupt: false,
                        messageGroups: [{
                            message: {
                                customPayload: {
                                    value: "string",
                                },
                                imageResponseCard: {
                                    title: "string",
                                    buttons: [{
                                        text: "string",
                                        value: "string",
                                    }],
                                    imageUrl: "string",
                                    subtitle: "string",
                                },
                                plainTextMessage: {
                                    value: "string",
                                },
                                ssmlMessage: {
                                    value: "string",
                                },
                            },
                            variations: [{
                                customPayload: {
                                    value: "string",
                                },
                                imageResponseCard: {
                                    title: "string",
                                    buttons: [{
                                        text: "string",
                                        value: "string",
                                    }],
                                    imageUrl: "string",
                                    subtitle: "string",
                                },
                                plainTextMessage: {
                                    value: "string",
                                },
                                ssmlMessage: {
                                    value: "string",
                                },
                            }],
                        }],
                    },
                },
            },
            declinationNextStep: {
                dialogAction: {
                    type: "string",
                    slotToElicit: "string",
                    suppressNextMessage: false,
                },
                intent: {
                    name: "string",
                    slots: [{
                        mapBlockKey: "string",
                        shape: "string",
                        value: {
                            interpretedValue: "string",
                        },
                    }],
                },
                sessionAttributes: {
                    string: "string",
                },
            },
            declinationResponse: {
                allowInterrupt: false,
                messageGroups: [{
                    message: {
                        customPayload: {
                            value: "string",
                        },
                        imageResponseCard: {
                            title: "string",
                            buttons: [{
                                text: "string",
                                value: "string",
                            }],
                            imageUrl: "string",
                            subtitle: "string",
                        },
                        plainTextMessage: {
                            value: "string",
                        },
                        ssmlMessage: {
                            value: "string",
                        },
                    },
                    variations: [{
                        customPayload: {
                            value: "string",
                        },
                        imageResponseCard: {
                            title: "string",
                            buttons: [{
                                text: "string",
                                value: "string",
                            }],
                            imageUrl: "string",
                            subtitle: "string",
                        },
                        plainTextMessage: {
                            value: "string",
                        },
                        ssmlMessage: {
                            value: "string",
                        },
                    }],
                }],
            },
            elicitationCodeHook: {
                enableCodeHookInvocation: false,
                invocationLabel: "string",
            },
            failureConditional: {
                active: false,
                conditionalBranches: [{
                    name: "string",
                    condition: {
                        expressionString: "string",
                    },
                    nextStep: {
                        dialogAction: {
                            type: "string",
                            slotToElicit: "string",
                            suppressNextMessage: false,
                        },
                        intent: {
                            name: "string",
                            slots: [{
                                mapBlockKey: "string",
                                shape: "string",
                                value: {
                                    interpretedValue: "string",
                                },
                            }],
                        },
                        sessionAttributes: {
                            string: "string",
                        },
                    },
                    response: {
                        allowInterrupt: false,
                        messageGroups: [{
                            message: {
                                customPayload: {
                                    value: "string",
                                },
                                imageResponseCard: {
                                    title: "string",
                                    buttons: [{
                                        text: "string",
                                        value: "string",
                                    }],
                                    imageUrl: "string",
                                    subtitle: "string",
                                },
                                plainTextMessage: {
                                    value: "string",
                                },
                                ssmlMessage: {
                                    value: "string",
                                },
                            },
                            variations: [{
                                customPayload: {
                                    value: "string",
                                },
                                imageResponseCard: {
                                    title: "string",
                                    buttons: [{
                                        text: "string",
                                        value: "string",
                                    }],
                                    imageUrl: "string",
                                    subtitle: "string",
                                },
                                plainTextMessage: {
                                    value: "string",
                                },
                                ssmlMessage: {
                                    value: "string",
                                },
                            }],
                        }],
                    },
                }],
                defaultBranch: {
                    nextStep: {
                        dialogAction: {
                            type: "string",
                            slotToElicit: "string",
                            suppressNextMessage: false,
                        },
                        intent: {
                            name: "string",
                            slots: [{
                                mapBlockKey: "string",
                                shape: "string",
                                value: {
                                    interpretedValue: "string",
                                },
                            }],
                        },
                        sessionAttributes: {
                            string: "string",
                        },
                    },
                    response: {
                        allowInterrupt: false,
                        messageGroups: [{
                            message: {
                                customPayload: {
                                    value: "string",
                                },
                                imageResponseCard: {
                                    title: "string",
                                    buttons: [{
                                        text: "string",
                                        value: "string",
                                    }],
                                    imageUrl: "string",
                                    subtitle: "string",
                                },
                                plainTextMessage: {
                                    value: "string",
                                },
                                ssmlMessage: {
                                    value: "string",
                                },
                            },
                            variations: [{
                                customPayload: {
                                    value: "string",
                                },
                                imageResponseCard: {
                                    title: "string",
                                    buttons: [{
                                        text: "string",
                                        value: "string",
                                    }],
                                    imageUrl: "string",
                                    subtitle: "string",
                                },
                                plainTextMessage: {
                                    value: "string",
                                },
                                ssmlMessage: {
                                    value: "string",
                                },
                            }],
                        }],
                    },
                },
            },
            failureNextStep: {
                dialogAction: {
                    type: "string",
                    slotToElicit: "string",
                    suppressNextMessage: false,
                },
                intent: {
                    name: "string",
                    slots: [{
                        mapBlockKey: "string",
                        shape: "string",
                        value: {
                            interpretedValue: "string",
                        },
                    }],
                },
                sessionAttributes: {
                    string: "string",
                },
            },
            failureResponse: {
                allowInterrupt: false,
                messageGroups: [{
                    message: {
                        customPayload: {
                            value: "string",
                        },
                        imageResponseCard: {
                            title: "string",
                            buttons: [{
                                text: "string",
                                value: "string",
                            }],
                            imageUrl: "string",
                            subtitle: "string",
                        },
                        plainTextMessage: {
                            value: "string",
                        },
                        ssmlMessage: {
                            value: "string",
                        },
                    },
                    variations: [{
                        customPayload: {
                            value: "string",
                        },
                        imageResponseCard: {
                            title: "string",
                            buttons: [{
                                text: "string",
                                value: "string",
                            }],
                            imageUrl: "string",
                            subtitle: "string",
                        },
                        plainTextMessage: {
                            value: "string",
                        },
                        ssmlMessage: {
                            value: "string",
                        },
                    }],
                }],
            },
            promptSpecification: {
                maxRetries: 0,
                allowInterrupt: false,
                messageGroups: [{
                    message: {
                        customPayload: {
                            value: "string",
                        },
                        imageResponseCard: {
                            title: "string",
                            buttons: [{
                                text: "string",
                                value: "string",
                            }],
                            imageUrl: "string",
                            subtitle: "string",
                        },
                        plainTextMessage: {
                            value: "string",
                        },
                        ssmlMessage: {
                            value: "string",
                        },
                    },
                    variations: [{
                        customPayload: {
                            value: "string",
                        },
                        imageResponseCard: {
                            title: "string",
                            buttons: [{
                                text: "string",
                                value: "string",
                            }],
                            imageUrl: "string",
                            subtitle: "string",
                        },
                        plainTextMessage: {
                            value: "string",
                        },
                        ssmlMessage: {
                            value: "string",
                        },
                    }],
                }],
                messageSelectionStrategy: "string",
                promptAttemptsSpecifications: [{
                    mapBlockKey: "string",
                    allowInterrupt: false,
                    allowedInputTypes: {
                        allowAudioInput: false,
                        allowDtmfInput: false,
                    },
                    audioAndDtmfInputSpecification: {
                        startTimeoutMs: 0,
                        audioSpecification: {
                            endTimeoutMs: 0,
                            maxLengthMs: 0,
                        },
                        dtmfSpecification: {
                            deletionCharacter: "string",
                            endCharacter: "string",
                            endTimeoutMs: 0,
                            maxLength: 0,
                        },
                    },
                    textInputSpecification: {
                        startTimeoutMs: 0,
                    },
                }],
            },
        },
        kendraConfiguration: {
            kendraIndex: "string",
            queryFilterString: "string",
            queryFilterStringEnabled: false,
        },
        description: "string",
        name: "string",
        outputContexts: [{
            name: "string",
            timeToLiveInSeconds: 0,
            turnsToLive: 0,
        }],
        parentIntentSignature: "string",
        qnaIntentConfiguration: {
            bedrockModelConfiguration: {
                modelArn: "string",
                customPrompt: "string",
                guardrail: {
                    identifier: "string",
                    version: "string",
                },
                traceStatus: "string",
            },
            dataSourceConfiguration: {
                bedrockKnowledgeStoreConfiguration: {
                    bedrockKnowledgeBaseArn: "string",
                    exactResponse: false,
                    exactResponseFields: {
                        answerField: "string",
                    },
                },
                kendraConfiguration: {
                    kendraIndex: "string",
                    exactResponse: false,
                    queryFilterString: "string",
                    queryFilterStringEnabled: false,
                },
                opensearchConfiguration: {
                    domainEndpoint: "string",
                    indexName: "string",
                    exactResponse: false,
                    exactResponseFields: {
                        answerField: "string",
                        questionField: "string",
                    },
                    includeFields: ["string"],
                },
            },
        },
        region: "string",
        sampleUtterances: [{
            utterance: "string",
        }],
        slotPriorities: [{
            priority: 0,
            slotId: "string",
        }],
        timeouts: {
            create: "string",
            "delete": "string",
            update: "string",
        },
    });
    
    type: aws:lex:V2modelsIntent
    properties:
        botId: string
        botVersion: string
        closingSetting:
            active: false
            closingResponse:
                allowInterrupt: false
                messageGroups:
                    - message:
                        customPayload:
                            value: string
                        imageResponseCard:
                            buttons:
                                - text: string
                                  value: string
                            imageUrl: string
                            subtitle: string
                            title: string
                        plainTextMessage:
                            value: string
                        ssmlMessage:
                            value: string
                      variations:
                        - customPayload:
                            value: string
                          imageResponseCard:
                            buttons:
                                - text: string
                                  value: string
                            imageUrl: string
                            subtitle: string
                            title: string
                          plainTextMessage:
                            value: string
                          ssmlMessage:
                            value: string
            conditional:
                active: false
                conditionalBranches:
                    - condition:
                        expressionString: string
                      name: string
                      nextStep:
                        dialogAction:
                            slotToElicit: string
                            suppressNextMessage: false
                            type: string
                        intent:
                            name: string
                            slots:
                                - mapBlockKey: string
                                  shape: string
                                  value:
                                    interpretedValue: string
                        sessionAttributes:
                            string: string
                      response:
                        allowInterrupt: false
                        messageGroups:
                            - message:
                                customPayload:
                                    value: string
                                imageResponseCard:
                                    buttons:
                                        - text: string
                                          value: string
                                    imageUrl: string
                                    subtitle: string
                                    title: string
                                plainTextMessage:
                                    value: string
                                ssmlMessage:
                                    value: string
                              variations:
                                - customPayload:
                                    value: string
                                  imageResponseCard:
                                    buttons:
                                        - text: string
                                          value: string
                                    imageUrl: string
                                    subtitle: string
                                    title: string
                                  plainTextMessage:
                                    value: string
                                  ssmlMessage:
                                    value: string
                defaultBranch:
                    nextStep:
                        dialogAction:
                            slotToElicit: string
                            suppressNextMessage: false
                            type: string
                        intent:
                            name: string
                            slots:
                                - mapBlockKey: string
                                  shape: string
                                  value:
                                    interpretedValue: string
                        sessionAttributes:
                            string: string
                    response:
                        allowInterrupt: false
                        messageGroups:
                            - message:
                                customPayload:
                                    value: string
                                imageResponseCard:
                                    buttons:
                                        - text: string
                                          value: string
                                    imageUrl: string
                                    subtitle: string
                                    title: string
                                plainTextMessage:
                                    value: string
                                ssmlMessage:
                                    value: string
                              variations:
                                - customPayload:
                                    value: string
                                  imageResponseCard:
                                    buttons:
                                        - text: string
                                          value: string
                                    imageUrl: string
                                    subtitle: string
                                    title: string
                                  plainTextMessage:
                                    value: string
                                  ssmlMessage:
                                    value: string
            nextStep:
                dialogAction:
                    slotToElicit: string
                    suppressNextMessage: false
                    type: string
                intent:
                    name: string
                    slots:
                        - mapBlockKey: string
                          shape: string
                          value:
                            interpretedValue: string
                sessionAttributes:
                    string: string
        confirmationSetting:
            active: false
            codeHook:
                active: false
                enableCodeHookInvocation: false
                invocationLabel: string
                postCodeHookSpecification:
                    failureConditional:
                        active: false
                        conditionalBranches:
                            - condition:
                                expressionString: string
                              name: string
                              nextStep:
                                dialogAction:
                                    slotToElicit: string
                                    suppressNextMessage: false
                                    type: string
                                intent:
                                    name: string
                                    slots:
                                        - mapBlockKey: string
                                          shape: string
                                          value:
                                            interpretedValue: string
                                sessionAttributes:
                                    string: string
                              response:
                                allowInterrupt: false
                                messageGroups:
                                    - message:
                                        customPayload:
                                            value: string
                                        imageResponseCard:
                                            buttons:
                                                - text: string
                                                  value: string
                                            imageUrl: string
                                            subtitle: string
                                            title: string
                                        plainTextMessage:
                                            value: string
                                        ssmlMessage:
                                            value: string
                                      variations:
                                        - customPayload:
                                            value: string
                                          imageResponseCard:
                                            buttons:
                                                - text: string
                                                  value: string
                                            imageUrl: string
                                            subtitle: string
                                            title: string
                                          plainTextMessage:
                                            value: string
                                          ssmlMessage:
                                            value: string
                        defaultBranch:
                            nextStep:
                                dialogAction:
                                    slotToElicit: string
                                    suppressNextMessage: false
                                    type: string
                                intent:
                                    name: string
                                    slots:
                                        - mapBlockKey: string
                                          shape: string
                                          value:
                                            interpretedValue: string
                                sessionAttributes:
                                    string: string
                            response:
                                allowInterrupt: false
                                messageGroups:
                                    - message:
                                        customPayload:
                                            value: string
                                        imageResponseCard:
                                            buttons:
                                                - text: string
                                                  value: string
                                            imageUrl: string
                                            subtitle: string
                                            title: string
                                        plainTextMessage:
                                            value: string
                                        ssmlMessage:
                                            value: string
                                      variations:
                                        - customPayload:
                                            value: string
                                          imageResponseCard:
                                            buttons:
                                                - text: string
                                                  value: string
                                            imageUrl: string
                                            subtitle: string
                                            title: string
                                          plainTextMessage:
                                            value: string
                                          ssmlMessage:
                                            value: string
                    failureNextStep:
                        dialogAction:
                            slotToElicit: string
                            suppressNextMessage: false
                            type: string
                        intent:
                            name: string
                            slots:
                                - mapBlockKey: string
                                  shape: string
                                  value:
                                    interpretedValue: string
                        sessionAttributes:
                            string: string
                    failureResponse:
                        allowInterrupt: false
                        messageGroups:
                            - message:
                                customPayload:
                                    value: string
                                imageResponseCard:
                                    buttons:
                                        - text: string
                                          value: string
                                    imageUrl: string
                                    subtitle: string
                                    title: string
                                plainTextMessage:
                                    value: string
                                ssmlMessage:
                                    value: string
                              variations:
                                - customPayload:
                                    value: string
                                  imageResponseCard:
                                    buttons:
                                        - text: string
                                          value: string
                                    imageUrl: string
                                    subtitle: string
                                    title: string
                                  plainTextMessage:
                                    value: string
                                  ssmlMessage:
                                    value: string
                    successConditional:
                        active: false
                        conditionalBranches:
                            - condition:
                                expressionString: string
                              name: string
                              nextStep:
                                dialogAction:
                                    slotToElicit: string
                                    suppressNextMessage: false
                                    type: string
                                intent:
                                    name: string
                                    slots:
                                        - mapBlockKey: string
                                          shape: string
                                          value:
                                            interpretedValue: string
                                sessionAttributes:
                                    string: string
                              response:
                                allowInterrupt: false
                                messageGroups:
                                    - message:
                                        customPayload:
                                            value: string
                                        imageResponseCard:
                                            buttons:
                                                - text: string
                                                  value: string
                                            imageUrl: string
                                            subtitle: string
                                            title: string
                                        plainTextMessage:
                                            value: string
                                        ssmlMessage:
                                            value: string
                                      variations:
                                        - customPayload:
                                            value: string
                                          imageResponseCard:
                                            buttons:
                                                - text: string
                                                  value: string
                                            imageUrl: string
                                            subtitle: string
                                            title: string
                                          plainTextMessage:
                                            value: string
                                          ssmlMessage:
                                            value: string
                        defaultBranch:
                            nextStep:
                                dialogAction:
                                    slotToElicit: string
                                    suppressNextMessage: false
                                    type: string
                                intent:
                                    name: string
                                    slots:
                                        - mapBlockKey: string
                                          shape: string
                                          value:
                                            interpretedValue: string
                                sessionAttributes:
                                    string: string
                            response:
                                allowInterrupt: false
                                messageGroups:
                                    - message:
                                        customPayload:
                                            value: string
                                        imageResponseCard:
                                            buttons:
                                                - text: string
                                                  value: string
                                            imageUrl: string
                                            subtitle: string
                                            title: string
                                        plainTextMessage:
                                            value: string
                                        ssmlMessage:
                                            value: string
                                      variations:
                                        - customPayload:
                                            value: string
                                          imageResponseCard:
                                            buttons:
                                                - text: string
                                                  value: string
                                            imageUrl: string
                                            subtitle: string
                                            title: string
                                          plainTextMessage:
                                            value: string
                                          ssmlMessage:
                                            value: string
                    successNextStep:
                        dialogAction:
                            slotToElicit: string
                            suppressNextMessage: false
                            type: string
                        intent:
                            name: string
                            slots:
                                - mapBlockKey: string
                                  shape: string
                                  value:
                                    interpretedValue: string
                        sessionAttributes:
                            string: string
                    successResponse:
                        allowInterrupt: false
                        messageGroups:
                            - message:
                                customPayload:
                                    value: string
                                imageResponseCard:
                                    buttons:
                                        - text: string
                                          value: string
                                    imageUrl: string
                                    subtitle: string
                                    title: string
                                plainTextMessage:
                                    value: string
                                ssmlMessage:
                                    value: string
                              variations:
                                - customPayload:
                                    value: string
                                  imageResponseCard:
                                    buttons:
                                        - text: string
                                          value: string
                                    imageUrl: string
                                    subtitle: string
                                    title: string
                                  plainTextMessage:
                                    value: string
                                  ssmlMessage:
                                    value: string
                    timeoutConditional:
                        active: false
                        conditionalBranches:
                            - condition:
                                expressionString: string
                              name: string
                              nextStep:
                                dialogAction:
                                    slotToElicit: string
                                    suppressNextMessage: false
                                    type: string
                                intent:
                                    name: string
                                    slots:
                                        - mapBlockKey: string
                                          shape: string
                                          value:
                                            interpretedValue: string
                                sessionAttributes:
                                    string: string
                              response:
                                allowInterrupt: false
                                messageGroups:
                                    - message:
                                        customPayload:
                                            value: string
                                        imageResponseCard:
                                            buttons:
                                                - text: string
                                                  value: string
                                            imageUrl: string
                                            subtitle: string
                                            title: string
                                        plainTextMessage:
                                            value: string
                                        ssmlMessage:
                                            value: string
                                      variations:
                                        - customPayload:
                                            value: string
                                          imageResponseCard:
                                            buttons:
                                                - text: string
                                                  value: string
                                            imageUrl: string
                                            subtitle: string
                                            title: string
                                          plainTextMessage:
                                            value: string
                                          ssmlMessage:
                                            value: string
                        defaultBranch:
                            nextStep:
                                dialogAction:
                                    slotToElicit: string
                                    suppressNextMessage: false
                                    type: string
                                intent:
                                    name: string
                                    slots:
                                        - mapBlockKey: string
                                          shape: string
                                          value:
                                            interpretedValue: string
                                sessionAttributes:
                                    string: string
                            response:
                                allowInterrupt: false
                                messageGroups:
                                    - message:
                                        customPayload:
                                            value: string
                                        imageResponseCard:
                                            buttons:
                                                - text: string
                                                  value: string
                                            imageUrl: string
                                            subtitle: string
                                            title: string
                                        plainTextMessage:
                                            value: string
                                        ssmlMessage:
                                            value: string
                                      variations:
                                        - customPayload:
                                            value: string
                                          imageResponseCard:
                                            buttons:
                                                - text: string
                                                  value: string
                                            imageUrl: string
                                            subtitle: string
                                            title: string
                                          plainTextMessage:
                                            value: string
                                          ssmlMessage:
                                            value: string
                    timeoutNextStep:
                        dialogAction:
                            slotToElicit: string
                            suppressNextMessage: false
                            type: string
                        intent:
                            name: string
                            slots:
                                - mapBlockKey: string
                                  shape: string
                                  value:
                                    interpretedValue: string
                        sessionAttributes:
                            string: string
                    timeoutResponse:
                        allowInterrupt: false
                        messageGroups:
                            - message:
                                customPayload:
                                    value: string
                                imageResponseCard:
                                    buttons:
                                        - text: string
                                          value: string
                                    imageUrl: string
                                    subtitle: string
                                    title: string
                                plainTextMessage:
                                    value: string
                                ssmlMessage:
                                    value: string
                              variations:
                                - customPayload:
                                    value: string
                                  imageResponseCard:
                                    buttons:
                                        - text: string
                                          value: string
                                    imageUrl: string
                                    subtitle: string
                                    title: string
                                  plainTextMessage:
                                    value: string
                                  ssmlMessage:
                                    value: string
            confirmationConditional:
                active: false
                conditionalBranches:
                    - condition:
                        expressionString: string
                      name: string
                      nextStep:
                        dialogAction:
                            slotToElicit: string
                            suppressNextMessage: false
                            type: string
                        intent:
                            name: string
                            slots:
                                - mapBlockKey: string
                                  shape: string
                                  value:
                                    interpretedValue: string
                        sessionAttributes:
                            string: string
                      response:
                        allowInterrupt: false
                        messageGroups:
                            - message:
                                customPayload:
                                    value: string
                                imageResponseCard:
                                    buttons:
                                        - text: string
                                          value: string
                                    imageUrl: string
                                    subtitle: string
                                    title: string
                                plainTextMessage:
                                    value: string
                                ssmlMessage:
                                    value: string
                              variations:
                                - customPayload:
                                    value: string
                                  imageResponseCard:
                                    buttons:
                                        - text: string
                                          value: string
                                    imageUrl: string
                                    subtitle: string
                                    title: string
                                  plainTextMessage:
                                    value: string
                                  ssmlMessage:
                                    value: string
                defaultBranch:
                    nextStep:
                        dialogAction:
                            slotToElicit: string
                            suppressNextMessage: false
                            type: string
                        intent:
                            name: string
                            slots:
                                - mapBlockKey: string
                                  shape: string
                                  value:
                                    interpretedValue: string
                        sessionAttributes:
                            string: string
                    response:
                        allowInterrupt: false
                        messageGroups:
                            - message:
                                customPayload:
                                    value: string
                                imageResponseCard:
                                    buttons:
                                        - text: string
                                          value: string
                                    imageUrl: string
                                    subtitle: string
                                    title: string
                                plainTextMessage:
                                    value: string
                                ssmlMessage:
                                    value: string
                              variations:
                                - customPayload:
                                    value: string
                                  imageResponseCard:
                                    buttons:
                                        - text: string
                                          value: string
                                    imageUrl: string
                                    subtitle: string
                                    title: string
                                  plainTextMessage:
                                    value: string
                                  ssmlMessage:
                                    value: string
            confirmationNextStep:
                dialogAction:
                    slotToElicit: string
                    suppressNextMessage: false
                    type: string
                intent:
                    name: string
                    slots:
                        - mapBlockKey: string
                          shape: string
                          value:
                            interpretedValue: string
                sessionAttributes:
                    string: string
            confirmationResponse:
                allowInterrupt: false
                messageGroups:
                    - message:
                        customPayload:
                            value: string
                        imageResponseCard:
                            buttons:
                                - text: string
                                  value: string
                            imageUrl: string
                            subtitle: string
                            title: string
                        plainTextMessage:
                            value: string
                        ssmlMessage:
                            value: string
                      variations:
                        - customPayload:
                            value: string
                          imageResponseCard:
                            buttons:
                                - text: string
                                  value: string
                            imageUrl: string
                            subtitle: string
                            title: string
                          plainTextMessage:
                            value: string
                          ssmlMessage:
                            value: string
            declinationConditional:
                active: false
                conditionalBranches:
                    - condition:
                        expressionString: string
                      name: string
                      nextStep:
                        dialogAction:
                            slotToElicit: string
                            suppressNextMessage: false
                            type: string
                        intent:
                            name: string
                            slots:
                                - mapBlockKey: string
                                  shape: string
                                  value:
                                    interpretedValue: string
                        sessionAttributes:
                            string: string
                      response:
                        allowInterrupt: false
                        messageGroups:
                            - message:
                                customPayload:
                                    value: string
                                imageResponseCard:
                                    buttons:
                                        - text: string
                                          value: string
                                    imageUrl: string
                                    subtitle: string
                                    title: string
                                plainTextMessage:
                                    value: string
                                ssmlMessage:
                                    value: string
                              variations:
                                - customPayload:
                                    value: string
                                  imageResponseCard:
                                    buttons:
                                        - text: string
                                          value: string
                                    imageUrl: string
                                    subtitle: string
                                    title: string
                                  plainTextMessage:
                                    value: string
                                  ssmlMessage:
                                    value: string
                defaultBranch:
                    nextStep:
                        dialogAction:
                            slotToElicit: string
                            suppressNextMessage: false
                            type: string
                        intent:
                            name: string
                            slots:
                                - mapBlockKey: string
                                  shape: string
                                  value:
                                    interpretedValue: string
                        sessionAttributes:
                            string: string
                    response:
                        allowInterrupt: false
                        messageGroups:
                            - message:
                                customPayload:
                                    value: string
                                imageResponseCard:
                                    buttons:
                                        - text: string
                                          value: string
                                    imageUrl: string
                                    subtitle: string
                                    title: string
                                plainTextMessage:
                                    value: string
                                ssmlMessage:
                                    value: string
                              variations:
                                - customPayload:
                                    value: string
                                  imageResponseCard:
                                    buttons:
                                        - text: string
                                          value: string
                                    imageUrl: string
                                    subtitle: string
                                    title: string
                                  plainTextMessage:
                                    value: string
                                  ssmlMessage:
                                    value: string
            declinationNextStep:
                dialogAction:
                    slotToElicit: string
                    suppressNextMessage: false
                    type: string
                intent:
                    name: string
                    slots:
                        - mapBlockKey: string
                          shape: string
                          value:
                            interpretedValue: string
                sessionAttributes:
                    string: string
            declinationResponse:
                allowInterrupt: false
                messageGroups:
                    - message:
                        customPayload:
                            value: string
                        imageResponseCard:
                            buttons:
                                - text: string
                                  value: string
                            imageUrl: string
                            subtitle: string
                            title: string
                        plainTextMessage:
                            value: string
                        ssmlMessage:
                            value: string
                      variations:
                        - customPayload:
                            value: string
                          imageResponseCard:
                            buttons:
                                - text: string
                                  value: string
                            imageUrl: string
                            subtitle: string
                            title: string
                          plainTextMessage:
                            value: string
                          ssmlMessage:
                            value: string
            elicitationCodeHook:
                enableCodeHookInvocation: false
                invocationLabel: string
            failureConditional:
                active: false
                conditionalBranches:
                    - condition:
                        expressionString: string
                      name: string
                      nextStep:
                        dialogAction:
                            slotToElicit: string
                            suppressNextMessage: false
                            type: string
                        intent:
                            name: string
                            slots:
                                - mapBlockKey: string
                                  shape: string
                                  value:
                                    interpretedValue: string
                        sessionAttributes:
                            string: string
                      response:
                        allowInterrupt: false
                        messageGroups:
                            - message:
                                customPayload:
                                    value: string
                                imageResponseCard:
                                    buttons:
                                        - text: string
                                          value: string
                                    imageUrl: string
                                    subtitle: string
                                    title: string
                                plainTextMessage:
                                    value: string
                                ssmlMessage:
                                    value: string
                              variations:
                                - customPayload:
                                    value: string
                                  imageResponseCard:
                                    buttons:
                                        - text: string
                                          value: string
                                    imageUrl: string
                                    subtitle: string
                                    title: string
                                  plainTextMessage:
                                    value: string
                                  ssmlMessage:
                                    value: string
                defaultBranch:
                    nextStep:
                        dialogAction:
                            slotToElicit: string
                            suppressNextMessage: false
                            type: string
                        intent:
                            name: string
                            slots:
                                - mapBlockKey: string
                                  shape: string
                                  value:
                                    interpretedValue: string
                        sessionAttributes:
                            string: string
                    response:
                        allowInterrupt: false
                        messageGroups:
                            - message:
                                customPayload:
                                    value: string
                                imageResponseCard:
                                    buttons:
                                        - text: string
                                          value: string
                                    imageUrl: string
                                    subtitle: string
                                    title: string
                                plainTextMessage:
                                    value: string
                                ssmlMessage:
                                    value: string
                              variations:
                                - customPayload:
                                    value: string
                                  imageResponseCard:
                                    buttons:
                                        - text: string
                                          value: string
                                    imageUrl: string
                                    subtitle: string
                                    title: string
                                  plainTextMessage:
                                    value: string
                                  ssmlMessage:
                                    value: string
            failureNextStep:
                dialogAction:
                    slotToElicit: string
                    suppressNextMessage: false
                    type: string
                intent:
                    name: string
                    slots:
                        - mapBlockKey: string
                          shape: string
                          value:
                            interpretedValue: string
                sessionAttributes:
                    string: string
            failureResponse:
                allowInterrupt: false
                messageGroups:
                    - message:
                        customPayload:
                            value: string
                        imageResponseCard:
                            buttons:
                                - text: string
                                  value: string
                            imageUrl: string
                            subtitle: string
                            title: string
                        plainTextMessage:
                            value: string
                        ssmlMessage:
                            value: string
                      variations:
                        - customPayload:
                            value: string
                          imageResponseCard:
                            buttons:
                                - text: string
                                  value: string
                            imageUrl: string
                            subtitle: string
                            title: string
                          plainTextMessage:
                            value: string
                          ssmlMessage:
                            value: string
            promptSpecification:
                allowInterrupt: false
                maxRetries: 0
                messageGroups:
                    - message:
                        customPayload:
                            value: string
                        imageResponseCard:
                            buttons:
                                - text: string
                                  value: string
                            imageUrl: string
                            subtitle: string
                            title: string
                        plainTextMessage:
                            value: string
                        ssmlMessage:
                            value: string
                      variations:
                        - customPayload:
                            value: string
                          imageResponseCard:
                            buttons:
                                - text: string
                                  value: string
                            imageUrl: string
                            subtitle: string
                            title: string
                          plainTextMessage:
                            value: string
                          ssmlMessage:
                            value: string
                messageSelectionStrategy: string
                promptAttemptsSpecifications:
                    - allowInterrupt: false
                      allowedInputTypes:
                        allowAudioInput: false
                        allowDtmfInput: false
                      audioAndDtmfInputSpecification:
                        audioSpecification:
                            endTimeoutMs: 0
                            maxLengthMs: 0
                        dtmfSpecification:
                            deletionCharacter: string
                            endCharacter: string
                            endTimeoutMs: 0
                            maxLength: 0
                        startTimeoutMs: 0
                      mapBlockKey: string
                      textInputSpecification:
                        startTimeoutMs: 0
        description: string
        dialogCodeHook:
            enabled: false
        fulfillmentCodeHook:
            active: false
            enabled: false
            fulfillmentUpdatesSpecification:
                active: false
                startResponse:
                    allowInterrupt: false
                    delayInSeconds: 0
                    messageGroups:
                        - message:
                            customPayload:
                                value: string
                            imageResponseCard:
                                buttons:
                                    - text: string
                                      value: string
                                imageUrl: string
                                subtitle: string
                                title: string
                            plainTextMessage:
                                value: string
                            ssmlMessage:
                                value: string
                          variations:
                            - customPayload:
                                value: string
                              imageResponseCard:
                                buttons:
                                    - text: string
                                      value: string
                                imageUrl: string
                                subtitle: string
                                title: string
                              plainTextMessage:
                                value: string
                              ssmlMessage:
                                value: string
                timeoutInSeconds: 0
                updateResponse:
                    allowInterrupt: false
                    frequencyInSeconds: 0
                    messageGroups:
                        - message:
                            customPayload:
                                value: string
                            imageResponseCard:
                                buttons:
                                    - text: string
                                      value: string
                                imageUrl: string
                                subtitle: string
                                title: string
                            plainTextMessage:
                                value: string
                            ssmlMessage:
                                value: string
                          variations:
                            - customPayload:
                                value: string
                              imageResponseCard:
                                buttons:
                                    - text: string
                                      value: string
                                imageUrl: string
                                subtitle: string
                                title: string
                              plainTextMessage:
                                value: string
                              ssmlMessage:
                                value: string
            postFulfillmentStatusSpecification:
                failureConditional:
                    active: false
                    conditionalBranches:
                        - condition:
                            expressionString: string
                          name: string
                          nextStep:
                            dialogAction:
                                slotToElicit: string
                                suppressNextMessage: false
                                type: string
                            intent:
                                name: string
                                slots:
                                    - mapBlockKey: string
                                      shape: string
                                      value:
                                        interpretedValue: string
                            sessionAttributes:
                                string: string
                          response:
                            allowInterrupt: false
                            messageGroups:
                                - message:
                                    customPayload:
                                        value: string
                                    imageResponseCard:
                                        buttons:
                                            - text: string
                                              value: string
                                        imageUrl: string
                                        subtitle: string
                                        title: string
                                    plainTextMessage:
                                        value: string
                                    ssmlMessage:
                                        value: string
                                  variations:
                                    - customPayload:
                                        value: string
                                      imageResponseCard:
                                        buttons:
                                            - text: string
                                              value: string
                                        imageUrl: string
                                        subtitle: string
                                        title: string
                                      plainTextMessage:
                                        value: string
                                      ssmlMessage:
                                        value: string
                    defaultBranch:
                        nextStep:
                            dialogAction:
                                slotToElicit: string
                                suppressNextMessage: false
                                type: string
                            intent:
                                name: string
                                slots:
                                    - mapBlockKey: string
                                      shape: string
                                      value:
                                        interpretedValue: string
                            sessionAttributes:
                                string: string
                        response:
                            allowInterrupt: false
                            messageGroups:
                                - message:
                                    customPayload:
                                        value: string
                                    imageResponseCard:
                                        buttons:
                                            - text: string
                                              value: string
                                        imageUrl: string
                                        subtitle: string
                                        title: string
                                    plainTextMessage:
                                        value: string
                                    ssmlMessage:
                                        value: string
                                  variations:
                                    - customPayload:
                                        value: string
                                      imageResponseCard:
                                        buttons:
                                            - text: string
                                              value: string
                                        imageUrl: string
                                        subtitle: string
                                        title: string
                                      plainTextMessage:
                                        value: string
                                      ssmlMessage:
                                        value: string
                failureNextStep:
                    dialogAction:
                        slotToElicit: string
                        suppressNextMessage: false
                        type: string
                    intent:
                        name: string
                        slots:
                            - mapBlockKey: string
                              shape: string
                              value:
                                interpretedValue: string
                    sessionAttributes:
                        string: string
                failureResponse:
                    allowInterrupt: false
                    messageGroups:
                        - message:
                            customPayload:
                                value: string
                            imageResponseCard:
                                buttons:
                                    - text: string
                                      value: string
                                imageUrl: string
                                subtitle: string
                                title: string
                            plainTextMessage:
                                value: string
                            ssmlMessage:
                                value: string
                          variations:
                            - customPayload:
                                value: string
                              imageResponseCard:
                                buttons:
                                    - text: string
                                      value: string
                                imageUrl: string
                                subtitle: string
                                title: string
                              plainTextMessage:
                                value: string
                              ssmlMessage:
                                value: string
                successConditional:
                    active: false
                    conditionalBranches:
                        - condition:
                            expressionString: string
                          name: string
                          nextStep:
                            dialogAction:
                                slotToElicit: string
                                suppressNextMessage: false
                                type: string
                            intent:
                                name: string
                                slots:
                                    - mapBlockKey: string
                                      shape: string
                                      value:
                                        interpretedValue: string
                            sessionAttributes:
                                string: string
                          response:
                            allowInterrupt: false
                            messageGroups:
                                - message:
                                    customPayload:
                                        value: string
                                    imageResponseCard:
                                        buttons:
                                            - text: string
                                              value: string
                                        imageUrl: string
                                        subtitle: string
                                        title: string
                                    plainTextMessage:
                                        value: string
                                    ssmlMessage:
                                        value: string
                                  variations:
                                    - customPayload:
                                        value: string
                                      imageResponseCard:
                                        buttons:
                                            - text: string
                                              value: string
                                        imageUrl: string
                                        subtitle: string
                                        title: string
                                      plainTextMessage:
                                        value: string
                                      ssmlMessage:
                                        value: string
                    defaultBranch:
                        nextStep:
                            dialogAction:
                                slotToElicit: string
                                suppressNextMessage: false
                                type: string
                            intent:
                                name: string
                                slots:
                                    - mapBlockKey: string
                                      shape: string
                                      value:
                                        interpretedValue: string
                            sessionAttributes:
                                string: string
                        response:
                            allowInterrupt: false
                            messageGroups:
                                - message:
                                    customPayload:
                                        value: string
                                    imageResponseCard:
                                        buttons:
                                            - text: string
                                              value: string
                                        imageUrl: string
                                        subtitle: string
                                        title: string
                                    plainTextMessage:
                                        value: string
                                    ssmlMessage:
                                        value: string
                                  variations:
                                    - customPayload:
                                        value: string
                                      imageResponseCard:
                                        buttons:
                                            - text: string
                                              value: string
                                        imageUrl: string
                                        subtitle: string
                                        title: string
                                      plainTextMessage:
                                        value: string
                                      ssmlMessage:
                                        value: string
                successNextStep:
                    dialogAction:
                        slotToElicit: string
                        suppressNextMessage: false
                        type: string
                    intent:
                        name: string
                        slots:
                            - mapBlockKey: string
                              shape: string
                              value:
                                interpretedValue: string
                    sessionAttributes:
                        string: string
                successResponse:
                    allowInterrupt: false
                    messageGroups:
                        - message:
                            customPayload:
                                value: string
                            imageResponseCard:
                                buttons:
                                    - text: string
                                      value: string
                                imageUrl: string
                                subtitle: string
                                title: string
                            plainTextMessage:
                                value: string
                            ssmlMessage:
                                value: string
                          variations:
                            - customPayload:
                                value: string
                              imageResponseCard:
                                buttons:
                                    - text: string
                                      value: string
                                imageUrl: string
                                subtitle: string
                                title: string
                              plainTextMessage:
                                value: string
                              ssmlMessage:
                                value: string
                timeoutConditional:
                    active: false
                    conditionalBranches:
                        - condition:
                            expressionString: string
                          name: string
                          nextStep:
                            dialogAction:
                                slotToElicit: string
                                suppressNextMessage: false
                                type: string
                            intent:
                                name: string
                                slots:
                                    - mapBlockKey: string
                                      shape: string
                                      value:
                                        interpretedValue: string
                            sessionAttributes:
                                string: string
                          response:
                            allowInterrupt: false
                            messageGroups:
                                - message:
                                    customPayload:
                                        value: string
                                    imageResponseCard:
                                        buttons:
                                            - text: string
                                              value: string
                                        imageUrl: string
                                        subtitle: string
                                        title: string
                                    plainTextMessage:
                                        value: string
                                    ssmlMessage:
                                        value: string
                                  variations:
                                    - customPayload:
                                        value: string
                                      imageResponseCard:
                                        buttons:
                                            - text: string
                                              value: string
                                        imageUrl: string
                                        subtitle: string
                                        title: string
                                      plainTextMessage:
                                        value: string
                                      ssmlMessage:
                                        value: string
                    defaultBranch:
                        nextStep:
                            dialogAction:
                                slotToElicit: string
                                suppressNextMessage: false
                                type: string
                            intent:
                                name: string
                                slots:
                                    - mapBlockKey: string
                                      shape: string
                                      value:
                                        interpretedValue: string
                            sessionAttributes:
                                string: string
                        response:
                            allowInterrupt: false
                            messageGroups:
                                - message:
                                    customPayload:
                                        value: string
                                    imageResponseCard:
                                        buttons:
                                            - text: string
                                              value: string
                                        imageUrl: string
                                        subtitle: string
                                        title: string
                                    plainTextMessage:
                                        value: string
                                    ssmlMessage:
                                        value: string
                                  variations:
                                    - customPayload:
                                        value: string
                                      imageResponseCard:
                                        buttons:
                                            - text: string
                                              value: string
                                        imageUrl: string
                                        subtitle: string
                                        title: string
                                      plainTextMessage:
                                        value: string
                                      ssmlMessage:
                                        value: string
                timeoutNextStep:
                    dialogAction:
                        slotToElicit: string
                        suppressNextMessage: false
                        type: string
                    intent:
                        name: string
                        slots:
                            - mapBlockKey: string
                              shape: string
                              value:
                                interpretedValue: string
                    sessionAttributes:
                        string: string
                timeoutResponse:
                    allowInterrupt: false
                    messageGroups:
                        - message:
                            customPayload:
                                value: string
                            imageResponseCard:
                                buttons:
                                    - text: string
                                      value: string
                                imageUrl: string
                                subtitle: string
                                title: string
                            plainTextMessage:
                                value: string
                            ssmlMessage:
                                value: string
                          variations:
                            - customPayload:
                                value: string
                              imageResponseCard:
                                buttons:
                                    - text: string
                                      value: string
                                imageUrl: string
                                subtitle: string
                                title: string
                              plainTextMessage:
                                value: string
                              ssmlMessage:
                                value: string
        initialResponseSetting:
            codeHook:
                active: false
                enableCodeHookInvocation: false
                invocationLabel: string
                postCodeHookSpecification:
                    failureConditional:
                        active: false
                        conditionalBranches:
                            - condition:
                                expressionString: string
                              name: string
                              nextStep:
                                dialogAction:
                                    slotToElicit: string
                                    suppressNextMessage: false
                                    type: string
                                intent:
                                    name: string
                                    slots:
                                        - mapBlockKey: string
                                          shape: string
                                          value:
                                            interpretedValue: string
                                sessionAttributes:
                                    string: string
                              response:
                                allowInterrupt: false
                                messageGroups:
                                    - message:
                                        customPayload:
                                            value: string
                                        imageResponseCard:
                                            buttons:
                                                - text: string
                                                  value: string
                                            imageUrl: string
                                            subtitle: string
                                            title: string
                                        plainTextMessage:
                                            value: string
                                        ssmlMessage:
                                            value: string
                                      variations:
                                        - customPayload:
                                            value: string
                                          imageResponseCard:
                                            buttons:
                                                - text: string
                                                  value: string
                                            imageUrl: string
                                            subtitle: string
                                            title: string
                                          plainTextMessage:
                                            value: string
                                          ssmlMessage:
                                            value: string
                        defaultBranch:
                            nextStep:
                                dialogAction:
                                    slotToElicit: string
                                    suppressNextMessage: false
                                    type: string
                                intent:
                                    name: string
                                    slots:
                                        - mapBlockKey: string
                                          shape: string
                                          value:
                                            interpretedValue: string
                                sessionAttributes:
                                    string: string
                            response:
                                allowInterrupt: false
                                messageGroups:
                                    - message:
                                        customPayload:
                                            value: string
                                        imageResponseCard:
                                            buttons:
                                                - text: string
                                                  value: string
                                            imageUrl: string
                                            subtitle: string
                                            title: string
                                        plainTextMessage:
                                            value: string
                                        ssmlMessage:
                                            value: string
                                      variations:
                                        - customPayload:
                                            value: string
                                          imageResponseCard:
                                            buttons:
                                                - text: string
                                                  value: string
                                            imageUrl: string
                                            subtitle: string
                                            title: string
                                          plainTextMessage:
                                            value: string
                                          ssmlMessage:
                                            value: string
                    failureNextStep:
                        dialogAction:
                            slotToElicit: string
                            suppressNextMessage: false
                            type: string
                        intent:
                            name: string
                            slots:
                                - mapBlockKey: string
                                  shape: string
                                  value:
                                    interpretedValue: string
                        sessionAttributes:
                            string: string
                    failureResponse:
                        allowInterrupt: false
                        messageGroups:
                            - message:
                                customPayload:
                                    value: string
                                imageResponseCard:
                                    buttons:
                                        - text: string
                                          value: string
                                    imageUrl: string
                                    subtitle: string
                                    title: string
                                plainTextMessage:
                                    value: string
                                ssmlMessage:
                                    value: string
                              variations:
                                - customPayload:
                                    value: string
                                  imageResponseCard:
                                    buttons:
                                        - text: string
                                          value: string
                                    imageUrl: string
                                    subtitle: string
                                    title: string
                                  plainTextMessage:
                                    value: string
                                  ssmlMessage:
                                    value: string
                    successConditional:
                        active: false
                        conditionalBranches:
                            - condition:
                                expressionString: string
                              name: string
                              nextStep:
                                dialogAction:
                                    slotToElicit: string
                                    suppressNextMessage: false
                                    type: string
                                intent:
                                    name: string
                                    slots:
                                        - mapBlockKey: string
                                          shape: string
                                          value:
                                            interpretedValue: string
                                sessionAttributes:
                                    string: string
                              response:
                                allowInterrupt: false
                                messageGroups:
                                    - message:
                                        customPayload:
                                            value: string
                                        imageResponseCard:
                                            buttons:
                                                - text: string
                                                  value: string
                                            imageUrl: string
                                            subtitle: string
                                            title: string
                                        plainTextMessage:
                                            value: string
                                        ssmlMessage:
                                            value: string
                                      variations:
                                        - customPayload:
                                            value: string
                                          imageResponseCard:
                                            buttons:
                                                - text: string
                                                  value: string
                                            imageUrl: string
                                            subtitle: string
                                            title: string
                                          plainTextMessage:
                                            value: string
                                          ssmlMessage:
                                            value: string
                        defaultBranch:
                            nextStep:
                                dialogAction:
                                    slotToElicit: string
                                    suppressNextMessage: false
                                    type: string
                                intent:
                                    name: string
                                    slots:
                                        - mapBlockKey: string
                                          shape: string
                                          value:
                                            interpretedValue: string
                                sessionAttributes:
                                    string: string
                            response:
                                allowInterrupt: false
                                messageGroups:
                                    - message:
                                        customPayload:
                                            value: string
                                        imageResponseCard:
                                            buttons:
                                                - text: string
                                                  value: string
                                            imageUrl: string
                                            subtitle: string
                                            title: string
                                        plainTextMessage:
                                            value: string
                                        ssmlMessage:
                                            value: string
                                      variations:
                                        - customPayload:
                                            value: string
                                          imageResponseCard:
                                            buttons:
                                                - text: string
                                                  value: string
                                            imageUrl: string
                                            subtitle: string
                                            title: string
                                          plainTextMessage:
                                            value: string
                                          ssmlMessage:
                                            value: string
                    successNextStep:
                        dialogAction:
                            slotToElicit: string
                            suppressNextMessage: false
                            type: string
                        intent:
                            name: string
                            slots:
                                - mapBlockKey: string
                                  shape: string
                                  value:
                                    interpretedValue: string
                        sessionAttributes:
                            string: string
                    successResponse:
                        allowInterrupt: false
                        messageGroups:
                            - message:
                                customPayload:
                                    value: string
                                imageResponseCard:
                                    buttons:
                                        - text: string
                                          value: string
                                    imageUrl: string
                                    subtitle: string
                                    title: string
                                plainTextMessage:
                                    value: string
                                ssmlMessage:
                                    value: string
                              variations:
                                - customPayload:
                                    value: string
                                  imageResponseCard:
                                    buttons:
                                        - text: string
                                          value: string
                                    imageUrl: string
                                    subtitle: string
                                    title: string
                                  plainTextMessage:
                                    value: string
                                  ssmlMessage:
                                    value: string
                    timeoutConditional:
                        active: false
                        conditionalBranches:
                            - condition:
                                expressionString: string
                              name: string
                              nextStep:
                                dialogAction:
                                    slotToElicit: string
                                    suppressNextMessage: false
                                    type: string
                                intent:
                                    name: string
                                    slots:
                                        - mapBlockKey: string
                                          shape: string
                                          value:
                                            interpretedValue: string
                                sessionAttributes:
                                    string: string
                              response:
                                allowInterrupt: false
                                messageGroups:
                                    - message:
                                        customPayload:
                                            value: string
                                        imageResponseCard:
                                            buttons:
                                                - text: string
                                                  value: string
                                            imageUrl: string
                                            subtitle: string
                                            title: string
                                        plainTextMessage:
                                            value: string
                                        ssmlMessage:
                                            value: string
                                      variations:
                                        - customPayload:
                                            value: string
                                          imageResponseCard:
                                            buttons:
                                                - text: string
                                                  value: string
                                            imageUrl: string
                                            subtitle: string
                                            title: string
                                          plainTextMessage:
                                            value: string
                                          ssmlMessage:
                                            value: string
                        defaultBranch:
                            nextStep:
                                dialogAction:
                                    slotToElicit: string
                                    suppressNextMessage: false
                                    type: string
                                intent:
                                    name: string
                                    slots:
                                        - mapBlockKey: string
                                          shape: string
                                          value:
                                            interpretedValue: string
                                sessionAttributes:
                                    string: string
                            response:
                                allowInterrupt: false
                                messageGroups:
                                    - message:
                                        customPayload:
                                            value: string
                                        imageResponseCard:
                                            buttons:
                                                - text: string
                                                  value: string
                                            imageUrl: string
                                            subtitle: string
                                            title: string
                                        plainTextMessage:
                                            value: string
                                        ssmlMessage:
                                            value: string
                                      variations:
                                        - customPayload:
                                            value: string
                                          imageResponseCard:
                                            buttons:
                                                - text: string
                                                  value: string
                                            imageUrl: string
                                            subtitle: string
                                            title: string
                                          plainTextMessage:
                                            value: string
                                          ssmlMessage:
                                            value: string
                    timeoutNextStep:
                        dialogAction:
                            slotToElicit: string
                            suppressNextMessage: false
                            type: string
                        intent:
                            name: string
                            slots:
                                - mapBlockKey: string
                                  shape: string
                                  value:
                                    interpretedValue: string
                        sessionAttributes:
                            string: string
                    timeoutResponse:
                        allowInterrupt: false
                        messageGroups:
                            - message:
                                customPayload:
                                    value: string
                                imageResponseCard:
                                    buttons:
                                        - text: string
                                          value: string
                                    imageUrl: string
                                    subtitle: string
                                    title: string
                                plainTextMessage:
                                    value: string
                                ssmlMessage:
                                    value: string
                              variations:
                                - customPayload:
                                    value: string
                                  imageResponseCard:
                                    buttons:
                                        - text: string
                                          value: string
                                    imageUrl: string
                                    subtitle: string
                                    title: string
                                  plainTextMessage:
                                    value: string
                                  ssmlMessage:
                                    value: string
            conditional:
                active: false
                conditionalBranches:
                    - condition:
                        expressionString: string
                      name: string
                      nextStep:
                        dialogAction:
                            slotToElicit: string
                            suppressNextMessage: false
                            type: string
                        intent:
                            name: string
                            slots:
                                - mapBlockKey: string
                                  shape: string
                                  value:
                                    interpretedValue: string
                        sessionAttributes:
                            string: string
                      response:
                        allowInterrupt: false
                        messageGroups:
                            - message:
                                customPayload:
                                    value: string
                                imageResponseCard:
                                    buttons:
                                        - text: string
                                          value: string
                                    imageUrl: string
                                    subtitle: string
                                    title: string
                                plainTextMessage:
                                    value: string
                                ssmlMessage:
                                    value: string
                              variations:
                                - customPayload:
                                    value: string
                                  imageResponseCard:
                                    buttons:
                                        - text: string
                                          value: string
                                    imageUrl: string
                                    subtitle: string
                                    title: string
                                  plainTextMessage:
                                    value: string
                                  ssmlMessage:
                                    value: string
                defaultBranch:
                    nextStep:
                        dialogAction:
                            slotToElicit: string
                            suppressNextMessage: false
                            type: string
                        intent:
                            name: string
                            slots:
                                - mapBlockKey: string
                                  shape: string
                                  value:
                                    interpretedValue: string
                        sessionAttributes:
                            string: string
                    response:
                        allowInterrupt: false
                        messageGroups:
                            - message:
                                customPayload:
                                    value: string
                                imageResponseCard:
                                    buttons:
                                        - text: string
                                          value: string
                                    imageUrl: string
                                    subtitle: string
                                    title: string
                                plainTextMessage:
                                    value: string
                                ssmlMessage:
                                    value: string
                              variations:
                                - customPayload:
                                    value: string
                                  imageResponseCard:
                                    buttons:
                                        - text: string
                                          value: string
                                    imageUrl: string
                                    subtitle: string
                                    title: string
                                  plainTextMessage:
                                    value: string
                                  ssmlMessage:
                                    value: string
            initialResponse:
                allowInterrupt: false
                messageGroups:
                    - message:
                        customPayload:
                            value: string
                        imageResponseCard:
                            buttons:
                                - text: string
                                  value: string
                            imageUrl: string
                            subtitle: string
                            title: string
                        plainTextMessage:
                            value: string
                        ssmlMessage:
                            value: string
                      variations:
                        - customPayload:
                            value: string
                          imageResponseCard:
                            buttons:
                                - text: string
                                  value: string
                            imageUrl: string
                            subtitle: string
                            title: string
                          plainTextMessage:
                            value: string
                          ssmlMessage:
                            value: string
            nextStep:
                dialogAction:
                    slotToElicit: string
                    suppressNextMessage: false
                    type: string
                intent:
                    name: string
                    slots:
                        - mapBlockKey: string
                          shape: string
                          value:
                            interpretedValue: string
                sessionAttributes:
                    string: string
        inputContexts:
            - name: string
        kendraConfiguration:
            kendraIndex: string
            queryFilterString: string
            queryFilterStringEnabled: false
        localeId: string
        name: string
        outputContexts:
            - name: string
              timeToLiveInSeconds: 0
              turnsToLive: 0
        parentIntentSignature: string
        qnaIntentConfiguration:
            bedrockModelConfiguration:
                customPrompt: string
                guardrail:
                    identifier: string
                    version: string
                modelArn: string
                traceStatus: string
            dataSourceConfiguration:
                bedrockKnowledgeStoreConfiguration:
                    bedrockKnowledgeBaseArn: string
                    exactResponse: false
                    exactResponseFields:
                        answerField: string
                kendraConfiguration:
                    exactResponse: false
                    kendraIndex: string
                    queryFilterString: string
                    queryFilterStringEnabled: false
                opensearchConfiguration:
                    domainEndpoint: string
                    exactResponse: false
                    exactResponseFields:
                        answerField: string
                        questionField: string
                    includeFields:
                        - string
                    indexName: string
        region: string
        sampleUtterances:
            - utterance: string
        slotPriorities:
            - priority: 0
              slotId: string
        timeouts:
            create: string
            delete: string
            update: string
    

    V2modelsIntent Resource Properties

    To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.

    Inputs

    In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.

    The V2modelsIntent resource accepts the following input properties:

    BotId string
    Identifier of the bot associated with this intent.
    BotVersion string
    Version of the bot associated with this intent.
    LocaleId string
    Identifier of the language and locale where this intent is used. All of the bots, slot types, and slots used by the intent must have the same locale.
    ClosingSetting V2modelsIntentClosingSetting
    Configuration block for the response that Amazon Lex sends to the user when the intent is closed. See closingSetting.
    ConfirmationSetting V2modelsIntentConfirmationSetting
    Configuration block for prompts that Amazon Lex sends to the user to confirm the completion of an intent. If the user answers "no," the settings contain a statement that is sent to the user to end the intent. If you configure this block without prompt_specification.*.prompt_attempts_specification, AWS will provide default configurations for Initial and Retry1 promptAttemptsSpecifications. This will cause Terraform to report differences. Use the confirmationSetting configuration above in the Basic Usage example to avoid differences resulting from AWS default configuration. See confirmationSetting.
    Description string
    Description of the intent. Use the description to help identify the intent in lists.
    DialogCodeHook V2modelsIntentDialogCodeHook
    Configuration block for invoking the alias Lambda function for each user input. You can invoke this Lambda function to personalize user interaction. See dialogCodeHook.
    FulfillmentCodeHook V2modelsIntentFulfillmentCodeHook
    Configuration block for invoking the alias Lambda function when the intent is ready for fulfillment. You can invoke this function to complete the bot's transaction with the user. See fulfillmentCodeHook.
    InitialResponseSetting V2modelsIntentInitialResponseSetting
    Configuration block for the response that is sent to the user at the beginning of a conversation, before eliciting slot values. See initialResponseSetting.
    InputContexts List<V2modelsIntentInputContext>
    Configuration blocks for contexts that must be active for this intent to be considered by Amazon Lex. When an intent has an input context list, Amazon Lex only considers using the intent in an interaction with the user when the specified contexts are included in the active context list for the session. If the contexts are not active, then Amazon Lex will not use the intent. A context can be automatically activated using the outputContexts property or it can be set at runtime. See inputContext.
    KendraConfiguration V2modelsIntentKendraConfiguration
    Configuration block for information required to use the AMAZON.KendraSearchIntent intent to connect to an Amazon Kendra index. The AMAZON.KendraSearchIntent intent is called when Amazon Lex can't determine another intent to invoke. Cannot be used with qnaIntentConfiguration. See kendraConfiguration.
    Name string

    Name of the intent. Intent names must be unique in the locale that contains the intent and cannot match the name of any built-in intent.

    The following arguments are optional:

    OutputContexts List<V2modelsIntentOutputContext>
    Configuration blocks for contexts that the intent activates when it is fulfilled. You can use an output context to indicate the intents that Amazon Lex should consider for the next turn of the conversation with a customer. When you use the outputContextsList property, all of the contexts specified in the list are activated when the intent is fulfilled. You can set up to 10 output contexts. You can also set the number of conversation turns that the context should be active, or the length of time that the context should be active. See outputContext.
    ParentIntentSignature string
    Identifier for the built-in intent to base this intent on.
    QnaIntentConfiguration V2modelsIntentQnaIntentConfiguration
    Configuration block for QnA intent settings. This is used when parentIntentSignature is set to AMAZON.QnAIntent. Cannot be used with kendraConfiguration. See qnaIntentConfiguration.
    Region string
    Region where this resource will be managed. Defaults to the Region set in the provider configuration.
    SampleUtterances List<V2modelsIntentSampleUtterance>
    Configuration block for strings that a user might say to signal the intent. See sampleUtterance.
    SlotPriorities List<V2modelsIntentSlotPriority>
    Configuration block for a new list of slots and their priorities that are contained by the intent. This is ignored on create and only valid for updates. See slotPriority.
    Timeouts V2modelsIntentTimeouts
    BotId string
    Identifier of the bot associated with this intent.
    BotVersion string
    Version of the bot associated with this intent.
    LocaleId string
    Identifier of the language and locale where this intent is used. All of the bots, slot types, and slots used by the intent must have the same locale.
    ClosingSetting V2modelsIntentClosingSettingArgs
    Configuration block for the response that Amazon Lex sends to the user when the intent is closed. See closingSetting.
    ConfirmationSetting V2modelsIntentConfirmationSettingArgs
    Configuration block for prompts that Amazon Lex sends to the user to confirm the completion of an intent. If the user answers "no," the settings contain a statement that is sent to the user to end the intent. If you configure this block without prompt_specification.*.prompt_attempts_specification, AWS will provide default configurations for Initial and Retry1 promptAttemptsSpecifications. This will cause Terraform to report differences. Use the confirmationSetting configuration above in the Basic Usage example to avoid differences resulting from AWS default configuration. See confirmationSetting.
    Description string
    Description of the intent. Use the description to help identify the intent in lists.
    DialogCodeHook V2modelsIntentDialogCodeHookArgs
    Configuration block for invoking the alias Lambda function for each user input. You can invoke this Lambda function to personalize user interaction. See dialogCodeHook.
    FulfillmentCodeHook V2modelsIntentFulfillmentCodeHookArgs
    Configuration block for invoking the alias Lambda function when the intent is ready for fulfillment. You can invoke this function to complete the bot's transaction with the user. See fulfillmentCodeHook.
    InitialResponseSetting V2modelsIntentInitialResponseSettingArgs
    Configuration block for the response that is sent to the user at the beginning of a conversation, before eliciting slot values. See initialResponseSetting.
    InputContexts []V2modelsIntentInputContextArgs
    Configuration blocks for contexts that must be active for this intent to be considered by Amazon Lex. When an intent has an input context list, Amazon Lex only considers using the intent in an interaction with the user when the specified contexts are included in the active context list for the session. If the contexts are not active, then Amazon Lex will not use the intent. A context can be automatically activated using the outputContexts property or it can be set at runtime. See inputContext.
    KendraConfiguration V2modelsIntentKendraConfigurationArgs
    Configuration block for information required to use the AMAZON.KendraSearchIntent intent to connect to an Amazon Kendra index. The AMAZON.KendraSearchIntent intent is called when Amazon Lex can't determine another intent to invoke. Cannot be used with qnaIntentConfiguration. See kendraConfiguration.
    Name string

    Name of the intent. Intent names must be unique in the locale that contains the intent and cannot match the name of any built-in intent.

    The following arguments are optional:

    OutputContexts []V2modelsIntentOutputContextArgs
    Configuration blocks for contexts that the intent activates when it is fulfilled. You can use an output context to indicate the intents that Amazon Lex should consider for the next turn of the conversation with a customer. When you use the outputContextsList property, all of the contexts specified in the list are activated when the intent is fulfilled. You can set up to 10 output contexts. You can also set the number of conversation turns that the context should be active, or the length of time that the context should be active. See outputContext.
    ParentIntentSignature string
    Identifier for the built-in intent to base this intent on.
    QnaIntentConfiguration V2modelsIntentQnaIntentConfigurationArgs
    Configuration block for QnA intent settings. This is used when parentIntentSignature is set to AMAZON.QnAIntent. Cannot be used with kendraConfiguration. See qnaIntentConfiguration.
    Region string
    Region where this resource will be managed. Defaults to the Region set in the provider configuration.
    SampleUtterances []V2modelsIntentSampleUtteranceArgs
    Configuration block for strings that a user might say to signal the intent. See sampleUtterance.
    SlotPriorities []V2modelsIntentSlotPriorityArgs
    Configuration block for a new list of slots and their priorities that are contained by the intent. This is ignored on create and only valid for updates. See slotPriority.
    Timeouts V2modelsIntentTimeoutsArgs
    bot_id string
    Identifier of the bot associated with this intent.
    bot_version string
    Version of the bot associated with this intent.
    locale_id string
    Identifier of the language and locale where this intent is used. All of the bots, slot types, and slots used by the intent must have the same locale.
    closing_setting object
    Configuration block for the response that Amazon Lex sends to the user when the intent is closed. See closingSetting.
    confirmation_setting object
    Configuration block for prompts that Amazon Lex sends to the user to confirm the completion of an intent. If the user answers "no," the settings contain a statement that is sent to the user to end the intent. If you configure this block without prompt_specification.*.prompt_attempts_specification, AWS will provide default configurations for Initial and Retry1 promptAttemptsSpecifications. This will cause Terraform to report differences. Use the confirmationSetting configuration above in the Basic Usage example to avoid differences resulting from AWS default configuration. See confirmationSetting.
    description string
    Description of the intent. Use the description to help identify the intent in lists.
    dialog_code_hook object
    Configuration block for invoking the alias Lambda function for each user input. You can invoke this Lambda function to personalize user interaction. See dialogCodeHook.
    fulfillment_code_hook object
    Configuration block for invoking the alias Lambda function when the intent is ready for fulfillment. You can invoke this function to complete the bot's transaction with the user. See fulfillmentCodeHook.
    initial_response_setting object
    Configuration block for the response that is sent to the user at the beginning of a conversation, before eliciting slot values. See initialResponseSetting.
    input_contexts list(object)
    Configuration blocks for contexts that must be active for this intent to be considered by Amazon Lex. When an intent has an input context list, Amazon Lex only considers using the intent in an interaction with the user when the specified contexts are included in the active context list for the session. If the contexts are not active, then Amazon Lex will not use the intent. A context can be automatically activated using the outputContexts property or it can be set at runtime. See inputContext.
    kendra_configuration object
    Configuration block for information required to use the AMAZON.KendraSearchIntent intent to connect to an Amazon Kendra index. The AMAZON.KendraSearchIntent intent is called when Amazon Lex can't determine another intent to invoke. Cannot be used with qnaIntentConfiguration. See kendraConfiguration.
    name string

    Name of the intent. Intent names must be unique in the locale that contains the intent and cannot match the name of any built-in intent.

    The following arguments are optional:

    output_contexts list(object)
    Configuration blocks for contexts that the intent activates when it is fulfilled. You can use an output context to indicate the intents that Amazon Lex should consider for the next turn of the conversation with a customer. When you use the outputContextsList property, all of the contexts specified in the list are activated when the intent is fulfilled. You can set up to 10 output contexts. You can also set the number of conversation turns that the context should be active, or the length of time that the context should be active. See outputContext.
    parent_intent_signature string
    Identifier for the built-in intent to base this intent on.
    qna_intent_configuration object
    Configuration block for QnA intent settings. This is used when parentIntentSignature is set to AMAZON.QnAIntent. Cannot be used with kendraConfiguration. See qnaIntentConfiguration.
    region string
    Region where this resource will be managed. Defaults to the Region set in the provider configuration.
    sample_utterances list(object)
    Configuration block for strings that a user might say to signal the intent. See sampleUtterance.
    slot_priorities list(object)
    Configuration block for a new list of slots and their priorities that are contained by the intent. This is ignored on create and only valid for updates. See slotPriority.
    timeouts object
    botId String
    Identifier of the bot associated with this intent.
    botVersion String
    Version of the bot associated with this intent.
    localeId String
    Identifier of the language and locale where this intent is used. All of the bots, slot types, and slots used by the intent must have the same locale.
    closingSetting V2modelsIntentClosingSetting
    Configuration block for the response that Amazon Lex sends to the user when the intent is closed. See closingSetting.
    confirmationSetting V2modelsIntentConfirmationSetting
    Configuration block for prompts that Amazon Lex sends to the user to confirm the completion of an intent. If the user answers "no," the settings contain a statement that is sent to the user to end the intent. If you configure this block without prompt_specification.*.prompt_attempts_specification, AWS will provide default configurations for Initial and Retry1 promptAttemptsSpecifications. This will cause Terraform to report differences. Use the confirmationSetting configuration above in the Basic Usage example to avoid differences resulting from AWS default configuration. See confirmationSetting.
    description String
    Description of the intent. Use the description to help identify the intent in lists.
    dialogCodeHook V2modelsIntentDialogCodeHook
    Configuration block for invoking the alias Lambda function for each user input. You can invoke this Lambda function to personalize user interaction. See dialogCodeHook.
    fulfillmentCodeHook V2modelsIntentFulfillmentCodeHook
    Configuration block for invoking the alias Lambda function when the intent is ready for fulfillment. You can invoke this function to complete the bot's transaction with the user. See fulfillmentCodeHook.
    initialResponseSetting V2modelsIntentInitialResponseSetting
    Configuration block for the response that is sent to the user at the beginning of a conversation, before eliciting slot values. See initialResponseSetting.
    inputContexts List<V2modelsIntentInputContext>
    Configuration blocks for contexts that must be active for this intent to be considered by Amazon Lex. When an intent has an input context list, Amazon Lex only considers using the intent in an interaction with the user when the specified contexts are included in the active context list for the session. If the contexts are not active, then Amazon Lex will not use the intent. A context can be automatically activated using the outputContexts property or it can be set at runtime. See inputContext.
    kendraConfiguration V2modelsIntentKendraConfiguration
    Configuration block for information required to use the AMAZON.KendraSearchIntent intent to connect to an Amazon Kendra index. The AMAZON.KendraSearchIntent intent is called when Amazon Lex can't determine another intent to invoke. Cannot be used with qnaIntentConfiguration. See kendraConfiguration.
    name String

    Name of the intent. Intent names must be unique in the locale that contains the intent and cannot match the name of any built-in intent.

    The following arguments are optional:

    outputContexts List<V2modelsIntentOutputContext>
    Configuration blocks for contexts that the intent activates when it is fulfilled. You can use an output context to indicate the intents that Amazon Lex should consider for the next turn of the conversation with a customer. When you use the outputContextsList property, all of the contexts specified in the list are activated when the intent is fulfilled. You can set up to 10 output contexts. You can also set the number of conversation turns that the context should be active, or the length of time that the context should be active. See outputContext.
    parentIntentSignature String
    Identifier for the built-in intent to base this intent on.
    qnaIntentConfiguration V2modelsIntentQnaIntentConfiguration
    Configuration block for QnA intent settings. This is used when parentIntentSignature is set to AMAZON.QnAIntent. Cannot be used with kendraConfiguration. See qnaIntentConfiguration.
    region String
    Region where this resource will be managed. Defaults to the Region set in the provider configuration.
    sampleUtterances List<V2modelsIntentSampleUtterance>
    Configuration block for strings that a user might say to signal the intent. See sampleUtterance.
    slotPriorities List<V2modelsIntentSlotPriority>
    Configuration block for a new list of slots and their priorities that are contained by the intent. This is ignored on create and only valid for updates. See slotPriority.
    timeouts V2modelsIntentTimeouts
    botId string
    Identifier of the bot associated with this intent.
    botVersion string
    Version of the bot associated with this intent.
    localeId string
    Identifier of the language and locale where this intent is used. All of the bots, slot types, and slots used by the intent must have the same locale.
    closingSetting V2modelsIntentClosingSetting
    Configuration block for the response that Amazon Lex sends to the user when the intent is closed. See closingSetting.
    confirmationSetting V2modelsIntentConfirmationSetting
    Configuration block for prompts that Amazon Lex sends to the user to confirm the completion of an intent. If the user answers "no," the settings contain a statement that is sent to the user to end the intent. If you configure this block without prompt_specification.*.prompt_attempts_specification, AWS will provide default configurations for Initial and Retry1 promptAttemptsSpecifications. This will cause Terraform to report differences. Use the confirmationSetting configuration above in the Basic Usage example to avoid differences resulting from AWS default configuration. See confirmationSetting.
    description string
    Description of the intent. Use the description to help identify the intent in lists.
    dialogCodeHook V2modelsIntentDialogCodeHook
    Configuration block for invoking the alias Lambda function for each user input. You can invoke this Lambda function to personalize user interaction. See dialogCodeHook.
    fulfillmentCodeHook V2modelsIntentFulfillmentCodeHook
    Configuration block for invoking the alias Lambda function when the intent is ready for fulfillment. You can invoke this function to complete the bot's transaction with the user. See fulfillmentCodeHook.
    initialResponseSetting V2modelsIntentInitialResponseSetting
    Configuration block for the response that is sent to the user at the beginning of a conversation, before eliciting slot values. See initialResponseSetting.
    inputContexts V2modelsIntentInputContext[]
    Configuration blocks for contexts that must be active for this intent to be considered by Amazon Lex. When an intent has an input context list, Amazon Lex only considers using the intent in an interaction with the user when the specified contexts are included in the active context list for the session. If the contexts are not active, then Amazon Lex will not use the intent. A context can be automatically activated using the outputContexts property or it can be set at runtime. See inputContext.
    kendraConfiguration V2modelsIntentKendraConfiguration
    Configuration block for information required to use the AMAZON.KendraSearchIntent intent to connect to an Amazon Kendra index. The AMAZON.KendraSearchIntent intent is called when Amazon Lex can't determine another intent to invoke. Cannot be used with qnaIntentConfiguration. See kendraConfiguration.
    name string

    Name of the intent. Intent names must be unique in the locale that contains the intent and cannot match the name of any built-in intent.

    The following arguments are optional:

    outputContexts V2modelsIntentOutputContext[]
    Configuration blocks for contexts that the intent activates when it is fulfilled. You can use an output context to indicate the intents that Amazon Lex should consider for the next turn of the conversation with a customer. When you use the outputContextsList property, all of the contexts specified in the list are activated when the intent is fulfilled. You can set up to 10 output contexts. You can also set the number of conversation turns that the context should be active, or the length of time that the context should be active. See outputContext.
    parentIntentSignature string
    Identifier for the built-in intent to base this intent on.
    qnaIntentConfiguration V2modelsIntentQnaIntentConfiguration
    Configuration block for QnA intent settings. This is used when parentIntentSignature is set to AMAZON.QnAIntent. Cannot be used with kendraConfiguration. See qnaIntentConfiguration.
    region string
    Region where this resource will be managed. Defaults to the Region set in the provider configuration.
    sampleUtterances V2modelsIntentSampleUtterance[]
    Configuration block for strings that a user might say to signal the intent. See sampleUtterance.
    slotPriorities V2modelsIntentSlotPriority[]
    Configuration block for a new list of slots and their priorities that are contained by the intent. This is ignored on create and only valid for updates. See slotPriority.
    timeouts V2modelsIntentTimeouts
    bot_id str
    Identifier of the bot associated with this intent.
    bot_version str
    Version of the bot associated with this intent.
    locale_id str
    Identifier of the language and locale where this intent is used. All of the bots, slot types, and slots used by the intent must have the same locale.
    closing_setting V2modelsIntentClosingSettingArgs
    Configuration block for the response that Amazon Lex sends to the user when the intent is closed. See closingSetting.
    confirmation_setting V2modelsIntentConfirmationSettingArgs
    Configuration block for prompts that Amazon Lex sends to the user to confirm the completion of an intent. If the user answers "no," the settings contain a statement that is sent to the user to end the intent. If you configure this block without prompt_specification.*.prompt_attempts_specification, AWS will provide default configurations for Initial and Retry1 promptAttemptsSpecifications. This will cause Terraform to report differences. Use the confirmationSetting configuration above in the Basic Usage example to avoid differences resulting from AWS default configuration. See confirmationSetting.
    description str
    Description of the intent. Use the description to help identify the intent in lists.
    dialog_code_hook V2modelsIntentDialogCodeHookArgs
    Configuration block for invoking the alias Lambda function for each user input. You can invoke this Lambda function to personalize user interaction. See dialogCodeHook.
    fulfillment_code_hook V2modelsIntentFulfillmentCodeHookArgs
    Configuration block for invoking the alias Lambda function when the intent is ready for fulfillment. You can invoke this function to complete the bot's transaction with the user. See fulfillmentCodeHook.
    initial_response_setting V2modelsIntentInitialResponseSettingArgs
    Configuration block for the response that is sent to the user at the beginning of a conversation, before eliciting slot values. See initialResponseSetting.
    input_contexts Sequence[V2modelsIntentInputContextArgs]
    Configuration blocks for contexts that must be active for this intent to be considered by Amazon Lex. When an intent has an input context list, Amazon Lex only considers using the intent in an interaction with the user when the specified contexts are included in the active context list for the session. If the contexts are not active, then Amazon Lex will not use the intent. A context can be automatically activated using the outputContexts property or it can be set at runtime. See inputContext.
    kendra_configuration V2modelsIntentKendraConfigurationArgs
    Configuration block for information required to use the AMAZON.KendraSearchIntent intent to connect to an Amazon Kendra index. The AMAZON.KendraSearchIntent intent is called when Amazon Lex can't determine another intent to invoke. Cannot be used with qnaIntentConfiguration. See kendraConfiguration.
    name str

    Name of the intent. Intent names must be unique in the locale that contains the intent and cannot match the name of any built-in intent.

    The following arguments are optional:

    output_contexts Sequence[V2modelsIntentOutputContextArgs]
    Configuration blocks for contexts that the intent activates when it is fulfilled. You can use an output context to indicate the intents that Amazon Lex should consider for the next turn of the conversation with a customer. When you use the outputContextsList property, all of the contexts specified in the list are activated when the intent is fulfilled. You can set up to 10 output contexts. You can also set the number of conversation turns that the context should be active, or the length of time that the context should be active. See outputContext.
    parent_intent_signature str
    Identifier for the built-in intent to base this intent on.
    qna_intent_configuration V2modelsIntentQnaIntentConfigurationArgs
    Configuration block for QnA intent settings. This is used when parentIntentSignature is set to AMAZON.QnAIntent. Cannot be used with kendraConfiguration. See qnaIntentConfiguration.
    region str
    Region where this resource will be managed. Defaults to the Region set in the provider configuration.
    sample_utterances Sequence[V2modelsIntentSampleUtteranceArgs]
    Configuration block for strings that a user might say to signal the intent. See sampleUtterance.
    slot_priorities Sequence[V2modelsIntentSlotPriorityArgs]
    Configuration block for a new list of slots and their priorities that are contained by the intent. This is ignored on create and only valid for updates. See slotPriority.
    timeouts V2modelsIntentTimeoutsArgs
    botId String
    Identifier of the bot associated with this intent.
    botVersion String
    Version of the bot associated with this intent.
    localeId String
    Identifier of the language and locale where this intent is used. All of the bots, slot types, and slots used by the intent must have the same locale.
    closingSetting Property Map
    Configuration block for the response that Amazon Lex sends to the user when the intent is closed. See closingSetting.
    confirmationSetting Property Map
    Configuration block for prompts that Amazon Lex sends to the user to confirm the completion of an intent. If the user answers "no," the settings contain a statement that is sent to the user to end the intent. If you configure this block without prompt_specification.*.prompt_attempts_specification, AWS will provide default configurations for Initial and Retry1 promptAttemptsSpecifications. This will cause Terraform to report differences. Use the confirmationSetting configuration above in the Basic Usage example to avoid differences resulting from AWS default configuration. See confirmationSetting.
    description String
    Description of the intent. Use the description to help identify the intent in lists.
    dialogCodeHook Property Map
    Configuration block for invoking the alias Lambda function for each user input. You can invoke this Lambda function to personalize user interaction. See dialogCodeHook.
    fulfillmentCodeHook Property Map
    Configuration block for invoking the alias Lambda function when the intent is ready for fulfillment. You can invoke this function to complete the bot's transaction with the user. See fulfillmentCodeHook.
    initialResponseSetting Property Map
    Configuration block for the response that is sent to the user at the beginning of a conversation, before eliciting slot values. See initialResponseSetting.
    inputContexts List<Property Map>
    Configuration blocks for contexts that must be active for this intent to be considered by Amazon Lex. When an intent has an input context list, Amazon Lex only considers using the intent in an interaction with the user when the specified contexts are included in the active context list for the session. If the contexts are not active, then Amazon Lex will not use the intent. A context can be automatically activated using the outputContexts property or it can be set at runtime. See inputContext.
    kendraConfiguration Property Map
    Configuration block for information required to use the AMAZON.KendraSearchIntent intent to connect to an Amazon Kendra index. The AMAZON.KendraSearchIntent intent is called when Amazon Lex can't determine another intent to invoke. Cannot be used with qnaIntentConfiguration. See kendraConfiguration.
    name String

    Name of the intent. Intent names must be unique in the locale that contains the intent and cannot match the name of any built-in intent.

    The following arguments are optional:

    outputContexts List<Property Map>
    Configuration blocks for contexts that the intent activates when it is fulfilled. You can use an output context to indicate the intents that Amazon Lex should consider for the next turn of the conversation with a customer. When you use the outputContextsList property, all of the contexts specified in the list are activated when the intent is fulfilled. You can set up to 10 output contexts. You can also set the number of conversation turns that the context should be active, or the length of time that the context should be active. See outputContext.
    parentIntentSignature String
    Identifier for the built-in intent to base this intent on.
    qnaIntentConfiguration Property Map
    Configuration block for QnA intent settings. This is used when parentIntentSignature is set to AMAZON.QnAIntent. Cannot be used with kendraConfiguration. See qnaIntentConfiguration.
    region String
    Region where this resource will be managed. Defaults to the Region set in the provider configuration.
    sampleUtterances List<Property Map>
    Configuration block for strings that a user might say to signal the intent. See sampleUtterance.
    slotPriorities List<Property Map>
    Configuration block for a new list of slots and their priorities that are contained by the intent. This is ignored on create and only valid for updates. See slotPriority.
    timeouts Property Map

    Outputs

    All input properties are implicitly available as output properties. Additionally, the V2modelsIntent resource produces the following output properties:

    CreationDateTime string
    Timestamp of the date and time that the intent was created.
    Id string
    The provider-assigned unique ID for this managed resource.
    IntentId string
    Unique identifier for the intent.
    LastUpdatedDateTime string
    Timestamp of the last time that the intent was modified.
    CreationDateTime string
    Timestamp of the date and time that the intent was created.
    Id string
    The provider-assigned unique ID for this managed resource.
    IntentId string
    Unique identifier for the intent.
    LastUpdatedDateTime string
    Timestamp of the last time that the intent was modified.
    creation_date_time string
    Timestamp of the date and time that the intent was created.
    id string
    The provider-assigned unique ID for this managed resource.
    intent_id string
    Unique identifier for the intent.
    last_updated_date_time string
    Timestamp of the last time that the intent was modified.
    creationDateTime String
    Timestamp of the date and time that the intent was created.
    id String
    The provider-assigned unique ID for this managed resource.
    intentId String
    Unique identifier for the intent.
    lastUpdatedDateTime String
    Timestamp of the last time that the intent was modified.
    creationDateTime string
    Timestamp of the date and time that the intent was created.
    id string
    The provider-assigned unique ID for this managed resource.
    intentId string
    Unique identifier for the intent.
    lastUpdatedDateTime string
    Timestamp of the last time that the intent was modified.
    creation_date_time str
    Timestamp of the date and time that the intent was created.
    id str
    The provider-assigned unique ID for this managed resource.
    intent_id str
    Unique identifier for the intent.
    last_updated_date_time str
    Timestamp of the last time that the intent was modified.
    creationDateTime String
    Timestamp of the date and time that the intent was created.
    id String
    The provider-assigned unique ID for this managed resource.
    intentId String
    Unique identifier for the intent.
    lastUpdatedDateTime String
    Timestamp of the last time that the intent was modified.

    Look up Existing V2modelsIntent Resource

    Get an existing V2modelsIntent resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.

    public static get(name: string, id: Input<ID>, state?: V2modelsIntentState, opts?: CustomResourceOptions): V2modelsIntent
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            bot_id: Optional[str] = None,
            bot_version: Optional[str] = None,
            closing_setting: Optional[V2modelsIntentClosingSettingArgs] = None,
            confirmation_setting: Optional[V2modelsIntentConfirmationSettingArgs] = None,
            creation_date_time: Optional[str] = None,
            description: Optional[str] = None,
            dialog_code_hook: Optional[V2modelsIntentDialogCodeHookArgs] = None,
            fulfillment_code_hook: Optional[V2modelsIntentFulfillmentCodeHookArgs] = None,
            initial_response_setting: Optional[V2modelsIntentInitialResponseSettingArgs] = None,
            input_contexts: Optional[Sequence[V2modelsIntentInputContextArgs]] = None,
            intent_id: Optional[str] = None,
            kendra_configuration: Optional[V2modelsIntentKendraConfigurationArgs] = None,
            last_updated_date_time: Optional[str] = None,
            locale_id: Optional[str] = None,
            name: Optional[str] = None,
            output_contexts: Optional[Sequence[V2modelsIntentOutputContextArgs]] = None,
            parent_intent_signature: Optional[str] = None,
            qna_intent_configuration: Optional[V2modelsIntentQnaIntentConfigurationArgs] = None,
            region: Optional[str] = None,
            sample_utterances: Optional[Sequence[V2modelsIntentSampleUtteranceArgs]] = None,
            slot_priorities: Optional[Sequence[V2modelsIntentSlotPriorityArgs]] = None,
            timeouts: Optional[V2modelsIntentTimeoutsArgs] = None) -> V2modelsIntent
    func GetV2modelsIntent(ctx *Context, name string, id IDInput, state *V2modelsIntentState, opts ...ResourceOption) (*V2modelsIntent, error)
    public static V2modelsIntent Get(string name, Input<string> id, V2modelsIntentState? state, CustomResourceOptions? opts = null)
    public static V2modelsIntent get(String name, Output<String> id, V2modelsIntentState state, CustomResourceOptions options)
    resources:  _:    type: aws:lex:V2modelsIntent    get:      id: ${id}
    import {
      to = aws_lex_v2modelsintent.example
      id = "${id}"
    }
    
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    resource_name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    The following state arguments are supported:
    BotId string
    Identifier of the bot associated with this intent.
    BotVersion string
    Version of the bot associated with this intent.
    ClosingSetting V2modelsIntentClosingSetting
    Configuration block for the response that Amazon Lex sends to the user when the intent is closed. See closingSetting.
    ConfirmationSetting V2modelsIntentConfirmationSetting
    Configuration block for prompts that Amazon Lex sends to the user to confirm the completion of an intent. If the user answers "no," the settings contain a statement that is sent to the user to end the intent. If you configure this block without prompt_specification.*.prompt_attempts_specification, AWS will provide default configurations for Initial and Retry1 promptAttemptsSpecifications. This will cause Terraform to report differences. Use the confirmationSetting configuration above in the Basic Usage example to avoid differences resulting from AWS default configuration. See confirmationSetting.
    CreationDateTime string
    Timestamp of the date and time that the intent was created.
    Description string
    Description of the intent. Use the description to help identify the intent in lists.
    DialogCodeHook V2modelsIntentDialogCodeHook
    Configuration block for invoking the alias Lambda function for each user input. You can invoke this Lambda function to personalize user interaction. See dialogCodeHook.
    FulfillmentCodeHook V2modelsIntentFulfillmentCodeHook
    Configuration block for invoking the alias Lambda function when the intent is ready for fulfillment. You can invoke this function to complete the bot's transaction with the user. See fulfillmentCodeHook.
    InitialResponseSetting V2modelsIntentInitialResponseSetting
    Configuration block for the response that is sent to the user at the beginning of a conversation, before eliciting slot values. See initialResponseSetting.
    InputContexts List<V2modelsIntentInputContext>
    Configuration blocks for contexts that must be active for this intent to be considered by Amazon Lex. When an intent has an input context list, Amazon Lex only considers using the intent in an interaction with the user when the specified contexts are included in the active context list for the session. If the contexts are not active, then Amazon Lex will not use the intent. A context can be automatically activated using the outputContexts property or it can be set at runtime. See inputContext.
    IntentId string
    Unique identifier for the intent.
    KendraConfiguration V2modelsIntentKendraConfiguration
    Configuration block for information required to use the AMAZON.KendraSearchIntent intent to connect to an Amazon Kendra index. The AMAZON.KendraSearchIntent intent is called when Amazon Lex can't determine another intent to invoke. Cannot be used with qnaIntentConfiguration. See kendraConfiguration.
    LastUpdatedDateTime string
    Timestamp of the last time that the intent was modified.
    LocaleId string
    Identifier of the language and locale where this intent is used. All of the bots, slot types, and slots used by the intent must have the same locale.
    Name string

    Name of the intent. Intent names must be unique in the locale that contains the intent and cannot match the name of any built-in intent.

    The following arguments are optional:

    OutputContexts List<V2modelsIntentOutputContext>
    Configuration blocks for contexts that the intent activates when it is fulfilled. You can use an output context to indicate the intents that Amazon Lex should consider for the next turn of the conversation with a customer. When you use the outputContextsList property, all of the contexts specified in the list are activated when the intent is fulfilled. You can set up to 10 output contexts. You can also set the number of conversation turns that the context should be active, or the length of time that the context should be active. See outputContext.
    ParentIntentSignature string
    Identifier for the built-in intent to base this intent on.
    QnaIntentConfiguration V2modelsIntentQnaIntentConfiguration
    Configuration block for QnA intent settings. This is used when parentIntentSignature is set to AMAZON.QnAIntent. Cannot be used with kendraConfiguration. See qnaIntentConfiguration.
    Region string
    Region where this resource will be managed. Defaults to the Region set in the provider configuration.
    SampleUtterances List<V2modelsIntentSampleUtterance>
    Configuration block for strings that a user might say to signal the intent. See sampleUtterance.
    SlotPriorities List<V2modelsIntentSlotPriority>
    Configuration block for a new list of slots and their priorities that are contained by the intent. This is ignored on create and only valid for updates. See slotPriority.
    Timeouts V2modelsIntentTimeouts
    BotId string
    Identifier of the bot associated with this intent.
    BotVersion string
    Version of the bot associated with this intent.
    ClosingSetting V2modelsIntentClosingSettingArgs
    Configuration block for the response that Amazon Lex sends to the user when the intent is closed. See closingSetting.
    ConfirmationSetting V2modelsIntentConfirmationSettingArgs
    Configuration block for prompts that Amazon Lex sends to the user to confirm the completion of an intent. If the user answers "no," the settings contain a statement that is sent to the user to end the intent. If you configure this block without prompt_specification.*.prompt_attempts_specification, AWS will provide default configurations for Initial and Retry1 promptAttemptsSpecifications. This will cause Terraform to report differences. Use the confirmationSetting configuration above in the Basic Usage example to avoid differences resulting from AWS default configuration. See confirmationSetting.
    CreationDateTime string
    Timestamp of the date and time that the intent was created.
    Description string
    Description of the intent. Use the description to help identify the intent in lists.
    DialogCodeHook V2modelsIntentDialogCodeHookArgs
    Configuration block for invoking the alias Lambda function for each user input. You can invoke this Lambda function to personalize user interaction. See dialogCodeHook.
    FulfillmentCodeHook V2modelsIntentFulfillmentCodeHookArgs
    Configuration block for invoking the alias Lambda function when the intent is ready for fulfillment. You can invoke this function to complete the bot's transaction with the user. See fulfillmentCodeHook.
    InitialResponseSetting V2modelsIntentInitialResponseSettingArgs
    Configuration block for the response that is sent to the user at the beginning of a conversation, before eliciting slot values. See initialResponseSetting.
    InputContexts []V2modelsIntentInputContextArgs
    Configuration blocks for contexts that must be active for this intent to be considered by Amazon Lex. When an intent has an input context list, Amazon Lex only considers using the intent in an interaction with the user when the specified contexts are included in the active context list for the session. If the contexts are not active, then Amazon Lex will not use the intent. A context can be automatically activated using the outputContexts property or it can be set at runtime. See inputContext.
    IntentId string
    Unique identifier for the intent.
    KendraConfiguration V2modelsIntentKendraConfigurationArgs
    Configuration block for information required to use the AMAZON.KendraSearchIntent intent to connect to an Amazon Kendra index. The AMAZON.KendraSearchIntent intent is called when Amazon Lex can't determine another intent to invoke. Cannot be used with qnaIntentConfiguration. See kendraConfiguration.
    LastUpdatedDateTime string
    Timestamp of the last time that the intent was modified.
    LocaleId string
    Identifier of the language and locale where this intent is used. All of the bots, slot types, and slots used by the intent must have the same locale.
    Name string

    Name of the intent. Intent names must be unique in the locale that contains the intent and cannot match the name of any built-in intent.

    The following arguments are optional:

    OutputContexts []V2modelsIntentOutputContextArgs
    Configuration blocks for contexts that the intent activates when it is fulfilled. You can use an output context to indicate the intents that Amazon Lex should consider for the next turn of the conversation with a customer. When you use the outputContextsList property, all of the contexts specified in the list are activated when the intent is fulfilled. You can set up to 10 output contexts. You can also set the number of conversation turns that the context should be active, or the length of time that the context should be active. See outputContext.
    ParentIntentSignature string
    Identifier for the built-in intent to base this intent on.
    QnaIntentConfiguration V2modelsIntentQnaIntentConfigurationArgs
    Configuration block for QnA intent settings. This is used when parentIntentSignature is set to AMAZON.QnAIntent. Cannot be used with kendraConfiguration. See qnaIntentConfiguration.
    Region string
    Region where this resource will be managed. Defaults to the Region set in the provider configuration.
    SampleUtterances []V2modelsIntentSampleUtteranceArgs
    Configuration block for strings that a user might say to signal the intent. See sampleUtterance.
    SlotPriorities []V2modelsIntentSlotPriorityArgs
    Configuration block for a new list of slots and their priorities that are contained by the intent. This is ignored on create and only valid for updates. See slotPriority.
    Timeouts V2modelsIntentTimeoutsArgs
    bot_id string
    Identifier of the bot associated with this intent.
    bot_version string
    Version of the bot associated with this intent.
    closing_setting object
    Configuration block for the response that Amazon Lex sends to the user when the intent is closed. See closingSetting.
    confirmation_setting object
    Configuration block for prompts that Amazon Lex sends to the user to confirm the completion of an intent. If the user answers "no," the settings contain a statement that is sent to the user to end the intent. If you configure this block without prompt_specification.*.prompt_attempts_specification, AWS will provide default configurations for Initial and Retry1 promptAttemptsSpecifications. This will cause Terraform to report differences. Use the confirmationSetting configuration above in the Basic Usage example to avoid differences resulting from AWS default configuration. See confirmationSetting.
    creation_date_time string
    Timestamp of the date and time that the intent was created.
    description string
    Description of the intent. Use the description to help identify the intent in lists.
    dialog_code_hook object
    Configuration block for invoking the alias Lambda function for each user input. You can invoke this Lambda function to personalize user interaction. See dialogCodeHook.
    fulfillment_code_hook object
    Configuration block for invoking the alias Lambda function when the intent is ready for fulfillment. You can invoke this function to complete the bot's transaction with the user. See fulfillmentCodeHook.
    initial_response_setting object
    Configuration block for the response that is sent to the user at the beginning of a conversation, before eliciting slot values. See initialResponseSetting.
    input_contexts list(object)
    Configuration blocks for contexts that must be active for this intent to be considered by Amazon Lex. When an intent has an input context list, Amazon Lex only considers using the intent in an interaction with the user when the specified contexts are included in the active context list for the session. If the contexts are not active, then Amazon Lex will not use the intent. A context can be automatically activated using the outputContexts property or it can be set at runtime. See inputContext.
    intent_id string
    Unique identifier for the intent.
    kendra_configuration object
    Configuration block for information required to use the AMAZON.KendraSearchIntent intent to connect to an Amazon Kendra index. The AMAZON.KendraSearchIntent intent is called when Amazon Lex can't determine another intent to invoke. Cannot be used with qnaIntentConfiguration. See kendraConfiguration.
    last_updated_date_time string
    Timestamp of the last time that the intent was modified.
    locale_id string
    Identifier of the language and locale where this intent is used. All of the bots, slot types, and slots used by the intent must have the same locale.
    name string

    Name of the intent. Intent names must be unique in the locale that contains the intent and cannot match the name of any built-in intent.

    The following arguments are optional:

    output_contexts list(object)
    Configuration blocks for contexts that the intent activates when it is fulfilled. You can use an output context to indicate the intents that Amazon Lex should consider for the next turn of the conversation with a customer. When you use the outputContextsList property, all of the contexts specified in the list are activated when the intent is fulfilled. You can set up to 10 output contexts. You can also set the number of conversation turns that the context should be active, or the length of time that the context should be active. See outputContext.
    parent_intent_signature string
    Identifier for the built-in intent to base this intent on.
    qna_intent_configuration object
    Configuration block for QnA intent settings. This is used when parentIntentSignature is set to AMAZON.QnAIntent. Cannot be used with kendraConfiguration. See qnaIntentConfiguration.
    region string
    Region where this resource will be managed. Defaults to the Region set in the provider configuration.
    sample_utterances list(object)
    Configuration block for strings that a user might say to signal the intent. See sampleUtterance.
    slot_priorities list(object)
    Configuration block for a new list of slots and their priorities that are contained by the intent. This is ignored on create and only valid for updates. See slotPriority.
    timeouts object
    botId String
    Identifier of the bot associated with this intent.
    botVersion String
    Version of the bot associated with this intent.
    closingSetting V2modelsIntentClosingSetting
    Configuration block for the response that Amazon Lex sends to the user when the intent is closed. See closingSetting.
    confirmationSetting V2modelsIntentConfirmationSetting
    Configuration block for prompts that Amazon Lex sends to the user to confirm the completion of an intent. If the user answers "no," the settings contain a statement that is sent to the user to end the intent. If you configure this block without prompt_specification.*.prompt_attempts_specification, AWS will provide default configurations for Initial and Retry1 promptAttemptsSpecifications. This will cause Terraform to report differences. Use the confirmationSetting configuration above in the Basic Usage example to avoid differences resulting from AWS default configuration. See confirmationSetting.
    creationDateTime String
    Timestamp of the date and time that the intent was created.
    description String
    Description of the intent. Use the description to help identify the intent in lists.
    dialogCodeHook V2modelsIntentDialogCodeHook
    Configuration block for invoking the alias Lambda function for each user input. You can invoke this Lambda function to personalize user interaction. See dialogCodeHook.
    fulfillmentCodeHook V2modelsIntentFulfillmentCodeHook
    Configuration block for invoking the alias Lambda function when the intent is ready for fulfillment. You can invoke this function to complete the bot's transaction with the user. See fulfillmentCodeHook.
    initialResponseSetting V2modelsIntentInitialResponseSetting
    Configuration block for the response that is sent to the user at the beginning of a conversation, before eliciting slot values. See initialResponseSetting.
    inputContexts List<V2modelsIntentInputContext>
    Configuration blocks for contexts that must be active for this intent to be considered by Amazon Lex. When an intent has an input context list, Amazon Lex only considers using the intent in an interaction with the user when the specified contexts are included in the active context list for the session. If the contexts are not active, then Amazon Lex will not use the intent. A context can be automatically activated using the outputContexts property or it can be set at runtime. See inputContext.
    intentId String
    Unique identifier for the intent.
    kendraConfiguration V2modelsIntentKendraConfiguration
    Configuration block for information required to use the AMAZON.KendraSearchIntent intent to connect to an Amazon Kendra index. The AMAZON.KendraSearchIntent intent is called when Amazon Lex can't determine another intent to invoke. Cannot be used with qnaIntentConfiguration. See kendraConfiguration.
    lastUpdatedDateTime String
    Timestamp of the last time that the intent was modified.
    localeId String
    Identifier of the language and locale where this intent is used. All of the bots, slot types, and slots used by the intent must have the same locale.
    name String

    Name of the intent. Intent names must be unique in the locale that contains the intent and cannot match the name of any built-in intent.

    The following arguments are optional:

    outputContexts List<V2modelsIntentOutputContext>
    Configuration blocks for contexts that the intent activates when it is fulfilled. You can use an output context to indicate the intents that Amazon Lex should consider for the next turn of the conversation with a customer. When you use the outputContextsList property, all of the contexts specified in the list are activated when the intent is fulfilled. You can set up to 10 output contexts. You can also set the number of conversation turns that the context should be active, or the length of time that the context should be active. See outputContext.
    parentIntentSignature String
    Identifier for the built-in intent to base this intent on.
    qnaIntentConfiguration V2modelsIntentQnaIntentConfiguration
    Configuration block for QnA intent settings. This is used when parentIntentSignature is set to AMAZON.QnAIntent. Cannot be used with kendraConfiguration. See qnaIntentConfiguration.
    region String
    Region where this resource will be managed. Defaults to the Region set in the provider configuration.
    sampleUtterances List<V2modelsIntentSampleUtterance>
    Configuration block for strings that a user might say to signal the intent. See sampleUtterance.
    slotPriorities List<V2modelsIntentSlotPriority>
    Configuration block for a new list of slots and their priorities that are contained by the intent. This is ignored on create and only valid for updates. See slotPriority.
    timeouts V2modelsIntentTimeouts
    botId string
    Identifier of the bot associated with this intent.
    botVersion string
    Version of the bot associated with this intent.
    closingSetting V2modelsIntentClosingSetting
    Configuration block for the response that Amazon Lex sends to the user when the intent is closed. See closingSetting.
    confirmationSetting V2modelsIntentConfirmationSetting
    Configuration block for prompts that Amazon Lex sends to the user to confirm the completion of an intent. If the user answers "no," the settings contain a statement that is sent to the user to end the intent. If you configure this block without prompt_specification.*.prompt_attempts_specification, AWS will provide default configurations for Initial and Retry1 promptAttemptsSpecifications. This will cause Terraform to report differences. Use the confirmationSetting configuration above in the Basic Usage example to avoid differences resulting from AWS default configuration. See confirmationSetting.
    creationDateTime string
    Timestamp of the date and time that the intent was created.
    description string
    Description of the intent. Use the description to help identify the intent in lists.
    dialogCodeHook V2modelsIntentDialogCodeHook
    Configuration block for invoking the alias Lambda function for each user input. You can invoke this Lambda function to personalize user interaction. See dialogCodeHook.
    fulfillmentCodeHook V2modelsIntentFulfillmentCodeHook
    Configuration block for invoking the alias Lambda function when the intent is ready for fulfillment. You can invoke this function to complete the bot's transaction with the user. See fulfillmentCodeHook.
    initialResponseSetting V2modelsIntentInitialResponseSetting
    Configuration block for the response that is sent to the user at the beginning of a conversation, before eliciting slot values. See initialResponseSetting.
    inputContexts V2modelsIntentInputContext[]
    Configuration blocks for contexts that must be active for this intent to be considered by Amazon Lex. When an intent has an input context list, Amazon Lex only considers using the intent in an interaction with the user when the specified contexts are included in the active context list for the session. If the contexts are not active, then Amazon Lex will not use the intent. A context can be automatically activated using the outputContexts property or it can be set at runtime. See inputContext.
    intentId string
    Unique identifier for the intent.
    kendraConfiguration V2modelsIntentKendraConfiguration
    Configuration block for information required to use the AMAZON.KendraSearchIntent intent to connect to an Amazon Kendra index. The AMAZON.KendraSearchIntent intent is called when Amazon Lex can't determine another intent to invoke. Cannot be used with qnaIntentConfiguration. See kendraConfiguration.
    lastUpdatedDateTime string
    Timestamp of the last time that the intent was modified.
    localeId string
    Identifier of the language and locale where this intent is used. All of the bots, slot types, and slots used by the intent must have the same locale.
    name string

    Name of the intent. Intent names must be unique in the locale that contains the intent and cannot match the name of any built-in intent.

    The following arguments are optional:

    outputContexts V2modelsIntentOutputContext[]
    Configuration blocks for contexts that the intent activates when it is fulfilled. You can use an output context to indicate the intents that Amazon Lex should consider for the next turn of the conversation with a customer. When you use the outputContextsList property, all of the contexts specified in the list are activated when the intent is fulfilled. You can set up to 10 output contexts. You can also set the number of conversation turns that the context should be active, or the length of time that the context should be active. See outputContext.
    parentIntentSignature string
    Identifier for the built-in intent to base this intent on.
    qnaIntentConfiguration V2modelsIntentQnaIntentConfiguration
    Configuration block for QnA intent settings. This is used when parentIntentSignature is set to AMAZON.QnAIntent. Cannot be used with kendraConfiguration. See qnaIntentConfiguration.
    region string
    Region where this resource will be managed. Defaults to the Region set in the provider configuration.
    sampleUtterances V2modelsIntentSampleUtterance[]
    Configuration block for strings that a user might say to signal the intent. See sampleUtterance.
    slotPriorities V2modelsIntentSlotPriority[]
    Configuration block for a new list of slots and their priorities that are contained by the intent. This is ignored on create and only valid for updates. See slotPriority.
    timeouts V2modelsIntentTimeouts
    bot_id str
    Identifier of the bot associated with this intent.
    bot_version str
    Version of the bot associated with this intent.
    closing_setting V2modelsIntentClosingSettingArgs
    Configuration block for the response that Amazon Lex sends to the user when the intent is closed. See closingSetting.
    confirmation_setting V2modelsIntentConfirmationSettingArgs
    Configuration block for prompts that Amazon Lex sends to the user to confirm the completion of an intent. If the user answers "no," the settings contain a statement that is sent to the user to end the intent. If you configure this block without prompt_specification.*.prompt_attempts_specification, AWS will provide default configurations for Initial and Retry1 promptAttemptsSpecifications. This will cause Terraform to report differences. Use the confirmationSetting configuration above in the Basic Usage example to avoid differences resulting from AWS default configuration. See confirmationSetting.
    creation_date_time str
    Timestamp of the date and time that the intent was created.
    description str
    Description of the intent. Use the description to help identify the intent in lists.
    dialog_code_hook V2modelsIntentDialogCodeHookArgs
    Configuration block for invoking the alias Lambda function for each user input. You can invoke this Lambda function to personalize user interaction. See dialogCodeHook.
    fulfillment_code_hook V2modelsIntentFulfillmentCodeHookArgs
    Configuration block for invoking the alias Lambda function when the intent is ready for fulfillment. You can invoke this function to complete the bot's transaction with the user. See fulfillmentCodeHook.
    initial_response_setting V2modelsIntentInitialResponseSettingArgs
    Configuration block for the response that is sent to the user at the beginning of a conversation, before eliciting slot values. See initialResponseSetting.
    input_contexts Sequence[V2modelsIntentInputContextArgs]
    Configuration blocks for contexts that must be active for this intent to be considered by Amazon Lex. When an intent has an input context list, Amazon Lex only considers using the intent in an interaction with the user when the specified contexts are included in the active context list for the session. If the contexts are not active, then Amazon Lex will not use the intent. A context can be automatically activated using the outputContexts property or it can be set at runtime. See inputContext.
    intent_id str
    Unique identifier for the intent.
    kendra_configuration V2modelsIntentKendraConfigurationArgs
    Configuration block for information required to use the AMAZON.KendraSearchIntent intent to connect to an Amazon Kendra index. The AMAZON.KendraSearchIntent intent is called when Amazon Lex can't determine another intent to invoke. Cannot be used with qnaIntentConfiguration. See kendraConfiguration.
    last_updated_date_time str
    Timestamp of the last time that the intent was modified.
    locale_id str
    Identifier of the language and locale where this intent is used. All of the bots, slot types, and slots used by the intent must have the same locale.
    name str

    Name of the intent. Intent names must be unique in the locale that contains the intent and cannot match the name of any built-in intent.

    The following arguments are optional:

    output_contexts Sequence[V2modelsIntentOutputContextArgs]
    Configuration blocks for contexts that the intent activates when it is fulfilled. You can use an output context to indicate the intents that Amazon Lex should consider for the next turn of the conversation with a customer. When you use the outputContextsList property, all of the contexts specified in the list are activated when the intent is fulfilled. You can set up to 10 output contexts. You can also set the number of conversation turns that the context should be active, or the length of time that the context should be active. See outputContext.
    parent_intent_signature str
    Identifier for the built-in intent to base this intent on.
    qna_intent_configuration V2modelsIntentQnaIntentConfigurationArgs
    Configuration block for QnA intent settings. This is used when parentIntentSignature is set to AMAZON.QnAIntent. Cannot be used with kendraConfiguration. See qnaIntentConfiguration.
    region str
    Region where this resource will be managed. Defaults to the Region set in the provider configuration.
    sample_utterances Sequence[V2modelsIntentSampleUtteranceArgs]
    Configuration block for strings that a user might say to signal the intent. See sampleUtterance.
    slot_priorities Sequence[V2modelsIntentSlotPriorityArgs]
    Configuration block for a new list of slots and their priorities that are contained by the intent. This is ignored on create and only valid for updates. See slotPriority.
    timeouts V2modelsIntentTimeoutsArgs
    botId String
    Identifier of the bot associated with this intent.
    botVersion String
    Version of the bot associated with this intent.
    closingSetting Property Map
    Configuration block for the response that Amazon Lex sends to the user when the intent is closed. See closingSetting.
    confirmationSetting Property Map
    Configuration block for prompts that Amazon Lex sends to the user to confirm the completion of an intent. If the user answers "no," the settings contain a statement that is sent to the user to end the intent. If you configure this block without prompt_specification.*.prompt_attempts_specification, AWS will provide default configurations for Initial and Retry1 promptAttemptsSpecifications. This will cause Terraform to report differences. Use the confirmationSetting configuration above in the Basic Usage example to avoid differences resulting from AWS default configuration. See confirmationSetting.
    creationDateTime String
    Timestamp of the date and time that the intent was created.
    description String
    Description of the intent. Use the description to help identify the intent in lists.
    dialogCodeHook Property Map
    Configuration block for invoking the alias Lambda function for each user input. You can invoke this Lambda function to personalize user interaction. See dialogCodeHook.
    fulfillmentCodeHook Property Map
    Configuration block for invoking the alias Lambda function when the intent is ready for fulfillment. You can invoke this function to complete the bot's transaction with the user. See fulfillmentCodeHook.
    initialResponseSetting Property Map
    Configuration block for the response that is sent to the user at the beginning of a conversation, before eliciting slot values. See initialResponseSetting.
    inputContexts List<Property Map>
    Configuration blocks for contexts that must be active for this intent to be considered by Amazon Lex. When an intent has an input context list, Amazon Lex only considers using the intent in an interaction with the user when the specified contexts are included in the active context list for the session. If the contexts are not active, then Amazon Lex will not use the intent. A context can be automatically activated using the outputContexts property or it can be set at runtime. See inputContext.
    intentId String
    Unique identifier for the intent.
    kendraConfiguration Property Map
    Configuration block for information required to use the AMAZON.KendraSearchIntent intent to connect to an Amazon Kendra index. The AMAZON.KendraSearchIntent intent is called when Amazon Lex can't determine another intent to invoke. Cannot be used with qnaIntentConfiguration. See kendraConfiguration.
    lastUpdatedDateTime String
    Timestamp of the last time that the intent was modified.
    localeId String
    Identifier of the language and locale where this intent is used. All of the bots, slot types, and slots used by the intent must have the same locale.
    name String

    Name of the intent. Intent names must be unique in the locale that contains the intent and cannot match the name of any built-in intent.

    The following arguments are optional:

    outputContexts List<Property Map>
    Configuration blocks for contexts that the intent activates when it is fulfilled. You can use an output context to indicate the intents that Amazon Lex should consider for the next turn of the conversation with a customer. When you use the outputContextsList property, all of the contexts specified in the list are activated when the intent is fulfilled. You can set up to 10 output contexts. You can also set the number of conversation turns that the context should be active, or the length of time that the context should be active. See outputContext.
    parentIntentSignature String
    Identifier for the built-in intent to base this intent on.
    qnaIntentConfiguration Property Map
    Configuration block for QnA intent settings. This is used when parentIntentSignature is set to AMAZON.QnAIntent. Cannot be used with kendraConfiguration. See qnaIntentConfiguration.
    region String
    Region where this resource will be managed. Defaults to the Region set in the provider configuration.
    sampleUtterances List<Property Map>
    Configuration block for strings that a user might say to signal the intent. See sampleUtterance.
    slotPriorities List<Property Map>
    Configuration block for a new list of slots and their priorities that are contained by the intent. This is ignored on create and only valid for updates. See slotPriority.
    timeouts Property Map

    Supporting Types

    Note: There are over 200 nested types for this resource. Only the first 200 types are included in this documentation.

    V2modelsIntentClosingSetting, V2modelsIntentClosingSettingArgs

    Active bool
    Whether an intent's closing response is used. When this field is false, the closing response isn't sent to the user. If the active field isn't specified, the default is true.
    ClosingResponse V2modelsIntentClosingSettingClosingResponse
    Configuration block for response that Amazon Lex sends to the user when the intent is complete. See closingResponse.
    Conditional V2modelsIntentClosingSettingConditional
    Configuration block for list of conditional branches associated with the intent's closing response. These branches are executed when the nextStep attribute is set to EvalutateConditional. See conditional.
    NextStep V2modelsIntentClosingSettingNextStep
    Next step that the bot executes after playing the intent's closing response. See nextStep.
    Active bool
    Whether an intent's closing response is used. When this field is false, the closing response isn't sent to the user. If the active field isn't specified, the default is true.
    ClosingResponse V2modelsIntentClosingSettingClosingResponse
    Configuration block for response that Amazon Lex sends to the user when the intent is complete. See closingResponse.
    Conditional V2modelsIntentClosingSettingConditional
    Configuration block for list of conditional branches associated with the intent's closing response. These branches are executed when the nextStep attribute is set to EvalutateConditional. See conditional.
    NextStep V2modelsIntentClosingSettingNextStep
    Next step that the bot executes after playing the intent's closing response. See nextStep.
    active bool
    Whether an intent's closing response is used. When this field is false, the closing response isn't sent to the user. If the active field isn't specified, the default is true.
    closing_response object
    Configuration block for response that Amazon Lex sends to the user when the intent is complete. See closingResponse.
    conditional object
    Configuration block for list of conditional branches associated with the intent's closing response. These branches are executed when the nextStep attribute is set to EvalutateConditional. See conditional.
    next_step object
    Next step that the bot executes after playing the intent's closing response. See nextStep.
    active Boolean
    Whether an intent's closing response is used. When this field is false, the closing response isn't sent to the user. If the active field isn't specified, the default is true.
    closingResponse V2modelsIntentClosingSettingClosingResponse
    Configuration block for response that Amazon Lex sends to the user when the intent is complete. See closingResponse.
    conditional V2modelsIntentClosingSettingConditional
    Configuration block for list of conditional branches associated with the intent's closing response. These branches are executed when the nextStep attribute is set to EvalutateConditional. See conditional.
    nextStep V2modelsIntentClosingSettingNextStep
    Next step that the bot executes after playing the intent's closing response. See nextStep.
    active boolean
    Whether an intent's closing response is used. When this field is false, the closing response isn't sent to the user. If the active field isn't specified, the default is true.
    closingResponse V2modelsIntentClosingSettingClosingResponse
    Configuration block for response that Amazon Lex sends to the user when the intent is complete. See closingResponse.
    conditional V2modelsIntentClosingSettingConditional
    Configuration block for list of conditional branches associated with the intent's closing response. These branches are executed when the nextStep attribute is set to EvalutateConditional. See conditional.
    nextStep V2modelsIntentClosingSettingNextStep
    Next step that the bot executes after playing the intent's closing response. See nextStep.
    active bool
    Whether an intent's closing response is used. When this field is false, the closing response isn't sent to the user. If the active field isn't specified, the default is true.
    closing_response V2modelsIntentClosingSettingClosingResponse
    Configuration block for response that Amazon Lex sends to the user when the intent is complete. See closingResponse.
    conditional V2modelsIntentClosingSettingConditional
    Configuration block for list of conditional branches associated with the intent's closing response. These branches are executed when the nextStep attribute is set to EvalutateConditional. See conditional.
    next_step V2modelsIntentClosingSettingNextStep
    Next step that the bot executes after playing the intent's closing response. See nextStep.
    active Boolean
    Whether an intent's closing response is used. When this field is false, the closing response isn't sent to the user. If the active field isn't specified, the default is true.
    closingResponse Property Map
    Configuration block for response that Amazon Lex sends to the user when the intent is complete. See closingResponse.
    conditional Property Map
    Configuration block for list of conditional branches associated with the intent's closing response. These branches are executed when the nextStep attribute is set to EvalutateConditional. See conditional.
    nextStep Property Map
    Next step that the bot executes after playing the intent's closing response. See nextStep.

    V2modelsIntentClosingSettingClosingResponse, V2modelsIntentClosingSettingClosingResponseArgs

    AllowInterrupt bool
    Whether the user can interrupt a speech response from Amazon Lex.
    MessageGroups List<V2modelsIntentClosingSettingClosingResponseMessageGroup>
    Configuration blocks for responses that Amazon Lex can send to the user. Amazon Lex chooses the actual response to send at runtime. See messageGroup.
    AllowInterrupt bool
    Whether the user can interrupt a speech response from Amazon Lex.
    MessageGroups []V2modelsIntentClosingSettingClosingResponseMessageGroup
    Configuration blocks for responses that Amazon Lex can send to the user. Amazon Lex chooses the actual response to send at runtime. See messageGroup.
    allow_interrupt bool
    Whether the user can interrupt a speech response from Amazon Lex.
    message_groups list(object)
    Configuration blocks for responses that Amazon Lex can send to the user. Amazon Lex chooses the actual response to send at runtime. See messageGroup.
    allowInterrupt Boolean
    Whether the user can interrupt a speech response from Amazon Lex.
    messageGroups List<V2modelsIntentClosingSettingClosingResponseMessageGroup>
    Configuration blocks for responses that Amazon Lex can send to the user. Amazon Lex chooses the actual response to send at runtime. See messageGroup.
    allowInterrupt boolean
    Whether the user can interrupt a speech response from Amazon Lex.
    messageGroups V2modelsIntentClosingSettingClosingResponseMessageGroup[]
    Configuration blocks for responses that Amazon Lex can send to the user. Amazon Lex chooses the actual response to send at runtime. See messageGroup.
    allow_interrupt bool
    Whether the user can interrupt a speech response from Amazon Lex.
    message_groups Sequence[V2modelsIntentClosingSettingClosingResponseMessageGroup]
    Configuration blocks for responses that Amazon Lex can send to the user. Amazon Lex chooses the actual response to send at runtime. See messageGroup.
    allowInterrupt Boolean
    Whether the user can interrupt a speech response from Amazon Lex.
    messageGroups List<Property Map>
    Configuration blocks for responses that Amazon Lex can send to the user. Amazon Lex chooses the actual response to send at runtime. See messageGroup.

    V2modelsIntentClosingSettingClosingResponseMessageGroup, V2modelsIntentClosingSettingClosingResponseMessageGroupArgs

    Message V2modelsIntentClosingSettingClosingResponseMessageGroupMessage
    Configuration block for the primary message that Amazon Lex should send to the user. See message.
    Variations List<V2modelsIntentClosingSettingClosingResponseMessageGroupVariation>
    Configuration blocks for message variations to send to the user. When variations are defined, Amazon Lex chooses the primary message or one of the variations to send to the user. See variation.
    Message V2modelsIntentClosingSettingClosingResponseMessageGroupMessage
    Configuration block for the primary message that Amazon Lex should send to the user. See message.
    Variations []V2modelsIntentClosingSettingClosingResponseMessageGroupVariation
    Configuration blocks for message variations to send to the user. When variations are defined, Amazon Lex chooses the primary message or one of the variations to send to the user. See variation.
    message object
    Configuration block for the primary message that Amazon Lex should send to the user. See message.
    variations list(object)
    Configuration blocks for message variations to send to the user. When variations are defined, Amazon Lex chooses the primary message or one of the variations to send to the user. See variation.
    message V2modelsIntentClosingSettingClosingResponseMessageGroupMessage
    Configuration block for the primary message that Amazon Lex should send to the user. See message.
    variations List<V2modelsIntentClosingSettingClosingResponseMessageGroupVariation>
    Configuration blocks for message variations to send to the user. When variations are defined, Amazon Lex chooses the primary message or one of the variations to send to the user. See variation.
    message V2modelsIntentClosingSettingClosingResponseMessageGroupMessage
    Configuration block for the primary message that Amazon Lex should send to the user. See message.
    variations V2modelsIntentClosingSettingClosingResponseMessageGroupVariation[]
    Configuration blocks for message variations to send to the user. When variations are defined, Amazon Lex chooses the primary message or one of the variations to send to the user. See variation.
    message V2modelsIntentClosingSettingClosingResponseMessageGroupMessage
    Configuration block for the primary message that Amazon Lex should send to the user. See message.
    variations Sequence[V2modelsIntentClosingSettingClosingResponseMessageGroupVariation]
    Configuration blocks for message variations to send to the user. When variations are defined, Amazon Lex chooses the primary message or one of the variations to send to the user. See variation.
    message Property Map
    Configuration block for the primary message that Amazon Lex should send to the user. See message.
    variations List<Property Map>
    Configuration blocks for message variations to send to the user. When variations are defined, Amazon Lex chooses the primary message or one of the variations to send to the user. See variation.

    V2modelsIntentClosingSettingClosingResponseMessageGroupMessage, V2modelsIntentClosingSettingClosingResponseMessageGroupMessageArgs

    CustomPayload V2modelsIntentClosingSettingClosingResponseMessageGroupMessageCustomPayload
    Configuration block for a message in a custom format defined by the client application. See customPayload.
    ImageResponseCard V2modelsIntentClosingSettingClosingResponseMessageGroupMessageImageResponseCard
    Configuration block for a message that defines a response card that the client application can show to the user. See imageResponseCard.
    PlainTextMessage V2modelsIntentClosingSettingClosingResponseMessageGroupMessagePlainTextMessage
    Configuration block for a message in plain text format. See plainTextMessage.
    SsmlMessage V2modelsIntentClosingSettingClosingResponseMessageGroupMessageSsmlMessage
    Configuration block for a message in Speech Synthesis Markup Language (SSML). See ssmlMessage.
    CustomPayload V2modelsIntentClosingSettingClosingResponseMessageGroupMessageCustomPayload
    Configuration block for a message in a custom format defined by the client application. See customPayload.
    ImageResponseCard V2modelsIntentClosingSettingClosingResponseMessageGroupMessageImageResponseCard
    Configuration block for a message that defines a response card that the client application can show to the user. See imageResponseCard.
    PlainTextMessage V2modelsIntentClosingSettingClosingResponseMessageGroupMessagePlainTextMessage
    Configuration block for a message in plain text format. See plainTextMessage.
    SsmlMessage V2modelsIntentClosingSettingClosingResponseMessageGroupMessageSsmlMessage
    Configuration block for a message in Speech Synthesis Markup Language (SSML). See ssmlMessage.
    custom_payload object
    Configuration block for a message in a custom format defined by the client application. See customPayload.
    image_response_card object
    Configuration block for a message that defines a response card that the client application can show to the user. See imageResponseCard.
    plain_text_message object
    Configuration block for a message in plain text format. See plainTextMessage.
    ssml_message object
    Configuration block for a message in Speech Synthesis Markup Language (SSML). See ssmlMessage.
    customPayload V2modelsIntentClosingSettingClosingResponseMessageGroupMessageCustomPayload
    Configuration block for a message in a custom format defined by the client application. See customPayload.
    imageResponseCard V2modelsIntentClosingSettingClosingResponseMessageGroupMessageImageResponseCard
    Configuration block for a message that defines a response card that the client application can show to the user. See imageResponseCard.
    plainTextMessage V2modelsIntentClosingSettingClosingResponseMessageGroupMessagePlainTextMessage
    Configuration block for a message in plain text format. See plainTextMessage.
    ssmlMessage V2modelsIntentClosingSettingClosingResponseMessageGroupMessageSsmlMessage
    Configuration block for a message in Speech Synthesis Markup Language (SSML). See ssmlMessage.
    customPayload V2modelsIntentClosingSettingClosingResponseMessageGroupMessageCustomPayload
    Configuration block for a message in a custom format defined by the client application. See customPayload.
    imageResponseCard V2modelsIntentClosingSettingClosingResponseMessageGroupMessageImageResponseCard
    Configuration block for a message that defines a response card that the client application can show to the user. See imageResponseCard.
    plainTextMessage V2modelsIntentClosingSettingClosingResponseMessageGroupMessagePlainTextMessage
    Configuration block for a message in plain text format. See plainTextMessage.
    ssmlMessage V2modelsIntentClosingSettingClosingResponseMessageGroupMessageSsmlMessage
    Configuration block for a message in Speech Synthesis Markup Language (SSML). See ssmlMessage.
    custom_payload V2modelsIntentClosingSettingClosingResponseMessageGroupMessageCustomPayload
    Configuration block for a message in a custom format defined by the client application. See customPayload.
    image_response_card V2modelsIntentClosingSettingClosingResponseMessageGroupMessageImageResponseCard
    Configuration block for a message that defines a response card that the client application can show to the user. See imageResponseCard.
    plain_text_message V2modelsIntentClosingSettingClosingResponseMessageGroupMessagePlainTextMessage
    Configuration block for a message in plain text format. See plainTextMessage.
    ssml_message V2modelsIntentClosingSettingClosingResponseMessageGroupMessageSsmlMessage
    Configuration block for a message in Speech Synthesis Markup Language (SSML). See ssmlMessage.
    customPayload Property Map
    Configuration block for a message in a custom format defined by the client application. See customPayload.
    imageResponseCard Property Map
    Configuration block for a message that defines a response card that the client application can show to the user. See imageResponseCard.
    plainTextMessage Property Map
    Configuration block for a message in plain text format. See plainTextMessage.
    ssmlMessage Property Map
    Configuration block for a message in Speech Synthesis Markup Language (SSML). See ssmlMessage.

    V2modelsIntentClosingSettingClosingResponseMessageGroupMessageCustomPayload, V2modelsIntentClosingSettingClosingResponseMessageGroupMessageCustomPayloadArgs

    Value string
    String that is sent to your application.
    Value string
    String that is sent to your application.
    value string
    String that is sent to your application.
    value String
    String that is sent to your application.
    value string
    String that is sent to your application.
    value str
    String that is sent to your application.
    value String
    String that is sent to your application.

    V2modelsIntentClosingSettingClosingResponseMessageGroupMessageImageResponseCard, V2modelsIntentClosingSettingClosingResponseMessageGroupMessageImageResponseCardArgs

    Title string
    Title to display on the response card. The format of the title is determined by the platform displaying the response card.
    Buttons List<V2modelsIntentClosingSettingClosingResponseMessageGroupMessageImageResponseCardButton>
    Configuration blocks for buttons that should be displayed on the response card. The arrangement of the buttons is determined by the platform that displays the button. See button.
    ImageUrl string
    URL of an image to display on the response card. The image URL must be publicly available so that the platform displaying the response card has access to the image.
    Subtitle string
    Subtitle to display on the response card. The format of the subtitle is determined by the platform displaying the response card.
    Title string
    Title to display on the response card. The format of the title is determined by the platform displaying the response card.
    Buttons []V2modelsIntentClosingSettingClosingResponseMessageGroupMessageImageResponseCardButton
    Configuration blocks for buttons that should be displayed on the response card. The arrangement of the buttons is determined by the platform that displays the button. See button.
    ImageUrl string
    URL of an image to display on the response card. The image URL must be publicly available so that the platform displaying the response card has access to the image.
    Subtitle string
    Subtitle to display on the response card. The format of the subtitle is determined by the platform displaying the response card.
    title string
    Title to display on the response card. The format of the title is determined by the platform displaying the response card.
    buttons list(object)
    Configuration blocks for buttons that should be displayed on the response card. The arrangement of the buttons is determined by the platform that displays the button. See button.
    image_url string
    URL of an image to display on the response card. The image URL must be publicly available so that the platform displaying the response card has access to the image.
    subtitle string
    Subtitle to display on the response card. The format of the subtitle is determined by the platform displaying the response card.
    title String
    Title to display on the response card. The format of the title is determined by the platform displaying the response card.
    buttons List<V2modelsIntentClosingSettingClosingResponseMessageGroupMessageImageResponseCardButton>
    Configuration blocks for buttons that should be displayed on the response card. The arrangement of the buttons is determined by the platform that displays the button. See button.
    imageUrl String
    URL of an image to display on the response card. The image URL must be publicly available so that the platform displaying the response card has access to the image.
    subtitle String
    Subtitle to display on the response card. The format of the subtitle is determined by the platform displaying the response card.
    title string
    Title to display on the response card. The format of the title is determined by the platform displaying the response card.
    buttons V2modelsIntentClosingSettingClosingResponseMessageGroupMessageImageResponseCardButton[]
    Configuration blocks for buttons that should be displayed on the response card. The arrangement of the buttons is determined by the platform that displays the button. See button.
    imageUrl string
    URL of an image to display on the response card. The image URL must be publicly available so that the platform displaying the response card has access to the image.
    subtitle string
    Subtitle to display on the response card. The format of the subtitle is determined by the platform displaying the response card.
    title str
    Title to display on the response card. The format of the title is determined by the platform displaying the response card.
    buttons Sequence[V2modelsIntentClosingSettingClosingResponseMessageGroupMessageImageResponseCardButton]
    Configuration blocks for buttons that should be displayed on the response card. The arrangement of the buttons is determined by the platform that displays the button. See button.
    image_url str
    URL of an image to display on the response card. The image URL must be publicly available so that the platform displaying the response card has access to the image.
    subtitle str
    Subtitle to display on the response card. The format of the subtitle is determined by the platform displaying the response card.
    title String
    Title to display on the response card. The format of the title is determined by the platform displaying the response card.
    buttons List<Property Map>
    Configuration blocks for buttons that should be displayed on the response card. The arrangement of the buttons is determined by the platform that displays the button. See button.
    imageUrl String
    URL of an image to display on the response card. The image URL must be publicly available so that the platform displaying the response card has access to the image.
    subtitle String
    Subtitle to display on the response card. The format of the subtitle is determined by the platform displaying the response card.

    V2modelsIntentClosingSettingClosingResponseMessageGroupMessageImageResponseCardButton, V2modelsIntentClosingSettingClosingResponseMessageGroupMessageImageResponseCardButtonArgs

    Text string
    Text that appears on the button. Use this to tell the user what value is returned when they choose this button.
    Value string
    Value returned to Amazon Lex when the user chooses this button. This must be one of the slot values configured for the slot.
    Text string
    Text that appears on the button. Use this to tell the user what value is returned when they choose this button.
    Value string
    Value returned to Amazon Lex when the user chooses this button. This must be one of the slot values configured for the slot.
    text string
    Text that appears on the button. Use this to tell the user what value is returned when they choose this button.
    value string
    Value returned to Amazon Lex when the user chooses this button. This must be one of the slot values configured for the slot.
    text String
    Text that appears on the button. Use this to tell the user what value is returned when they choose this button.
    value String
    Value returned to Amazon Lex when the user chooses this button. This must be one of the slot values configured for the slot.
    text string
    Text that appears on the button. Use this to tell the user what value is returned when they choose this button.
    value string
    Value returned to Amazon Lex when the user chooses this button. This must be one of the slot values configured for the slot.
    text str
    Text that appears on the button. Use this to tell the user what value is returned when they choose this button.
    value str
    Value returned to Amazon Lex when the user chooses this button. This must be one of the slot values configured for the slot.
    text String
    Text that appears on the button. Use this to tell the user what value is returned when they choose this button.
    value String
    Value returned to Amazon Lex when the user chooses this button. This must be one of the slot values configured for the slot.

    V2modelsIntentClosingSettingClosingResponseMessageGroupMessagePlainTextMessage, V2modelsIntentClosingSettingClosingResponseMessageGroupMessagePlainTextMessageArgs

    Value string
    Message to send to the user.
    Value string
    Message to send to the user.
    value string
    Message to send to the user.
    value String
    Message to send to the user.
    value string
    Message to send to the user.
    value str
    Message to send to the user.
    value String
    Message to send to the user.

    V2modelsIntentClosingSettingClosingResponseMessageGroupMessageSsmlMessage, V2modelsIntentClosingSettingClosingResponseMessageGroupMessageSsmlMessageArgs

    Value string
    SSML text that defines the prompt.
    Value string
    SSML text that defines the prompt.
    value string
    SSML text that defines the prompt.
    value String
    SSML text that defines the prompt.
    value string
    SSML text that defines the prompt.
    value str
    SSML text that defines the prompt.
    value String
    SSML text that defines the prompt.

    V2modelsIntentClosingSettingClosingResponseMessageGroupVariation, V2modelsIntentClosingSettingClosingResponseMessageGroupVariationArgs

    CustomPayload V2modelsIntentClosingSettingClosingResponseMessageGroupVariationCustomPayload
    Configuration block for a message in a custom format defined by the client application. See customPayload.
    ImageResponseCard V2modelsIntentClosingSettingClosingResponseMessageGroupVariationImageResponseCard
    Configuration block for a message that defines a response card that the client application can show to the user. See imageResponseCard.
    PlainTextMessage V2modelsIntentClosingSettingClosingResponseMessageGroupVariationPlainTextMessage
    Configuration block for a message in plain text format. See plainTextMessage.
    SsmlMessage V2modelsIntentClosingSettingClosingResponseMessageGroupVariationSsmlMessage
    Configuration block for a message in Speech Synthesis Markup Language (SSML). See ssmlMessage.
    CustomPayload V2modelsIntentClosingSettingClosingResponseMessageGroupVariationCustomPayload
    Configuration block for a message in a custom format defined by the client application. See customPayload.
    ImageResponseCard V2modelsIntentClosingSettingClosingResponseMessageGroupVariationImageResponseCard
    Configuration block for a message that defines a response card that the client application can show to the user. See imageResponseCard.
    PlainTextMessage V2modelsIntentClosingSettingClosingResponseMessageGroupVariationPlainTextMessage
    Configuration block for a message in plain text format. See plainTextMessage.
    SsmlMessage V2modelsIntentClosingSettingClosingResponseMessageGroupVariationSsmlMessage
    Configuration block for a message in Speech Synthesis Markup Language (SSML). See ssmlMessage.
    custom_payload object
    Configuration block for a message in a custom format defined by the client application. See customPayload.
    image_response_card object
    Configuration block for a message that defines a response card that the client application can show to the user. See imageResponseCard.
    plain_text_message object
    Configuration block for a message in plain text format. See plainTextMessage.
    ssml_message object
    Configuration block for a message in Speech Synthesis Markup Language (SSML). See ssmlMessage.
    customPayload V2modelsIntentClosingSettingClosingResponseMessageGroupVariationCustomPayload
    Configuration block for a message in a custom format defined by the client application. See customPayload.
    imageResponseCard V2modelsIntentClosingSettingClosingResponseMessageGroupVariationImageResponseCard
    Configuration block for a message that defines a response card that the client application can show to the user. See imageResponseCard.
    plainTextMessage V2modelsIntentClosingSettingClosingResponseMessageGroupVariationPlainTextMessage
    Configuration block for a message in plain text format. See plainTextMessage.
    ssmlMessage V2modelsIntentClosingSettingClosingResponseMessageGroupVariationSsmlMessage
    Configuration block for a message in Speech Synthesis Markup Language (SSML). See ssmlMessage.
    customPayload V2modelsIntentClosingSettingClosingResponseMessageGroupVariationCustomPayload
    Configuration block for a message in a custom format defined by the client application. See customPayload.
    imageResponseCard V2modelsIntentClosingSettingClosingResponseMessageGroupVariationImageResponseCard
    Configuration block for a message that defines a response card that the client application can show to the user. See imageResponseCard.
    plainTextMessage V2modelsIntentClosingSettingClosingResponseMessageGroupVariationPlainTextMessage
    Configuration block for a message in plain text format. See plainTextMessage.
    ssmlMessage V2modelsIntentClosingSettingClosingResponseMessageGroupVariationSsmlMessage
    Configuration block for a message in Speech Synthesis Markup Language (SSML). See ssmlMessage.
    custom_payload V2modelsIntentClosingSettingClosingResponseMessageGroupVariationCustomPayload
    Configuration block for a message in a custom format defined by the client application. See customPayload.
    image_response_card V2modelsIntentClosingSettingClosingResponseMessageGroupVariationImageResponseCard
    Configuration block for a message that defines a response card that the client application can show to the user. See imageResponseCard.
    plain_text_message V2modelsIntentClosingSettingClosingResponseMessageGroupVariationPlainTextMessage
    Configuration block for a message in plain text format. See plainTextMessage.
    ssml_message V2modelsIntentClosingSettingClosingResponseMessageGroupVariationSsmlMessage
    Configuration block for a message in Speech Synthesis Markup Language (SSML). See ssmlMessage.
    customPayload Property Map
    Configuration block for a message in a custom format defined by the client application. See customPayload.
    imageResponseCard Property Map
    Configuration block for a message that defines a response card that the client application can show to the user. See imageResponseCard.
    plainTextMessage Property Map
    Configuration block for a message in plain text format. See plainTextMessage.
    ssmlMessage Property Map
    Configuration block for a message in Speech Synthesis Markup Language (SSML). See ssmlMessage.

    V2modelsIntentClosingSettingClosingResponseMessageGroupVariationCustomPayload, V2modelsIntentClosingSettingClosingResponseMessageGroupVariationCustomPayloadArgs

    Value string
    String that is sent to your application.
    Value string
    String that is sent to your application.
    value string
    String that is sent to your application.
    value String
    String that is sent to your application.
    value string
    String that is sent to your application.
    value str
    String that is sent to your application.
    value String
    String that is sent to your application.

    V2modelsIntentClosingSettingClosingResponseMessageGroupVariationImageResponseCard, V2modelsIntentClosingSettingClosingResponseMessageGroupVariationImageResponseCardArgs

    Title string
    Title to display on the response card. The format of the title is determined by the platform displaying the response card.
    Buttons List<V2modelsIntentClosingSettingClosingResponseMessageGroupVariationImageResponseCardButton>
    Configuration blocks for buttons that should be displayed on the response card. The arrangement of the buttons is determined by the platform that displays the button. See button.
    ImageUrl string
    URL of an image to display on the response card. The image URL must be publicly available so that the platform displaying the response card has access to the image.
    Subtitle string
    Subtitle to display on the response card. The format of the subtitle is determined by the platform displaying the response card.
    Title string
    Title to display on the response card. The format of the title is determined by the platform displaying the response card.
    Buttons []V2modelsIntentClosingSettingClosingResponseMessageGroupVariationImageResponseCardButton
    Configuration blocks for buttons that should be displayed on the response card. The arrangement of the buttons is determined by the platform that displays the button. See button.
    ImageUrl string
    URL of an image to display on the response card. The image URL must be publicly available so that the platform displaying the response card has access to the image.
    Subtitle string
    Subtitle to display on the response card. The format of the subtitle is determined by the platform displaying the response card.
    title string
    Title to display on the response card. The format of the title is determined by the platform displaying the response card.
    buttons list(object)
    Configuration blocks for buttons that should be displayed on the response card. The arrangement of the buttons is determined by the platform that displays the button. See button.
    image_url string
    URL of an image to display on the response card. The image URL must be publicly available so that the platform displaying the response card has access to the image.
    subtitle string
    Subtitle to display on the response card. The format of the subtitle is determined by the platform displaying the response card.
    title String
    Title to display on the response card. The format of the title is determined by the platform displaying the response card.
    buttons List<V2modelsIntentClosingSettingClosingResponseMessageGroupVariationImageResponseCardButton>
    Configuration blocks for buttons that should be displayed on the response card. The arrangement of the buttons is determined by the platform that displays the button. See button.
    imageUrl String
    URL of an image to display on the response card. The image URL must be publicly available so that the platform displaying the response card has access to the image.
    subtitle String
    Subtitle to display on the response card. The format of the subtitle is determined by the platform displaying the response card.
    title string
    Title to display on the response card. The format of the title is determined by the platform displaying the response card.
    buttons V2modelsIntentClosingSettingClosingResponseMessageGroupVariationImageResponseCardButton[]
    Configuration blocks for buttons that should be displayed on the response card. The arrangement of the buttons is determined by the platform that displays the button. See button.
    imageUrl string
    URL of an image to display on the response card. The image URL must be publicly available so that the platform displaying the response card has access to the image.
    subtitle string
    Subtitle to display on the response card. The format of the subtitle is determined by the platform displaying the response card.
    title str
    Title to display on the response card. The format of the title is determined by the platform displaying the response card.
    buttons Sequence[V2modelsIntentClosingSettingClosingResponseMessageGroupVariationImageResponseCardButton]
    Configuration blocks for buttons that should be displayed on the response card. The arrangement of the buttons is determined by the platform that displays the button. See button.
    image_url str
    URL of an image to display on the response card. The image URL must be publicly available so that the platform displaying the response card has access to the image.
    subtitle str
    Subtitle to display on the response card. The format of the subtitle is determined by the platform displaying the response card.
    title String
    Title to display on the response card. The format of the title is determined by the platform displaying the response card.
    buttons List<Property Map>
    Configuration blocks for buttons that should be displayed on the response card. The arrangement of the buttons is determined by the platform that displays the button. See button.
    imageUrl String
    URL of an image to display on the response card. The image URL must be publicly available so that the platform displaying the response card has access to the image.
    subtitle String
    Subtitle to display on the response card. The format of the subtitle is determined by the platform displaying the response card.

    V2modelsIntentClosingSettingClosingResponseMessageGroupVariationImageResponseCardButton, V2modelsIntentClosingSettingClosingResponseMessageGroupVariationImageResponseCardButtonArgs

    Text string
    Text that appears on the button. Use this to tell the user what value is returned when they choose this button.
    Value string
    Value returned to Amazon Lex when the user chooses this button. This must be one of the slot values configured for the slot.
    Text string
    Text that appears on the button. Use this to tell the user what value is returned when they choose this button.
    Value string
    Value returned to Amazon Lex when the user chooses this button. This must be one of the slot values configured for the slot.
    text string
    Text that appears on the button. Use this to tell the user what value is returned when they choose this button.
    value string
    Value returned to Amazon Lex when the user chooses this button. This must be one of the slot values configured for the slot.
    text String
    Text that appears on the button. Use this to tell the user what value is returned when they choose this button.
    value String
    Value returned to Amazon Lex when the user chooses this button. This must be one of the slot values configured for the slot.
    text string
    Text that appears on the button. Use this to tell the user what value is returned when they choose this button.
    value string
    Value returned to Amazon Lex when the user chooses this button. This must be one of the slot values configured for the slot.
    text str
    Text that appears on the button. Use this to tell the user what value is returned when they choose this button.
    value str
    Value returned to Amazon Lex when the user chooses this button. This must be one of the slot values configured for the slot.
    text String
    Text that appears on the button. Use this to tell the user what value is returned when they choose this button.
    value String
    Value returned to Amazon Lex when the user chooses this button. This must be one of the slot values configured for the slot.

    V2modelsIntentClosingSettingClosingResponseMessageGroupVariationPlainTextMessage, V2modelsIntentClosingSettingClosingResponseMessageGroupVariationPlainTextMessageArgs

    Value string
    Message to send to the user.
    Value string
    Message to send to the user.
    value string
    Message to send to the user.
    value String
    Message to send to the user.
    value string
    Message to send to the user.
    value str
    Message to send to the user.
    value String
    Message to send to the user.

    V2modelsIntentClosingSettingClosingResponseMessageGroupVariationSsmlMessage, V2modelsIntentClosingSettingClosingResponseMessageGroupVariationSsmlMessageArgs

    Value string
    SSML text that defines the prompt.
    Value string
    SSML text that defines the prompt.
    value string
    SSML text that defines the prompt.
    value String
    SSML text that defines the prompt.
    value string
    SSML text that defines the prompt.
    value str
    SSML text that defines the prompt.
    value String
    SSML text that defines the prompt.

    V2modelsIntentClosingSettingConditional, V2modelsIntentClosingSettingConditionalArgs

    Active bool
    Whether a conditional branch is active. When active is false, the conditions are not evaluated.
    ConditionalBranches List<V2modelsIntentClosingSettingConditionalConditionalBranch>
    Configuration blocks for conditional branches. A conditional branch is made up of a condition, a response and a next step. The response and next step are executed when the condition is true. See conditionalBranch.
    DefaultBranch V2modelsIntentClosingSettingConditionalDefaultBranch
    Configuration block for the conditional branch that should be followed when the conditions for other branches are not satisfied. A branch is made up of a condition, a response and a next step. See defaultBranch.
    Active bool
    Whether a conditional branch is active. When active is false, the conditions are not evaluated.
    ConditionalBranches []V2modelsIntentClosingSettingConditionalConditionalBranch
    Configuration blocks for conditional branches. A conditional branch is made up of a condition, a response and a next step. The response and next step are executed when the condition is true. See conditionalBranch.
    DefaultBranch V2modelsIntentClosingSettingConditionalDefaultBranch
    Configuration block for the conditional branch that should be followed when the conditions for other branches are not satisfied. A branch is made up of a condition, a response and a next step. See defaultBranch.
    active bool
    Whether a conditional branch is active. When active is false, the conditions are not evaluated.
    conditional_branches list(object)
    Configuration blocks for conditional branches. A conditional branch is made up of a condition, a response and a next step. The response and next step are executed when the condition is true. See conditionalBranch.
    default_branch object
    Configuration block for the conditional branch that should be followed when the conditions for other branches are not satisfied. A branch is made up of a condition, a response and a next step. See defaultBranch.
    active Boolean
    Whether a conditional branch is active. When active is false, the conditions are not evaluated.
    conditionalBranches List<V2modelsIntentClosingSettingConditionalConditionalBranch>
    Configuration blocks for conditional branches. A conditional branch is made up of a condition, a response and a next step. The response and next step are executed when the condition is true. See conditionalBranch.
    defaultBranch V2modelsIntentClosingSettingConditionalDefaultBranch
    Configuration block for the conditional branch that should be followed when the conditions for other branches are not satisfied. A branch is made up of a condition, a response and a next step. See defaultBranch.
    active boolean
    Whether a conditional branch is active. When active is false, the conditions are not evaluated.
    conditionalBranches V2modelsIntentClosingSettingConditionalConditionalBranch[]
    Configuration blocks for conditional branches. A conditional branch is made up of a condition, a response and a next step. The response and next step are executed when the condition is true. See conditionalBranch.
    defaultBranch V2modelsIntentClosingSettingConditionalDefaultBranch
    Configuration block for the conditional branch that should be followed when the conditions for other branches are not satisfied. A branch is made up of a condition, a response and a next step. See defaultBranch.
    active bool
    Whether a conditional branch is active. When active is false, the conditions are not evaluated.
    conditional_branches Sequence[V2modelsIntentClosingSettingConditionalConditionalBranch]
    Configuration blocks for conditional branches. A conditional branch is made up of a condition, a response and a next step. The response and next step are executed when the condition is true. See conditionalBranch.
    default_branch V2modelsIntentClosingSettingConditionalDefaultBranch
    Configuration block for the conditional branch that should be followed when the conditions for other branches are not satisfied. A branch is made up of a condition, a response and a next step. See defaultBranch.
    active Boolean
    Whether a conditional branch is active. When active is false, the conditions are not evaluated.
    conditionalBranches List<Property Map>
    Configuration blocks for conditional branches. A conditional branch is made up of a condition, a response and a next step. The response and next step are executed when the condition is true. See conditionalBranch.
    defaultBranch Property Map
    Configuration block for the conditional branch that should be followed when the conditions for other branches are not satisfied. A branch is made up of a condition, a response and a next step. See defaultBranch.

    V2modelsIntentClosingSettingConditionalConditionalBranch, V2modelsIntentClosingSettingConditionalConditionalBranchArgs

    Name string
    Name of the branch.
    Condition V2modelsIntentClosingSettingConditionalConditionalBranchCondition
    Configuration block for the expression to evaluate. If the condition is true, the branch's actions are taken. See condition.
    NextStep V2modelsIntentClosingSettingConditionalConditionalBranchNextStep
    Configuration block for the next step in the conversation. See nextStep.
    Response V2modelsIntentClosingSettingConditionalConditionalBranchResponse
    Configuration block for a list of message groups that Amazon Lex uses to respond to the user input. See response.
    Name string
    Name of the branch.
    Condition V2modelsIntentClosingSettingConditionalConditionalBranchCondition
    Configuration block for the expression to evaluate. If the condition is true, the branch's actions are taken. See condition.
    NextStep V2modelsIntentClosingSettingConditionalConditionalBranchNextStep
    Configuration block for the next step in the conversation. See nextStep.
    Response V2modelsIntentClosingSettingConditionalConditionalBranchResponse
    Configuration block for a list of message groups that Amazon Lex uses to respond to the user input. See response.
    name string
    Name of the branch.
    condition object
    Configuration block for the expression to evaluate. If the condition is true, the branch's actions are taken. See condition.
    next_step object
    Configuration block for the next step in the conversation. See nextStep.
    response object
    Configuration block for a list of message groups that Amazon Lex uses to respond to the user input. See response.
    name String
    Name of the branch.
    condition V2modelsIntentClosingSettingConditionalConditionalBranchCondition
    Configuration block for the expression to evaluate. If the condition is true, the branch's actions are taken. See condition.
    nextStep V2modelsIntentClosingSettingConditionalConditionalBranchNextStep
    Configuration block for the next step in the conversation. See nextStep.
    response V2modelsIntentClosingSettingConditionalConditionalBranchResponse
    Configuration block for a list of message groups that Amazon Lex uses to respond to the user input. See response.
    name string
    Name of the branch.
    condition V2modelsIntentClosingSettingConditionalConditionalBranchCondition
    Configuration block for the expression to evaluate. If the condition is true, the branch's actions are taken. See condition.
    nextStep V2modelsIntentClosingSettingConditionalConditionalBranchNextStep
    Configuration block for the next step in the conversation. See nextStep.
    response V2modelsIntentClosingSettingConditionalConditionalBranchResponse
    Configuration block for a list of message groups that Amazon Lex uses to respond to the user input. See response.
    name str
    Name of the branch.
    condition V2modelsIntentClosingSettingConditionalConditionalBranchCondition
    Configuration block for the expression to evaluate. If the condition is true, the branch's actions are taken. See condition.
    next_step V2modelsIntentClosingSettingConditionalConditionalBranchNextStep
    Configuration block for the next step in the conversation. See nextStep.
    response V2modelsIntentClosingSettingConditionalConditionalBranchResponse
    Configuration block for a list of message groups that Amazon Lex uses to respond to the user input. See response.
    name String
    Name of the branch.
    condition Property Map
    Configuration block for the expression to evaluate. If the condition is true, the branch's actions are taken. See condition.
    nextStep Property Map
    Configuration block for the next step in the conversation. See nextStep.
    response Property Map
    Configuration block for a list of message groups that Amazon Lex uses to respond to the user input. See response.

    V2modelsIntentClosingSettingConditionalConditionalBranchCondition, V2modelsIntentClosingSettingConditionalConditionalBranchConditionArgs

    ExpressionString string
    Expression string that is evaluated.
    ExpressionString string
    Expression string that is evaluated.
    expression_string string
    Expression string that is evaluated.
    expressionString String
    Expression string that is evaluated.
    expressionString string
    Expression string that is evaluated.
    expression_string str
    Expression string that is evaluated.
    expressionString String
    Expression string that is evaluated.

    V2modelsIntentClosingSettingConditionalConditionalBranchNextStep, V2modelsIntentClosingSettingConditionalConditionalBranchNextStepArgs

    DialogAction V2modelsIntentClosingSettingConditionalConditionalBranchNextStepDialogAction
    Configuration block for action that the bot executes at runtime when the conversation reaches this step. See dialogAction.
    Intent V2modelsIntentClosingSettingConditionalConditionalBranchNextStepIntent
    Configuration block for override settings to configure the intent state. See intent.
    SessionAttributes Dictionary<string, string>
    Map of key/value pairs representing session-specific context information. It contains application information passed between Amazon Lex and a client application.
    DialogAction V2modelsIntentClosingSettingConditionalConditionalBranchNextStepDialogAction
    Configuration block for action that the bot executes at runtime when the conversation reaches this step. See dialogAction.
    Intent V2modelsIntentClosingSettingConditionalConditionalBranchNextStepIntent
    Configuration block for override settings to configure the intent state. See intent.
    SessionAttributes map[string]string
    Map of key/value pairs representing session-specific context information. It contains application information passed between Amazon Lex and a client application.
    dialog_action object
    Configuration block for action that the bot executes at runtime when the conversation reaches this step. See dialogAction.
    intent object
    Configuration block for override settings to configure the intent state. See intent.
    session_attributes map(string)
    Map of key/value pairs representing session-specific context information. It contains application information passed between Amazon Lex and a client application.
    dialogAction V2modelsIntentClosingSettingConditionalConditionalBranchNextStepDialogAction
    Configuration block for action that the bot executes at runtime when the conversation reaches this step. See dialogAction.
    intent V2modelsIntentClosingSettingConditionalConditionalBranchNextStepIntent
    Configuration block for override settings to configure the intent state. See intent.
    sessionAttributes Map<String,String>
    Map of key/value pairs representing session-specific context information. It contains application information passed between Amazon Lex and a client application.
    dialogAction V2modelsIntentClosingSettingConditionalConditionalBranchNextStepDialogAction
    Configuration block for action that the bot executes at runtime when the conversation reaches this step. See dialogAction.
    intent V2modelsIntentClosingSettingConditionalConditionalBranchNextStepIntent
    Configuration block for override settings to configure the intent state. See intent.
    sessionAttributes {[key: string]: string}
    Map of key/value pairs representing session-specific context information. It contains application information passed between Amazon Lex and a client application.
    dialog_action V2modelsIntentClosingSettingConditionalConditionalBranchNextStepDialogAction
    Configuration block for action that the bot executes at runtime when the conversation reaches this step. See dialogAction.
    intent V2modelsIntentClosingSettingConditionalConditionalBranchNextStepIntent
    Configuration block for override settings to configure the intent state. See intent.
    session_attributes Mapping[str, str]
    Map of key/value pairs representing session-specific context information. It contains application information passed between Amazon Lex and a client application.
    dialogAction Property Map
    Configuration block for action that the bot executes at runtime when the conversation reaches this step. See dialogAction.
    intent Property Map
    Configuration block for override settings to configure the intent state. See intent.
    sessionAttributes Map<String>
    Map of key/value pairs representing session-specific context information. It contains application information passed between Amazon Lex and a client application.

    V2modelsIntentClosingSettingConditionalConditionalBranchNextStepDialogAction, V2modelsIntentClosingSettingConditionalConditionalBranchNextStepDialogActionArgs

    Type string
    Action that the bot should execute. Valid values are ElicitIntent, StartIntent, ElicitSlot, EvaluateConditional, InvokeDialogCodeHook, ConfirmIntent, FulfillIntent, CloseIntent, EndConversation.
    SlotToElicit string
    If the dialog action is ElicitSlot, defines the slot to elicit from the user.
    SuppressNextMessage bool
    Whether the next message for the intent is not used.
    Type string
    Action that the bot should execute. Valid values are ElicitIntent, StartIntent, ElicitSlot, EvaluateConditional, InvokeDialogCodeHook, ConfirmIntent, FulfillIntent, CloseIntent, EndConversation.
    SlotToElicit string
    If the dialog action is ElicitSlot, defines the slot to elicit from the user.
    SuppressNextMessage bool
    Whether the next message for the intent is not used.
    type string
    Action that the bot should execute. Valid values are ElicitIntent, StartIntent, ElicitSlot, EvaluateConditional, InvokeDialogCodeHook, ConfirmIntent, FulfillIntent, CloseIntent, EndConversation.
    slot_to_elicit string
    If the dialog action is ElicitSlot, defines the slot to elicit from the user.
    suppress_next_message bool
    Whether the next message for the intent is not used.
    type String
    Action that the bot should execute. Valid values are ElicitIntent, StartIntent, ElicitSlot, EvaluateConditional, InvokeDialogCodeHook, ConfirmIntent, FulfillIntent, CloseIntent, EndConversation.
    slotToElicit String
    If the dialog action is ElicitSlot, defines the slot to elicit from the user.
    suppressNextMessage Boolean
    Whether the next message for the intent is not used.
    type string
    Action that the bot should execute. Valid values are ElicitIntent, StartIntent, ElicitSlot, EvaluateConditional, InvokeDialogCodeHook, ConfirmIntent, FulfillIntent, CloseIntent, EndConversation.
    slotToElicit string
    If the dialog action is ElicitSlot, defines the slot to elicit from the user.
    suppressNextMessage boolean
    Whether the next message for the intent is not used.
    type str
    Action that the bot should execute. Valid values are ElicitIntent, StartIntent, ElicitSlot, EvaluateConditional, InvokeDialogCodeHook, ConfirmIntent, FulfillIntent, CloseIntent, EndConversation.
    slot_to_elicit str
    If the dialog action is ElicitSlot, defines the slot to elicit from the user.
    suppress_next_message bool
    Whether the next message for the intent is not used.
    type String
    Action that the bot should execute. Valid values are ElicitIntent, StartIntent, ElicitSlot, EvaluateConditional, InvokeDialogCodeHook, ConfirmIntent, FulfillIntent, CloseIntent, EndConversation.
    slotToElicit String
    If the dialog action is ElicitSlot, defines the slot to elicit from the user.
    suppressNextMessage Boolean
    Whether the next message for the intent is not used.

    V2modelsIntentClosingSettingConditionalConditionalBranchNextStepIntent, V2modelsIntentClosingSettingConditionalConditionalBranchNextStepIntentArgs

    Name string
    Name of the intent.
    Slots List<V2modelsIntentClosingSettingConditionalConditionalBranchNextStepIntentSlot>
    Configuration block for all of the slot value overrides for the intent. The name of the slot maps to the value of the slot. Slots that are not included in the map aren't overridden. See slot.
    Name string
    Name of the intent.
    Slots []V2modelsIntentClosingSettingConditionalConditionalBranchNextStepIntentSlot
    Configuration block for all of the slot value overrides for the intent. The name of the slot maps to the value of the slot. Slots that are not included in the map aren't overridden. See slot.
    name string
    Name of the intent.
    slots list(object)
    Configuration block for all of the slot value overrides for the intent. The name of the slot maps to the value of the slot. Slots that are not included in the map aren't overridden. See slot.
    name String
    Name of the intent.
    slots List<V2modelsIntentClosingSettingConditionalConditionalBranchNextStepIntentSlot>
    Configuration block for all of the slot value overrides for the intent. The name of the slot maps to the value of the slot. Slots that are not included in the map aren't overridden. See slot.
    name string
    Name of the intent.
    slots V2modelsIntentClosingSettingConditionalConditionalBranchNextStepIntentSlot[]
    Configuration block for all of the slot value overrides for the intent. The name of the slot maps to the value of the slot. Slots that are not included in the map aren't overridden. See slot.
    name str
    Name of the intent.
    slots Sequence[V2modelsIntentClosingSettingConditionalConditionalBranchNextStepIntentSlot]
    Configuration block for all of the slot value overrides for the intent. The name of the slot maps to the value of the slot. Slots that are not included in the map aren't overridden. See slot.
    name String
    Name of the intent.
    slots List<Property Map>
    Configuration block for all of the slot value overrides for the intent. The name of the slot maps to the value of the slot. Slots that are not included in the map aren't overridden. See slot.

    V2modelsIntentClosingSettingConditionalConditionalBranchNextStepIntentSlot, V2modelsIntentClosingSettingConditionalConditionalBranchNextStepIntentSlotArgs

    MapBlockKey string
    Which attempt to configure. Valid values are Initial, Retry1, Retry2, Retry3, Retry4, Retry5.
    Shape string
    When the shape value is List, values contains a list of slot values. When the value is Scalar, value contains a single value.
    Value V2modelsIntentClosingSettingConditionalConditionalBranchNextStepIntentSlotValue
    Configuration block for the current value of the slot. See value.
    MapBlockKey string
    Which attempt to configure. Valid values are Initial, Retry1, Retry2, Retry3, Retry4, Retry5.
    Shape string
    When the shape value is List, values contains a list of slot values. When the value is Scalar, value contains a single value.
    Value V2modelsIntentClosingSettingConditionalConditionalBranchNextStepIntentSlotValue
    Configuration block for the current value of the slot. See value.
    map_block_key string
    Which attempt to configure. Valid values are Initial, Retry1, Retry2, Retry3, Retry4, Retry5.
    shape string
    When the shape value is List, values contains a list of slot values. When the value is Scalar, value contains a single value.
    value object
    Configuration block for the current value of the slot. See value.
    mapBlockKey String
    Which attempt to configure. Valid values are Initial, Retry1, Retry2, Retry3, Retry4, Retry5.
    shape String
    When the shape value is List, values contains a list of slot values. When the value is Scalar, value contains a single value.
    value V2modelsIntentClosingSettingConditionalConditionalBranchNextStepIntentSlotValue
    Configuration block for the current value of the slot. See value.
    mapBlockKey string
    Which attempt to configure. Valid values are Initial, Retry1, Retry2, Retry3, Retry4, Retry5.
    shape string
    When the shape value is List, values contains a list of slot values. When the value is Scalar, value contains a single value.
    value V2modelsIntentClosingSettingConditionalConditionalBranchNextStepIntentSlotValue
    Configuration block for the current value of the slot. See value.
    map_block_key str
    Which attempt to configure. Valid values are Initial, Retry1, Retry2, Retry3, Retry4, Retry5.
    shape str
    When the shape value is List, values contains a list of slot values. When the value is Scalar, value contains a single value.
    value V2modelsIntentClosingSettingConditionalConditionalBranchNextStepIntentSlotValue
    Configuration block for the current value of the slot. See value.
    mapBlockKey String
    Which attempt to configure. Valid values are Initial, Retry1, Retry2, Retry3, Retry4, Retry5.
    shape String
    When the shape value is List, values contains a list of slot values. When the value is Scalar, value contains a single value.
    value Property Map
    Configuration block for the current value of the slot. See value.

    V2modelsIntentClosingSettingConditionalConditionalBranchNextStepIntentSlotValue, V2modelsIntentClosingSettingConditionalConditionalBranchNextStepIntentSlotValueArgs

    InterpretedValue string
    Value that Amazon Lex determines for the slot. The actual value depends on the setting of the value selection strategy for the bot. You can choose to use the value entered by the user, or you can have Amazon Lex choose the first value in the resolvedValues list.
    InterpretedValue string
    Value that Amazon Lex determines for the slot. The actual value depends on the setting of the value selection strategy for the bot. You can choose to use the value entered by the user, or you can have Amazon Lex choose the first value in the resolvedValues list.
    interpreted_value string
    Value that Amazon Lex determines for the slot. The actual value depends on the setting of the value selection strategy for the bot. You can choose to use the value entered by the user, or you can have Amazon Lex choose the first value in the resolvedValues list.
    interpretedValue String
    Value that Amazon Lex determines for the slot. The actual value depends on the setting of the value selection strategy for the bot. You can choose to use the value entered by the user, or you can have Amazon Lex choose the first value in the resolvedValues list.
    interpretedValue string
    Value that Amazon Lex determines for the slot. The actual value depends on the setting of the value selection strategy for the bot. You can choose to use the value entered by the user, or you can have Amazon Lex choose the first value in the resolvedValues list.
    interpreted_value str
    Value that Amazon Lex determines for the slot. The actual value depends on the setting of the value selection strategy for the bot. You can choose to use the value entered by the user, or you can have Amazon Lex choose the first value in the resolvedValues list.
    interpretedValue String
    Value that Amazon Lex determines for the slot. The actual value depends on the setting of the value selection strategy for the bot. You can choose to use the value entered by the user, or you can have Amazon Lex choose the first value in the resolvedValues list.

    V2modelsIntentClosingSettingConditionalConditionalBranchResponse, V2modelsIntentClosingSettingConditionalConditionalBranchResponseArgs

    AllowInterrupt bool
    Whether the user can interrupt a speech response from Amazon Lex.
    MessageGroups List<V2modelsIntentClosingSettingConditionalConditionalBranchResponseMessageGroup>
    Configuration blocks for responses that Amazon Lex can send to the user. Amazon Lex chooses the actual response to send at runtime. See messageGroup.
    AllowInterrupt bool
    Whether the user can interrupt a speech response from Amazon Lex.
    MessageGroups []V2modelsIntentClosingSettingConditionalConditionalBranchResponseMessageGroup
    Configuration blocks for responses that Amazon Lex can send to the user. Amazon Lex chooses the actual response to send at runtime. See messageGroup.
    allow_interrupt bool
    Whether the user can interrupt a speech response from Amazon Lex.
    message_groups list(object)
    Configuration blocks for responses that Amazon Lex can send to the user. Amazon Lex chooses the actual response to send at runtime. See messageGroup.
    allowInterrupt Boolean
    Whether the user can interrupt a speech response from Amazon Lex.
    messageGroups List<V2modelsIntentClosingSettingConditionalConditionalBranchResponseMessageGroup>
    Configuration blocks for responses that Amazon Lex can send to the user. Amazon Lex chooses the actual response to send at runtime. See messageGroup.
    allowInterrupt boolean
    Whether the user can interrupt a speech response from Amazon Lex.
    messageGroups V2modelsIntentClosingSettingConditionalConditionalBranchResponseMessageGroup[]
    Configuration blocks for responses that Amazon Lex can send to the user. Amazon Lex chooses the actual response to send at runtime. See messageGroup.
    allow_interrupt bool
    Whether the user can interrupt a speech response from Amazon Lex.
    message_groups Sequence[V2modelsIntentClosingSettingConditionalConditionalBranchResponseMessageGroup]
    Configuration blocks for responses that Amazon Lex can send to the user. Amazon Lex chooses the actual response to send at runtime. See messageGroup.
    allowInterrupt Boolean
    Whether the user can interrupt a speech response from Amazon Lex.
    messageGroups List<Property Map>
    Configuration blocks for responses that Amazon Lex can send to the user. Amazon Lex chooses the actual response to send at runtime. See messageGroup.

    V2modelsIntentClosingSettingConditionalConditionalBranchResponseMessageGroup, V2modelsIntentClosingSettingConditionalConditionalBranchResponseMessageGroupArgs

    Message V2modelsIntentClosingSettingConditionalConditionalBranchResponseMessageGroupMessage
    Configuration block for the primary message that Amazon Lex should send to the user. See message.
    Variations List<V2modelsIntentClosingSettingConditionalConditionalBranchResponseMessageGroupVariation>
    Configuration blocks for message variations to send to the user. When variations are defined, Amazon Lex chooses the primary message or one of the variations to send to the user. See variation.
    Message V2modelsIntentClosingSettingConditionalConditionalBranchResponseMessageGroupMessage
    Configuration block for the primary message that Amazon Lex should send to the user. See message.
    Variations []V2modelsIntentClosingSettingConditionalConditionalBranchResponseMessageGroupVariation
    Configuration blocks for message variations to send to the user. When variations are defined, Amazon Lex chooses the primary message or one of the variations to send to the user. See variation.
    message object
    Configuration block for the primary message that Amazon Lex should send to the user. See message.
    variations list(object)
    Configuration blocks for message variations to send to the user. When variations are defined, Amazon Lex chooses the primary message or one of the variations to send to the user. See variation.
    message V2modelsIntentClosingSettingConditionalConditionalBranchResponseMessageGroupMessage
    Configuration block for the primary message that Amazon Lex should send to the user. See message.
    variations List<V2modelsIntentClosingSettingConditionalConditionalBranchResponseMessageGroupVariation>
    Configuration blocks for message variations to send to the user. When variations are defined, Amazon Lex chooses the primary message or one of the variations to send to the user. See variation.
    message V2modelsIntentClosingSettingConditionalConditionalBranchResponseMessageGroupMessage
    Configuration block for the primary message that Amazon Lex should send to the user. See message.
    variations V2modelsIntentClosingSettingConditionalConditionalBranchResponseMessageGroupVariation[]
    Configuration blocks for message variations to send to the user. When variations are defined, Amazon Lex chooses the primary message or one of the variations to send to the user. See variation.
    message V2modelsIntentClosingSettingConditionalConditionalBranchResponseMessageGroupMessage
    Configuration block for the primary message that Amazon Lex should send to the user. See message.
    variations Sequence[V2modelsIntentClosingSettingConditionalConditionalBranchResponseMessageGroupVariation]
    Configuration blocks for message variations to send to the user. When variations are defined,