aws_lex_bot

package
v5.45.0 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AbortStatement

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

type AbortStatementAttributes

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

func (AbortStatementAttributes) InternalRef

func (as AbortStatementAttributes) InternalRef() (terra.Reference, error)

func (AbortStatementAttributes) InternalTokens

func (as AbortStatementAttributes) InternalTokens() (hclwrite.Tokens, error)

func (AbortStatementAttributes) InternalWithRef

func (AbortStatementAttributes) Message

func (AbortStatementAttributes) ResponseCard

func (as AbortStatementAttributes) ResponseCard() terra.StringValue

type AbortStatementMessage

type AbortStatementMessage 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 AbortStatementMessageAttributes

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

func (AbortStatementMessageAttributes) Content

func (AbortStatementMessageAttributes) ContentType

func (AbortStatementMessageAttributes) GroupNumber

func (AbortStatementMessageAttributes) InternalRef

func (AbortStatementMessageAttributes) InternalTokens

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

func (AbortStatementMessageAttributes) InternalWithRef

type AbortStatementMessageState

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

type AbortStatementState

type AbortStatementState struct {
	ResponseCard string                       `json:"response_card"`
	Message      []AbortStatementMessageState `json:"message"`
}

type Args

type Args struct {
	// ChildDirected: bool, required
	ChildDirected terra.BoolValue `hcl:"child_directed,attr" validate:"required"`
	// CreateVersion: bool, optional
	CreateVersion terra.BoolValue `hcl:"create_version,attr"`
	// Description: string, optional
	Description terra.StringValue `hcl:"description,attr"`
	// DetectSentiment: bool, optional
	DetectSentiment terra.BoolValue `hcl:"detect_sentiment,attr"`
	// EnableModelImprovements: bool, optional
	EnableModelImprovements terra.BoolValue `hcl:"enable_model_improvements,attr"`
	// Id: string, optional
	Id terra.StringValue `hcl:"id,attr"`
	// IdleSessionTtlInSeconds: number, optional
	IdleSessionTtlInSeconds terra.NumberValue `hcl:"idle_session_ttl_in_seconds,attr"`
	// Locale: string, optional
	Locale terra.StringValue `hcl:"locale,attr"`
	// Name: string, required
	Name terra.StringValue `hcl:"name,attr" validate:"required"`
	// NluIntentConfidenceThreshold: number, optional
	NluIntentConfidenceThreshold terra.NumberValue `hcl:"nlu_intent_confidence_threshold,attr"`
	// ProcessBehavior: string, optional
	ProcessBehavior terra.StringValue `hcl:"process_behavior,attr"`
	// VoiceId: string, optional
	VoiceId terra.StringValue `hcl:"voice_id,attr"`
	// AbortStatement: required
	AbortStatement *AbortStatement `hcl:"abort_statement,block" validate:"required"`
	// ClarificationPrompt: optional
	ClarificationPrompt *ClarificationPrompt `hcl:"clarification_prompt,block"`
	// Intent: min=1,max=250
	Intent []Intent `hcl:"intent,block" validate:"min=1,max=250"`
	// Timeouts: optional
	Timeouts *Timeouts `hcl:"timeouts,block"`
}

Args contains the configurations for aws_lex_bot.

type ClarificationPrompt

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

type ClarificationPromptAttributes

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

func (ClarificationPromptAttributes) InternalRef

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

func (ClarificationPromptAttributes) InternalTokens

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

func (ClarificationPromptAttributes) InternalWithRef

func (ClarificationPromptAttributes) MaxAttempts

func (ClarificationPromptAttributes) Message

func (ClarificationPromptAttributes) ResponseCard

type ClarificationPromptMessage

type ClarificationPromptMessage 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 ClarificationPromptMessageAttributes

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

func (ClarificationPromptMessageAttributes) Content

func (ClarificationPromptMessageAttributes) ContentType

func (ClarificationPromptMessageAttributes) GroupNumber

func (ClarificationPromptMessageAttributes) InternalRef

func (ClarificationPromptMessageAttributes) InternalTokens

func (ClarificationPromptMessageAttributes) InternalWithRef

type ClarificationPromptMessageState

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

type ClarificationPromptState

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

type DataArgs

type DataArgs struct {
	// Id: string, optional
	Id terra.StringValue `hcl:"id,attr"`
	// Name: string, required
	Name terra.StringValue `hcl:"name,attr" validate:"required"`
	// Version: string, optional
	Version terra.StringValue `hcl:"version,attr"`
}

DataArgs contains the configurations for aws_lex_bot.

type DataSource

type DataSource struct {
	Name string
	Args DataArgs
}

DataSource represents the Terraform data resource aws_lex_bot.

func Data

func Data(name string, args DataArgs) *DataSource

Data creates a new instance of DataSource.

func (*DataSource) Attributes

func (alb *DataSource) Attributes() dataAwsLexBotAttributes

Attributes returns the attributes for DataSource.

func (*DataSource) Configuration

func (alb *DataSource) Configuration() interface{}

Configuration returns the configuration (args) for DataSource.

func (*DataSource) DataSource

func (alb *DataSource) DataSource() string

DataSource returns the Terraform object type for DataSource.

func (*DataSource) LocalName

func (alb *DataSource) LocalName() string

LocalName returns the local name for DataSource.

type Intent

type Intent struct {
	// IntentName: string, required
	IntentName terra.StringValue `hcl:"intent_name,attr" validate:"required"`
	// IntentVersion: string, required
	IntentVersion terra.StringValue `hcl:"intent_version,attr" validate:"required"`
}

type IntentAttributes

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

func (IntentAttributes) IntentName

func (i IntentAttributes) IntentName() terra.StringValue

func (IntentAttributes) IntentVersion

func (i IntentAttributes) IntentVersion() terra.StringValue

func (IntentAttributes) InternalRef

func (i IntentAttributes) InternalRef() (terra.Reference, error)

func (IntentAttributes) InternalTokens

func (i IntentAttributes) InternalTokens() (hclwrite.Tokens, error)

func (IntentAttributes) InternalWithRef

func (i IntentAttributes) InternalWithRef(ref terra.Reference) IntentAttributes

type IntentState

type IntentState struct {
	IntentName    string `json:"intent_name"`
	IntentVersion string `json:"intent_version"`
}

type Resource

type Resource struct {
	Name string
	Args Args

	DependsOn terra.Dependencies
	Lifecycle *terra.Lifecycle
	// contains filtered or unexported fields
}

Resource represents the Terraform resource aws_lex_bot.

func New

func New(name string, args Args) *Resource

New creates a new instance of Resource.

func (*Resource) Attributes

func (alb *Resource) Attributes() awsLexBotAttributes

Attributes returns the attributes for Resource.

func (*Resource) Configuration

func (alb *Resource) Configuration() interface{}

Configuration returns the configuration (args) for Resource.

func (*Resource) DependOn

func (alb *Resource) DependOn() terra.Reference

DependOn is used for other resources to depend on Resource.

func (*Resource) Dependencies

func (alb *Resource) Dependencies() terra.Dependencies

Dependencies returns the list of resources Resource depends_on.

func (*Resource) ImportState

func (alb *Resource) ImportState(state io.Reader) error

ImportState imports the given attribute values into Resource's state.

func (*Resource) LifecycleManagement

func (alb *Resource) LifecycleManagement() *terra.Lifecycle

LifecycleManagement returns the lifecycle block for Resource.

func (*Resource) LocalName

func (alb *Resource) LocalName() string

LocalName returns the local name for Resource.

func (*Resource) State

func (alb *Resource) State() (*awsLexBotState, bool)

State returns the state and a bool indicating if Resource has state.

func (*Resource) StateMust

func (alb *Resource) StateMust() *awsLexBotState

StateMust returns the state for Resource. Panics if the state is nil.

func (*Resource) Type

func (alb *Resource) Type() string

Type returns the Terraform object type for Resource.

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"`
}

Jump to

Keyboard shortcuts

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