lexintent

package
v0.0.0-...-964ba77 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 9, 2024 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CodeHook

type CodeHook struct {
	// MessageVersion: string, required
	MessageVersion terra.StringValue `hcl:"message_version,attr" validate:"required"`
	// Uri: string, required
	Uri terra.StringValue `hcl:"uri,attr" validate:"required"`
}

type CodeHookAttributes

type CodeHookAttributes struct {
	// contains filtered or unexported fields
}

func (CodeHookAttributes) InternalRef

func (ch CodeHookAttributes) InternalRef() (terra.Reference, error)

func (CodeHookAttributes) InternalTokens

func (ch CodeHookAttributes) InternalTokens() (hclwrite.Tokens, error)

func (CodeHookAttributes) InternalWithRef

func (ch CodeHookAttributes) InternalWithRef(ref terra.Reference) CodeHookAttributes

func (CodeHookAttributes) MessageVersion

func (ch CodeHookAttributes) MessageVersion() terra.StringValue

func (CodeHookAttributes) Uri

type CodeHookState

type CodeHookState struct {
	MessageVersion string `json:"message_version"`
	Uri            string `json:"uri"`
}

type ConclusionStatement

type ConclusionStatement struct {
	// ResponseCard: string, optional
	ResponseCard terra.StringValue `hcl:"response_card,attr"`
	// ConclusionStatementMessage: min=1,max=15
	Message []ConclusionStatementMessage `hcl:"message,block" validate:"min=1,max=15"`
}

type ConclusionStatementAttributes

type ConclusionStatementAttributes struct {
	// contains filtered or unexported fields
}

func (ConclusionStatementAttributes) InternalRef

func (cs ConclusionStatementAttributes) InternalRef() (terra.Reference, error)

func (ConclusionStatementAttributes) InternalTokens

func (cs ConclusionStatementAttributes) InternalTokens() (hclwrite.Tokens, error)

func (ConclusionStatementAttributes) InternalWithRef

func (ConclusionStatementAttributes) Message

func (ConclusionStatementAttributes) ResponseCard

type ConclusionStatementMessage

type ConclusionStatementMessage struct {
	// Content: string, required
	Content terra.StringValue `hcl:"content,attr" validate:"required"`
	// ContentType: string, required
	ContentType terra.StringValue `hcl:"content_type,attr" validate:"required"`
	// GroupNumber: number, optional
	GroupNumber terra.NumberValue `hcl:"group_number,attr"`
}

type ConclusionStatementMessageAttributes

type ConclusionStatementMessageAttributes struct {
	// contains filtered or unexported fields
}

func (ConclusionStatementMessageAttributes) Content

func (ConclusionStatementMessageAttributes) ContentType

func (ConclusionStatementMessageAttributes) GroupNumber

func (ConclusionStatementMessageAttributes) InternalRef

func (ConclusionStatementMessageAttributes) InternalTokens

func (ConclusionStatementMessageAttributes) InternalWithRef

type ConclusionStatementMessageState

type ConclusionStatementMessageState struct {
	Content     string  `json:"content"`
	ContentType string  `json:"content_type"`
	GroupNumber float64 `json:"group_number"`
}

type ConclusionStatementState

type ConclusionStatementState struct {
	ResponseCard string                            `json:"response_card"`
	Message      []ConclusionStatementMessageState `json:"message"`
}

type ConfirmationPrompt

type ConfirmationPrompt struct {
	// MaxAttempts: number, required
	MaxAttempts terra.NumberValue `hcl:"max_attempts,attr" validate:"required"`
	// ResponseCard: string, optional
	ResponseCard terra.StringValue `hcl:"response_card,attr"`
	// ConfirmationPromptMessage: min=1,max=15
	Message []ConfirmationPromptMessage `hcl:"message,block" validate:"min=1,max=15"`
}

type ConfirmationPromptAttributes

type ConfirmationPromptAttributes struct {
	// contains filtered or unexported fields
}

func (ConfirmationPromptAttributes) InternalRef

func (cp ConfirmationPromptAttributes) InternalRef() (terra.Reference, error)

func (ConfirmationPromptAttributes) InternalTokens

func (cp ConfirmationPromptAttributes) InternalTokens() (hclwrite.Tokens, error)

func (ConfirmationPromptAttributes) InternalWithRef

func (ConfirmationPromptAttributes) MaxAttempts

func (ConfirmationPromptAttributes) Message

func (ConfirmationPromptAttributes) ResponseCard

type ConfirmationPromptMessage

type ConfirmationPromptMessage struct {
	// Content: string, required
	Content terra.StringValue `hcl:"content,attr" validate:"required"`
	// ContentType: string, required
	ContentType terra.StringValue `hcl:"content_type,attr" validate:"required"`
	// GroupNumber: number, optional
	GroupNumber terra.NumberValue `hcl:"group_number,attr"`
}

type ConfirmationPromptMessageAttributes

type ConfirmationPromptMessageAttributes struct {
	// contains filtered or unexported fields
}

func (ConfirmationPromptMessageAttributes) Content

func (ConfirmationPromptMessageAttributes) ContentType

func (ConfirmationPromptMessageAttributes) GroupNumber

func (ConfirmationPromptMessageAttributes) InternalRef

func (ConfirmationPromptMessageAttributes) InternalTokens

func (ConfirmationPromptMessageAttributes) InternalWithRef

type ConfirmationPromptMessageState

type ConfirmationPromptMessageState struct {
	Content     string  `json:"content"`
	ContentType string  `json:"content_type"`
	GroupNumber float64 `json:"group_number"`
}

type ConfirmationPromptState

type ConfirmationPromptState struct {
	MaxAttempts  float64                          `json:"max_attempts"`
	ResponseCard string                           `json:"response_card"`
	Message      []ConfirmationPromptMessageState `json:"message"`
}

type DialogCodeHook

type DialogCodeHook struct {
	// MessageVersion: string, required
	MessageVersion terra.StringValue `hcl:"message_version,attr" validate:"required"`
	// Uri: string, required
	Uri terra.StringValue `hcl:"uri,attr" validate:"required"`
}

type DialogCodeHookAttributes

type DialogCodeHookAttributes struct {
	// contains filtered or unexported fields
}

func (DialogCodeHookAttributes) InternalRef

func (dch DialogCodeHookAttributes) InternalRef() (terra.Reference, error)

func (DialogCodeHookAttributes) InternalTokens

func (dch DialogCodeHookAttributes) InternalTokens() (hclwrite.Tokens, error)

func (DialogCodeHookAttributes) InternalWithRef

func (DialogCodeHookAttributes) MessageVersion

func (dch DialogCodeHookAttributes) MessageVersion() terra.StringValue

func (DialogCodeHookAttributes) Uri

type DialogCodeHookState

type DialogCodeHookState struct {
	MessageVersion string `json:"message_version"`
	Uri            string `json:"uri"`
}

type FollowUpPrompt

type FollowUpPrompt struct {
	// Prompt: required
	Prompt *Prompt `hcl:"prompt,block" validate:"required"`
	// FollowUpPromptRejectionStatement: required
	RejectionStatement *FollowUpPromptRejectionStatement `hcl:"rejection_statement,block" validate:"required"`
}

type FollowUpPromptAttributes

type FollowUpPromptAttributes struct {
	// contains filtered or unexported fields
}

func (FollowUpPromptAttributes) InternalRef

func (fup FollowUpPromptAttributes) InternalRef() (terra.Reference, error)

func (FollowUpPromptAttributes) InternalTokens

func (fup FollowUpPromptAttributes) InternalTokens() (hclwrite.Tokens, error)

func (FollowUpPromptAttributes) InternalWithRef

func (FollowUpPromptAttributes) Prompt

func (FollowUpPromptAttributes) RejectionStatement

type FollowUpPromptRejectionStatement

type FollowUpPromptRejectionStatement struct {
	// ResponseCard: string, optional
	ResponseCard terra.StringValue `hcl:"response_card,attr"`
	// FollowUpPromptRejectionStatementMessage: min=1,max=15
	Message []FollowUpPromptRejectionStatementMessage `hcl:"message,block" validate:"min=1,max=15"`
}

type FollowUpPromptRejectionStatementAttributes

type FollowUpPromptRejectionStatementAttributes struct {
	// contains filtered or unexported fields
}

func (FollowUpPromptRejectionStatementAttributes) InternalRef

func (FollowUpPromptRejectionStatementAttributes) InternalTokens

func (FollowUpPromptRejectionStatementAttributes) InternalWithRef

func (FollowUpPromptRejectionStatementAttributes) Message

func (FollowUpPromptRejectionStatementAttributes) ResponseCard

type FollowUpPromptRejectionStatementMessage

type FollowUpPromptRejectionStatementMessage struct {
	// Content: string, required
	Content terra.StringValue `hcl:"content,attr" validate:"required"`
	// ContentType: string, required
	ContentType terra.StringValue `hcl:"content_type,attr" validate:"required"`
	// GroupNumber: number, optional
	GroupNumber terra.NumberValue `hcl:"group_number,attr"`
}

type FollowUpPromptRejectionStatementMessageAttributes

type FollowUpPromptRejectionStatementMessageAttributes struct {
	// contains filtered or unexported fields
}

func (FollowUpPromptRejectionStatementMessageAttributes) Content

func (FollowUpPromptRejectionStatementMessageAttributes) ContentType

func (FollowUpPromptRejectionStatementMessageAttributes) GroupNumber

func (FollowUpPromptRejectionStatementMessageAttributes) InternalRef

func (FollowUpPromptRejectionStatementMessageAttributes) InternalTokens

func (FollowUpPromptRejectionStatementMessageAttributes) InternalWithRef

type FollowUpPromptRejectionStatementMessageState

type FollowUpPromptRejectionStatementMessageState struct {
	Content     string  `json:"content"`
	ContentType string  `json:"content_type"`
	GroupNumber float64 `json:"group_number"`
}

type FollowUpPromptRejectionStatementState

type FollowUpPromptRejectionStatementState struct {
	ResponseCard string                                         `json:"response_card"`
	Message      []FollowUpPromptRejectionStatementMessageState `json:"message"`
}

type FollowUpPromptState

type FollowUpPromptState struct {
	Prompt             []PromptState                           `json:"prompt"`
	RejectionStatement []FollowUpPromptRejectionStatementState `json:"rejection_statement"`
}

type FulfillmentActivity

type FulfillmentActivity struct {
	// Type: string, required
	Type terra.StringValue `hcl:"type,attr" validate:"required"`
	// CodeHook: optional
	CodeHook *CodeHook `hcl:"code_hook,block"`
}

type FulfillmentActivityAttributes

type FulfillmentActivityAttributes struct {
	// contains filtered or unexported fields
}

func (FulfillmentActivityAttributes) CodeHook

func (FulfillmentActivityAttributes) InternalRef

func (fa FulfillmentActivityAttributes) InternalRef() (terra.Reference, error)

func (FulfillmentActivityAttributes) InternalTokens

func (fa FulfillmentActivityAttributes) InternalTokens() (hclwrite.Tokens, error)

func (FulfillmentActivityAttributes) InternalWithRef

func (FulfillmentActivityAttributes) Type

type FulfillmentActivityState

type FulfillmentActivityState struct {
	Type     string          `json:"type"`
	CodeHook []CodeHookState `json:"code_hook"`
}

type Prompt

type Prompt struct {
	// MaxAttempts: number, required
	MaxAttempts terra.NumberValue `hcl:"max_attempts,attr" validate:"required"`
	// ResponseCard: string, optional
	ResponseCard terra.StringValue `hcl:"response_card,attr"`
	// PromptMessage: min=1,max=15
	Message []PromptMessage `hcl:"message,block" validate:"min=1,max=15"`
}

type PromptAttributes

type PromptAttributes struct {
	// contains filtered or unexported fields
}

func (PromptAttributes) InternalRef

func (p PromptAttributes) InternalRef() (terra.Reference, error)

func (PromptAttributes) InternalTokens

func (p PromptAttributes) InternalTokens() (hclwrite.Tokens, error)

func (PromptAttributes) InternalWithRef

func (p PromptAttributes) InternalWithRef(ref terra.Reference) PromptAttributes

func (PromptAttributes) MaxAttempts

func (p PromptAttributes) MaxAttempts() terra.NumberValue

func (PromptAttributes) Message

func (PromptAttributes) ResponseCard

func (p PromptAttributes) ResponseCard() terra.StringValue

type PromptMessage

type PromptMessage struct {
	// Content: string, required
	Content terra.StringValue `hcl:"content,attr" validate:"required"`
	// ContentType: string, required
	ContentType terra.StringValue `hcl:"content_type,attr" validate:"required"`
	// GroupNumber: number, optional
	GroupNumber terra.NumberValue `hcl:"group_number,attr"`
}

type PromptMessageAttributes

type PromptMessageAttributes struct {
	// contains filtered or unexported fields
}

func (PromptMessageAttributes) Content

func (PromptMessageAttributes) ContentType

func (m PromptMessageAttributes) ContentType() terra.StringValue

func (PromptMessageAttributes) GroupNumber

func (m PromptMessageAttributes) GroupNumber() terra.NumberValue

func (PromptMessageAttributes) InternalRef

func (m PromptMessageAttributes) InternalRef() (terra.Reference, error)

func (PromptMessageAttributes) InternalTokens

func (m PromptMessageAttributes) InternalTokens() (hclwrite.Tokens, error)

func (PromptMessageAttributes) InternalWithRef

type PromptMessageState

type PromptMessageState struct {
	Content     string  `json:"content"`
	ContentType string  `json:"content_type"`
	GroupNumber float64 `json:"group_number"`
}

type PromptState

type PromptState struct {
	MaxAttempts  float64              `json:"max_attempts"`
	ResponseCard string               `json:"response_card"`
	Message      []PromptMessageState `json:"message"`
}

type RejectionStatement

type RejectionStatement struct {
	// ResponseCard: string, optional
	ResponseCard terra.StringValue `hcl:"response_card,attr"`
	// RejectionStatementMessage: min=1,max=15
	Message []RejectionStatementMessage `hcl:"message,block" validate:"min=1,max=15"`
}

type RejectionStatementAttributes

type RejectionStatementAttributes struct {
	// contains filtered or unexported fields
}

func (RejectionStatementAttributes) InternalRef

func (rs RejectionStatementAttributes) InternalRef() (terra.Reference, error)

func (RejectionStatementAttributes) InternalTokens

func (rs RejectionStatementAttributes) InternalTokens() (hclwrite.Tokens, error)

func (RejectionStatementAttributes) InternalWithRef

func (RejectionStatementAttributes) Message

func (RejectionStatementAttributes) ResponseCard

type RejectionStatementMessage

type RejectionStatementMessage struct {
	// Content: string, required
	Content terra.StringValue `hcl:"content,attr" validate:"required"`
	// ContentType: string, required
	ContentType terra.StringValue `hcl:"content_type,attr" validate:"required"`
	// GroupNumber: number, optional
	GroupNumber terra.NumberValue `hcl:"group_number,attr"`
}

type RejectionStatementMessageAttributes

type RejectionStatementMessageAttributes struct {
	// contains filtered or unexported fields
}

func (RejectionStatementMessageAttributes) Content

func (RejectionStatementMessageAttributes) ContentType

func (RejectionStatementMessageAttributes) GroupNumber

func (RejectionStatementMessageAttributes) InternalRef

func (RejectionStatementMessageAttributes) InternalTokens

func (RejectionStatementMessageAttributes) InternalWithRef

type RejectionStatementMessageState

type RejectionStatementMessageState struct {
	Content     string  `json:"content"`
	ContentType string  `json:"content_type"`
	GroupNumber float64 `json:"group_number"`
}

type RejectionStatementState

type RejectionStatementState struct {
	ResponseCard string                           `json:"response_card"`
	Message      []RejectionStatementMessageState `json:"message"`
}

type Slot

type Slot struct {
	// Description: string, optional
	Description terra.StringValue `hcl:"description,attr"`
	// Name: string, required
	Name terra.StringValue `hcl:"name,attr" validate:"required"`
	// Priority: number, optional
	Priority terra.NumberValue `hcl:"priority,attr"`
	// ResponseCard: string, optional
	ResponseCard terra.StringValue `hcl:"response_card,attr"`
	// SampleUtterances: list of string, optional
	SampleUtterances terra.ListValue[terra.StringValue] `hcl:"sample_utterances,attr"`
	// SlotConstraint: string, required
	SlotConstraint terra.StringValue `hcl:"slot_constraint,attr" validate:"required"`
	// SlotType: string, required
	SlotType terra.StringValue `hcl:"slot_type,attr" validate:"required"`
	// SlotTypeVersion: string, optional
	SlotTypeVersion terra.StringValue `hcl:"slot_type_version,attr"`
	// ValueElicitationPrompt: optional
	ValueElicitationPrompt *ValueElicitationPrompt `hcl:"value_elicitation_prompt,block"`
}

type SlotAttributes

type SlotAttributes struct {
	// contains filtered or unexported fields
}

func (SlotAttributes) Description

func (s SlotAttributes) Description() terra.StringValue

func (SlotAttributes) InternalRef

func (s SlotAttributes) InternalRef() (terra.Reference, error)

func (SlotAttributes) InternalTokens

func (s SlotAttributes) InternalTokens() (hclwrite.Tokens, error)

func (SlotAttributes) InternalWithRef

func (s SlotAttributes) InternalWithRef(ref terra.Reference) SlotAttributes

func (SlotAttributes) Name

func (s SlotAttributes) Name() terra.StringValue

func (SlotAttributes) Priority

func (s SlotAttributes) Priority() terra.NumberValue

func (SlotAttributes) ResponseCard

func (s SlotAttributes) ResponseCard() terra.StringValue

func (SlotAttributes) SampleUtterances

func (s SlotAttributes) SampleUtterances() terra.ListValue[terra.StringValue]

func (SlotAttributes) SlotConstraint

func (s SlotAttributes) SlotConstraint() terra.StringValue

func (SlotAttributes) SlotType

func (s SlotAttributes) SlotType() terra.StringValue

func (SlotAttributes) SlotTypeVersion

func (s SlotAttributes) SlotTypeVersion() terra.StringValue

func (SlotAttributes) ValueElicitationPrompt

func (s SlotAttributes) ValueElicitationPrompt() terra.ListValue[ValueElicitationPromptAttributes]

type SlotState

type SlotState struct {
	Description            string                        `json:"description"`
	Name                   string                        `json:"name"`
	Priority               float64                       `json:"priority"`
	ResponseCard           string                        `json:"response_card"`
	SampleUtterances       []string                      `json:"sample_utterances"`
	SlotConstraint         string                        `json:"slot_constraint"`
	SlotType               string                        `json:"slot_type"`
	SlotTypeVersion        string                        `json:"slot_type_version"`
	ValueElicitationPrompt []ValueElicitationPromptState `json:"value_elicitation_prompt"`
}

type Timeouts

type Timeouts struct {
	// Create: string, optional
	Create terra.StringValue `hcl:"create,attr"`
	// Delete: string, optional
	Delete terra.StringValue `hcl:"delete,attr"`
	// Update: string, optional
	Update terra.StringValue `hcl:"update,attr"`
}

type TimeoutsAttributes

type TimeoutsAttributes struct {
	// contains filtered or unexported fields
}

func (TimeoutsAttributes) Create

func (TimeoutsAttributes) Delete

func (TimeoutsAttributes) InternalRef

func (t TimeoutsAttributes) InternalRef() (terra.Reference, error)

func (TimeoutsAttributes) InternalTokens

func (t TimeoutsAttributes) InternalTokens() (hclwrite.Tokens, error)

func (TimeoutsAttributes) InternalWithRef

func (t TimeoutsAttributes) InternalWithRef(ref terra.Reference) TimeoutsAttributes

func (TimeoutsAttributes) Update

type TimeoutsState

type TimeoutsState struct {
	Create string `json:"create"`
	Delete string `json:"delete"`
	Update string `json:"update"`
}

type ValueElicitationPrompt

type ValueElicitationPrompt struct {
	// MaxAttempts: number, required
	MaxAttempts terra.NumberValue `hcl:"max_attempts,attr" validate:"required"`
	// ResponseCard: string, optional
	ResponseCard terra.StringValue `hcl:"response_card,attr"`
	// ValueElicitationPromptMessage: min=1,max=15
	Message []ValueElicitationPromptMessage `hcl:"message,block" validate:"min=1,max=15"`
}

type ValueElicitationPromptAttributes

type ValueElicitationPromptAttributes struct {
	// contains filtered or unexported fields
}

func (ValueElicitationPromptAttributes) InternalRef

func (ValueElicitationPromptAttributes) InternalTokens

func (vep ValueElicitationPromptAttributes) InternalTokens() (hclwrite.Tokens, error)

func (ValueElicitationPromptAttributes) InternalWithRef

func (ValueElicitationPromptAttributes) MaxAttempts

func (ValueElicitationPromptAttributes) Message

func (ValueElicitationPromptAttributes) ResponseCard

type ValueElicitationPromptMessage

type ValueElicitationPromptMessage struct {
	// Content: string, required
	Content terra.StringValue `hcl:"content,attr" validate:"required"`
	// ContentType: string, required
	ContentType terra.StringValue `hcl:"content_type,attr" validate:"required"`
	// GroupNumber: number, optional
	GroupNumber terra.NumberValue `hcl:"group_number,attr"`
}

type ValueElicitationPromptMessageAttributes

type ValueElicitationPromptMessageAttributes struct {
	// contains filtered or unexported fields
}

func (ValueElicitationPromptMessageAttributes) Content

func (ValueElicitationPromptMessageAttributes) ContentType

func (ValueElicitationPromptMessageAttributes) GroupNumber

func (ValueElicitationPromptMessageAttributes) InternalRef

func (ValueElicitationPromptMessageAttributes) InternalTokens

func (ValueElicitationPromptMessageAttributes) InternalWithRef

type ValueElicitationPromptMessageState

type ValueElicitationPromptMessageState struct {
	Content     string  `json:"content"`
	ContentType string  `json:"content_type"`
	GroupNumber float64 `json:"group_number"`
}

type ValueElicitationPromptState

type ValueElicitationPromptState struct {
	MaxAttempts  float64                              `json:"max_attempts"`
	ResponseCard string                               `json:"response_card"`
	Message      []ValueElicitationPromptMessageState `json:"message"`
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL