Documentation ¶
Index ¶
- type Bot
- type BotAbortStatement
- type BotAbortStatementArgs
- func (BotAbortStatementArgs) ElementType() reflect.Type
- func (i BotAbortStatementArgs) ToBotAbortStatementOutput() BotAbortStatementOutput
- func (i BotAbortStatementArgs) ToBotAbortStatementOutputWithContext(ctx context.Context) BotAbortStatementOutput
- func (i BotAbortStatementArgs) ToBotAbortStatementPtrOutput() BotAbortStatementPtrOutput
- func (i BotAbortStatementArgs) ToBotAbortStatementPtrOutputWithContext(ctx context.Context) BotAbortStatementPtrOutput
- type BotAbortStatementInput
- type BotAbortStatementMessage
- type BotAbortStatementMessageArgs
- func (BotAbortStatementMessageArgs) ElementType() reflect.Type
- func (i BotAbortStatementMessageArgs) ToBotAbortStatementMessageOutput() BotAbortStatementMessageOutput
- func (i BotAbortStatementMessageArgs) ToBotAbortStatementMessageOutputWithContext(ctx context.Context) BotAbortStatementMessageOutput
- type BotAbortStatementMessageArray
- func (BotAbortStatementMessageArray) ElementType() reflect.Type
- func (i BotAbortStatementMessageArray) ToBotAbortStatementMessageArrayOutput() BotAbortStatementMessageArrayOutput
- func (i BotAbortStatementMessageArray) ToBotAbortStatementMessageArrayOutputWithContext(ctx context.Context) BotAbortStatementMessageArrayOutput
- type BotAbortStatementMessageArrayInput
- type BotAbortStatementMessageArrayOutput
- func (BotAbortStatementMessageArrayOutput) ElementType() reflect.Type
- func (o BotAbortStatementMessageArrayOutput) Index(i pulumi.IntInput) BotAbortStatementMessageOutput
- func (o BotAbortStatementMessageArrayOutput) ToBotAbortStatementMessageArrayOutput() BotAbortStatementMessageArrayOutput
- func (o BotAbortStatementMessageArrayOutput) ToBotAbortStatementMessageArrayOutputWithContext(ctx context.Context) BotAbortStatementMessageArrayOutput
- type BotAbortStatementMessageInput
- type BotAbortStatementMessageOutput
- func (o BotAbortStatementMessageOutput) Content() pulumi.StringOutput
- func (o BotAbortStatementMessageOutput) ContentType() pulumi.StringOutput
- func (BotAbortStatementMessageOutput) ElementType() reflect.Type
- func (o BotAbortStatementMessageOutput) GroupNumber() pulumi.IntPtrOutput
- func (o BotAbortStatementMessageOutput) ToBotAbortStatementMessageOutput() BotAbortStatementMessageOutput
- func (o BotAbortStatementMessageOutput) ToBotAbortStatementMessageOutputWithContext(ctx context.Context) BotAbortStatementMessageOutput
- type BotAbortStatementOutput
- func (BotAbortStatementOutput) ElementType() reflect.Type
- func (o BotAbortStatementOutput) Messages() BotAbortStatementMessageArrayOutput
- func (o BotAbortStatementOutput) ResponseCard() pulumi.StringPtrOutput
- func (o BotAbortStatementOutput) ToBotAbortStatementOutput() BotAbortStatementOutput
- func (o BotAbortStatementOutput) ToBotAbortStatementOutputWithContext(ctx context.Context) BotAbortStatementOutput
- func (o BotAbortStatementOutput) ToBotAbortStatementPtrOutput() BotAbortStatementPtrOutput
- func (o BotAbortStatementOutput) ToBotAbortStatementPtrOutputWithContext(ctx context.Context) BotAbortStatementPtrOutput
- type BotAbortStatementPtrInput
- type BotAbortStatementPtrOutput
- func (o BotAbortStatementPtrOutput) Elem() BotAbortStatementOutput
- func (BotAbortStatementPtrOutput) ElementType() reflect.Type
- func (o BotAbortStatementPtrOutput) Messages() BotAbortStatementMessageArrayOutput
- func (o BotAbortStatementPtrOutput) ResponseCard() pulumi.StringPtrOutput
- func (o BotAbortStatementPtrOutput) ToBotAbortStatementPtrOutput() BotAbortStatementPtrOutput
- func (o BotAbortStatementPtrOutput) ToBotAbortStatementPtrOutputWithContext(ctx context.Context) BotAbortStatementPtrOutput
- type BotAlias
- type BotAliasArgs
- type BotAliasConversationLogs
- type BotAliasConversationLogsArgs
- func (BotAliasConversationLogsArgs) ElementType() reflect.Type
- func (i BotAliasConversationLogsArgs) ToBotAliasConversationLogsOutput() BotAliasConversationLogsOutput
- func (i BotAliasConversationLogsArgs) ToBotAliasConversationLogsOutputWithContext(ctx context.Context) BotAliasConversationLogsOutput
- func (i BotAliasConversationLogsArgs) ToBotAliasConversationLogsPtrOutput() BotAliasConversationLogsPtrOutput
- func (i BotAliasConversationLogsArgs) ToBotAliasConversationLogsPtrOutputWithContext(ctx context.Context) BotAliasConversationLogsPtrOutput
- type BotAliasConversationLogsInput
- type BotAliasConversationLogsLogSetting
- type BotAliasConversationLogsLogSettingArgs
- func (BotAliasConversationLogsLogSettingArgs) ElementType() reflect.Type
- func (i BotAliasConversationLogsLogSettingArgs) ToBotAliasConversationLogsLogSettingOutput() BotAliasConversationLogsLogSettingOutput
- func (i BotAliasConversationLogsLogSettingArgs) ToBotAliasConversationLogsLogSettingOutputWithContext(ctx context.Context) BotAliasConversationLogsLogSettingOutput
- type BotAliasConversationLogsLogSettingArray
- func (BotAliasConversationLogsLogSettingArray) ElementType() reflect.Type
- func (i BotAliasConversationLogsLogSettingArray) ToBotAliasConversationLogsLogSettingArrayOutput() BotAliasConversationLogsLogSettingArrayOutput
- func (i BotAliasConversationLogsLogSettingArray) ToBotAliasConversationLogsLogSettingArrayOutputWithContext(ctx context.Context) BotAliasConversationLogsLogSettingArrayOutput
- type BotAliasConversationLogsLogSettingArrayInput
- type BotAliasConversationLogsLogSettingArrayOutput
- func (BotAliasConversationLogsLogSettingArrayOutput) ElementType() reflect.Type
- func (o BotAliasConversationLogsLogSettingArrayOutput) Index(i pulumi.IntInput) BotAliasConversationLogsLogSettingOutput
- func (o BotAliasConversationLogsLogSettingArrayOutput) ToBotAliasConversationLogsLogSettingArrayOutput() BotAliasConversationLogsLogSettingArrayOutput
- func (o BotAliasConversationLogsLogSettingArrayOutput) ToBotAliasConversationLogsLogSettingArrayOutputWithContext(ctx context.Context) BotAliasConversationLogsLogSettingArrayOutput
- type BotAliasConversationLogsLogSettingInput
- type BotAliasConversationLogsLogSettingOutput
- func (o BotAliasConversationLogsLogSettingOutput) Destination() pulumi.StringOutput
- func (BotAliasConversationLogsLogSettingOutput) ElementType() reflect.Type
- func (o BotAliasConversationLogsLogSettingOutput) KmsKeyArn() pulumi.StringPtrOutput
- func (o BotAliasConversationLogsLogSettingOutput) LogType() pulumi.StringOutput
- func (o BotAliasConversationLogsLogSettingOutput) ResourceArn() pulumi.StringOutput
- func (o BotAliasConversationLogsLogSettingOutput) ResourcePrefix() pulumi.StringPtrOutput
- func (o BotAliasConversationLogsLogSettingOutput) ToBotAliasConversationLogsLogSettingOutput() BotAliasConversationLogsLogSettingOutput
- func (o BotAliasConversationLogsLogSettingOutput) ToBotAliasConversationLogsLogSettingOutputWithContext(ctx context.Context) BotAliasConversationLogsLogSettingOutput
- type BotAliasConversationLogsOutput
- func (BotAliasConversationLogsOutput) ElementType() reflect.Type
- func (o BotAliasConversationLogsOutput) IamRoleArn() pulumi.StringOutput
- func (o BotAliasConversationLogsOutput) LogSettings() BotAliasConversationLogsLogSettingArrayOutput
- func (o BotAliasConversationLogsOutput) ToBotAliasConversationLogsOutput() BotAliasConversationLogsOutput
- func (o BotAliasConversationLogsOutput) ToBotAliasConversationLogsOutputWithContext(ctx context.Context) BotAliasConversationLogsOutput
- func (o BotAliasConversationLogsOutput) ToBotAliasConversationLogsPtrOutput() BotAliasConversationLogsPtrOutput
- func (o BotAliasConversationLogsOutput) ToBotAliasConversationLogsPtrOutputWithContext(ctx context.Context) BotAliasConversationLogsPtrOutput
- type BotAliasConversationLogsPtrInput
- type BotAliasConversationLogsPtrOutput
- func (o BotAliasConversationLogsPtrOutput) Elem() BotAliasConversationLogsOutput
- func (BotAliasConversationLogsPtrOutput) ElementType() reflect.Type
- func (o BotAliasConversationLogsPtrOutput) IamRoleArn() pulumi.StringPtrOutput
- func (o BotAliasConversationLogsPtrOutput) LogSettings() BotAliasConversationLogsLogSettingArrayOutput
- func (o BotAliasConversationLogsPtrOutput) ToBotAliasConversationLogsPtrOutput() BotAliasConversationLogsPtrOutput
- func (o BotAliasConversationLogsPtrOutput) ToBotAliasConversationLogsPtrOutputWithContext(ctx context.Context) BotAliasConversationLogsPtrOutput
- type BotAliasInput
- type BotAliasOutput
- type BotAliasState
- type BotArgs
- type BotClarificationPrompt
- type BotClarificationPromptArgs
- func (BotClarificationPromptArgs) ElementType() reflect.Type
- func (i BotClarificationPromptArgs) ToBotClarificationPromptOutput() BotClarificationPromptOutput
- func (i BotClarificationPromptArgs) ToBotClarificationPromptOutputWithContext(ctx context.Context) BotClarificationPromptOutput
- func (i BotClarificationPromptArgs) ToBotClarificationPromptPtrOutput() BotClarificationPromptPtrOutput
- func (i BotClarificationPromptArgs) ToBotClarificationPromptPtrOutputWithContext(ctx context.Context) BotClarificationPromptPtrOutput
- type BotClarificationPromptInput
- type BotClarificationPromptMessage
- type BotClarificationPromptMessageArgs
- func (BotClarificationPromptMessageArgs) ElementType() reflect.Type
- func (i BotClarificationPromptMessageArgs) ToBotClarificationPromptMessageOutput() BotClarificationPromptMessageOutput
- func (i BotClarificationPromptMessageArgs) ToBotClarificationPromptMessageOutputWithContext(ctx context.Context) BotClarificationPromptMessageOutput
- type BotClarificationPromptMessageArray
- func (BotClarificationPromptMessageArray) ElementType() reflect.Type
- func (i BotClarificationPromptMessageArray) ToBotClarificationPromptMessageArrayOutput() BotClarificationPromptMessageArrayOutput
- func (i BotClarificationPromptMessageArray) ToBotClarificationPromptMessageArrayOutputWithContext(ctx context.Context) BotClarificationPromptMessageArrayOutput
- type BotClarificationPromptMessageArrayInput
- type BotClarificationPromptMessageArrayOutput
- func (BotClarificationPromptMessageArrayOutput) ElementType() reflect.Type
- func (o BotClarificationPromptMessageArrayOutput) Index(i pulumi.IntInput) BotClarificationPromptMessageOutput
- func (o BotClarificationPromptMessageArrayOutput) ToBotClarificationPromptMessageArrayOutput() BotClarificationPromptMessageArrayOutput
- func (o BotClarificationPromptMessageArrayOutput) ToBotClarificationPromptMessageArrayOutputWithContext(ctx context.Context) BotClarificationPromptMessageArrayOutput
- type BotClarificationPromptMessageInput
- type BotClarificationPromptMessageOutput
- func (o BotClarificationPromptMessageOutput) Content() pulumi.StringOutput
- func (o BotClarificationPromptMessageOutput) ContentType() pulumi.StringOutput
- func (BotClarificationPromptMessageOutput) ElementType() reflect.Type
- func (o BotClarificationPromptMessageOutput) GroupNumber() pulumi.IntPtrOutput
- func (o BotClarificationPromptMessageOutput) ToBotClarificationPromptMessageOutput() BotClarificationPromptMessageOutput
- func (o BotClarificationPromptMessageOutput) ToBotClarificationPromptMessageOutputWithContext(ctx context.Context) BotClarificationPromptMessageOutput
- type BotClarificationPromptOutput
- func (BotClarificationPromptOutput) ElementType() reflect.Type
- func (o BotClarificationPromptOutput) MaxAttempts() pulumi.IntOutput
- func (o BotClarificationPromptOutput) Messages() BotClarificationPromptMessageArrayOutput
- func (o BotClarificationPromptOutput) ResponseCard() pulumi.StringPtrOutput
- func (o BotClarificationPromptOutput) ToBotClarificationPromptOutput() BotClarificationPromptOutput
- func (o BotClarificationPromptOutput) ToBotClarificationPromptOutputWithContext(ctx context.Context) BotClarificationPromptOutput
- func (o BotClarificationPromptOutput) ToBotClarificationPromptPtrOutput() BotClarificationPromptPtrOutput
- func (o BotClarificationPromptOutput) ToBotClarificationPromptPtrOutputWithContext(ctx context.Context) BotClarificationPromptPtrOutput
- type BotClarificationPromptPtrInput
- type BotClarificationPromptPtrOutput
- func (o BotClarificationPromptPtrOutput) Elem() BotClarificationPromptOutput
- func (BotClarificationPromptPtrOutput) ElementType() reflect.Type
- func (o BotClarificationPromptPtrOutput) MaxAttempts() pulumi.IntPtrOutput
- func (o BotClarificationPromptPtrOutput) Messages() BotClarificationPromptMessageArrayOutput
- func (o BotClarificationPromptPtrOutput) ResponseCard() pulumi.StringPtrOutput
- func (o BotClarificationPromptPtrOutput) ToBotClarificationPromptPtrOutput() BotClarificationPromptPtrOutput
- func (o BotClarificationPromptPtrOutput) ToBotClarificationPromptPtrOutputWithContext(ctx context.Context) BotClarificationPromptPtrOutput
- type BotInput
- type BotIntent
- type BotIntentArgs
- type BotIntentArray
- type BotIntentArrayInput
- type BotIntentArrayOutput
- func (BotIntentArrayOutput) ElementType() reflect.Type
- func (o BotIntentArrayOutput) Index(i pulumi.IntInput) BotIntentOutput
- func (o BotIntentArrayOutput) ToBotIntentArrayOutput() BotIntentArrayOutput
- func (o BotIntentArrayOutput) ToBotIntentArrayOutputWithContext(ctx context.Context) BotIntentArrayOutput
- type BotIntentInput
- type BotIntentOutput
- func (BotIntentOutput) ElementType() reflect.Type
- func (o BotIntentOutput) IntentName() pulumi.StringOutput
- func (o BotIntentOutput) IntentVersion() pulumi.StringOutput
- func (o BotIntentOutput) ToBotIntentOutput() BotIntentOutput
- func (o BotIntentOutput) ToBotIntentOutputWithContext(ctx context.Context) BotIntentOutput
- type BotOutput
- type BotState
- type GetSlotTypeEnumerationValue
- type GetSlotTypeEnumerationValueArgs
- func (GetSlotTypeEnumerationValueArgs) ElementType() reflect.Type
- func (i GetSlotTypeEnumerationValueArgs) ToGetSlotTypeEnumerationValueOutput() GetSlotTypeEnumerationValueOutput
- func (i GetSlotTypeEnumerationValueArgs) ToGetSlotTypeEnumerationValueOutputWithContext(ctx context.Context) GetSlotTypeEnumerationValueOutput
- type GetSlotTypeEnumerationValueArray
- func (GetSlotTypeEnumerationValueArray) ElementType() reflect.Type
- func (i GetSlotTypeEnumerationValueArray) ToGetSlotTypeEnumerationValueArrayOutput() GetSlotTypeEnumerationValueArrayOutput
- func (i GetSlotTypeEnumerationValueArray) ToGetSlotTypeEnumerationValueArrayOutputWithContext(ctx context.Context) GetSlotTypeEnumerationValueArrayOutput
- type GetSlotTypeEnumerationValueArrayInput
- type GetSlotTypeEnumerationValueArrayOutput
- func (GetSlotTypeEnumerationValueArrayOutput) ElementType() reflect.Type
- func (o GetSlotTypeEnumerationValueArrayOutput) Index(i pulumi.IntInput) GetSlotTypeEnumerationValueOutput
- func (o GetSlotTypeEnumerationValueArrayOutput) ToGetSlotTypeEnumerationValueArrayOutput() GetSlotTypeEnumerationValueArrayOutput
- func (o GetSlotTypeEnumerationValueArrayOutput) ToGetSlotTypeEnumerationValueArrayOutputWithContext(ctx context.Context) GetSlotTypeEnumerationValueArrayOutput
- type GetSlotTypeEnumerationValueInput
- type GetSlotTypeEnumerationValueOutput
- func (GetSlotTypeEnumerationValueOutput) ElementType() reflect.Type
- func (o GetSlotTypeEnumerationValueOutput) Synonyms() pulumi.StringArrayOutput
- func (o GetSlotTypeEnumerationValueOutput) ToGetSlotTypeEnumerationValueOutput() GetSlotTypeEnumerationValueOutput
- func (o GetSlotTypeEnumerationValueOutput) ToGetSlotTypeEnumerationValueOutputWithContext(ctx context.Context) GetSlotTypeEnumerationValueOutput
- func (o GetSlotTypeEnumerationValueOutput) Value() pulumi.StringOutput
- type Intent
- type IntentArgs
- type IntentConclusionStatement
- type IntentConclusionStatementArgs
- func (IntentConclusionStatementArgs) ElementType() reflect.Type
- func (i IntentConclusionStatementArgs) ToIntentConclusionStatementOutput() IntentConclusionStatementOutput
- func (i IntentConclusionStatementArgs) ToIntentConclusionStatementOutputWithContext(ctx context.Context) IntentConclusionStatementOutput
- func (i IntentConclusionStatementArgs) ToIntentConclusionStatementPtrOutput() IntentConclusionStatementPtrOutput
- func (i IntentConclusionStatementArgs) ToIntentConclusionStatementPtrOutputWithContext(ctx context.Context) IntentConclusionStatementPtrOutput
- type IntentConclusionStatementInput
- type IntentConclusionStatementMessage
- type IntentConclusionStatementMessageArgs
- func (IntentConclusionStatementMessageArgs) ElementType() reflect.Type
- func (i IntentConclusionStatementMessageArgs) ToIntentConclusionStatementMessageOutput() IntentConclusionStatementMessageOutput
- func (i IntentConclusionStatementMessageArgs) ToIntentConclusionStatementMessageOutputWithContext(ctx context.Context) IntentConclusionStatementMessageOutput
- type IntentConclusionStatementMessageArray
- func (IntentConclusionStatementMessageArray) ElementType() reflect.Type
- func (i IntentConclusionStatementMessageArray) ToIntentConclusionStatementMessageArrayOutput() IntentConclusionStatementMessageArrayOutput
- func (i IntentConclusionStatementMessageArray) ToIntentConclusionStatementMessageArrayOutputWithContext(ctx context.Context) IntentConclusionStatementMessageArrayOutput
- type IntentConclusionStatementMessageArrayInput
- type IntentConclusionStatementMessageArrayOutput
- func (IntentConclusionStatementMessageArrayOutput) ElementType() reflect.Type
- func (o IntentConclusionStatementMessageArrayOutput) Index(i pulumi.IntInput) IntentConclusionStatementMessageOutput
- func (o IntentConclusionStatementMessageArrayOutput) ToIntentConclusionStatementMessageArrayOutput() IntentConclusionStatementMessageArrayOutput
- func (o IntentConclusionStatementMessageArrayOutput) ToIntentConclusionStatementMessageArrayOutputWithContext(ctx context.Context) IntentConclusionStatementMessageArrayOutput
- type IntentConclusionStatementMessageInput
- type IntentConclusionStatementMessageOutput
- func (o IntentConclusionStatementMessageOutput) Content() pulumi.StringOutput
- func (o IntentConclusionStatementMessageOutput) ContentType() pulumi.StringOutput
- func (IntentConclusionStatementMessageOutput) ElementType() reflect.Type
- func (o IntentConclusionStatementMessageOutput) GroupNumber() pulumi.IntPtrOutput
- func (o IntentConclusionStatementMessageOutput) ToIntentConclusionStatementMessageOutput() IntentConclusionStatementMessageOutput
- func (o IntentConclusionStatementMessageOutput) ToIntentConclusionStatementMessageOutputWithContext(ctx context.Context) IntentConclusionStatementMessageOutput
- type IntentConclusionStatementOutput
- func (IntentConclusionStatementOutput) ElementType() reflect.Type
- func (o IntentConclusionStatementOutput) Messages() IntentConclusionStatementMessageArrayOutput
- func (o IntentConclusionStatementOutput) ResponseCard() pulumi.StringPtrOutput
- func (o IntentConclusionStatementOutput) ToIntentConclusionStatementOutput() IntentConclusionStatementOutput
- func (o IntentConclusionStatementOutput) ToIntentConclusionStatementOutputWithContext(ctx context.Context) IntentConclusionStatementOutput
- func (o IntentConclusionStatementOutput) ToIntentConclusionStatementPtrOutput() IntentConclusionStatementPtrOutput
- func (o IntentConclusionStatementOutput) ToIntentConclusionStatementPtrOutputWithContext(ctx context.Context) IntentConclusionStatementPtrOutput
- type IntentConclusionStatementPtrInput
- type IntentConclusionStatementPtrOutput
- func (o IntentConclusionStatementPtrOutput) Elem() IntentConclusionStatementOutput
- func (IntentConclusionStatementPtrOutput) ElementType() reflect.Type
- func (o IntentConclusionStatementPtrOutput) Messages() IntentConclusionStatementMessageArrayOutput
- func (o IntentConclusionStatementPtrOutput) ResponseCard() pulumi.StringPtrOutput
- func (o IntentConclusionStatementPtrOutput) ToIntentConclusionStatementPtrOutput() IntentConclusionStatementPtrOutput
- func (o IntentConclusionStatementPtrOutput) ToIntentConclusionStatementPtrOutputWithContext(ctx context.Context) IntentConclusionStatementPtrOutput
- type IntentConfirmationPrompt
- type IntentConfirmationPromptArgs
- func (IntentConfirmationPromptArgs) ElementType() reflect.Type
- func (i IntentConfirmationPromptArgs) ToIntentConfirmationPromptOutput() IntentConfirmationPromptOutput
- func (i IntentConfirmationPromptArgs) ToIntentConfirmationPromptOutputWithContext(ctx context.Context) IntentConfirmationPromptOutput
- func (i IntentConfirmationPromptArgs) ToIntentConfirmationPromptPtrOutput() IntentConfirmationPromptPtrOutput
- func (i IntentConfirmationPromptArgs) ToIntentConfirmationPromptPtrOutputWithContext(ctx context.Context) IntentConfirmationPromptPtrOutput
- type IntentConfirmationPromptInput
- type IntentConfirmationPromptMessage
- type IntentConfirmationPromptMessageArgs
- func (IntentConfirmationPromptMessageArgs) ElementType() reflect.Type
- func (i IntentConfirmationPromptMessageArgs) ToIntentConfirmationPromptMessageOutput() IntentConfirmationPromptMessageOutput
- func (i IntentConfirmationPromptMessageArgs) ToIntentConfirmationPromptMessageOutputWithContext(ctx context.Context) IntentConfirmationPromptMessageOutput
- type IntentConfirmationPromptMessageArray
- func (IntentConfirmationPromptMessageArray) ElementType() reflect.Type
- func (i IntentConfirmationPromptMessageArray) ToIntentConfirmationPromptMessageArrayOutput() IntentConfirmationPromptMessageArrayOutput
- func (i IntentConfirmationPromptMessageArray) ToIntentConfirmationPromptMessageArrayOutputWithContext(ctx context.Context) IntentConfirmationPromptMessageArrayOutput
- type IntentConfirmationPromptMessageArrayInput
- type IntentConfirmationPromptMessageArrayOutput
- func (IntentConfirmationPromptMessageArrayOutput) ElementType() reflect.Type
- func (o IntentConfirmationPromptMessageArrayOutput) Index(i pulumi.IntInput) IntentConfirmationPromptMessageOutput
- func (o IntentConfirmationPromptMessageArrayOutput) ToIntentConfirmationPromptMessageArrayOutput() IntentConfirmationPromptMessageArrayOutput
- func (o IntentConfirmationPromptMessageArrayOutput) ToIntentConfirmationPromptMessageArrayOutputWithContext(ctx context.Context) IntentConfirmationPromptMessageArrayOutput
- type IntentConfirmationPromptMessageInput
- type IntentConfirmationPromptMessageOutput
- func (o IntentConfirmationPromptMessageOutput) Content() pulumi.StringOutput
- func (o IntentConfirmationPromptMessageOutput) ContentType() pulumi.StringOutput
- func (IntentConfirmationPromptMessageOutput) ElementType() reflect.Type
- func (o IntentConfirmationPromptMessageOutput) GroupNumber() pulumi.IntPtrOutput
- func (o IntentConfirmationPromptMessageOutput) ToIntentConfirmationPromptMessageOutput() IntentConfirmationPromptMessageOutput
- func (o IntentConfirmationPromptMessageOutput) ToIntentConfirmationPromptMessageOutputWithContext(ctx context.Context) IntentConfirmationPromptMessageOutput
- type IntentConfirmationPromptOutput
- func (IntentConfirmationPromptOutput) ElementType() reflect.Type
- func (o IntentConfirmationPromptOutput) MaxAttempts() pulumi.IntOutput
- func (o IntentConfirmationPromptOutput) Messages() IntentConfirmationPromptMessageArrayOutput
- func (o IntentConfirmationPromptOutput) ResponseCard() pulumi.StringPtrOutput
- func (o IntentConfirmationPromptOutput) ToIntentConfirmationPromptOutput() IntentConfirmationPromptOutput
- func (o IntentConfirmationPromptOutput) ToIntentConfirmationPromptOutputWithContext(ctx context.Context) IntentConfirmationPromptOutput
- func (o IntentConfirmationPromptOutput) ToIntentConfirmationPromptPtrOutput() IntentConfirmationPromptPtrOutput
- func (o IntentConfirmationPromptOutput) ToIntentConfirmationPromptPtrOutputWithContext(ctx context.Context) IntentConfirmationPromptPtrOutput
- type IntentConfirmationPromptPtrInput
- type IntentConfirmationPromptPtrOutput
- func (o IntentConfirmationPromptPtrOutput) Elem() IntentConfirmationPromptOutput
- func (IntentConfirmationPromptPtrOutput) ElementType() reflect.Type
- func (o IntentConfirmationPromptPtrOutput) MaxAttempts() pulumi.IntPtrOutput
- func (o IntentConfirmationPromptPtrOutput) Messages() IntentConfirmationPromptMessageArrayOutput
- func (o IntentConfirmationPromptPtrOutput) ResponseCard() pulumi.StringPtrOutput
- func (o IntentConfirmationPromptPtrOutput) ToIntentConfirmationPromptPtrOutput() IntentConfirmationPromptPtrOutput
- func (o IntentConfirmationPromptPtrOutput) ToIntentConfirmationPromptPtrOutputWithContext(ctx context.Context) IntentConfirmationPromptPtrOutput
- type IntentDialogCodeHook
- type IntentDialogCodeHookArgs
- func (IntentDialogCodeHookArgs) ElementType() reflect.Type
- func (i IntentDialogCodeHookArgs) ToIntentDialogCodeHookOutput() IntentDialogCodeHookOutput
- func (i IntentDialogCodeHookArgs) ToIntentDialogCodeHookOutputWithContext(ctx context.Context) IntentDialogCodeHookOutput
- func (i IntentDialogCodeHookArgs) ToIntentDialogCodeHookPtrOutput() IntentDialogCodeHookPtrOutput
- func (i IntentDialogCodeHookArgs) ToIntentDialogCodeHookPtrOutputWithContext(ctx context.Context) IntentDialogCodeHookPtrOutput
- type IntentDialogCodeHookInput
- type IntentDialogCodeHookOutput
- func (IntentDialogCodeHookOutput) ElementType() reflect.Type
- func (o IntentDialogCodeHookOutput) MessageVersion() pulumi.StringOutput
- func (o IntentDialogCodeHookOutput) ToIntentDialogCodeHookOutput() IntentDialogCodeHookOutput
- func (o IntentDialogCodeHookOutput) ToIntentDialogCodeHookOutputWithContext(ctx context.Context) IntentDialogCodeHookOutput
- func (o IntentDialogCodeHookOutput) ToIntentDialogCodeHookPtrOutput() IntentDialogCodeHookPtrOutput
- func (o IntentDialogCodeHookOutput) ToIntentDialogCodeHookPtrOutputWithContext(ctx context.Context) IntentDialogCodeHookPtrOutput
- func (o IntentDialogCodeHookOutput) Uri() pulumi.StringOutput
- type IntentDialogCodeHookPtrInput
- type IntentDialogCodeHookPtrOutput
- func (o IntentDialogCodeHookPtrOutput) Elem() IntentDialogCodeHookOutput
- func (IntentDialogCodeHookPtrOutput) ElementType() reflect.Type
- func (o IntentDialogCodeHookPtrOutput) MessageVersion() pulumi.StringPtrOutput
- func (o IntentDialogCodeHookPtrOutput) ToIntentDialogCodeHookPtrOutput() IntentDialogCodeHookPtrOutput
- func (o IntentDialogCodeHookPtrOutput) ToIntentDialogCodeHookPtrOutputWithContext(ctx context.Context) IntentDialogCodeHookPtrOutput
- func (o IntentDialogCodeHookPtrOutput) Uri() pulumi.StringPtrOutput
- type IntentFollowUpPrompt
- type IntentFollowUpPromptArgs
- func (IntentFollowUpPromptArgs) ElementType() reflect.Type
- func (i IntentFollowUpPromptArgs) ToIntentFollowUpPromptOutput() IntentFollowUpPromptOutput
- func (i IntentFollowUpPromptArgs) ToIntentFollowUpPromptOutputWithContext(ctx context.Context) IntentFollowUpPromptOutput
- func (i IntentFollowUpPromptArgs) ToIntentFollowUpPromptPtrOutput() IntentFollowUpPromptPtrOutput
- func (i IntentFollowUpPromptArgs) ToIntentFollowUpPromptPtrOutputWithContext(ctx context.Context) IntentFollowUpPromptPtrOutput
- type IntentFollowUpPromptInput
- type IntentFollowUpPromptOutput
- func (IntentFollowUpPromptOutput) ElementType() reflect.Type
- func (o IntentFollowUpPromptOutput) Prompt() IntentFollowUpPromptPromptOutput
- func (o IntentFollowUpPromptOutput) RejectionStatement() IntentFollowUpPromptRejectionStatementOutput
- func (o IntentFollowUpPromptOutput) ToIntentFollowUpPromptOutput() IntentFollowUpPromptOutput
- func (o IntentFollowUpPromptOutput) ToIntentFollowUpPromptOutputWithContext(ctx context.Context) IntentFollowUpPromptOutput
- func (o IntentFollowUpPromptOutput) ToIntentFollowUpPromptPtrOutput() IntentFollowUpPromptPtrOutput
- func (o IntentFollowUpPromptOutput) ToIntentFollowUpPromptPtrOutputWithContext(ctx context.Context) IntentFollowUpPromptPtrOutput
- type IntentFollowUpPromptPrompt
- type IntentFollowUpPromptPromptArgs
- func (IntentFollowUpPromptPromptArgs) ElementType() reflect.Type
- func (i IntentFollowUpPromptPromptArgs) ToIntentFollowUpPromptPromptOutput() IntentFollowUpPromptPromptOutput
- func (i IntentFollowUpPromptPromptArgs) ToIntentFollowUpPromptPromptOutputWithContext(ctx context.Context) IntentFollowUpPromptPromptOutput
- func (i IntentFollowUpPromptPromptArgs) ToIntentFollowUpPromptPromptPtrOutput() IntentFollowUpPromptPromptPtrOutput
- func (i IntentFollowUpPromptPromptArgs) ToIntentFollowUpPromptPromptPtrOutputWithContext(ctx context.Context) IntentFollowUpPromptPromptPtrOutput
- type IntentFollowUpPromptPromptInput
- type IntentFollowUpPromptPromptMessage
- type IntentFollowUpPromptPromptMessageArgs
- func (IntentFollowUpPromptPromptMessageArgs) ElementType() reflect.Type
- func (i IntentFollowUpPromptPromptMessageArgs) ToIntentFollowUpPromptPromptMessageOutput() IntentFollowUpPromptPromptMessageOutput
- func (i IntentFollowUpPromptPromptMessageArgs) ToIntentFollowUpPromptPromptMessageOutputWithContext(ctx context.Context) IntentFollowUpPromptPromptMessageOutput
- type IntentFollowUpPromptPromptMessageArray
- func (IntentFollowUpPromptPromptMessageArray) ElementType() reflect.Type
- func (i IntentFollowUpPromptPromptMessageArray) ToIntentFollowUpPromptPromptMessageArrayOutput() IntentFollowUpPromptPromptMessageArrayOutput
- func (i IntentFollowUpPromptPromptMessageArray) ToIntentFollowUpPromptPromptMessageArrayOutputWithContext(ctx context.Context) IntentFollowUpPromptPromptMessageArrayOutput
- type IntentFollowUpPromptPromptMessageArrayInput
- type IntentFollowUpPromptPromptMessageArrayOutput
- func (IntentFollowUpPromptPromptMessageArrayOutput) ElementType() reflect.Type
- func (o IntentFollowUpPromptPromptMessageArrayOutput) Index(i pulumi.IntInput) IntentFollowUpPromptPromptMessageOutput
- func (o IntentFollowUpPromptPromptMessageArrayOutput) ToIntentFollowUpPromptPromptMessageArrayOutput() IntentFollowUpPromptPromptMessageArrayOutput
- func (o IntentFollowUpPromptPromptMessageArrayOutput) ToIntentFollowUpPromptPromptMessageArrayOutputWithContext(ctx context.Context) IntentFollowUpPromptPromptMessageArrayOutput
- type IntentFollowUpPromptPromptMessageInput
- type IntentFollowUpPromptPromptMessageOutput
- func (o IntentFollowUpPromptPromptMessageOutput) Content() pulumi.StringOutput
- func (o IntentFollowUpPromptPromptMessageOutput) ContentType() pulumi.StringOutput
- func (IntentFollowUpPromptPromptMessageOutput) ElementType() reflect.Type
- func (o IntentFollowUpPromptPromptMessageOutput) GroupNumber() pulumi.IntPtrOutput
- func (o IntentFollowUpPromptPromptMessageOutput) ToIntentFollowUpPromptPromptMessageOutput() IntentFollowUpPromptPromptMessageOutput
- func (o IntentFollowUpPromptPromptMessageOutput) ToIntentFollowUpPromptPromptMessageOutputWithContext(ctx context.Context) IntentFollowUpPromptPromptMessageOutput
- type IntentFollowUpPromptPromptOutput
- func (IntentFollowUpPromptPromptOutput) ElementType() reflect.Type
- func (o IntentFollowUpPromptPromptOutput) MaxAttempts() pulumi.IntOutput
- func (o IntentFollowUpPromptPromptOutput) Messages() IntentFollowUpPromptPromptMessageArrayOutput
- func (o IntentFollowUpPromptPromptOutput) ResponseCard() pulumi.StringPtrOutput
- func (o IntentFollowUpPromptPromptOutput) ToIntentFollowUpPromptPromptOutput() IntentFollowUpPromptPromptOutput
- func (o IntentFollowUpPromptPromptOutput) ToIntentFollowUpPromptPromptOutputWithContext(ctx context.Context) IntentFollowUpPromptPromptOutput
- func (o IntentFollowUpPromptPromptOutput) ToIntentFollowUpPromptPromptPtrOutput() IntentFollowUpPromptPromptPtrOutput
- func (o IntentFollowUpPromptPromptOutput) ToIntentFollowUpPromptPromptPtrOutputWithContext(ctx context.Context) IntentFollowUpPromptPromptPtrOutput
- type IntentFollowUpPromptPromptPtrInput
- type IntentFollowUpPromptPromptPtrOutput
- func (o IntentFollowUpPromptPromptPtrOutput) Elem() IntentFollowUpPromptPromptOutput
- func (IntentFollowUpPromptPromptPtrOutput) ElementType() reflect.Type
- func (o IntentFollowUpPromptPromptPtrOutput) MaxAttempts() pulumi.IntPtrOutput
- func (o IntentFollowUpPromptPromptPtrOutput) Messages() IntentFollowUpPromptPromptMessageArrayOutput
- func (o IntentFollowUpPromptPromptPtrOutput) ResponseCard() pulumi.StringPtrOutput
- func (o IntentFollowUpPromptPromptPtrOutput) ToIntentFollowUpPromptPromptPtrOutput() IntentFollowUpPromptPromptPtrOutput
- func (o IntentFollowUpPromptPromptPtrOutput) ToIntentFollowUpPromptPromptPtrOutputWithContext(ctx context.Context) IntentFollowUpPromptPromptPtrOutput
- type IntentFollowUpPromptPtrInput
- type IntentFollowUpPromptPtrOutput
- func (o IntentFollowUpPromptPtrOutput) Elem() IntentFollowUpPromptOutput
- func (IntentFollowUpPromptPtrOutput) ElementType() reflect.Type
- func (o IntentFollowUpPromptPtrOutput) Prompt() IntentFollowUpPromptPromptPtrOutput
- func (o IntentFollowUpPromptPtrOutput) RejectionStatement() IntentFollowUpPromptRejectionStatementPtrOutput
- func (o IntentFollowUpPromptPtrOutput) ToIntentFollowUpPromptPtrOutput() IntentFollowUpPromptPtrOutput
- func (o IntentFollowUpPromptPtrOutput) ToIntentFollowUpPromptPtrOutputWithContext(ctx context.Context) IntentFollowUpPromptPtrOutput
- type IntentFollowUpPromptRejectionStatement
- type IntentFollowUpPromptRejectionStatementArgs
- func (IntentFollowUpPromptRejectionStatementArgs) ElementType() reflect.Type
- func (i IntentFollowUpPromptRejectionStatementArgs) ToIntentFollowUpPromptRejectionStatementOutput() IntentFollowUpPromptRejectionStatementOutput
- func (i IntentFollowUpPromptRejectionStatementArgs) ToIntentFollowUpPromptRejectionStatementOutputWithContext(ctx context.Context) IntentFollowUpPromptRejectionStatementOutput
- func (i IntentFollowUpPromptRejectionStatementArgs) ToIntentFollowUpPromptRejectionStatementPtrOutput() IntentFollowUpPromptRejectionStatementPtrOutput
- func (i IntentFollowUpPromptRejectionStatementArgs) ToIntentFollowUpPromptRejectionStatementPtrOutputWithContext(ctx context.Context) IntentFollowUpPromptRejectionStatementPtrOutput
- type IntentFollowUpPromptRejectionStatementInput
- type IntentFollowUpPromptRejectionStatementMessage
- type IntentFollowUpPromptRejectionStatementMessageArgs
- func (IntentFollowUpPromptRejectionStatementMessageArgs) ElementType() reflect.Type
- func (i IntentFollowUpPromptRejectionStatementMessageArgs) ToIntentFollowUpPromptRejectionStatementMessageOutput() IntentFollowUpPromptRejectionStatementMessageOutput
- func (i IntentFollowUpPromptRejectionStatementMessageArgs) ToIntentFollowUpPromptRejectionStatementMessageOutputWithContext(ctx context.Context) IntentFollowUpPromptRejectionStatementMessageOutput
- type IntentFollowUpPromptRejectionStatementMessageArray
- func (IntentFollowUpPromptRejectionStatementMessageArray) ElementType() reflect.Type
- func (i IntentFollowUpPromptRejectionStatementMessageArray) ToIntentFollowUpPromptRejectionStatementMessageArrayOutput() IntentFollowUpPromptRejectionStatementMessageArrayOutput
- func (i IntentFollowUpPromptRejectionStatementMessageArray) ToIntentFollowUpPromptRejectionStatementMessageArrayOutputWithContext(ctx context.Context) IntentFollowUpPromptRejectionStatementMessageArrayOutput
- type IntentFollowUpPromptRejectionStatementMessageArrayInput
- type IntentFollowUpPromptRejectionStatementMessageArrayOutput
- func (IntentFollowUpPromptRejectionStatementMessageArrayOutput) ElementType() reflect.Type
- func (o IntentFollowUpPromptRejectionStatementMessageArrayOutput) Index(i pulumi.IntInput) IntentFollowUpPromptRejectionStatementMessageOutput
- func (o IntentFollowUpPromptRejectionStatementMessageArrayOutput) ToIntentFollowUpPromptRejectionStatementMessageArrayOutput() IntentFollowUpPromptRejectionStatementMessageArrayOutput
- func (o IntentFollowUpPromptRejectionStatementMessageArrayOutput) ToIntentFollowUpPromptRejectionStatementMessageArrayOutputWithContext(ctx context.Context) IntentFollowUpPromptRejectionStatementMessageArrayOutput
- type IntentFollowUpPromptRejectionStatementMessageInput
- type IntentFollowUpPromptRejectionStatementMessageOutput
- func (o IntentFollowUpPromptRejectionStatementMessageOutput) Content() pulumi.StringOutput
- func (o IntentFollowUpPromptRejectionStatementMessageOutput) ContentType() pulumi.StringOutput
- func (IntentFollowUpPromptRejectionStatementMessageOutput) ElementType() reflect.Type
- func (o IntentFollowUpPromptRejectionStatementMessageOutput) GroupNumber() pulumi.IntPtrOutput
- func (o IntentFollowUpPromptRejectionStatementMessageOutput) ToIntentFollowUpPromptRejectionStatementMessageOutput() IntentFollowUpPromptRejectionStatementMessageOutput
- func (o IntentFollowUpPromptRejectionStatementMessageOutput) ToIntentFollowUpPromptRejectionStatementMessageOutputWithContext(ctx context.Context) IntentFollowUpPromptRejectionStatementMessageOutput
- type IntentFollowUpPromptRejectionStatementOutput
- func (IntentFollowUpPromptRejectionStatementOutput) ElementType() reflect.Type
- func (o IntentFollowUpPromptRejectionStatementOutput) Messages() IntentFollowUpPromptRejectionStatementMessageArrayOutput
- func (o IntentFollowUpPromptRejectionStatementOutput) ResponseCard() pulumi.StringPtrOutput
- func (o IntentFollowUpPromptRejectionStatementOutput) ToIntentFollowUpPromptRejectionStatementOutput() IntentFollowUpPromptRejectionStatementOutput
- func (o IntentFollowUpPromptRejectionStatementOutput) ToIntentFollowUpPromptRejectionStatementOutputWithContext(ctx context.Context) IntentFollowUpPromptRejectionStatementOutput
- func (o IntentFollowUpPromptRejectionStatementOutput) ToIntentFollowUpPromptRejectionStatementPtrOutput() IntentFollowUpPromptRejectionStatementPtrOutput
- func (o IntentFollowUpPromptRejectionStatementOutput) ToIntentFollowUpPromptRejectionStatementPtrOutputWithContext(ctx context.Context) IntentFollowUpPromptRejectionStatementPtrOutput
- type IntentFollowUpPromptRejectionStatementPtrInput
- type IntentFollowUpPromptRejectionStatementPtrOutput
- func (o IntentFollowUpPromptRejectionStatementPtrOutput) Elem() IntentFollowUpPromptRejectionStatementOutput
- func (IntentFollowUpPromptRejectionStatementPtrOutput) ElementType() reflect.Type
- func (o IntentFollowUpPromptRejectionStatementPtrOutput) Messages() IntentFollowUpPromptRejectionStatementMessageArrayOutput
- func (o IntentFollowUpPromptRejectionStatementPtrOutput) ResponseCard() pulumi.StringPtrOutput
- func (o IntentFollowUpPromptRejectionStatementPtrOutput) ToIntentFollowUpPromptRejectionStatementPtrOutput() IntentFollowUpPromptRejectionStatementPtrOutput
- func (o IntentFollowUpPromptRejectionStatementPtrOutput) ToIntentFollowUpPromptRejectionStatementPtrOutputWithContext(ctx context.Context) IntentFollowUpPromptRejectionStatementPtrOutput
- type IntentFulfillmentActivity
- type IntentFulfillmentActivityArgs
- func (IntentFulfillmentActivityArgs) ElementType() reflect.Type
- func (i IntentFulfillmentActivityArgs) ToIntentFulfillmentActivityOutput() IntentFulfillmentActivityOutput
- func (i IntentFulfillmentActivityArgs) ToIntentFulfillmentActivityOutputWithContext(ctx context.Context) IntentFulfillmentActivityOutput
- func (i IntentFulfillmentActivityArgs) ToIntentFulfillmentActivityPtrOutput() IntentFulfillmentActivityPtrOutput
- func (i IntentFulfillmentActivityArgs) ToIntentFulfillmentActivityPtrOutputWithContext(ctx context.Context) IntentFulfillmentActivityPtrOutput
- type IntentFulfillmentActivityCodeHook
- type IntentFulfillmentActivityCodeHookArgs
- func (IntentFulfillmentActivityCodeHookArgs) ElementType() reflect.Type
- func (i IntentFulfillmentActivityCodeHookArgs) ToIntentFulfillmentActivityCodeHookOutput() IntentFulfillmentActivityCodeHookOutput
- func (i IntentFulfillmentActivityCodeHookArgs) ToIntentFulfillmentActivityCodeHookOutputWithContext(ctx context.Context) IntentFulfillmentActivityCodeHookOutput
- func (i IntentFulfillmentActivityCodeHookArgs) ToIntentFulfillmentActivityCodeHookPtrOutput() IntentFulfillmentActivityCodeHookPtrOutput
- func (i IntentFulfillmentActivityCodeHookArgs) ToIntentFulfillmentActivityCodeHookPtrOutputWithContext(ctx context.Context) IntentFulfillmentActivityCodeHookPtrOutput
- type IntentFulfillmentActivityCodeHookInput
- type IntentFulfillmentActivityCodeHookOutput
- func (IntentFulfillmentActivityCodeHookOutput) ElementType() reflect.Type
- func (o IntentFulfillmentActivityCodeHookOutput) MessageVersion() pulumi.StringOutput
- func (o IntentFulfillmentActivityCodeHookOutput) ToIntentFulfillmentActivityCodeHookOutput() IntentFulfillmentActivityCodeHookOutput
- func (o IntentFulfillmentActivityCodeHookOutput) ToIntentFulfillmentActivityCodeHookOutputWithContext(ctx context.Context) IntentFulfillmentActivityCodeHookOutput
- func (o IntentFulfillmentActivityCodeHookOutput) ToIntentFulfillmentActivityCodeHookPtrOutput() IntentFulfillmentActivityCodeHookPtrOutput
- func (o IntentFulfillmentActivityCodeHookOutput) ToIntentFulfillmentActivityCodeHookPtrOutputWithContext(ctx context.Context) IntentFulfillmentActivityCodeHookPtrOutput
- func (o IntentFulfillmentActivityCodeHookOutput) Uri() pulumi.StringOutput
- type IntentFulfillmentActivityCodeHookPtrInput
- type IntentFulfillmentActivityCodeHookPtrOutput
- func (o IntentFulfillmentActivityCodeHookPtrOutput) Elem() IntentFulfillmentActivityCodeHookOutput
- func (IntentFulfillmentActivityCodeHookPtrOutput) ElementType() reflect.Type
- func (o IntentFulfillmentActivityCodeHookPtrOutput) MessageVersion() pulumi.StringPtrOutput
- func (o IntentFulfillmentActivityCodeHookPtrOutput) ToIntentFulfillmentActivityCodeHookPtrOutput() IntentFulfillmentActivityCodeHookPtrOutput
- func (o IntentFulfillmentActivityCodeHookPtrOutput) ToIntentFulfillmentActivityCodeHookPtrOutputWithContext(ctx context.Context) IntentFulfillmentActivityCodeHookPtrOutput
- func (o IntentFulfillmentActivityCodeHookPtrOutput) Uri() pulumi.StringPtrOutput
- type IntentFulfillmentActivityInput
- type IntentFulfillmentActivityOutput
- func (o IntentFulfillmentActivityOutput) CodeHook() IntentFulfillmentActivityCodeHookPtrOutput
- func (IntentFulfillmentActivityOutput) ElementType() reflect.Type
- func (o IntentFulfillmentActivityOutput) ToIntentFulfillmentActivityOutput() IntentFulfillmentActivityOutput
- func (o IntentFulfillmentActivityOutput) ToIntentFulfillmentActivityOutputWithContext(ctx context.Context) IntentFulfillmentActivityOutput
- func (o IntentFulfillmentActivityOutput) ToIntentFulfillmentActivityPtrOutput() IntentFulfillmentActivityPtrOutput
- func (o IntentFulfillmentActivityOutput) ToIntentFulfillmentActivityPtrOutputWithContext(ctx context.Context) IntentFulfillmentActivityPtrOutput
- func (o IntentFulfillmentActivityOutput) Type() pulumi.StringOutput
- type IntentFulfillmentActivityPtrInput
- type IntentFulfillmentActivityPtrOutput
- func (o IntentFulfillmentActivityPtrOutput) CodeHook() IntentFulfillmentActivityCodeHookPtrOutput
- func (o IntentFulfillmentActivityPtrOutput) Elem() IntentFulfillmentActivityOutput
- func (IntentFulfillmentActivityPtrOutput) ElementType() reflect.Type
- func (o IntentFulfillmentActivityPtrOutput) ToIntentFulfillmentActivityPtrOutput() IntentFulfillmentActivityPtrOutput
- func (o IntentFulfillmentActivityPtrOutput) ToIntentFulfillmentActivityPtrOutputWithContext(ctx context.Context) IntentFulfillmentActivityPtrOutput
- func (o IntentFulfillmentActivityPtrOutput) Type() pulumi.StringPtrOutput
- type IntentInput
- type IntentOutput
- type IntentRejectionStatement
- type IntentRejectionStatementArgs
- func (IntentRejectionStatementArgs) ElementType() reflect.Type
- func (i IntentRejectionStatementArgs) ToIntentRejectionStatementOutput() IntentRejectionStatementOutput
- func (i IntentRejectionStatementArgs) ToIntentRejectionStatementOutputWithContext(ctx context.Context) IntentRejectionStatementOutput
- func (i IntentRejectionStatementArgs) ToIntentRejectionStatementPtrOutput() IntentRejectionStatementPtrOutput
- func (i IntentRejectionStatementArgs) ToIntentRejectionStatementPtrOutputWithContext(ctx context.Context) IntentRejectionStatementPtrOutput
- type IntentRejectionStatementInput
- type IntentRejectionStatementMessage
- type IntentRejectionStatementMessageArgs
- func (IntentRejectionStatementMessageArgs) ElementType() reflect.Type
- func (i IntentRejectionStatementMessageArgs) ToIntentRejectionStatementMessageOutput() IntentRejectionStatementMessageOutput
- func (i IntentRejectionStatementMessageArgs) ToIntentRejectionStatementMessageOutputWithContext(ctx context.Context) IntentRejectionStatementMessageOutput
- type IntentRejectionStatementMessageArray
- func (IntentRejectionStatementMessageArray) ElementType() reflect.Type
- func (i IntentRejectionStatementMessageArray) ToIntentRejectionStatementMessageArrayOutput() IntentRejectionStatementMessageArrayOutput
- func (i IntentRejectionStatementMessageArray) ToIntentRejectionStatementMessageArrayOutputWithContext(ctx context.Context) IntentRejectionStatementMessageArrayOutput
- type IntentRejectionStatementMessageArrayInput
- type IntentRejectionStatementMessageArrayOutput
- func (IntentRejectionStatementMessageArrayOutput) ElementType() reflect.Type
- func (o IntentRejectionStatementMessageArrayOutput) Index(i pulumi.IntInput) IntentRejectionStatementMessageOutput
- func (o IntentRejectionStatementMessageArrayOutput) ToIntentRejectionStatementMessageArrayOutput() IntentRejectionStatementMessageArrayOutput
- func (o IntentRejectionStatementMessageArrayOutput) ToIntentRejectionStatementMessageArrayOutputWithContext(ctx context.Context) IntentRejectionStatementMessageArrayOutput
- type IntentRejectionStatementMessageInput
- type IntentRejectionStatementMessageOutput
- func (o IntentRejectionStatementMessageOutput) Content() pulumi.StringOutput
- func (o IntentRejectionStatementMessageOutput) ContentType() pulumi.StringOutput
- func (IntentRejectionStatementMessageOutput) ElementType() reflect.Type
- func (o IntentRejectionStatementMessageOutput) GroupNumber() pulumi.IntPtrOutput
- func (o IntentRejectionStatementMessageOutput) ToIntentRejectionStatementMessageOutput() IntentRejectionStatementMessageOutput
- func (o IntentRejectionStatementMessageOutput) ToIntentRejectionStatementMessageOutputWithContext(ctx context.Context) IntentRejectionStatementMessageOutput
- type IntentRejectionStatementOutput
- func (IntentRejectionStatementOutput) ElementType() reflect.Type
- func (o IntentRejectionStatementOutput) Messages() IntentRejectionStatementMessageArrayOutput
- func (o IntentRejectionStatementOutput) ResponseCard() pulumi.StringPtrOutput
- func (o IntentRejectionStatementOutput) ToIntentRejectionStatementOutput() IntentRejectionStatementOutput
- func (o IntentRejectionStatementOutput) ToIntentRejectionStatementOutputWithContext(ctx context.Context) IntentRejectionStatementOutput
- func (o IntentRejectionStatementOutput) ToIntentRejectionStatementPtrOutput() IntentRejectionStatementPtrOutput
- func (o IntentRejectionStatementOutput) ToIntentRejectionStatementPtrOutputWithContext(ctx context.Context) IntentRejectionStatementPtrOutput
- type IntentRejectionStatementPtrInput
- type IntentRejectionStatementPtrOutput
- func (o IntentRejectionStatementPtrOutput) Elem() IntentRejectionStatementOutput
- func (IntentRejectionStatementPtrOutput) ElementType() reflect.Type
- func (o IntentRejectionStatementPtrOutput) Messages() IntentRejectionStatementMessageArrayOutput
- func (o IntentRejectionStatementPtrOutput) ResponseCard() pulumi.StringPtrOutput
- func (o IntentRejectionStatementPtrOutput) ToIntentRejectionStatementPtrOutput() IntentRejectionStatementPtrOutput
- func (o IntentRejectionStatementPtrOutput) ToIntentRejectionStatementPtrOutputWithContext(ctx context.Context) IntentRejectionStatementPtrOutput
- type IntentSlot
- type IntentSlotArgs
- type IntentSlotArray
- type IntentSlotArrayInput
- type IntentSlotArrayOutput
- func (IntentSlotArrayOutput) ElementType() reflect.Type
- func (o IntentSlotArrayOutput) Index(i pulumi.IntInput) IntentSlotOutput
- func (o IntentSlotArrayOutput) ToIntentSlotArrayOutput() IntentSlotArrayOutput
- func (o IntentSlotArrayOutput) ToIntentSlotArrayOutputWithContext(ctx context.Context) IntentSlotArrayOutput
- type IntentSlotInput
- type IntentSlotOutput
- func (o IntentSlotOutput) Description() pulumi.StringPtrOutput
- func (IntentSlotOutput) ElementType() reflect.Type
- func (o IntentSlotOutput) Name() pulumi.StringOutput
- func (o IntentSlotOutput) Priority() pulumi.IntPtrOutput
- func (o IntentSlotOutput) ResponseCard() pulumi.StringPtrOutput
- func (o IntentSlotOutput) SampleUtterances() pulumi.StringArrayOutput
- func (o IntentSlotOutput) SlotConstraint() pulumi.StringOutput
- func (o IntentSlotOutput) SlotType() pulumi.StringOutput
- func (o IntentSlotOutput) SlotTypeVersion() pulumi.StringPtrOutput
- func (o IntentSlotOutput) ToIntentSlotOutput() IntentSlotOutput
- func (o IntentSlotOutput) ToIntentSlotOutputWithContext(ctx context.Context) IntentSlotOutput
- func (o IntentSlotOutput) ValueElicitationPrompt() IntentSlotValueElicitationPromptPtrOutput
- type IntentSlotValueElicitationPrompt
- type IntentSlotValueElicitationPromptArgs
- func (IntentSlotValueElicitationPromptArgs) ElementType() reflect.Type
- func (i IntentSlotValueElicitationPromptArgs) ToIntentSlotValueElicitationPromptOutput() IntentSlotValueElicitationPromptOutput
- func (i IntentSlotValueElicitationPromptArgs) ToIntentSlotValueElicitationPromptOutputWithContext(ctx context.Context) IntentSlotValueElicitationPromptOutput
- func (i IntentSlotValueElicitationPromptArgs) ToIntentSlotValueElicitationPromptPtrOutput() IntentSlotValueElicitationPromptPtrOutput
- func (i IntentSlotValueElicitationPromptArgs) ToIntentSlotValueElicitationPromptPtrOutputWithContext(ctx context.Context) IntentSlotValueElicitationPromptPtrOutput
- type IntentSlotValueElicitationPromptInput
- type IntentSlotValueElicitationPromptMessage
- type IntentSlotValueElicitationPromptMessageArgs
- func (IntentSlotValueElicitationPromptMessageArgs) ElementType() reflect.Type
- func (i IntentSlotValueElicitationPromptMessageArgs) ToIntentSlotValueElicitationPromptMessageOutput() IntentSlotValueElicitationPromptMessageOutput
- func (i IntentSlotValueElicitationPromptMessageArgs) ToIntentSlotValueElicitationPromptMessageOutputWithContext(ctx context.Context) IntentSlotValueElicitationPromptMessageOutput
- type IntentSlotValueElicitationPromptMessageArray
- func (IntentSlotValueElicitationPromptMessageArray) ElementType() reflect.Type
- func (i IntentSlotValueElicitationPromptMessageArray) ToIntentSlotValueElicitationPromptMessageArrayOutput() IntentSlotValueElicitationPromptMessageArrayOutput
- func (i IntentSlotValueElicitationPromptMessageArray) ToIntentSlotValueElicitationPromptMessageArrayOutputWithContext(ctx context.Context) IntentSlotValueElicitationPromptMessageArrayOutput
- type IntentSlotValueElicitationPromptMessageArrayInput
- type IntentSlotValueElicitationPromptMessageArrayOutput
- func (IntentSlotValueElicitationPromptMessageArrayOutput) ElementType() reflect.Type
- func (o IntentSlotValueElicitationPromptMessageArrayOutput) Index(i pulumi.IntInput) IntentSlotValueElicitationPromptMessageOutput
- func (o IntentSlotValueElicitationPromptMessageArrayOutput) ToIntentSlotValueElicitationPromptMessageArrayOutput() IntentSlotValueElicitationPromptMessageArrayOutput
- func (o IntentSlotValueElicitationPromptMessageArrayOutput) ToIntentSlotValueElicitationPromptMessageArrayOutputWithContext(ctx context.Context) IntentSlotValueElicitationPromptMessageArrayOutput
- type IntentSlotValueElicitationPromptMessageInput
- type IntentSlotValueElicitationPromptMessageOutput
- func (o IntentSlotValueElicitationPromptMessageOutput) Content() pulumi.StringOutput
- func (o IntentSlotValueElicitationPromptMessageOutput) ContentType() pulumi.StringOutput
- func (IntentSlotValueElicitationPromptMessageOutput) ElementType() reflect.Type
- func (o IntentSlotValueElicitationPromptMessageOutput) GroupNumber() pulumi.IntPtrOutput
- func (o IntentSlotValueElicitationPromptMessageOutput) ToIntentSlotValueElicitationPromptMessageOutput() IntentSlotValueElicitationPromptMessageOutput
- func (o IntentSlotValueElicitationPromptMessageOutput) ToIntentSlotValueElicitationPromptMessageOutputWithContext(ctx context.Context) IntentSlotValueElicitationPromptMessageOutput
- type IntentSlotValueElicitationPromptOutput
- func (IntentSlotValueElicitationPromptOutput) ElementType() reflect.Type
- func (o IntentSlotValueElicitationPromptOutput) MaxAttempts() pulumi.IntOutput
- func (o IntentSlotValueElicitationPromptOutput) Messages() IntentSlotValueElicitationPromptMessageArrayOutput
- func (o IntentSlotValueElicitationPromptOutput) ResponseCard() pulumi.StringPtrOutput
- func (o IntentSlotValueElicitationPromptOutput) ToIntentSlotValueElicitationPromptOutput() IntentSlotValueElicitationPromptOutput
- func (o IntentSlotValueElicitationPromptOutput) ToIntentSlotValueElicitationPromptOutputWithContext(ctx context.Context) IntentSlotValueElicitationPromptOutput
- func (o IntentSlotValueElicitationPromptOutput) ToIntentSlotValueElicitationPromptPtrOutput() IntentSlotValueElicitationPromptPtrOutput
- func (o IntentSlotValueElicitationPromptOutput) ToIntentSlotValueElicitationPromptPtrOutputWithContext(ctx context.Context) IntentSlotValueElicitationPromptPtrOutput
- type IntentSlotValueElicitationPromptPtrInput
- type IntentSlotValueElicitationPromptPtrOutput
- func (o IntentSlotValueElicitationPromptPtrOutput) Elem() IntentSlotValueElicitationPromptOutput
- func (IntentSlotValueElicitationPromptPtrOutput) ElementType() reflect.Type
- func (o IntentSlotValueElicitationPromptPtrOutput) MaxAttempts() pulumi.IntPtrOutput
- func (o IntentSlotValueElicitationPromptPtrOutput) Messages() IntentSlotValueElicitationPromptMessageArrayOutput
- func (o IntentSlotValueElicitationPromptPtrOutput) ResponseCard() pulumi.StringPtrOutput
- func (o IntentSlotValueElicitationPromptPtrOutput) ToIntentSlotValueElicitationPromptPtrOutput() IntentSlotValueElicitationPromptPtrOutput
- func (o IntentSlotValueElicitationPromptPtrOutput) ToIntentSlotValueElicitationPromptPtrOutputWithContext(ctx context.Context) IntentSlotValueElicitationPromptPtrOutput
- type IntentState
- type LookupBotAliasArgs
- type LookupBotAliasResult
- type LookupBotArgs
- type LookupBotResult
- type LookupIntentArgs
- type LookupIntentResult
- type LookupSlotTypeArgs
- type LookupSlotTypeResult
- type SlotType
- type SlotTypeArgs
- type SlotTypeEnumerationValue
- type SlotTypeEnumerationValueArgs
- func (SlotTypeEnumerationValueArgs) ElementType() reflect.Type
- func (i SlotTypeEnumerationValueArgs) ToSlotTypeEnumerationValueOutput() SlotTypeEnumerationValueOutput
- func (i SlotTypeEnumerationValueArgs) ToSlotTypeEnumerationValueOutputWithContext(ctx context.Context) SlotTypeEnumerationValueOutput
- type SlotTypeEnumerationValueArray
- func (SlotTypeEnumerationValueArray) ElementType() reflect.Type
- func (i SlotTypeEnumerationValueArray) ToSlotTypeEnumerationValueArrayOutput() SlotTypeEnumerationValueArrayOutput
- func (i SlotTypeEnumerationValueArray) ToSlotTypeEnumerationValueArrayOutputWithContext(ctx context.Context) SlotTypeEnumerationValueArrayOutput
- type SlotTypeEnumerationValueArrayInput
- type SlotTypeEnumerationValueArrayOutput
- func (SlotTypeEnumerationValueArrayOutput) ElementType() reflect.Type
- func (o SlotTypeEnumerationValueArrayOutput) Index(i pulumi.IntInput) SlotTypeEnumerationValueOutput
- func (o SlotTypeEnumerationValueArrayOutput) ToSlotTypeEnumerationValueArrayOutput() SlotTypeEnumerationValueArrayOutput
- func (o SlotTypeEnumerationValueArrayOutput) ToSlotTypeEnumerationValueArrayOutputWithContext(ctx context.Context) SlotTypeEnumerationValueArrayOutput
- type SlotTypeEnumerationValueInput
- type SlotTypeEnumerationValueOutput
- func (SlotTypeEnumerationValueOutput) ElementType() reflect.Type
- func (o SlotTypeEnumerationValueOutput) Synonyms() pulumi.StringArrayOutput
- func (o SlotTypeEnumerationValueOutput) ToSlotTypeEnumerationValueOutput() SlotTypeEnumerationValueOutput
- func (o SlotTypeEnumerationValueOutput) ToSlotTypeEnumerationValueOutputWithContext(ctx context.Context) SlotTypeEnumerationValueOutput
- func (o SlotTypeEnumerationValueOutput) Value() pulumi.StringOutput
- type SlotTypeInput
- type SlotTypeOutput
- type SlotTypeState
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Bot ¶ added in v3.6.0
type Bot struct { pulumi.CustomResourceState // The message that Amazon Lex uses to abort a conversation. Attributes are documented under statement. AbortStatement BotAbortStatementOutput `pulumi:"abortStatement"` Arn pulumi.StringOutput `pulumi:"arn"` // Checksum identifying the version of the bot that was created. The checksum is not // included as an argument because the resource will add it automatically when updating the bot. Checksum pulumi.StringOutput `pulumi:"checksum"` // By specifying true, you confirm that your use of Amazon Lex is related to a website, program, or other application that is directed or targeted, in whole or in part, to children under age 13 and subject to COPPA. For more information see the [Amazon Lex FAQ](https://aws.amazon.com/lex/faqs#data-security) and the [Amazon Lex PutBot API Docs](https://docs.aws.amazon.com/lex/latest/dg/API_PutBot.html#lex-PutBot-request-childDirected). ChildDirected pulumi.BoolOutput `pulumi:"childDirected"` // The message that Amazon Lex uses when it doesn't understand the user's request. Attributes are documented under prompt. ClarificationPrompt BotClarificationPromptPtrOutput `pulumi:"clarificationPrompt"` // Determines if a new bot version is created when the initial resource is created and on each update. Defaults to `false`. CreateVersion pulumi.BoolPtrOutput `pulumi:"createVersion"` // The date when the bot version was created. CreatedDate pulumi.StringOutput `pulumi:"createdDate"` // A description of the bot. Must be less than or equal to 200 characters in length. Description pulumi.StringPtrOutput `pulumi:"description"` // When set to true user utterances are sent to Amazon Comprehend for sentiment analysis. If you don't specify detectSentiment, the default is `false`. DetectSentiment pulumi.BoolPtrOutput `pulumi:"detectSentiment"` // Set to `true` to enable access to natural language understanding improvements. When you set the `enableModelImprovements` parameter to true you can use the `nluIntentConfidenceThreshold` parameter to configure confidence scores. For more information, see [Confidence Scores](https://docs.aws.amazon.com/lex/latest/dg/confidence-scores.html). You can only set the `enableModelImprovements` parameter in certain Regions. If you set the parameter to true, your bot has access to accuracy improvements. For more information see the [Amazon Lex Bot PutBot API Docs](https://docs.aws.amazon.com/lex/latest/dg/API_PutBot.html#lex-PutBot-request-enableModelImprovements). EnableModelImprovements pulumi.BoolPtrOutput `pulumi:"enableModelImprovements"` // If status is FAILED, Amazon Lex provides the reason that it failed to build the bot. FailureReason pulumi.StringOutput `pulumi:"failureReason"` // The maximum time in seconds that Amazon Lex retains the data gathered in a conversation. Default is `300`. Must be a number between 60 and 86400 (inclusive). IdleSessionTtlInSeconds pulumi.IntPtrOutput `pulumi:"idleSessionTtlInSeconds"` // A set of Intent objects. Each intent represents a command that a user can express. Attributes are documented under intent. Can have up to 100 Intent objects. Intents BotIntentArrayOutput `pulumi:"intents"` // The date when the $LATEST version of this bot was updated. LastUpdatedDate pulumi.StringOutput `pulumi:"lastUpdatedDate"` // Specifies the target locale for the bot. Any intent used in the bot must be compatible with the locale of the bot. For available locales, see [Amazon Lex Bot PutBot API Docs](https://docs.aws.amazon.com/lex/latest/dg/API_PutBot.html#lex-PutBot-request-locale). Default is `en-US`. Locale pulumi.StringPtrOutput `pulumi:"locale"` // The name of the bot that you want to create, case sensitive. Must be between 2 and 50 characters in length. Name pulumi.StringOutput `pulumi:"name"` // Determines the threshold where Amazon Lex will insert the AMAZON.FallbackIntent, AMAZON.KendraSearchIntent, or both when returning alternative intents in a PostContent or PostText response. AMAZON.FallbackIntent and AMAZON.KendraSearchIntent are only inserted if they are configured for the bot. For more information see [Amazon Lex Bot PutBot API Docs](https://docs.aws.amazon.com/lex/latest/dg/API_PutBot.html#lex-PutBot-request-nluIntentConfidenceThreshold) This value requires `enableModelImprovements` to be set to `true` and the default is `0`. Must be a float between 0 and 1. NluIntentConfidenceThreshold pulumi.Float64PtrOutput `pulumi:"nluIntentConfidenceThreshold"` // If you set the `processBehavior` element to `BUILD`, Amazon Lex builds the bot so that it can be run. If you set the element to `SAVE` Amazon Lex saves the bot, but doesn't build it. Default is `SAVE`. ProcessBehavior pulumi.StringPtrOutput `pulumi:"processBehavior"` // When you send a request to create or update a bot, Amazon Lex sets the status response // element to BUILDING. After Amazon Lex builds the bot, it sets status to READY. If Amazon Lex can't // build the bot, it sets status to FAILED. Amazon Lex returns the reason for the failure in the // failureReason response element. Status pulumi.StringOutput `pulumi:"status"` // The version of the bot. Version pulumi.StringOutput `pulumi:"version"` // The Amazon Polly voice ID that you want Amazon Lex to use for voice interactions with the user. The locale configured for the voice must match the locale of the bot. For more information, see [Available Voices](http://docs.aws.amazon.com/polly/latest/dg/voicelist.html) in the Amazon Polly Developer Guide. VoiceId pulumi.StringOutput `pulumi:"voiceId"` }
Provides an Amazon Lex Bot resource. For more information see [Amazon Lex: How It Works](https://docs.aws.amazon.com/lex/latest/dg/how-it-works.html)
## Example Usage
```go package main
import (
"github.com/pulumi/pulumi-aws/sdk/v3/go/aws/lex" "github.com/pulumi/pulumi/sdk/v2/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { _, err := lex.NewBot(ctx, "orderFlowersBot", &lex.BotArgs{ AbortStatement: &lex.BotAbortStatementArgs{ Messages: lex.BotAbortStatementMessageArray{ &lex.BotAbortStatementMessageArgs{ Content: pulumi.String("Sorry, I am not able to assist at this time"), ContentType: pulumi.String("PlainText"), }, }, }, ChildDirected: pulumi.Bool(false), ClarificationPrompt: &lex.BotClarificationPromptArgs{ MaxAttempts: pulumi.Int(2), Messages: lex.BotClarificationPromptMessageArray{ &lex.BotClarificationPromptMessageArgs{ Content: pulumi.String("I didn't understand you, what would you like to do?"), ContentType: pulumi.String("PlainText"), }, }, }, CreateVersion: pulumi.Bool(false), Description: pulumi.String("Bot to order flowers on the behalf of a user"), IdleSessionTtlInSeconds: pulumi.Int(600), Intents: lex.BotIntentArray{ &lex.BotIntentArgs{ IntentName: pulumi.String("OrderFlowers"), IntentVersion: pulumi.String("1"), }, }, Locale: pulumi.String("en-US"), Name: pulumi.String("OrderFlowers"), ProcessBehavior: pulumi.String("BUILD"), VoiceId: pulumi.String("Salli"), }) if err != nil { return err } return nil }) }
```
## Import
Bots can be imported using their name.
```sh
$ pulumi import aws:lex/bot:Bot order_flowers_bot OrderFlowers
```
func GetBot ¶ added in v3.6.0
func GetBot(ctx *pulumi.Context, name string, id pulumi.IDInput, state *BotState, opts ...pulumi.ResourceOption) (*Bot, error)
GetBot gets an existing Bot resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).
func NewBot ¶ added in v3.6.0
func NewBot(ctx *pulumi.Context, name string, args *BotArgs, opts ...pulumi.ResourceOption) (*Bot, error)
NewBot registers a new resource with the given unique name, arguments, and options.
func (Bot) ElementType ¶ added in v3.13.0
func (Bot) ToBotOutput ¶ added in v3.13.0
type BotAbortStatement ¶ added in v3.6.0
type BotAbortStatement struct { // A set of messages, each of which provides a message string and its type. You // can specify the message string in plain text or in Speech Synthesis Markup Language (SSML). Attributes // are documented under message. Messages []BotAbortStatementMessage `pulumi:"messages"` // The response card. Amazon Lex will substitute session attributes and // slot values into the response card. For more information, see // [Example: Using a Response Card](https://docs.aws.amazon.com/lex/latest/dg/ex-resp-card.html). ResponseCard *string `pulumi:"responseCard"` }
type BotAbortStatementArgs ¶ added in v3.6.0
type BotAbortStatementArgs struct { // A set of messages, each of which provides a message string and its type. You // can specify the message string in plain text or in Speech Synthesis Markup Language (SSML). Attributes // are documented under message. Messages BotAbortStatementMessageArrayInput `pulumi:"messages"` // The response card. Amazon Lex will substitute session attributes and // slot values into the response card. For more information, see // [Example: Using a Response Card](https://docs.aws.amazon.com/lex/latest/dg/ex-resp-card.html). ResponseCard pulumi.StringPtrInput `pulumi:"responseCard"` }
func (BotAbortStatementArgs) ElementType ¶ added in v3.6.0
func (BotAbortStatementArgs) ElementType() reflect.Type
func (BotAbortStatementArgs) ToBotAbortStatementOutput ¶ added in v3.6.0
func (i BotAbortStatementArgs) ToBotAbortStatementOutput() BotAbortStatementOutput
func (BotAbortStatementArgs) ToBotAbortStatementOutputWithContext ¶ added in v3.6.0
func (i BotAbortStatementArgs) ToBotAbortStatementOutputWithContext(ctx context.Context) BotAbortStatementOutput
func (BotAbortStatementArgs) ToBotAbortStatementPtrOutput ¶ added in v3.6.0
func (i BotAbortStatementArgs) ToBotAbortStatementPtrOutput() BotAbortStatementPtrOutput
func (BotAbortStatementArgs) ToBotAbortStatementPtrOutputWithContext ¶ added in v3.6.0
func (i BotAbortStatementArgs) ToBotAbortStatementPtrOutputWithContext(ctx context.Context) BotAbortStatementPtrOutput
type BotAbortStatementInput ¶ added in v3.6.0
type BotAbortStatementInput interface { pulumi.Input ToBotAbortStatementOutput() BotAbortStatementOutput ToBotAbortStatementOutputWithContext(context.Context) BotAbortStatementOutput }
BotAbortStatementInput is an input type that accepts BotAbortStatementArgs and BotAbortStatementOutput values. You can construct a concrete instance of `BotAbortStatementInput` via:
BotAbortStatementArgs{...}
type BotAbortStatementMessage ¶ added in v3.6.0
type BotAbortStatementMessage struct { // The text of the message. Content string `pulumi:"content"` // The content type of the message string. ContentType string `pulumi:"contentType"` // Identifies the message group that the message belongs to. When a group // is assigned to a message, Amazon Lex returns one message from each group in the response. GroupNumber *int `pulumi:"groupNumber"` }
type BotAbortStatementMessageArgs ¶ added in v3.6.0
type BotAbortStatementMessageArgs struct { // The text of the message. Content pulumi.StringInput `pulumi:"content"` // The content type of the message string. ContentType pulumi.StringInput `pulumi:"contentType"` // Identifies the message group that the message belongs to. When a group // is assigned to a message, Amazon Lex returns one message from each group in the response. GroupNumber pulumi.IntPtrInput `pulumi:"groupNumber"` }
func (BotAbortStatementMessageArgs) ElementType ¶ added in v3.6.0
func (BotAbortStatementMessageArgs) ElementType() reflect.Type
func (BotAbortStatementMessageArgs) ToBotAbortStatementMessageOutput ¶ added in v3.6.0
func (i BotAbortStatementMessageArgs) ToBotAbortStatementMessageOutput() BotAbortStatementMessageOutput
func (BotAbortStatementMessageArgs) ToBotAbortStatementMessageOutputWithContext ¶ added in v3.6.0
func (i BotAbortStatementMessageArgs) ToBotAbortStatementMessageOutputWithContext(ctx context.Context) BotAbortStatementMessageOutput
type BotAbortStatementMessageArray ¶ added in v3.6.0
type BotAbortStatementMessageArray []BotAbortStatementMessageInput
func (BotAbortStatementMessageArray) ElementType ¶ added in v3.6.0
func (BotAbortStatementMessageArray) ElementType() reflect.Type
func (BotAbortStatementMessageArray) ToBotAbortStatementMessageArrayOutput ¶ added in v3.6.0
func (i BotAbortStatementMessageArray) ToBotAbortStatementMessageArrayOutput() BotAbortStatementMessageArrayOutput
func (BotAbortStatementMessageArray) ToBotAbortStatementMessageArrayOutputWithContext ¶ added in v3.6.0
func (i BotAbortStatementMessageArray) ToBotAbortStatementMessageArrayOutputWithContext(ctx context.Context) BotAbortStatementMessageArrayOutput
type BotAbortStatementMessageArrayInput ¶ added in v3.6.0
type BotAbortStatementMessageArrayInput interface { pulumi.Input ToBotAbortStatementMessageArrayOutput() BotAbortStatementMessageArrayOutput ToBotAbortStatementMessageArrayOutputWithContext(context.Context) BotAbortStatementMessageArrayOutput }
BotAbortStatementMessageArrayInput is an input type that accepts BotAbortStatementMessageArray and BotAbortStatementMessageArrayOutput values. You can construct a concrete instance of `BotAbortStatementMessageArrayInput` via:
BotAbortStatementMessageArray{ BotAbortStatementMessageArgs{...} }
type BotAbortStatementMessageArrayOutput ¶ added in v3.6.0
type BotAbortStatementMessageArrayOutput struct{ *pulumi.OutputState }
func (BotAbortStatementMessageArrayOutput) ElementType ¶ added in v3.6.0
func (BotAbortStatementMessageArrayOutput) ElementType() reflect.Type
func (BotAbortStatementMessageArrayOutput) Index ¶ added in v3.6.0
func (o BotAbortStatementMessageArrayOutput) Index(i pulumi.IntInput) BotAbortStatementMessageOutput
func (BotAbortStatementMessageArrayOutput) ToBotAbortStatementMessageArrayOutput ¶ added in v3.6.0
func (o BotAbortStatementMessageArrayOutput) ToBotAbortStatementMessageArrayOutput() BotAbortStatementMessageArrayOutput
func (BotAbortStatementMessageArrayOutput) ToBotAbortStatementMessageArrayOutputWithContext ¶ added in v3.6.0
func (o BotAbortStatementMessageArrayOutput) ToBotAbortStatementMessageArrayOutputWithContext(ctx context.Context) BotAbortStatementMessageArrayOutput
type BotAbortStatementMessageInput ¶ added in v3.6.0
type BotAbortStatementMessageInput interface { pulumi.Input ToBotAbortStatementMessageOutput() BotAbortStatementMessageOutput ToBotAbortStatementMessageOutputWithContext(context.Context) BotAbortStatementMessageOutput }
BotAbortStatementMessageInput is an input type that accepts BotAbortStatementMessageArgs and BotAbortStatementMessageOutput values. You can construct a concrete instance of `BotAbortStatementMessageInput` via:
BotAbortStatementMessageArgs{...}
type BotAbortStatementMessageOutput ¶ added in v3.6.0
type BotAbortStatementMessageOutput struct{ *pulumi.OutputState }
func (BotAbortStatementMessageOutput) Content ¶ added in v3.6.0
func (o BotAbortStatementMessageOutput) Content() pulumi.StringOutput
The text of the message.
func (BotAbortStatementMessageOutput) ContentType ¶ added in v3.6.0
func (o BotAbortStatementMessageOutput) ContentType() pulumi.StringOutput
The content type of the message string.
func (BotAbortStatementMessageOutput) ElementType ¶ added in v3.6.0
func (BotAbortStatementMessageOutput) ElementType() reflect.Type
func (BotAbortStatementMessageOutput) GroupNumber ¶ added in v3.6.0
func (o BotAbortStatementMessageOutput) GroupNumber() pulumi.IntPtrOutput
Identifies the message group that the message belongs to. When a group is assigned to a message, Amazon Lex returns one message from each group in the response.
func (BotAbortStatementMessageOutput) ToBotAbortStatementMessageOutput ¶ added in v3.6.0
func (o BotAbortStatementMessageOutput) ToBotAbortStatementMessageOutput() BotAbortStatementMessageOutput
func (BotAbortStatementMessageOutput) ToBotAbortStatementMessageOutputWithContext ¶ added in v3.6.0
func (o BotAbortStatementMessageOutput) ToBotAbortStatementMessageOutputWithContext(ctx context.Context) BotAbortStatementMessageOutput
type BotAbortStatementOutput ¶ added in v3.6.0
type BotAbortStatementOutput struct{ *pulumi.OutputState }
func (BotAbortStatementOutput) ElementType ¶ added in v3.6.0
func (BotAbortStatementOutput) ElementType() reflect.Type
func (BotAbortStatementOutput) Messages ¶ added in v3.6.0
func (o BotAbortStatementOutput) Messages() BotAbortStatementMessageArrayOutput
A set of messages, each of which provides a message string and its type. You can specify the message string in plain text or in Speech Synthesis Markup Language (SSML). Attributes are documented under message.
func (BotAbortStatementOutput) ResponseCard ¶ added in v3.6.0
func (o BotAbortStatementOutput) ResponseCard() pulumi.StringPtrOutput
The response card. Amazon Lex will substitute session attributes and slot values into the response card. For more information, see [Example: Using a Response Card](https://docs.aws.amazon.com/lex/latest/dg/ex-resp-card.html).
func (BotAbortStatementOutput) ToBotAbortStatementOutput ¶ added in v3.6.0
func (o BotAbortStatementOutput) ToBotAbortStatementOutput() BotAbortStatementOutput
func (BotAbortStatementOutput) ToBotAbortStatementOutputWithContext ¶ added in v3.6.0
func (o BotAbortStatementOutput) ToBotAbortStatementOutputWithContext(ctx context.Context) BotAbortStatementOutput
func (BotAbortStatementOutput) ToBotAbortStatementPtrOutput ¶ added in v3.6.0
func (o BotAbortStatementOutput) ToBotAbortStatementPtrOutput() BotAbortStatementPtrOutput
func (BotAbortStatementOutput) ToBotAbortStatementPtrOutputWithContext ¶ added in v3.6.0
func (o BotAbortStatementOutput) ToBotAbortStatementPtrOutputWithContext(ctx context.Context) BotAbortStatementPtrOutput
type BotAbortStatementPtrInput ¶ added in v3.6.0
type BotAbortStatementPtrInput interface { pulumi.Input ToBotAbortStatementPtrOutput() BotAbortStatementPtrOutput ToBotAbortStatementPtrOutputWithContext(context.Context) BotAbortStatementPtrOutput }
BotAbortStatementPtrInput is an input type that accepts BotAbortStatementArgs, BotAbortStatementPtr and BotAbortStatementPtrOutput values. You can construct a concrete instance of `BotAbortStatementPtrInput` via:
BotAbortStatementArgs{...} or: nil
func BotAbortStatementPtr ¶ added in v3.6.0
func BotAbortStatementPtr(v *BotAbortStatementArgs) BotAbortStatementPtrInput
type BotAbortStatementPtrOutput ¶ added in v3.6.0
type BotAbortStatementPtrOutput struct{ *pulumi.OutputState }
func (BotAbortStatementPtrOutput) Elem ¶ added in v3.6.0
func (o BotAbortStatementPtrOutput) Elem() BotAbortStatementOutput
func (BotAbortStatementPtrOutput) ElementType ¶ added in v3.6.0
func (BotAbortStatementPtrOutput) ElementType() reflect.Type
func (BotAbortStatementPtrOutput) Messages ¶ added in v3.6.0
func (o BotAbortStatementPtrOutput) Messages() BotAbortStatementMessageArrayOutput
A set of messages, each of which provides a message string and its type. You can specify the message string in plain text or in Speech Synthesis Markup Language (SSML). Attributes are documented under message.
func (BotAbortStatementPtrOutput) ResponseCard ¶ added in v3.6.0
func (o BotAbortStatementPtrOutput) ResponseCard() pulumi.StringPtrOutput
The response card. Amazon Lex will substitute session attributes and slot values into the response card. For more information, see [Example: Using a Response Card](https://docs.aws.amazon.com/lex/latest/dg/ex-resp-card.html).
func (BotAbortStatementPtrOutput) ToBotAbortStatementPtrOutput ¶ added in v3.6.0
func (o BotAbortStatementPtrOutput) ToBotAbortStatementPtrOutput() BotAbortStatementPtrOutput
func (BotAbortStatementPtrOutput) ToBotAbortStatementPtrOutputWithContext ¶ added in v3.6.0
func (o BotAbortStatementPtrOutput) ToBotAbortStatementPtrOutputWithContext(ctx context.Context) BotAbortStatementPtrOutput
type BotAlias ¶ added in v3.7.0
type BotAlias struct { pulumi.CustomResourceState // The ARN of the bot alias. Arn pulumi.StringOutput `pulumi:"arn"` // The name of the bot. BotName pulumi.StringOutput `pulumi:"botName"` // The name of the bot. BotVersion pulumi.StringOutput `pulumi:"botVersion"` // Checksum of the bot alias. Checksum pulumi.StringOutput `pulumi:"checksum"` // The settings that determine how Amazon Lex uses conversation logs for the alias. Attributes are documented under conversation_logs. ConversationLogs BotAliasConversationLogsPtrOutput `pulumi:"conversationLogs"` // The date that the bot alias was created. CreatedDate pulumi.StringOutput `pulumi:"createdDate"` // A description of the alias. Must be less than or equal to 200 characters in length. Description pulumi.StringPtrOutput `pulumi:"description"` // The date that the bot alias was updated. When you create a resource, the creation date and the last updated date are the same. LastUpdatedDate pulumi.StringOutput `pulumi:"lastUpdatedDate"` // The name of the alias. The name is not case sensitive. Must be less than or equal to 100 characters in length. Name pulumi.StringOutput `pulumi:"name"` }
Provides an Amazon Lex Bot Alias resource. For more information see [Amazon Lex: How It Works](https://docs.aws.amazon.com/lex/latest/dg/how-it-works.html)
## Example Usage
```go package main
import (
"github.com/pulumi/pulumi-aws/sdk/v3/go/aws/lex" "github.com/pulumi/pulumi/sdk/v2/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { _, err := lex.NewBotAlias(ctx, "orderFlowersProd", &lex.BotAliasArgs{ BotName: pulumi.String("OrderFlowers"), BotVersion: pulumi.String("1"), Description: pulumi.String("Production Version of the OrderFlowers Bot."), Name: pulumi.String("OrderFlowersProd"), }) if err != nil { return err } return nil }) }
```
## Import
Bot aliases can be imported using an ID with the format `bot_name:bot_alias_name`.
```sh
$ pulumi import aws:lex/botAlias:BotAlias order_flowers_prod OrderFlowers:OrderFlowersProd
```
func GetBotAlias ¶ added in v3.7.0
func GetBotAlias(ctx *pulumi.Context, name string, id pulumi.IDInput, state *BotAliasState, opts ...pulumi.ResourceOption) (*BotAlias, error)
GetBotAlias gets an existing BotAlias resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).
func NewBotAlias ¶ added in v3.7.0
func NewBotAlias(ctx *pulumi.Context, name string, args *BotAliasArgs, opts ...pulumi.ResourceOption) (*BotAlias, error)
NewBotAlias registers a new resource with the given unique name, arguments, and options.
func (BotAlias) ElementType ¶ added in v3.13.0
func (BotAlias) ToBotAliasOutput ¶ added in v3.13.0
func (i BotAlias) ToBotAliasOutput() BotAliasOutput
func (BotAlias) ToBotAliasOutputWithContext ¶ added in v3.13.0
func (i BotAlias) ToBotAliasOutputWithContext(ctx context.Context) BotAliasOutput
type BotAliasArgs ¶ added in v3.7.0
type BotAliasArgs struct { // The name of the bot. BotName pulumi.StringInput // The name of the bot. BotVersion pulumi.StringInput // The settings that determine how Amazon Lex uses conversation logs for the alias. Attributes are documented under conversation_logs. ConversationLogs BotAliasConversationLogsPtrInput // A description of the alias. Must be less than or equal to 200 characters in length. Description pulumi.StringPtrInput // The name of the alias. The name is not case sensitive. Must be less than or equal to 100 characters in length. Name pulumi.StringPtrInput }
The set of arguments for constructing a BotAlias resource.
func (BotAliasArgs) ElementType ¶ added in v3.7.0
func (BotAliasArgs) ElementType() reflect.Type
type BotAliasConversationLogs ¶ added in v3.7.0
type BotAliasConversationLogs struct { // The Amazon Resource Name (ARN) of the IAM role used to write your logs to CloudWatch Logs or an S3 bucket. Must be between 20 and 2048 characters in length. IamRoleArn string `pulumi:"iamRoleArn"` // The settings for your conversation logs. You can log text, audio, or both. Attributes are documented under log_settings. LogSettings []BotAliasConversationLogsLogSetting `pulumi:"logSettings"` }
type BotAliasConversationLogsArgs ¶ added in v3.7.0
type BotAliasConversationLogsArgs struct { // The Amazon Resource Name (ARN) of the IAM role used to write your logs to CloudWatch Logs or an S3 bucket. Must be between 20 and 2048 characters in length. IamRoleArn pulumi.StringInput `pulumi:"iamRoleArn"` // The settings for your conversation logs. You can log text, audio, or both. Attributes are documented under log_settings. LogSettings BotAliasConversationLogsLogSettingArrayInput `pulumi:"logSettings"` }
func (BotAliasConversationLogsArgs) ElementType ¶ added in v3.7.0
func (BotAliasConversationLogsArgs) ElementType() reflect.Type
func (BotAliasConversationLogsArgs) ToBotAliasConversationLogsOutput ¶ added in v3.7.0
func (i BotAliasConversationLogsArgs) ToBotAliasConversationLogsOutput() BotAliasConversationLogsOutput
func (BotAliasConversationLogsArgs) ToBotAliasConversationLogsOutputWithContext ¶ added in v3.7.0
func (i BotAliasConversationLogsArgs) ToBotAliasConversationLogsOutputWithContext(ctx context.Context) BotAliasConversationLogsOutput
func (BotAliasConversationLogsArgs) ToBotAliasConversationLogsPtrOutput ¶ added in v3.7.0
func (i BotAliasConversationLogsArgs) ToBotAliasConversationLogsPtrOutput() BotAliasConversationLogsPtrOutput
func (BotAliasConversationLogsArgs) ToBotAliasConversationLogsPtrOutputWithContext ¶ added in v3.7.0
func (i BotAliasConversationLogsArgs) ToBotAliasConversationLogsPtrOutputWithContext(ctx context.Context) BotAliasConversationLogsPtrOutput
type BotAliasConversationLogsInput ¶ added in v3.7.0
type BotAliasConversationLogsInput interface { pulumi.Input ToBotAliasConversationLogsOutput() BotAliasConversationLogsOutput ToBotAliasConversationLogsOutputWithContext(context.Context) BotAliasConversationLogsOutput }
BotAliasConversationLogsInput is an input type that accepts BotAliasConversationLogsArgs and BotAliasConversationLogsOutput values. You can construct a concrete instance of `BotAliasConversationLogsInput` via:
BotAliasConversationLogsArgs{...}
type BotAliasConversationLogsLogSetting ¶ added in v3.7.0
type BotAliasConversationLogsLogSetting struct { // The destination where logs are delivered. Options are `CLOUDWATCH_LOGS` or `S3`. Destination string `pulumi:"destination"` // The Amazon Resource Name (ARN) of the key used to encrypt audio logs in an S3 bucket. This can only be specified when `destination` is set to `S3`. Must be between 20 and 2048 characters in length. KmsKeyArn *string `pulumi:"kmsKeyArn"` // The type of logging that is enabled. Options are `AUDIO` or `TEXT`. LogType string `pulumi:"logType"` // The Amazon Resource Name (ARN) of the CloudWatch Logs log group or S3 bucket where the logs are delivered. Must be less than or equal to 2048 characters in length. ResourceArn string `pulumi:"resourceArn"` // The prefix of the S3 object key for `AUDIO` logs or the log stream name for `TEXT` logs. ResourcePrefix *string `pulumi:"resourcePrefix"` }
type BotAliasConversationLogsLogSettingArgs ¶ added in v3.7.0
type BotAliasConversationLogsLogSettingArgs struct { // The destination where logs are delivered. Options are `CLOUDWATCH_LOGS` or `S3`. Destination pulumi.StringInput `pulumi:"destination"` // The Amazon Resource Name (ARN) of the key used to encrypt audio logs in an S3 bucket. This can only be specified when `destination` is set to `S3`. Must be between 20 and 2048 characters in length. KmsKeyArn pulumi.StringPtrInput `pulumi:"kmsKeyArn"` // The type of logging that is enabled. Options are `AUDIO` or `TEXT`. LogType pulumi.StringInput `pulumi:"logType"` // The Amazon Resource Name (ARN) of the CloudWatch Logs log group or S3 bucket where the logs are delivered. Must be less than or equal to 2048 characters in length. ResourceArn pulumi.StringInput `pulumi:"resourceArn"` // The prefix of the S3 object key for `AUDIO` logs or the log stream name for `TEXT` logs. ResourcePrefix pulumi.StringPtrInput `pulumi:"resourcePrefix"` }
func (BotAliasConversationLogsLogSettingArgs) ElementType ¶ added in v3.7.0
func (BotAliasConversationLogsLogSettingArgs) ElementType() reflect.Type
func (BotAliasConversationLogsLogSettingArgs) ToBotAliasConversationLogsLogSettingOutput ¶ added in v3.7.0
func (i BotAliasConversationLogsLogSettingArgs) ToBotAliasConversationLogsLogSettingOutput() BotAliasConversationLogsLogSettingOutput
func (BotAliasConversationLogsLogSettingArgs) ToBotAliasConversationLogsLogSettingOutputWithContext ¶ added in v3.7.0
func (i BotAliasConversationLogsLogSettingArgs) ToBotAliasConversationLogsLogSettingOutputWithContext(ctx context.Context) BotAliasConversationLogsLogSettingOutput
type BotAliasConversationLogsLogSettingArray ¶ added in v3.7.0
type BotAliasConversationLogsLogSettingArray []BotAliasConversationLogsLogSettingInput
func (BotAliasConversationLogsLogSettingArray) ElementType ¶ added in v3.7.0
func (BotAliasConversationLogsLogSettingArray) ElementType() reflect.Type
func (BotAliasConversationLogsLogSettingArray) ToBotAliasConversationLogsLogSettingArrayOutput ¶ added in v3.7.0
func (i BotAliasConversationLogsLogSettingArray) ToBotAliasConversationLogsLogSettingArrayOutput() BotAliasConversationLogsLogSettingArrayOutput
func (BotAliasConversationLogsLogSettingArray) ToBotAliasConversationLogsLogSettingArrayOutputWithContext ¶ added in v3.7.0
func (i BotAliasConversationLogsLogSettingArray) ToBotAliasConversationLogsLogSettingArrayOutputWithContext(ctx context.Context) BotAliasConversationLogsLogSettingArrayOutput
type BotAliasConversationLogsLogSettingArrayInput ¶ added in v3.7.0
type BotAliasConversationLogsLogSettingArrayInput interface { pulumi.Input ToBotAliasConversationLogsLogSettingArrayOutput() BotAliasConversationLogsLogSettingArrayOutput ToBotAliasConversationLogsLogSettingArrayOutputWithContext(context.Context) BotAliasConversationLogsLogSettingArrayOutput }
BotAliasConversationLogsLogSettingArrayInput is an input type that accepts BotAliasConversationLogsLogSettingArray and BotAliasConversationLogsLogSettingArrayOutput values. You can construct a concrete instance of `BotAliasConversationLogsLogSettingArrayInput` via:
BotAliasConversationLogsLogSettingArray{ BotAliasConversationLogsLogSettingArgs{...} }
type BotAliasConversationLogsLogSettingArrayOutput ¶ added in v3.7.0
type BotAliasConversationLogsLogSettingArrayOutput struct{ *pulumi.OutputState }
func (BotAliasConversationLogsLogSettingArrayOutput) ElementType ¶ added in v3.7.0
func (BotAliasConversationLogsLogSettingArrayOutput) ElementType() reflect.Type
func (BotAliasConversationLogsLogSettingArrayOutput) ToBotAliasConversationLogsLogSettingArrayOutput ¶ added in v3.7.0
func (o BotAliasConversationLogsLogSettingArrayOutput) ToBotAliasConversationLogsLogSettingArrayOutput() BotAliasConversationLogsLogSettingArrayOutput
func (BotAliasConversationLogsLogSettingArrayOutput) ToBotAliasConversationLogsLogSettingArrayOutputWithContext ¶ added in v3.7.0
func (o BotAliasConversationLogsLogSettingArrayOutput) ToBotAliasConversationLogsLogSettingArrayOutputWithContext(ctx context.Context) BotAliasConversationLogsLogSettingArrayOutput
type BotAliasConversationLogsLogSettingInput ¶ added in v3.7.0
type BotAliasConversationLogsLogSettingInput interface { pulumi.Input ToBotAliasConversationLogsLogSettingOutput() BotAliasConversationLogsLogSettingOutput ToBotAliasConversationLogsLogSettingOutputWithContext(context.Context) BotAliasConversationLogsLogSettingOutput }
BotAliasConversationLogsLogSettingInput is an input type that accepts BotAliasConversationLogsLogSettingArgs and BotAliasConversationLogsLogSettingOutput values. You can construct a concrete instance of `BotAliasConversationLogsLogSettingInput` via:
BotAliasConversationLogsLogSettingArgs{...}
type BotAliasConversationLogsLogSettingOutput ¶ added in v3.7.0
type BotAliasConversationLogsLogSettingOutput struct{ *pulumi.OutputState }
func (BotAliasConversationLogsLogSettingOutput) Destination ¶ added in v3.7.0
func (o BotAliasConversationLogsLogSettingOutput) Destination() pulumi.StringOutput
The destination where logs are delivered. Options are `CLOUDWATCH_LOGS` or `S3`.
func (BotAliasConversationLogsLogSettingOutput) ElementType ¶ added in v3.7.0
func (BotAliasConversationLogsLogSettingOutput) ElementType() reflect.Type
func (BotAliasConversationLogsLogSettingOutput) KmsKeyArn ¶ added in v3.7.0
func (o BotAliasConversationLogsLogSettingOutput) KmsKeyArn() pulumi.StringPtrOutput
The Amazon Resource Name (ARN) of the key used to encrypt audio logs in an S3 bucket. This can only be specified when `destination` is set to `S3`. Must be between 20 and 2048 characters in length.
func (BotAliasConversationLogsLogSettingOutput) LogType ¶ added in v3.7.0
func (o BotAliasConversationLogsLogSettingOutput) LogType() pulumi.StringOutput
The type of logging that is enabled. Options are `AUDIO` or `TEXT`.
func (BotAliasConversationLogsLogSettingOutput) ResourceArn ¶ added in v3.7.0
func (o BotAliasConversationLogsLogSettingOutput) ResourceArn() pulumi.StringOutput
The Amazon Resource Name (ARN) of the CloudWatch Logs log group or S3 bucket where the logs are delivered. Must be less than or equal to 2048 characters in length.
func (BotAliasConversationLogsLogSettingOutput) ResourcePrefix ¶ added in v3.7.0
func (o BotAliasConversationLogsLogSettingOutput) ResourcePrefix() pulumi.StringPtrOutput
The prefix of the S3 object key for `AUDIO` logs or the log stream name for `TEXT` logs.
func (BotAliasConversationLogsLogSettingOutput) ToBotAliasConversationLogsLogSettingOutput ¶ added in v3.7.0
func (o BotAliasConversationLogsLogSettingOutput) ToBotAliasConversationLogsLogSettingOutput() BotAliasConversationLogsLogSettingOutput
func (BotAliasConversationLogsLogSettingOutput) ToBotAliasConversationLogsLogSettingOutputWithContext ¶ added in v3.7.0
func (o BotAliasConversationLogsLogSettingOutput) ToBotAliasConversationLogsLogSettingOutputWithContext(ctx context.Context) BotAliasConversationLogsLogSettingOutput
type BotAliasConversationLogsOutput ¶ added in v3.7.0
type BotAliasConversationLogsOutput struct{ *pulumi.OutputState }
func (BotAliasConversationLogsOutput) ElementType ¶ added in v3.7.0
func (BotAliasConversationLogsOutput) ElementType() reflect.Type
func (BotAliasConversationLogsOutput) IamRoleArn ¶ added in v3.7.0
func (o BotAliasConversationLogsOutput) IamRoleArn() pulumi.StringOutput
The Amazon Resource Name (ARN) of the IAM role used to write your logs to CloudWatch Logs or an S3 bucket. Must be between 20 and 2048 characters in length.
func (BotAliasConversationLogsOutput) LogSettings ¶ added in v3.7.0
func (o BotAliasConversationLogsOutput) LogSettings() BotAliasConversationLogsLogSettingArrayOutput
The settings for your conversation logs. You can log text, audio, or both. Attributes are documented under log_settings.
func (BotAliasConversationLogsOutput) ToBotAliasConversationLogsOutput ¶ added in v3.7.0
func (o BotAliasConversationLogsOutput) ToBotAliasConversationLogsOutput() BotAliasConversationLogsOutput
func (BotAliasConversationLogsOutput) ToBotAliasConversationLogsOutputWithContext ¶ added in v3.7.0
func (o BotAliasConversationLogsOutput) ToBotAliasConversationLogsOutputWithContext(ctx context.Context) BotAliasConversationLogsOutput
func (BotAliasConversationLogsOutput) ToBotAliasConversationLogsPtrOutput ¶ added in v3.7.0
func (o BotAliasConversationLogsOutput) ToBotAliasConversationLogsPtrOutput() BotAliasConversationLogsPtrOutput
func (BotAliasConversationLogsOutput) ToBotAliasConversationLogsPtrOutputWithContext ¶ added in v3.7.0
func (o BotAliasConversationLogsOutput) ToBotAliasConversationLogsPtrOutputWithContext(ctx context.Context) BotAliasConversationLogsPtrOutput
type BotAliasConversationLogsPtrInput ¶ added in v3.7.0
type BotAliasConversationLogsPtrInput interface { pulumi.Input ToBotAliasConversationLogsPtrOutput() BotAliasConversationLogsPtrOutput ToBotAliasConversationLogsPtrOutputWithContext(context.Context) BotAliasConversationLogsPtrOutput }
BotAliasConversationLogsPtrInput is an input type that accepts BotAliasConversationLogsArgs, BotAliasConversationLogsPtr and BotAliasConversationLogsPtrOutput values. You can construct a concrete instance of `BotAliasConversationLogsPtrInput` via:
BotAliasConversationLogsArgs{...} or: nil
func BotAliasConversationLogsPtr ¶ added in v3.7.0
func BotAliasConversationLogsPtr(v *BotAliasConversationLogsArgs) BotAliasConversationLogsPtrInput
type BotAliasConversationLogsPtrOutput ¶ added in v3.7.0
type BotAliasConversationLogsPtrOutput struct{ *pulumi.OutputState }
func (BotAliasConversationLogsPtrOutput) Elem ¶ added in v3.7.0
func (o BotAliasConversationLogsPtrOutput) Elem() BotAliasConversationLogsOutput
func (BotAliasConversationLogsPtrOutput) ElementType ¶ added in v3.7.0
func (BotAliasConversationLogsPtrOutput) ElementType() reflect.Type
func (BotAliasConversationLogsPtrOutput) IamRoleArn ¶ added in v3.7.0
func (o BotAliasConversationLogsPtrOutput) IamRoleArn() pulumi.StringPtrOutput
The Amazon Resource Name (ARN) of the IAM role used to write your logs to CloudWatch Logs or an S3 bucket. Must be between 20 and 2048 characters in length.
func (BotAliasConversationLogsPtrOutput) LogSettings ¶ added in v3.7.0
func (o BotAliasConversationLogsPtrOutput) LogSettings() BotAliasConversationLogsLogSettingArrayOutput
The settings for your conversation logs. You can log text, audio, or both. Attributes are documented under log_settings.
func (BotAliasConversationLogsPtrOutput) ToBotAliasConversationLogsPtrOutput ¶ added in v3.7.0
func (o BotAliasConversationLogsPtrOutput) ToBotAliasConversationLogsPtrOutput() BotAliasConversationLogsPtrOutput
func (BotAliasConversationLogsPtrOutput) ToBotAliasConversationLogsPtrOutputWithContext ¶ added in v3.7.0
func (o BotAliasConversationLogsPtrOutput) ToBotAliasConversationLogsPtrOutputWithContext(ctx context.Context) BotAliasConversationLogsPtrOutput
type BotAliasInput ¶ added in v3.13.0
type BotAliasInput interface { pulumi.Input ToBotAliasOutput() BotAliasOutput ToBotAliasOutputWithContext(ctx context.Context) BotAliasOutput }
type BotAliasOutput ¶ added in v3.13.0
type BotAliasOutput struct {
*pulumi.OutputState
}
func (BotAliasOutput) ElementType ¶ added in v3.13.0
func (BotAliasOutput) ElementType() reflect.Type
func (BotAliasOutput) ToBotAliasOutput ¶ added in v3.13.0
func (o BotAliasOutput) ToBotAliasOutput() BotAliasOutput
func (BotAliasOutput) ToBotAliasOutputWithContext ¶ added in v3.13.0
func (o BotAliasOutput) ToBotAliasOutputWithContext(ctx context.Context) BotAliasOutput
type BotAliasState ¶ added in v3.7.0
type BotAliasState struct { // The ARN of the bot alias. Arn pulumi.StringPtrInput // The name of the bot. BotName pulumi.StringPtrInput // The name of the bot. BotVersion pulumi.StringPtrInput // Checksum of the bot alias. Checksum pulumi.StringPtrInput // The settings that determine how Amazon Lex uses conversation logs for the alias. Attributes are documented under conversation_logs. ConversationLogs BotAliasConversationLogsPtrInput // The date that the bot alias was created. CreatedDate pulumi.StringPtrInput // A description of the alias. Must be less than or equal to 200 characters in length. Description pulumi.StringPtrInput // The date that the bot alias was updated. When you create a resource, the creation date and the last updated date are the same. LastUpdatedDate pulumi.StringPtrInput // The name of the alias. The name is not case sensitive. Must be less than or equal to 100 characters in length. Name pulumi.StringPtrInput }
func (BotAliasState) ElementType ¶ added in v3.7.0
func (BotAliasState) ElementType() reflect.Type
type BotArgs ¶ added in v3.6.0
type BotArgs struct { // The message that Amazon Lex uses to abort a conversation. Attributes are documented under statement. AbortStatement BotAbortStatementInput // By specifying true, you confirm that your use of Amazon Lex is related to a website, program, or other application that is directed or targeted, in whole or in part, to children under age 13 and subject to COPPA. For more information see the [Amazon Lex FAQ](https://aws.amazon.com/lex/faqs#data-security) and the [Amazon Lex PutBot API Docs](https://docs.aws.amazon.com/lex/latest/dg/API_PutBot.html#lex-PutBot-request-childDirected). ChildDirected pulumi.BoolInput // The message that Amazon Lex uses when it doesn't understand the user's request. Attributes are documented under prompt. ClarificationPrompt BotClarificationPromptPtrInput // Determines if a new bot version is created when the initial resource is created and on each update. Defaults to `false`. CreateVersion pulumi.BoolPtrInput // A description of the bot. Must be less than or equal to 200 characters in length. Description pulumi.StringPtrInput // When set to true user utterances are sent to Amazon Comprehend for sentiment analysis. If you don't specify detectSentiment, the default is `false`. DetectSentiment pulumi.BoolPtrInput // Set to `true` to enable access to natural language understanding improvements. When you set the `enableModelImprovements` parameter to true you can use the `nluIntentConfidenceThreshold` parameter to configure confidence scores. For more information, see [Confidence Scores](https://docs.aws.amazon.com/lex/latest/dg/confidence-scores.html). You can only set the `enableModelImprovements` parameter in certain Regions. If you set the parameter to true, your bot has access to accuracy improvements. For more information see the [Amazon Lex Bot PutBot API Docs](https://docs.aws.amazon.com/lex/latest/dg/API_PutBot.html#lex-PutBot-request-enableModelImprovements). EnableModelImprovements pulumi.BoolPtrInput // The maximum time in seconds that Amazon Lex retains the data gathered in a conversation. Default is `300`. Must be a number between 60 and 86400 (inclusive). IdleSessionTtlInSeconds pulumi.IntPtrInput // A set of Intent objects. Each intent represents a command that a user can express. Attributes are documented under intent. Can have up to 100 Intent objects. Intents BotIntentArrayInput // Specifies the target locale for the bot. Any intent used in the bot must be compatible with the locale of the bot. For available locales, see [Amazon Lex Bot PutBot API Docs](https://docs.aws.amazon.com/lex/latest/dg/API_PutBot.html#lex-PutBot-request-locale). Default is `en-US`. Locale pulumi.StringPtrInput // The name of the bot that you want to create, case sensitive. Must be between 2 and 50 characters in length. Name pulumi.StringPtrInput // Determines the threshold where Amazon Lex will insert the AMAZON.FallbackIntent, AMAZON.KendraSearchIntent, or both when returning alternative intents in a PostContent or PostText response. AMAZON.FallbackIntent and AMAZON.KendraSearchIntent are only inserted if they are configured for the bot. For more information see [Amazon Lex Bot PutBot API Docs](https://docs.aws.amazon.com/lex/latest/dg/API_PutBot.html#lex-PutBot-request-nluIntentConfidenceThreshold) This value requires `enableModelImprovements` to be set to `true` and the default is `0`. Must be a float between 0 and 1. NluIntentConfidenceThreshold pulumi.Float64PtrInput // If you set the `processBehavior` element to `BUILD`, Amazon Lex builds the bot so that it can be run. If you set the element to `SAVE` Amazon Lex saves the bot, but doesn't build it. Default is `SAVE`. ProcessBehavior pulumi.StringPtrInput // The Amazon Polly voice ID that you want Amazon Lex to use for voice interactions with the user. The locale configured for the voice must match the locale of the bot. For more information, see [Available Voices](http://docs.aws.amazon.com/polly/latest/dg/voicelist.html) in the Amazon Polly Developer Guide. VoiceId pulumi.StringPtrInput }
The set of arguments for constructing a Bot resource.
func (BotArgs) ElementType ¶ added in v3.6.0
type BotClarificationPrompt ¶ added in v3.6.0
type BotClarificationPrompt struct { // The number of times to prompt the user for information. MaxAttempts int `pulumi:"maxAttempts"` // A set of messages, each of which provides a message string and its type. You // can specify the message string in plain text or in Speech Synthesis Markup Language (SSML). Attributes // are documented under message. Messages []BotClarificationPromptMessage `pulumi:"messages"` // The response card. Amazon Lex will substitute session attributes and // slot values into the response card. For more information, see // [Example: Using a Response Card](https://docs.aws.amazon.com/lex/latest/dg/ex-resp-card.html). ResponseCard *string `pulumi:"responseCard"` }
type BotClarificationPromptArgs ¶ added in v3.6.0
type BotClarificationPromptArgs struct { // The number of times to prompt the user for information. MaxAttempts pulumi.IntInput `pulumi:"maxAttempts"` // A set of messages, each of which provides a message string and its type. You // can specify the message string in plain text or in Speech Synthesis Markup Language (SSML). Attributes // are documented under message. Messages BotClarificationPromptMessageArrayInput `pulumi:"messages"` // The response card. Amazon Lex will substitute session attributes and // slot values into the response card. For more information, see // [Example: Using a Response Card](https://docs.aws.amazon.com/lex/latest/dg/ex-resp-card.html). ResponseCard pulumi.StringPtrInput `pulumi:"responseCard"` }
func (BotClarificationPromptArgs) ElementType ¶ added in v3.6.0
func (BotClarificationPromptArgs) ElementType() reflect.Type
func (BotClarificationPromptArgs) ToBotClarificationPromptOutput ¶ added in v3.6.0
func (i BotClarificationPromptArgs) ToBotClarificationPromptOutput() BotClarificationPromptOutput
func (BotClarificationPromptArgs) ToBotClarificationPromptOutputWithContext ¶ added in v3.6.0
func (i BotClarificationPromptArgs) ToBotClarificationPromptOutputWithContext(ctx context.Context) BotClarificationPromptOutput
func (BotClarificationPromptArgs) ToBotClarificationPromptPtrOutput ¶ added in v3.6.0
func (i BotClarificationPromptArgs) ToBotClarificationPromptPtrOutput() BotClarificationPromptPtrOutput
func (BotClarificationPromptArgs) ToBotClarificationPromptPtrOutputWithContext ¶ added in v3.6.0
func (i BotClarificationPromptArgs) ToBotClarificationPromptPtrOutputWithContext(ctx context.Context) BotClarificationPromptPtrOutput
type BotClarificationPromptInput ¶ added in v3.6.0
type BotClarificationPromptInput interface { pulumi.Input ToBotClarificationPromptOutput() BotClarificationPromptOutput ToBotClarificationPromptOutputWithContext(context.Context) BotClarificationPromptOutput }
BotClarificationPromptInput is an input type that accepts BotClarificationPromptArgs and BotClarificationPromptOutput values. You can construct a concrete instance of `BotClarificationPromptInput` via:
BotClarificationPromptArgs{...}
type BotClarificationPromptMessage ¶ added in v3.6.0
type BotClarificationPromptMessage struct { // The text of the message. Content string `pulumi:"content"` // The content type of the message string. ContentType string `pulumi:"contentType"` // Identifies the message group that the message belongs to. When a group // is assigned to a message, Amazon Lex returns one message from each group in the response. GroupNumber *int `pulumi:"groupNumber"` }
type BotClarificationPromptMessageArgs ¶ added in v3.6.0
type BotClarificationPromptMessageArgs struct { // The text of the message. Content pulumi.StringInput `pulumi:"content"` // The content type of the message string. ContentType pulumi.StringInput `pulumi:"contentType"` // Identifies the message group that the message belongs to. When a group // is assigned to a message, Amazon Lex returns one message from each group in the response. GroupNumber pulumi.IntPtrInput `pulumi:"groupNumber"` }
func (BotClarificationPromptMessageArgs) ElementType ¶ added in v3.6.0
func (BotClarificationPromptMessageArgs) ElementType() reflect.Type
func (BotClarificationPromptMessageArgs) ToBotClarificationPromptMessageOutput ¶ added in v3.6.0
func (i BotClarificationPromptMessageArgs) ToBotClarificationPromptMessageOutput() BotClarificationPromptMessageOutput
func (BotClarificationPromptMessageArgs) ToBotClarificationPromptMessageOutputWithContext ¶ added in v3.6.0
func (i BotClarificationPromptMessageArgs) ToBotClarificationPromptMessageOutputWithContext(ctx context.Context) BotClarificationPromptMessageOutput
type BotClarificationPromptMessageArray ¶ added in v3.6.0
type BotClarificationPromptMessageArray []BotClarificationPromptMessageInput
func (BotClarificationPromptMessageArray) ElementType ¶ added in v3.6.0
func (BotClarificationPromptMessageArray) ElementType() reflect.Type
func (BotClarificationPromptMessageArray) ToBotClarificationPromptMessageArrayOutput ¶ added in v3.6.0
func (i BotClarificationPromptMessageArray) ToBotClarificationPromptMessageArrayOutput() BotClarificationPromptMessageArrayOutput
func (BotClarificationPromptMessageArray) ToBotClarificationPromptMessageArrayOutputWithContext ¶ added in v3.6.0
func (i BotClarificationPromptMessageArray) ToBotClarificationPromptMessageArrayOutputWithContext(ctx context.Context) BotClarificationPromptMessageArrayOutput
type BotClarificationPromptMessageArrayInput ¶ added in v3.6.0
type BotClarificationPromptMessageArrayInput interface { pulumi.Input ToBotClarificationPromptMessageArrayOutput() BotClarificationPromptMessageArrayOutput ToBotClarificationPromptMessageArrayOutputWithContext(context.Context) BotClarificationPromptMessageArrayOutput }
BotClarificationPromptMessageArrayInput is an input type that accepts BotClarificationPromptMessageArray and BotClarificationPromptMessageArrayOutput values. You can construct a concrete instance of `BotClarificationPromptMessageArrayInput` via:
BotClarificationPromptMessageArray{ BotClarificationPromptMessageArgs{...} }
type BotClarificationPromptMessageArrayOutput ¶ added in v3.6.0
type BotClarificationPromptMessageArrayOutput struct{ *pulumi.OutputState }
func (BotClarificationPromptMessageArrayOutput) ElementType ¶ added in v3.6.0
func (BotClarificationPromptMessageArrayOutput) ElementType() reflect.Type
func (BotClarificationPromptMessageArrayOutput) ToBotClarificationPromptMessageArrayOutput ¶ added in v3.6.0
func (o BotClarificationPromptMessageArrayOutput) ToBotClarificationPromptMessageArrayOutput() BotClarificationPromptMessageArrayOutput
func (BotClarificationPromptMessageArrayOutput) ToBotClarificationPromptMessageArrayOutputWithContext ¶ added in v3.6.0
func (o BotClarificationPromptMessageArrayOutput) ToBotClarificationPromptMessageArrayOutputWithContext(ctx context.Context) BotClarificationPromptMessageArrayOutput
type BotClarificationPromptMessageInput ¶ added in v3.6.0
type BotClarificationPromptMessageInput interface { pulumi.Input ToBotClarificationPromptMessageOutput() BotClarificationPromptMessageOutput ToBotClarificationPromptMessageOutputWithContext(context.Context) BotClarificationPromptMessageOutput }
BotClarificationPromptMessageInput is an input type that accepts BotClarificationPromptMessageArgs and BotClarificationPromptMessageOutput values. You can construct a concrete instance of `BotClarificationPromptMessageInput` via:
BotClarificationPromptMessageArgs{...}
type BotClarificationPromptMessageOutput ¶ added in v3.6.0
type BotClarificationPromptMessageOutput struct{ *pulumi.OutputState }
func (BotClarificationPromptMessageOutput) Content ¶ added in v3.6.0
func (o BotClarificationPromptMessageOutput) Content() pulumi.StringOutput
The text of the message.
func (BotClarificationPromptMessageOutput) ContentType ¶ added in v3.6.0
func (o BotClarificationPromptMessageOutput) ContentType() pulumi.StringOutput
The content type of the message string.
func (BotClarificationPromptMessageOutput) ElementType ¶ added in v3.6.0
func (BotClarificationPromptMessageOutput) ElementType() reflect.Type
func (BotClarificationPromptMessageOutput) GroupNumber ¶ added in v3.6.0
func (o BotClarificationPromptMessageOutput) GroupNumber() pulumi.IntPtrOutput
Identifies the message group that the message belongs to. When a group is assigned to a message, Amazon Lex returns one message from each group in the response.
func (BotClarificationPromptMessageOutput) ToBotClarificationPromptMessageOutput ¶ added in v3.6.0
func (o BotClarificationPromptMessageOutput) ToBotClarificationPromptMessageOutput() BotClarificationPromptMessageOutput
func (BotClarificationPromptMessageOutput) ToBotClarificationPromptMessageOutputWithContext ¶ added in v3.6.0
func (o BotClarificationPromptMessageOutput) ToBotClarificationPromptMessageOutputWithContext(ctx context.Context) BotClarificationPromptMessageOutput
type BotClarificationPromptOutput ¶ added in v3.6.0
type BotClarificationPromptOutput struct{ *pulumi.OutputState }
func (BotClarificationPromptOutput) ElementType ¶ added in v3.6.0
func (BotClarificationPromptOutput) ElementType() reflect.Type
func (BotClarificationPromptOutput) MaxAttempts ¶ added in v3.6.0
func (o BotClarificationPromptOutput) MaxAttempts() pulumi.IntOutput
The number of times to prompt the user for information.
func (BotClarificationPromptOutput) Messages ¶ added in v3.6.0
func (o BotClarificationPromptOutput) Messages() BotClarificationPromptMessageArrayOutput
A set of messages, each of which provides a message string and its type. You can specify the message string in plain text or in Speech Synthesis Markup Language (SSML). Attributes are documented under message.
func (BotClarificationPromptOutput) ResponseCard ¶ added in v3.6.0
func (o BotClarificationPromptOutput) ResponseCard() pulumi.StringPtrOutput
The response card. Amazon Lex will substitute session attributes and slot values into the response card. For more information, see [Example: Using a Response Card](https://docs.aws.amazon.com/lex/latest/dg/ex-resp-card.html).
func (BotClarificationPromptOutput) ToBotClarificationPromptOutput ¶ added in v3.6.0
func (o BotClarificationPromptOutput) ToBotClarificationPromptOutput() BotClarificationPromptOutput
func (BotClarificationPromptOutput) ToBotClarificationPromptOutputWithContext ¶ added in v3.6.0
func (o BotClarificationPromptOutput) ToBotClarificationPromptOutputWithContext(ctx context.Context) BotClarificationPromptOutput
func (BotClarificationPromptOutput) ToBotClarificationPromptPtrOutput ¶ added in v3.6.0
func (o BotClarificationPromptOutput) ToBotClarificationPromptPtrOutput() BotClarificationPromptPtrOutput
func (BotClarificationPromptOutput) ToBotClarificationPromptPtrOutputWithContext ¶ added in v3.6.0
func (o BotClarificationPromptOutput) ToBotClarificationPromptPtrOutputWithContext(ctx context.Context) BotClarificationPromptPtrOutput
type BotClarificationPromptPtrInput ¶ added in v3.6.0
type BotClarificationPromptPtrInput interface { pulumi.Input ToBotClarificationPromptPtrOutput() BotClarificationPromptPtrOutput ToBotClarificationPromptPtrOutputWithContext(context.Context) BotClarificationPromptPtrOutput }
BotClarificationPromptPtrInput is an input type that accepts BotClarificationPromptArgs, BotClarificationPromptPtr and BotClarificationPromptPtrOutput values. You can construct a concrete instance of `BotClarificationPromptPtrInput` via:
BotClarificationPromptArgs{...} or: nil
func BotClarificationPromptPtr ¶ added in v3.6.0
func BotClarificationPromptPtr(v *BotClarificationPromptArgs) BotClarificationPromptPtrInput
type BotClarificationPromptPtrOutput ¶ added in v3.6.0
type BotClarificationPromptPtrOutput struct{ *pulumi.OutputState }
func (BotClarificationPromptPtrOutput) Elem ¶ added in v3.6.0
func (o BotClarificationPromptPtrOutput) Elem() BotClarificationPromptOutput
func (BotClarificationPromptPtrOutput) ElementType ¶ added in v3.6.0
func (BotClarificationPromptPtrOutput) ElementType() reflect.Type
func (BotClarificationPromptPtrOutput) MaxAttempts ¶ added in v3.6.0
func (o BotClarificationPromptPtrOutput) MaxAttempts() pulumi.IntPtrOutput
The number of times to prompt the user for information.
func (BotClarificationPromptPtrOutput) Messages ¶ added in v3.6.0
func (o BotClarificationPromptPtrOutput) Messages() BotClarificationPromptMessageArrayOutput
A set of messages, each of which provides a message string and its type. You can specify the message string in plain text or in Speech Synthesis Markup Language (SSML). Attributes are documented under message.
func (BotClarificationPromptPtrOutput) ResponseCard ¶ added in v3.6.0
func (o BotClarificationPromptPtrOutput) ResponseCard() pulumi.StringPtrOutput
The response card. Amazon Lex will substitute session attributes and slot values into the response card. For more information, see [Example: Using a Response Card](https://docs.aws.amazon.com/lex/latest/dg/ex-resp-card.html).
func (BotClarificationPromptPtrOutput) ToBotClarificationPromptPtrOutput ¶ added in v3.6.0
func (o BotClarificationPromptPtrOutput) ToBotClarificationPromptPtrOutput() BotClarificationPromptPtrOutput
func (BotClarificationPromptPtrOutput) ToBotClarificationPromptPtrOutputWithContext ¶ added in v3.6.0
func (o BotClarificationPromptPtrOutput) ToBotClarificationPromptPtrOutputWithContext(ctx context.Context) BotClarificationPromptPtrOutput
type BotIntentArgs ¶ added in v3.6.0
type BotIntentArgs struct { // The name of the intent. Must be less than or equal to 100 characters in length. IntentName pulumi.StringInput `pulumi:"intentName"` // The version of the intent. Must be less than or equal to 64 characters in length. IntentVersion pulumi.StringInput `pulumi:"intentVersion"` }
func (BotIntentArgs) ElementType ¶ added in v3.6.0
func (BotIntentArgs) ElementType() reflect.Type
func (BotIntentArgs) ToBotIntentOutput ¶ added in v3.6.0
func (i BotIntentArgs) ToBotIntentOutput() BotIntentOutput
func (BotIntentArgs) ToBotIntentOutputWithContext ¶ added in v3.6.0
func (i BotIntentArgs) ToBotIntentOutputWithContext(ctx context.Context) BotIntentOutput
type BotIntentArray ¶ added in v3.6.0
type BotIntentArray []BotIntentInput
func (BotIntentArray) ElementType ¶ added in v3.6.0
func (BotIntentArray) ElementType() reflect.Type
func (BotIntentArray) ToBotIntentArrayOutput ¶ added in v3.6.0
func (i BotIntentArray) ToBotIntentArrayOutput() BotIntentArrayOutput
func (BotIntentArray) ToBotIntentArrayOutputWithContext ¶ added in v3.6.0
func (i BotIntentArray) ToBotIntentArrayOutputWithContext(ctx context.Context) BotIntentArrayOutput
type BotIntentArrayInput ¶ added in v3.6.0
type BotIntentArrayInput interface { pulumi.Input ToBotIntentArrayOutput() BotIntentArrayOutput ToBotIntentArrayOutputWithContext(context.Context) BotIntentArrayOutput }
BotIntentArrayInput is an input type that accepts BotIntentArray and BotIntentArrayOutput values. You can construct a concrete instance of `BotIntentArrayInput` via:
BotIntentArray{ BotIntentArgs{...} }
type BotIntentArrayOutput ¶ added in v3.6.0
type BotIntentArrayOutput struct{ *pulumi.OutputState }
func (BotIntentArrayOutput) ElementType ¶ added in v3.6.0
func (BotIntentArrayOutput) ElementType() reflect.Type
func (BotIntentArrayOutput) Index ¶ added in v3.6.0
func (o BotIntentArrayOutput) Index(i pulumi.IntInput) BotIntentOutput
func (BotIntentArrayOutput) ToBotIntentArrayOutput ¶ added in v3.6.0
func (o BotIntentArrayOutput) ToBotIntentArrayOutput() BotIntentArrayOutput
func (BotIntentArrayOutput) ToBotIntentArrayOutputWithContext ¶ added in v3.6.0
func (o BotIntentArrayOutput) ToBotIntentArrayOutputWithContext(ctx context.Context) BotIntentArrayOutput
type BotIntentInput ¶ added in v3.6.0
type BotIntentInput interface { pulumi.Input ToBotIntentOutput() BotIntentOutput ToBotIntentOutputWithContext(context.Context) BotIntentOutput }
BotIntentInput is an input type that accepts BotIntentArgs and BotIntentOutput values. You can construct a concrete instance of `BotIntentInput` via:
BotIntentArgs{...}
type BotIntentOutput ¶ added in v3.6.0
type BotIntentOutput struct{ *pulumi.OutputState }
func (BotIntentOutput) ElementType ¶ added in v3.6.0
func (BotIntentOutput) ElementType() reflect.Type
func (BotIntentOutput) IntentName ¶ added in v3.6.0
func (o BotIntentOutput) IntentName() pulumi.StringOutput
The name of the intent. Must be less than or equal to 100 characters in length.
func (BotIntentOutput) IntentVersion ¶ added in v3.6.0
func (o BotIntentOutput) IntentVersion() pulumi.StringOutput
The version of the intent. Must be less than or equal to 64 characters in length.
func (BotIntentOutput) ToBotIntentOutput ¶ added in v3.6.0
func (o BotIntentOutput) ToBotIntentOutput() BotIntentOutput
func (BotIntentOutput) ToBotIntentOutputWithContext ¶ added in v3.6.0
func (o BotIntentOutput) ToBotIntentOutputWithContext(ctx context.Context) BotIntentOutput
type BotOutput ¶ added in v3.13.0
type BotOutput struct {
*pulumi.OutputState
}
func (BotOutput) ElementType ¶ added in v3.13.0
func (BotOutput) ToBotOutput ¶ added in v3.13.0
type BotState ¶ added in v3.6.0
type BotState struct { // The message that Amazon Lex uses to abort a conversation. Attributes are documented under statement. AbortStatement BotAbortStatementPtrInput Arn pulumi.StringPtrInput // Checksum identifying the version of the bot that was created. The checksum is not // included as an argument because the resource will add it automatically when updating the bot. Checksum pulumi.StringPtrInput // By specifying true, you confirm that your use of Amazon Lex is related to a website, program, or other application that is directed or targeted, in whole or in part, to children under age 13 and subject to COPPA. For more information see the [Amazon Lex FAQ](https://aws.amazon.com/lex/faqs#data-security) and the [Amazon Lex PutBot API Docs](https://docs.aws.amazon.com/lex/latest/dg/API_PutBot.html#lex-PutBot-request-childDirected). ChildDirected pulumi.BoolPtrInput // The message that Amazon Lex uses when it doesn't understand the user's request. Attributes are documented under prompt. ClarificationPrompt BotClarificationPromptPtrInput // Determines if a new bot version is created when the initial resource is created and on each update. Defaults to `false`. CreateVersion pulumi.BoolPtrInput // The date when the bot version was created. CreatedDate pulumi.StringPtrInput // A description of the bot. Must be less than or equal to 200 characters in length. Description pulumi.StringPtrInput // When set to true user utterances are sent to Amazon Comprehend for sentiment analysis. If you don't specify detectSentiment, the default is `false`. DetectSentiment pulumi.BoolPtrInput // Set to `true` to enable access to natural language understanding improvements. When you set the `enableModelImprovements` parameter to true you can use the `nluIntentConfidenceThreshold` parameter to configure confidence scores. For more information, see [Confidence Scores](https://docs.aws.amazon.com/lex/latest/dg/confidence-scores.html). You can only set the `enableModelImprovements` parameter in certain Regions. If you set the parameter to true, your bot has access to accuracy improvements. For more information see the [Amazon Lex Bot PutBot API Docs](https://docs.aws.amazon.com/lex/latest/dg/API_PutBot.html#lex-PutBot-request-enableModelImprovements). EnableModelImprovements pulumi.BoolPtrInput // If status is FAILED, Amazon Lex provides the reason that it failed to build the bot. FailureReason pulumi.StringPtrInput // The maximum time in seconds that Amazon Lex retains the data gathered in a conversation. Default is `300`. Must be a number between 60 and 86400 (inclusive). IdleSessionTtlInSeconds pulumi.IntPtrInput // A set of Intent objects. Each intent represents a command that a user can express. Attributes are documented under intent. Can have up to 100 Intent objects. Intents BotIntentArrayInput // The date when the $LATEST version of this bot was updated. LastUpdatedDate pulumi.StringPtrInput // Specifies the target locale for the bot. Any intent used in the bot must be compatible with the locale of the bot. For available locales, see [Amazon Lex Bot PutBot API Docs](https://docs.aws.amazon.com/lex/latest/dg/API_PutBot.html#lex-PutBot-request-locale). Default is `en-US`. Locale pulumi.StringPtrInput // The name of the bot that you want to create, case sensitive. Must be between 2 and 50 characters in length. Name pulumi.StringPtrInput // Determines the threshold where Amazon Lex will insert the AMAZON.FallbackIntent, AMAZON.KendraSearchIntent, or both when returning alternative intents in a PostContent or PostText response. AMAZON.FallbackIntent and AMAZON.KendraSearchIntent are only inserted if they are configured for the bot. For more information see [Amazon Lex Bot PutBot API Docs](https://docs.aws.amazon.com/lex/latest/dg/API_PutBot.html#lex-PutBot-request-nluIntentConfidenceThreshold) This value requires `enableModelImprovements` to be set to `true` and the default is `0`. Must be a float between 0 and 1. NluIntentConfidenceThreshold pulumi.Float64PtrInput // If you set the `processBehavior` element to `BUILD`, Amazon Lex builds the bot so that it can be run. If you set the element to `SAVE` Amazon Lex saves the bot, but doesn't build it. Default is `SAVE`. ProcessBehavior pulumi.StringPtrInput // When you send a request to create or update a bot, Amazon Lex sets the status response // element to BUILDING. After Amazon Lex builds the bot, it sets status to READY. If Amazon Lex can't // build the bot, it sets status to FAILED. Amazon Lex returns the reason for the failure in the // failureReason response element. Status pulumi.StringPtrInput // The version of the bot. Version pulumi.StringPtrInput // The Amazon Polly voice ID that you want Amazon Lex to use for voice interactions with the user. The locale configured for the voice must match the locale of the bot. For more information, see [Available Voices](http://docs.aws.amazon.com/polly/latest/dg/voicelist.html) in the Amazon Polly Developer Guide. VoiceId pulumi.StringPtrInput }
func (BotState) ElementType ¶ added in v3.6.0
type GetSlotTypeEnumerationValueArgs ¶
type GetSlotTypeEnumerationValueArgs struct { Synonyms pulumi.StringArrayInput `pulumi:"synonyms"` Value pulumi.StringInput `pulumi:"value"` }
func (GetSlotTypeEnumerationValueArgs) ElementType ¶
func (GetSlotTypeEnumerationValueArgs) ElementType() reflect.Type
func (GetSlotTypeEnumerationValueArgs) ToGetSlotTypeEnumerationValueOutput ¶
func (i GetSlotTypeEnumerationValueArgs) ToGetSlotTypeEnumerationValueOutput() GetSlotTypeEnumerationValueOutput
func (GetSlotTypeEnumerationValueArgs) ToGetSlotTypeEnumerationValueOutputWithContext ¶
func (i GetSlotTypeEnumerationValueArgs) ToGetSlotTypeEnumerationValueOutputWithContext(ctx context.Context) GetSlotTypeEnumerationValueOutput
type GetSlotTypeEnumerationValueArray ¶
type GetSlotTypeEnumerationValueArray []GetSlotTypeEnumerationValueInput
func (GetSlotTypeEnumerationValueArray) ElementType ¶
func (GetSlotTypeEnumerationValueArray) ElementType() reflect.Type
func (GetSlotTypeEnumerationValueArray) ToGetSlotTypeEnumerationValueArrayOutput ¶
func (i GetSlotTypeEnumerationValueArray) ToGetSlotTypeEnumerationValueArrayOutput() GetSlotTypeEnumerationValueArrayOutput
func (GetSlotTypeEnumerationValueArray) ToGetSlotTypeEnumerationValueArrayOutputWithContext ¶
func (i GetSlotTypeEnumerationValueArray) ToGetSlotTypeEnumerationValueArrayOutputWithContext(ctx context.Context) GetSlotTypeEnumerationValueArrayOutput
type GetSlotTypeEnumerationValueArrayInput ¶
type GetSlotTypeEnumerationValueArrayInput interface { pulumi.Input ToGetSlotTypeEnumerationValueArrayOutput() GetSlotTypeEnumerationValueArrayOutput ToGetSlotTypeEnumerationValueArrayOutputWithContext(context.Context) GetSlotTypeEnumerationValueArrayOutput }
GetSlotTypeEnumerationValueArrayInput is an input type that accepts GetSlotTypeEnumerationValueArray and GetSlotTypeEnumerationValueArrayOutput values. You can construct a concrete instance of `GetSlotTypeEnumerationValueArrayInput` via:
GetSlotTypeEnumerationValueArray{ GetSlotTypeEnumerationValueArgs{...} }
type GetSlotTypeEnumerationValueArrayOutput ¶
type GetSlotTypeEnumerationValueArrayOutput struct{ *pulumi.OutputState }
func (GetSlotTypeEnumerationValueArrayOutput) ElementType ¶
func (GetSlotTypeEnumerationValueArrayOutput) ElementType() reflect.Type
func (GetSlotTypeEnumerationValueArrayOutput) ToGetSlotTypeEnumerationValueArrayOutput ¶
func (o GetSlotTypeEnumerationValueArrayOutput) ToGetSlotTypeEnumerationValueArrayOutput() GetSlotTypeEnumerationValueArrayOutput
func (GetSlotTypeEnumerationValueArrayOutput) ToGetSlotTypeEnumerationValueArrayOutputWithContext ¶
func (o GetSlotTypeEnumerationValueArrayOutput) ToGetSlotTypeEnumerationValueArrayOutputWithContext(ctx context.Context) GetSlotTypeEnumerationValueArrayOutput
type GetSlotTypeEnumerationValueInput ¶
type GetSlotTypeEnumerationValueInput interface { pulumi.Input ToGetSlotTypeEnumerationValueOutput() GetSlotTypeEnumerationValueOutput ToGetSlotTypeEnumerationValueOutputWithContext(context.Context) GetSlotTypeEnumerationValueOutput }
GetSlotTypeEnumerationValueInput is an input type that accepts GetSlotTypeEnumerationValueArgs and GetSlotTypeEnumerationValueOutput values. You can construct a concrete instance of `GetSlotTypeEnumerationValueInput` via:
GetSlotTypeEnumerationValueArgs{...}
type GetSlotTypeEnumerationValueOutput ¶
type GetSlotTypeEnumerationValueOutput struct{ *pulumi.OutputState }
func (GetSlotTypeEnumerationValueOutput) ElementType ¶
func (GetSlotTypeEnumerationValueOutput) ElementType() reflect.Type
func (GetSlotTypeEnumerationValueOutput) Synonyms ¶
func (o GetSlotTypeEnumerationValueOutput) Synonyms() pulumi.StringArrayOutput
func (GetSlotTypeEnumerationValueOutput) ToGetSlotTypeEnumerationValueOutput ¶
func (o GetSlotTypeEnumerationValueOutput) ToGetSlotTypeEnumerationValueOutput() GetSlotTypeEnumerationValueOutput
func (GetSlotTypeEnumerationValueOutput) ToGetSlotTypeEnumerationValueOutputWithContext ¶
func (o GetSlotTypeEnumerationValueOutput) ToGetSlotTypeEnumerationValueOutputWithContext(ctx context.Context) GetSlotTypeEnumerationValueOutput
func (GetSlotTypeEnumerationValueOutput) Value ¶
func (o GetSlotTypeEnumerationValueOutput) Value() pulumi.StringOutput
type Intent ¶ added in v3.6.0
type Intent struct { pulumi.CustomResourceState // The ARN of the Lex intent. Arn pulumi.StringOutput `pulumi:"arn"` // Checksum identifying the version of the intent that was created. The checksum is not // included as an argument because the resource will add it automatically when updating the intent. Checksum pulumi.StringOutput `pulumi:"checksum"` // The statement that you want Amazon Lex to convey to the user // after the intent is successfully fulfilled by the Lambda function. This element is relevant only if // you provide a Lambda function in the `fulfillmentActivity`. If you return the intent to the client // application, you can't specify this element. The `followUpPrompt` and `conclusionStatement` are // mutually exclusive. You can specify only one. Attributes are documented under statement. ConclusionStatement IntentConclusionStatementPtrOutput `pulumi:"conclusionStatement"` // Prompts the user to confirm the intent. This question should // have a yes or no answer. You you must provide both the `rejectionStatement` and `confirmationPrompt`, // or neither. Attributes are documented under prompt. ConfirmationPrompt IntentConfirmationPromptPtrOutput `pulumi:"confirmationPrompt"` // Determines if a new slot type version is created when the initial // resource is created and on each update. Defaults to `false`. CreateVersion pulumi.BoolPtrOutput `pulumi:"createVersion"` // The date when the intent version was created. CreatedDate pulumi.StringOutput `pulumi:"createdDate"` // A description of the bot. Must be less than or equal to 200 characters in length. Description pulumi.StringPtrOutput `pulumi:"description"` // Specifies a Lambda function to invoke for each user input. You can // invoke this Lambda function to personalize user interaction. Attributes are documented under code_hook. DialogCodeHook IntentDialogCodeHookPtrOutput `pulumi:"dialogCodeHook"` // Amazon Lex uses this prompt to solicit additional activity after // fulfilling an intent. For example, after the OrderPizza intent is fulfilled, you might prompt the // user to order a drink. The `followUpPrompt` field and the `conclusionStatement` field are mutually // exclusive. You can specify only one. Attributes are documented under follow_up_prompt. FollowUpPrompt IntentFollowUpPromptPtrOutput `pulumi:"followUpPrompt"` // Describes how the intent is fulfilled. For example, after a // user provides all of the information for a pizza order, `fulfillmentActivity` defines how the bot // places an order with a local pizza store. Attributes are documented under fulfillment_activity. FulfillmentActivity IntentFulfillmentActivityOutput `pulumi:"fulfillmentActivity"` // The date when the $LATEST version of this intent was updated. LastUpdatedDate pulumi.StringOutput `pulumi:"lastUpdatedDate"` // The name of the intent slot that you want to create. The name is case sensitive. Must be less than or equal to 100 characters in length. Name pulumi.StringOutput `pulumi:"name"` // A unique identifier for the built-in intent to base this // intent on. To find the signature for an intent, see // [Standard Built-in Intents](https://developer.amazon.com/public/solutions/alexa/alexa-skills-kit/docs/built-in-intent-ref/standard-intents) // in the Alexa Skills Kit. ParentIntentSignature pulumi.StringPtrOutput `pulumi:"parentIntentSignature"` // If the user answers "no" to the question defined in the prompt field, // Amazon Lex responds with this statement to acknowledge that the intent was canceled. Attributes are // documented below under statement. RejectionStatement IntentRejectionStatementPtrOutput `pulumi:"rejectionStatement"` // If you know a specific pattern with which users might respond to // an Amazon Lex request for a slot value, you can provide those utterances to improve accuracy. This // is optional. In most cases, Amazon Lex is capable of understanding user utterances. Must have between 1 and 10 items in the list, and each item must be less than or equal to 200 characters in length. SampleUtterances pulumi.StringArrayOutput `pulumi:"sampleUtterances"` // An list of intent slots. At runtime, Amazon Lex elicits required slot values // from the user using prompts defined in the slots. Attributes are documented under slot. Slots IntentSlotArrayOutput `pulumi:"slots"` // The version of the bot. Version pulumi.StringOutput `pulumi:"version"` }
Provides an Amazon Lex Intent resource. For more information see [Amazon Lex: How It Works](https://docs.aws.amazon.com/lex/latest/dg/how-it-works.html)
## Example Usage
```go package main
import (
"fmt" "github.com/pulumi/pulumi-aws/sdk/v3/go/aws/lex" "github.com/pulumi/pulumi/sdk/v2/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { _, err := lex.NewIntent(ctx, "orderFlowersIntent", &lex.IntentArgs{ ConfirmationPrompt: &lex.IntentConfirmationPromptArgs{ MaxAttempts: pulumi.Int(2), Messages: lex.IntentConfirmationPromptMessageArray{ &lex.IntentConfirmationPromptMessageArgs{ Content: pulumi.String("Okay, your {FlowerType} will be ready for pickup by {PickupTime} on {PickupDate}. Does this sound okay?"), ContentType: pulumi.String("PlainText"), }, }, }, CreateVersion: pulumi.Bool(false), Description: pulumi.String("Intent to order a bouquet of flowers for pick up"), FulfillmentActivity: &lex.IntentFulfillmentActivityArgs{ Type: pulumi.String("ReturnIntent"), }, RejectionStatement: &lex.IntentRejectionStatementArgs{ Messages: lex.IntentRejectionStatementMessageArray{ &lex.IntentRejectionStatementMessageArgs{ Content: pulumi.String("Okay, I will not place your order."), ContentType: pulumi.String("PlainText"), }, }, }, SampleUtterances: pulumi.StringArray{ pulumi.String("I would like to order some flowers"), pulumi.String("I would like to pick up flowers"), }, Slots: lex.IntentSlotArray{ &lex.IntentSlotArgs{ Description: pulumi.String("The type of flowers to pick up"), Name: pulumi.String("FlowerType"), Priority: pulumi.Int(1), SampleUtterances: pulumi.StringArray{ pulumi.String("I would like to order {FlowerType}"), }, SlotConstraint: pulumi.String("Required"), SlotType: pulumi.String("FlowerTypes"), SlotTypeVersion: pulumi.String(fmt.Sprintf("%v%v", "$", "LATEST")), ValueElicitationPrompt: &lex.IntentSlotValueElicitationPromptArgs{ MaxAttempts: pulumi.Int(2), Message: pulumi.StringMapArray{ pulumi.StringMap{ "content": pulumi.String("What type of flowers would you like to order?"), "contentType": pulumi.String("PlainText"), }, }, }, }, &lex.IntentSlotArgs{ Description: pulumi.String("The date to pick up the flowers"), Name: pulumi.String("PickupDate"), Priority: pulumi.Int(2), SampleUtterances: pulumi.StringArray{ pulumi.String("I would like to order {FlowerType}"), }, SlotConstraint: pulumi.String("Required"), SlotType: pulumi.String("AMAZON.DATE"), SlotTypeVersion: pulumi.String(fmt.Sprintf("%v%v", "$", "LATEST")), ValueElicitationPrompt: &lex.IntentSlotValueElicitationPromptArgs{ MaxAttempts: pulumi.Int(2), Message: pulumi.StringMapArray{ pulumi.StringMap{ "content": pulumi.String("What day do you want the {FlowerType} to be picked up?"), "contentType": pulumi.String("PlainText"), }, }, }, }, &lex.IntentSlotArgs{ Description: pulumi.String("The time to pick up the flowers"), Name: pulumi.String("PickupTime"), Priority: pulumi.Int(3), SampleUtterances: pulumi.StringArray{ pulumi.String("I would like to order {FlowerType}"), }, SlotConstraint: pulumi.String("Required"), SlotType: pulumi.String("AMAZON.TIME"), SlotTypeVersion: pulumi.String(fmt.Sprintf("%v%v", "$", "LATEST")), ValueElicitationPrompt: &lex.IntentSlotValueElicitationPromptArgs{ MaxAttempts: pulumi.Int(2), Message: pulumi.StringMapArray{ pulumi.StringMap{ "content": pulumi.String("Pick up the {FlowerType} at what time on {PickupDate}?"), "contentType": pulumi.String("PlainText"), }, }, }, }, }, }) if err != nil { return err } return nil }) }
```
## Import
Intents can be imported using their name.
```sh
$ pulumi import aws:lex/intent:Intent order_flowers_intent OrderFlowers
```
func GetIntent ¶ added in v3.6.0
func GetIntent(ctx *pulumi.Context, name string, id pulumi.IDInput, state *IntentState, opts ...pulumi.ResourceOption) (*Intent, error)
GetIntent gets an existing Intent resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).
func NewIntent ¶ added in v3.6.0
func NewIntent(ctx *pulumi.Context, name string, args *IntentArgs, opts ...pulumi.ResourceOption) (*Intent, error)
NewIntent registers a new resource with the given unique name, arguments, and options.
func (Intent) ElementType ¶ added in v3.13.0
func (Intent) ToIntentOutput ¶ added in v3.13.0
func (i Intent) ToIntentOutput() IntentOutput
func (Intent) ToIntentOutputWithContext ¶ added in v3.13.0
func (i Intent) ToIntentOutputWithContext(ctx context.Context) IntentOutput
type IntentArgs ¶ added in v3.6.0
type IntentArgs struct { // The statement that you want Amazon Lex to convey to the user // after the intent is successfully fulfilled by the Lambda function. This element is relevant only if // you provide a Lambda function in the `fulfillmentActivity`. If you return the intent to the client // application, you can't specify this element. The `followUpPrompt` and `conclusionStatement` are // mutually exclusive. You can specify only one. Attributes are documented under statement. ConclusionStatement IntentConclusionStatementPtrInput // Prompts the user to confirm the intent. This question should // have a yes or no answer. You you must provide both the `rejectionStatement` and `confirmationPrompt`, // or neither. Attributes are documented under prompt. ConfirmationPrompt IntentConfirmationPromptPtrInput // Determines if a new slot type version is created when the initial // resource is created and on each update. Defaults to `false`. CreateVersion pulumi.BoolPtrInput // A description of the bot. Must be less than or equal to 200 characters in length. Description pulumi.StringPtrInput // Specifies a Lambda function to invoke for each user input. You can // invoke this Lambda function to personalize user interaction. Attributes are documented under code_hook. DialogCodeHook IntentDialogCodeHookPtrInput // Amazon Lex uses this prompt to solicit additional activity after // fulfilling an intent. For example, after the OrderPizza intent is fulfilled, you might prompt the // user to order a drink. The `followUpPrompt` field and the `conclusionStatement` field are mutually // exclusive. You can specify only one. Attributes are documented under follow_up_prompt. FollowUpPrompt IntentFollowUpPromptPtrInput // Describes how the intent is fulfilled. For example, after a // user provides all of the information for a pizza order, `fulfillmentActivity` defines how the bot // places an order with a local pizza store. Attributes are documented under fulfillment_activity. FulfillmentActivity IntentFulfillmentActivityInput // The name of the intent slot that you want to create. The name is case sensitive. Must be less than or equal to 100 characters in length. Name pulumi.StringPtrInput // A unique identifier for the built-in intent to base this // intent on. To find the signature for an intent, see // [Standard Built-in Intents](https://developer.amazon.com/public/solutions/alexa/alexa-skills-kit/docs/built-in-intent-ref/standard-intents) // in the Alexa Skills Kit. ParentIntentSignature pulumi.StringPtrInput // If the user answers "no" to the question defined in the prompt field, // Amazon Lex responds with this statement to acknowledge that the intent was canceled. Attributes are // documented below under statement. RejectionStatement IntentRejectionStatementPtrInput // If you know a specific pattern with which users might respond to // an Amazon Lex request for a slot value, you can provide those utterances to improve accuracy. This // is optional. In most cases, Amazon Lex is capable of understanding user utterances. Must have between 1 and 10 items in the list, and each item must be less than or equal to 200 characters in length. SampleUtterances pulumi.StringArrayInput // An list of intent slots. At runtime, Amazon Lex elicits required slot values // from the user using prompts defined in the slots. Attributes are documented under slot. Slots IntentSlotArrayInput }
The set of arguments for constructing a Intent resource.
func (IntentArgs) ElementType ¶ added in v3.6.0
func (IntentArgs) ElementType() reflect.Type
type IntentConclusionStatement ¶ added in v3.6.0
type IntentConclusionStatement struct { // A set of messages, each of which provides a message string and its type. // You can specify the message string in plain text or in Speech Synthesis Markup Language (SSML). // Attributes are documented under message. Must contain between 1 and 15 messages. Messages []IntentConclusionStatementMessage `pulumi:"messages"` // The response card. Amazon Lex will substitute session attributes and // slot values into the response card. For more information, see // [Example: Using a Response Card](https://docs.aws.amazon.com/lex/latest/dg/ex-resp-card.html). Must be less than or equal to 50000 characters in length. ResponseCard *string `pulumi:"responseCard"` }
type IntentConclusionStatementArgs ¶ added in v3.6.0
type IntentConclusionStatementArgs struct { // A set of messages, each of which provides a message string and its type. // You can specify the message string in plain text or in Speech Synthesis Markup Language (SSML). // Attributes are documented under message. Must contain between 1 and 15 messages. Messages IntentConclusionStatementMessageArrayInput `pulumi:"messages"` // The response card. Amazon Lex will substitute session attributes and // slot values into the response card. For more information, see // [Example: Using a Response Card](https://docs.aws.amazon.com/lex/latest/dg/ex-resp-card.html). Must be less than or equal to 50000 characters in length. ResponseCard pulumi.StringPtrInput `pulumi:"responseCard"` }
func (IntentConclusionStatementArgs) ElementType ¶ added in v3.6.0
func (IntentConclusionStatementArgs) ElementType() reflect.Type
func (IntentConclusionStatementArgs) ToIntentConclusionStatementOutput ¶ added in v3.6.0
func (i IntentConclusionStatementArgs) ToIntentConclusionStatementOutput() IntentConclusionStatementOutput
func (IntentConclusionStatementArgs) ToIntentConclusionStatementOutputWithContext ¶ added in v3.6.0
func (i IntentConclusionStatementArgs) ToIntentConclusionStatementOutputWithContext(ctx context.Context) IntentConclusionStatementOutput
func (IntentConclusionStatementArgs) ToIntentConclusionStatementPtrOutput ¶ added in v3.6.0
func (i IntentConclusionStatementArgs) ToIntentConclusionStatementPtrOutput() IntentConclusionStatementPtrOutput
func (IntentConclusionStatementArgs) ToIntentConclusionStatementPtrOutputWithContext ¶ added in v3.6.0
func (i IntentConclusionStatementArgs) ToIntentConclusionStatementPtrOutputWithContext(ctx context.Context) IntentConclusionStatementPtrOutput
type IntentConclusionStatementInput ¶ added in v3.6.0
type IntentConclusionStatementInput interface { pulumi.Input ToIntentConclusionStatementOutput() IntentConclusionStatementOutput ToIntentConclusionStatementOutputWithContext(context.Context) IntentConclusionStatementOutput }
IntentConclusionStatementInput is an input type that accepts IntentConclusionStatementArgs and IntentConclusionStatementOutput values. You can construct a concrete instance of `IntentConclusionStatementInput` via:
IntentConclusionStatementArgs{...}
type IntentConclusionStatementMessage ¶ added in v3.6.0
type IntentConclusionStatementMessage struct { // The text of the message. Must be less than or equal to 1000 characters in length. Content string `pulumi:"content"` // The content type of the message string. ContentType string `pulumi:"contentType"` // Identifies the message group that the message belongs to. When a group // is assigned to a message, Amazon Lex returns one message from each group in the response. Must be a number between 1 and 5 (inclusive). GroupNumber *int `pulumi:"groupNumber"` }
type IntentConclusionStatementMessageArgs ¶ added in v3.6.0
type IntentConclusionStatementMessageArgs struct { // The text of the message. Must be less than or equal to 1000 characters in length. Content pulumi.StringInput `pulumi:"content"` // The content type of the message string. ContentType pulumi.StringInput `pulumi:"contentType"` // Identifies the message group that the message belongs to. When a group // is assigned to a message, Amazon Lex returns one message from each group in the response. Must be a number between 1 and 5 (inclusive). GroupNumber pulumi.IntPtrInput `pulumi:"groupNumber"` }
func (IntentConclusionStatementMessageArgs) ElementType ¶ added in v3.6.0
func (IntentConclusionStatementMessageArgs) ElementType() reflect.Type
func (IntentConclusionStatementMessageArgs) ToIntentConclusionStatementMessageOutput ¶ added in v3.6.0
func (i IntentConclusionStatementMessageArgs) ToIntentConclusionStatementMessageOutput() IntentConclusionStatementMessageOutput
func (IntentConclusionStatementMessageArgs) ToIntentConclusionStatementMessageOutputWithContext ¶ added in v3.6.0
func (i IntentConclusionStatementMessageArgs) ToIntentConclusionStatementMessageOutputWithContext(ctx context.Context) IntentConclusionStatementMessageOutput
type IntentConclusionStatementMessageArray ¶ added in v3.6.0
type IntentConclusionStatementMessageArray []IntentConclusionStatementMessageInput
func (IntentConclusionStatementMessageArray) ElementType ¶ added in v3.6.0
func (IntentConclusionStatementMessageArray) ElementType() reflect.Type
func (IntentConclusionStatementMessageArray) ToIntentConclusionStatementMessageArrayOutput ¶ added in v3.6.0
func (i IntentConclusionStatementMessageArray) ToIntentConclusionStatementMessageArrayOutput() IntentConclusionStatementMessageArrayOutput
func (IntentConclusionStatementMessageArray) ToIntentConclusionStatementMessageArrayOutputWithContext ¶ added in v3.6.0
func (i IntentConclusionStatementMessageArray) ToIntentConclusionStatementMessageArrayOutputWithContext(ctx context.Context) IntentConclusionStatementMessageArrayOutput
type IntentConclusionStatementMessageArrayInput ¶ added in v3.6.0
type IntentConclusionStatementMessageArrayInput interface { pulumi.Input ToIntentConclusionStatementMessageArrayOutput() IntentConclusionStatementMessageArrayOutput ToIntentConclusionStatementMessageArrayOutputWithContext(context.Context) IntentConclusionStatementMessageArrayOutput }
IntentConclusionStatementMessageArrayInput is an input type that accepts IntentConclusionStatementMessageArray and IntentConclusionStatementMessageArrayOutput values. You can construct a concrete instance of `IntentConclusionStatementMessageArrayInput` via:
IntentConclusionStatementMessageArray{ IntentConclusionStatementMessageArgs{...} }
type IntentConclusionStatementMessageArrayOutput ¶ added in v3.6.0
type IntentConclusionStatementMessageArrayOutput struct{ *pulumi.OutputState }
func (IntentConclusionStatementMessageArrayOutput) ElementType ¶ added in v3.6.0
func (IntentConclusionStatementMessageArrayOutput) ElementType() reflect.Type
func (IntentConclusionStatementMessageArrayOutput) ToIntentConclusionStatementMessageArrayOutput ¶ added in v3.6.0
func (o IntentConclusionStatementMessageArrayOutput) ToIntentConclusionStatementMessageArrayOutput() IntentConclusionStatementMessageArrayOutput
func (IntentConclusionStatementMessageArrayOutput) ToIntentConclusionStatementMessageArrayOutputWithContext ¶ added in v3.6.0
func (o IntentConclusionStatementMessageArrayOutput) ToIntentConclusionStatementMessageArrayOutputWithContext(ctx context.Context) IntentConclusionStatementMessageArrayOutput
type IntentConclusionStatementMessageInput ¶ added in v3.6.0
type IntentConclusionStatementMessageInput interface { pulumi.Input ToIntentConclusionStatementMessageOutput() IntentConclusionStatementMessageOutput ToIntentConclusionStatementMessageOutputWithContext(context.Context) IntentConclusionStatementMessageOutput }
IntentConclusionStatementMessageInput is an input type that accepts IntentConclusionStatementMessageArgs and IntentConclusionStatementMessageOutput values. You can construct a concrete instance of `IntentConclusionStatementMessageInput` via:
IntentConclusionStatementMessageArgs{...}
type IntentConclusionStatementMessageOutput ¶ added in v3.6.0
type IntentConclusionStatementMessageOutput struct{ *pulumi.OutputState }
func (IntentConclusionStatementMessageOutput) Content ¶ added in v3.6.0
func (o IntentConclusionStatementMessageOutput) Content() pulumi.StringOutput
The text of the message. Must be less than or equal to 1000 characters in length.
func (IntentConclusionStatementMessageOutput) ContentType ¶ added in v3.6.0
func (o IntentConclusionStatementMessageOutput) ContentType() pulumi.StringOutput
The content type of the message string.
func (IntentConclusionStatementMessageOutput) ElementType ¶ added in v3.6.0
func (IntentConclusionStatementMessageOutput) ElementType() reflect.Type
func (IntentConclusionStatementMessageOutput) GroupNumber ¶ added in v3.6.0
func (o IntentConclusionStatementMessageOutput) GroupNumber() pulumi.IntPtrOutput
Identifies the message group that the message belongs to. When a group is assigned to a message, Amazon Lex returns one message from each group in the response. Must be a number between 1 and 5 (inclusive).
func (IntentConclusionStatementMessageOutput) ToIntentConclusionStatementMessageOutput ¶ added in v3.6.0
func (o IntentConclusionStatementMessageOutput) ToIntentConclusionStatementMessageOutput() IntentConclusionStatementMessageOutput
func (IntentConclusionStatementMessageOutput) ToIntentConclusionStatementMessageOutputWithContext ¶ added in v3.6.0
func (o IntentConclusionStatementMessageOutput) ToIntentConclusionStatementMessageOutputWithContext(ctx context.Context) IntentConclusionStatementMessageOutput
type IntentConclusionStatementOutput ¶ added in v3.6.0
type IntentConclusionStatementOutput struct{ *pulumi.OutputState }
func (IntentConclusionStatementOutput) ElementType ¶ added in v3.6.0
func (IntentConclusionStatementOutput) ElementType() reflect.Type
func (IntentConclusionStatementOutput) Messages ¶ added in v3.6.0
func (o IntentConclusionStatementOutput) Messages() IntentConclusionStatementMessageArrayOutput
A set of messages, each of which provides a message string and its type. You can specify the message string in plain text or in Speech Synthesis Markup Language (SSML). Attributes are documented under message. Must contain between 1 and 15 messages.
func (IntentConclusionStatementOutput) ResponseCard ¶ added in v3.6.0
func (o IntentConclusionStatementOutput) ResponseCard() pulumi.StringPtrOutput
The response card. Amazon Lex will substitute session attributes and slot values into the response card. For more information, see [Example: Using a Response Card](https://docs.aws.amazon.com/lex/latest/dg/ex-resp-card.html). Must be less than or equal to 50000 characters in length.
func (IntentConclusionStatementOutput) ToIntentConclusionStatementOutput ¶ added in v3.6.0
func (o IntentConclusionStatementOutput) ToIntentConclusionStatementOutput() IntentConclusionStatementOutput
func (IntentConclusionStatementOutput) ToIntentConclusionStatementOutputWithContext ¶ added in v3.6.0
func (o IntentConclusionStatementOutput) ToIntentConclusionStatementOutputWithContext(ctx context.Context) IntentConclusionStatementOutput
func (IntentConclusionStatementOutput) ToIntentConclusionStatementPtrOutput ¶ added in v3.6.0
func (o IntentConclusionStatementOutput) ToIntentConclusionStatementPtrOutput() IntentConclusionStatementPtrOutput
func (IntentConclusionStatementOutput) ToIntentConclusionStatementPtrOutputWithContext ¶ added in v3.6.0
func (o IntentConclusionStatementOutput) ToIntentConclusionStatementPtrOutputWithContext(ctx context.Context) IntentConclusionStatementPtrOutput
type IntentConclusionStatementPtrInput ¶ added in v3.6.0
type IntentConclusionStatementPtrInput interface { pulumi.Input ToIntentConclusionStatementPtrOutput() IntentConclusionStatementPtrOutput ToIntentConclusionStatementPtrOutputWithContext(context.Context) IntentConclusionStatementPtrOutput }
IntentConclusionStatementPtrInput is an input type that accepts IntentConclusionStatementArgs, IntentConclusionStatementPtr and IntentConclusionStatementPtrOutput values. You can construct a concrete instance of `IntentConclusionStatementPtrInput` via:
IntentConclusionStatementArgs{...} or: nil
func IntentConclusionStatementPtr ¶ added in v3.6.0
func IntentConclusionStatementPtr(v *IntentConclusionStatementArgs) IntentConclusionStatementPtrInput
type IntentConclusionStatementPtrOutput ¶ added in v3.6.0
type IntentConclusionStatementPtrOutput struct{ *pulumi.OutputState }
func (IntentConclusionStatementPtrOutput) Elem ¶ added in v3.6.0
func (o IntentConclusionStatementPtrOutput) Elem() IntentConclusionStatementOutput
func (IntentConclusionStatementPtrOutput) ElementType ¶ added in v3.6.0
func (IntentConclusionStatementPtrOutput) ElementType() reflect.Type
func (IntentConclusionStatementPtrOutput) Messages ¶ added in v3.6.0
func (o IntentConclusionStatementPtrOutput) Messages() IntentConclusionStatementMessageArrayOutput
A set of messages, each of which provides a message string and its type. You can specify the message string in plain text or in Speech Synthesis Markup Language (SSML). Attributes are documented under message. Must contain between 1 and 15 messages.
func (IntentConclusionStatementPtrOutput) ResponseCard ¶ added in v3.6.0
func (o IntentConclusionStatementPtrOutput) ResponseCard() pulumi.StringPtrOutput
The response card. Amazon Lex will substitute session attributes and slot values into the response card. For more information, see [Example: Using a Response Card](https://docs.aws.amazon.com/lex/latest/dg/ex-resp-card.html). Must be less than or equal to 50000 characters in length.
func (IntentConclusionStatementPtrOutput) ToIntentConclusionStatementPtrOutput ¶ added in v3.6.0
func (o IntentConclusionStatementPtrOutput) ToIntentConclusionStatementPtrOutput() IntentConclusionStatementPtrOutput
func (IntentConclusionStatementPtrOutput) ToIntentConclusionStatementPtrOutputWithContext ¶ added in v3.6.0
func (o IntentConclusionStatementPtrOutput) ToIntentConclusionStatementPtrOutputWithContext(ctx context.Context) IntentConclusionStatementPtrOutput
type IntentConfirmationPrompt ¶ added in v3.6.0
type IntentConfirmationPrompt struct { // The number of times to prompt the user for information. Must be a number between 1 and 5 (inclusive). MaxAttempts int `pulumi:"maxAttempts"` // A set of messages, each of which provides a message string and its type. // You can specify the message string in plain text or in Speech Synthesis Markup Language (SSML). // Attributes are documented under message. Must contain between 1 and 15 messages. Messages []IntentConfirmationPromptMessage `pulumi:"messages"` // The response card. Amazon Lex will substitute session attributes and // slot values into the response card. For more information, see // [Example: Using a Response Card](https://docs.aws.amazon.com/lex/latest/dg/ex-resp-card.html). Must be less than or equal to 50000 characters in length. ResponseCard *string `pulumi:"responseCard"` }
type IntentConfirmationPromptArgs ¶ added in v3.6.0
type IntentConfirmationPromptArgs struct { // The number of times to prompt the user for information. Must be a number between 1 and 5 (inclusive). MaxAttempts pulumi.IntInput `pulumi:"maxAttempts"` // A set of messages, each of which provides a message string and its type. // You can specify the message string in plain text or in Speech Synthesis Markup Language (SSML). // Attributes are documented under message. Must contain between 1 and 15 messages. Messages IntentConfirmationPromptMessageArrayInput `pulumi:"messages"` // The response card. Amazon Lex will substitute session attributes and // slot values into the response card. For more information, see // [Example: Using a Response Card](https://docs.aws.amazon.com/lex/latest/dg/ex-resp-card.html). Must be less than or equal to 50000 characters in length. ResponseCard pulumi.StringPtrInput `pulumi:"responseCard"` }
func (IntentConfirmationPromptArgs) ElementType ¶ added in v3.6.0
func (IntentConfirmationPromptArgs) ElementType() reflect.Type
func (IntentConfirmationPromptArgs) ToIntentConfirmationPromptOutput ¶ added in v3.6.0
func (i IntentConfirmationPromptArgs) ToIntentConfirmationPromptOutput() IntentConfirmationPromptOutput
func (IntentConfirmationPromptArgs) ToIntentConfirmationPromptOutputWithContext ¶ added in v3.6.0
func (i IntentConfirmationPromptArgs) ToIntentConfirmationPromptOutputWithContext(ctx context.Context) IntentConfirmationPromptOutput
func (IntentConfirmationPromptArgs) ToIntentConfirmationPromptPtrOutput ¶ added in v3.6.0
func (i IntentConfirmationPromptArgs) ToIntentConfirmationPromptPtrOutput() IntentConfirmationPromptPtrOutput
func (IntentConfirmationPromptArgs) ToIntentConfirmationPromptPtrOutputWithContext ¶ added in v3.6.0
func (i IntentConfirmationPromptArgs) ToIntentConfirmationPromptPtrOutputWithContext(ctx context.Context) IntentConfirmationPromptPtrOutput
type IntentConfirmationPromptInput ¶ added in v3.6.0
type IntentConfirmationPromptInput interface { pulumi.Input ToIntentConfirmationPromptOutput() IntentConfirmationPromptOutput ToIntentConfirmationPromptOutputWithContext(context.Context) IntentConfirmationPromptOutput }
IntentConfirmationPromptInput is an input type that accepts IntentConfirmationPromptArgs and IntentConfirmationPromptOutput values. You can construct a concrete instance of `IntentConfirmationPromptInput` via:
IntentConfirmationPromptArgs{...}
type IntentConfirmationPromptMessage ¶ added in v3.6.0
type IntentConfirmationPromptMessage struct { // The text of the message. Must be less than or equal to 1000 characters in length. Content string `pulumi:"content"` // The content type of the message string. ContentType string `pulumi:"contentType"` // Identifies the message group that the message belongs to. When a group // is assigned to a message, Amazon Lex returns one message from each group in the response. Must be a number between 1 and 5 (inclusive). GroupNumber *int `pulumi:"groupNumber"` }
type IntentConfirmationPromptMessageArgs ¶ added in v3.6.0
type IntentConfirmationPromptMessageArgs struct { // The text of the message. Must be less than or equal to 1000 characters in length. Content pulumi.StringInput `pulumi:"content"` // The content type of the message string. ContentType pulumi.StringInput `pulumi:"contentType"` // Identifies the message group that the message belongs to. When a group // is assigned to a message, Amazon Lex returns one message from each group in the response. Must be a number between 1 and 5 (inclusive). GroupNumber pulumi.IntPtrInput `pulumi:"groupNumber"` }
func (IntentConfirmationPromptMessageArgs) ElementType ¶ added in v3.6.0
func (IntentConfirmationPromptMessageArgs) ElementType() reflect.Type
func (IntentConfirmationPromptMessageArgs) ToIntentConfirmationPromptMessageOutput ¶ added in v3.6.0
func (i IntentConfirmationPromptMessageArgs) ToIntentConfirmationPromptMessageOutput() IntentConfirmationPromptMessageOutput
func (IntentConfirmationPromptMessageArgs) ToIntentConfirmationPromptMessageOutputWithContext ¶ added in v3.6.0
func (i IntentConfirmationPromptMessageArgs) ToIntentConfirmationPromptMessageOutputWithContext(ctx context.Context) IntentConfirmationPromptMessageOutput
type IntentConfirmationPromptMessageArray ¶ added in v3.6.0
type IntentConfirmationPromptMessageArray []IntentConfirmationPromptMessageInput
func (IntentConfirmationPromptMessageArray) ElementType ¶ added in v3.6.0
func (IntentConfirmationPromptMessageArray) ElementType() reflect.Type
func (IntentConfirmationPromptMessageArray) ToIntentConfirmationPromptMessageArrayOutput ¶ added in v3.6.0
func (i IntentConfirmationPromptMessageArray) ToIntentConfirmationPromptMessageArrayOutput() IntentConfirmationPromptMessageArrayOutput
func (IntentConfirmationPromptMessageArray) ToIntentConfirmationPromptMessageArrayOutputWithContext ¶ added in v3.6.0
func (i IntentConfirmationPromptMessageArray) ToIntentConfirmationPromptMessageArrayOutputWithContext(ctx context.Context) IntentConfirmationPromptMessageArrayOutput
type IntentConfirmationPromptMessageArrayInput ¶ added in v3.6.0
type IntentConfirmationPromptMessageArrayInput interface { pulumi.Input ToIntentConfirmationPromptMessageArrayOutput() IntentConfirmationPromptMessageArrayOutput ToIntentConfirmationPromptMessageArrayOutputWithContext(context.Context) IntentConfirmationPromptMessageArrayOutput }
IntentConfirmationPromptMessageArrayInput is an input type that accepts IntentConfirmationPromptMessageArray and IntentConfirmationPromptMessageArrayOutput values. You can construct a concrete instance of `IntentConfirmationPromptMessageArrayInput` via:
IntentConfirmationPromptMessageArray{ IntentConfirmationPromptMessageArgs{...} }
type IntentConfirmationPromptMessageArrayOutput ¶ added in v3.6.0
type IntentConfirmationPromptMessageArrayOutput struct{ *pulumi.OutputState }
func (IntentConfirmationPromptMessageArrayOutput) ElementType ¶ added in v3.6.0
func (IntentConfirmationPromptMessageArrayOutput) ElementType() reflect.Type
func (IntentConfirmationPromptMessageArrayOutput) ToIntentConfirmationPromptMessageArrayOutput ¶ added in v3.6.0
func (o IntentConfirmationPromptMessageArrayOutput) ToIntentConfirmationPromptMessageArrayOutput() IntentConfirmationPromptMessageArrayOutput
func (IntentConfirmationPromptMessageArrayOutput) ToIntentConfirmationPromptMessageArrayOutputWithContext ¶ added in v3.6.0
func (o IntentConfirmationPromptMessageArrayOutput) ToIntentConfirmationPromptMessageArrayOutputWithContext(ctx context.Context) IntentConfirmationPromptMessageArrayOutput
type IntentConfirmationPromptMessageInput ¶ added in v3.6.0
type IntentConfirmationPromptMessageInput interface { pulumi.Input ToIntentConfirmationPromptMessageOutput() IntentConfirmationPromptMessageOutput ToIntentConfirmationPromptMessageOutputWithContext(context.Context) IntentConfirmationPromptMessageOutput }
IntentConfirmationPromptMessageInput is an input type that accepts IntentConfirmationPromptMessageArgs and IntentConfirmationPromptMessageOutput values. You can construct a concrete instance of `IntentConfirmationPromptMessageInput` via:
IntentConfirmationPromptMessageArgs{...}
type IntentConfirmationPromptMessageOutput ¶ added in v3.6.0
type IntentConfirmationPromptMessageOutput struct{ *pulumi.OutputState }
func (IntentConfirmationPromptMessageOutput) Content ¶ added in v3.6.0
func (o IntentConfirmationPromptMessageOutput) Content() pulumi.StringOutput
The text of the message. Must be less than or equal to 1000 characters in length.
func (IntentConfirmationPromptMessageOutput) ContentType ¶ added in v3.6.0
func (o IntentConfirmationPromptMessageOutput) ContentType() pulumi.StringOutput
The content type of the message string.
func (IntentConfirmationPromptMessageOutput) ElementType ¶ added in v3.6.0
func (IntentConfirmationPromptMessageOutput) ElementType() reflect.Type
func (IntentConfirmationPromptMessageOutput) GroupNumber ¶ added in v3.6.0
func (o IntentConfirmationPromptMessageOutput) GroupNumber() pulumi.IntPtrOutput
Identifies the message group that the message belongs to. When a group is assigned to a message, Amazon Lex returns one message from each group in the response. Must be a number between 1 and 5 (inclusive).
func (IntentConfirmationPromptMessageOutput) ToIntentConfirmationPromptMessageOutput ¶ added in v3.6.0
func (o IntentConfirmationPromptMessageOutput) ToIntentConfirmationPromptMessageOutput() IntentConfirmationPromptMessageOutput
func (IntentConfirmationPromptMessageOutput) ToIntentConfirmationPromptMessageOutputWithContext ¶ added in v3.6.0
func (o IntentConfirmationPromptMessageOutput) ToIntentConfirmationPromptMessageOutputWithContext(ctx context.Context) IntentConfirmationPromptMessageOutput
type IntentConfirmationPromptOutput ¶ added in v3.6.0
type IntentConfirmationPromptOutput struct{ *pulumi.OutputState }
func (IntentConfirmationPromptOutput) ElementType ¶ added in v3.6.0
func (IntentConfirmationPromptOutput) ElementType() reflect.Type
func (IntentConfirmationPromptOutput) MaxAttempts ¶ added in v3.6.0
func (o IntentConfirmationPromptOutput) MaxAttempts() pulumi.IntOutput
The number of times to prompt the user for information. Must be a number between 1 and 5 (inclusive).
func (IntentConfirmationPromptOutput) Messages ¶ added in v3.6.0
func (o IntentConfirmationPromptOutput) Messages() IntentConfirmationPromptMessageArrayOutput
A set of messages, each of which provides a message string and its type. You can specify the message string in plain text or in Speech Synthesis Markup Language (SSML). Attributes are documented under message. Must contain between 1 and 15 messages.
func (IntentConfirmationPromptOutput) ResponseCard ¶ added in v3.6.0
func (o IntentConfirmationPromptOutput) ResponseCard() pulumi.StringPtrOutput
The response card. Amazon Lex will substitute session attributes and slot values into the response card. For more information, see [Example: Using a Response Card](https://docs.aws.amazon.com/lex/latest/dg/ex-resp-card.html). Must be less than or equal to 50000 characters in length.
func (IntentConfirmationPromptOutput) ToIntentConfirmationPromptOutput ¶ added in v3.6.0
func (o IntentConfirmationPromptOutput) ToIntentConfirmationPromptOutput() IntentConfirmationPromptOutput
func (IntentConfirmationPromptOutput) ToIntentConfirmationPromptOutputWithContext ¶ added in v3.6.0
func (o IntentConfirmationPromptOutput) ToIntentConfirmationPromptOutputWithContext(ctx context.Context) IntentConfirmationPromptOutput
func (IntentConfirmationPromptOutput) ToIntentConfirmationPromptPtrOutput ¶ added in v3.6.0
func (o IntentConfirmationPromptOutput) ToIntentConfirmationPromptPtrOutput() IntentConfirmationPromptPtrOutput
func (IntentConfirmationPromptOutput) ToIntentConfirmationPromptPtrOutputWithContext ¶ added in v3.6.0
func (o IntentConfirmationPromptOutput) ToIntentConfirmationPromptPtrOutputWithContext(ctx context.Context) IntentConfirmationPromptPtrOutput
type IntentConfirmationPromptPtrInput ¶ added in v3.6.0
type IntentConfirmationPromptPtrInput interface { pulumi.Input ToIntentConfirmationPromptPtrOutput() IntentConfirmationPromptPtrOutput ToIntentConfirmationPromptPtrOutputWithContext(context.Context) IntentConfirmationPromptPtrOutput }
IntentConfirmationPromptPtrInput is an input type that accepts IntentConfirmationPromptArgs, IntentConfirmationPromptPtr and IntentConfirmationPromptPtrOutput values. You can construct a concrete instance of `IntentConfirmationPromptPtrInput` via:
IntentConfirmationPromptArgs{...} or: nil
func IntentConfirmationPromptPtr ¶ added in v3.6.0
func IntentConfirmationPromptPtr(v *IntentConfirmationPromptArgs) IntentConfirmationPromptPtrInput
type IntentConfirmationPromptPtrOutput ¶ added in v3.6.0
type IntentConfirmationPromptPtrOutput struct{ *pulumi.OutputState }
func (IntentConfirmationPromptPtrOutput) Elem ¶ added in v3.6.0
func (o IntentConfirmationPromptPtrOutput) Elem() IntentConfirmationPromptOutput
func (IntentConfirmationPromptPtrOutput) ElementType ¶ added in v3.6.0
func (IntentConfirmationPromptPtrOutput) ElementType() reflect.Type
func (IntentConfirmationPromptPtrOutput) MaxAttempts ¶ added in v3.6.0
func (o IntentConfirmationPromptPtrOutput) MaxAttempts() pulumi.IntPtrOutput
The number of times to prompt the user for information. Must be a number between 1 and 5 (inclusive).
func (IntentConfirmationPromptPtrOutput) Messages ¶ added in v3.6.0
func (o IntentConfirmationPromptPtrOutput) Messages() IntentConfirmationPromptMessageArrayOutput
A set of messages, each of which provides a message string and its type. You can specify the message string in plain text or in Speech Synthesis Markup Language (SSML). Attributes are documented under message. Must contain between 1 and 15 messages.
func (IntentConfirmationPromptPtrOutput) ResponseCard ¶ added in v3.6.0
func (o IntentConfirmationPromptPtrOutput) ResponseCard() pulumi.StringPtrOutput
The response card. Amazon Lex will substitute session attributes and slot values into the response card. For more information, see [Example: Using a Response Card](https://docs.aws.amazon.com/lex/latest/dg/ex-resp-card.html). Must be less than or equal to 50000 characters in length.
func (IntentConfirmationPromptPtrOutput) ToIntentConfirmationPromptPtrOutput ¶ added in v3.6.0
func (o IntentConfirmationPromptPtrOutput) ToIntentConfirmationPromptPtrOutput() IntentConfirmationPromptPtrOutput
func (IntentConfirmationPromptPtrOutput) ToIntentConfirmationPromptPtrOutputWithContext ¶ added in v3.6.0
func (o IntentConfirmationPromptPtrOutput) ToIntentConfirmationPromptPtrOutputWithContext(ctx context.Context) IntentConfirmationPromptPtrOutput
type IntentDialogCodeHook ¶ added in v3.6.0
type IntentDialogCodeHook struct { // The version of the request-response that you want Amazon Lex to use // to invoke your Lambda function. For more information, see // [Using Lambda Functions](https://docs.aws.amazon.com/lex/latest/dg/using-lambda.html). Must be less than or equal to 5 characters in length. MessageVersion string `pulumi:"messageVersion"` // The Amazon Resource Name (ARN) of the Lambda function. Uri string `pulumi:"uri"` }
type IntentDialogCodeHookArgs ¶ added in v3.6.0
type IntentDialogCodeHookArgs struct { // The version of the request-response that you want Amazon Lex to use // to invoke your Lambda function. For more information, see // [Using Lambda Functions](https://docs.aws.amazon.com/lex/latest/dg/using-lambda.html). Must be less than or equal to 5 characters in length. MessageVersion pulumi.StringInput `pulumi:"messageVersion"` // The Amazon Resource Name (ARN) of the Lambda function. Uri pulumi.StringInput `pulumi:"uri"` }
func (IntentDialogCodeHookArgs) ElementType ¶ added in v3.6.0
func (IntentDialogCodeHookArgs) ElementType() reflect.Type
func (IntentDialogCodeHookArgs) ToIntentDialogCodeHookOutput ¶ added in v3.6.0
func (i IntentDialogCodeHookArgs) ToIntentDialogCodeHookOutput() IntentDialogCodeHookOutput
func (IntentDialogCodeHookArgs) ToIntentDialogCodeHookOutputWithContext ¶ added in v3.6.0
func (i IntentDialogCodeHookArgs) ToIntentDialogCodeHookOutputWithContext(ctx context.Context) IntentDialogCodeHookOutput
func (IntentDialogCodeHookArgs) ToIntentDialogCodeHookPtrOutput ¶ added in v3.6.0
func (i IntentDialogCodeHookArgs) ToIntentDialogCodeHookPtrOutput() IntentDialogCodeHookPtrOutput
func (IntentDialogCodeHookArgs) ToIntentDialogCodeHookPtrOutputWithContext ¶ added in v3.6.0
func (i IntentDialogCodeHookArgs) ToIntentDialogCodeHookPtrOutputWithContext(ctx context.Context) IntentDialogCodeHookPtrOutput
type IntentDialogCodeHookInput ¶ added in v3.6.0
type IntentDialogCodeHookInput interface { pulumi.Input ToIntentDialogCodeHookOutput() IntentDialogCodeHookOutput ToIntentDialogCodeHookOutputWithContext(context.Context) IntentDialogCodeHookOutput }
IntentDialogCodeHookInput is an input type that accepts IntentDialogCodeHookArgs and IntentDialogCodeHookOutput values. You can construct a concrete instance of `IntentDialogCodeHookInput` via:
IntentDialogCodeHookArgs{...}
type IntentDialogCodeHookOutput ¶ added in v3.6.0
type IntentDialogCodeHookOutput struct{ *pulumi.OutputState }
func (IntentDialogCodeHookOutput) ElementType ¶ added in v3.6.0
func (IntentDialogCodeHookOutput) ElementType() reflect.Type
func (IntentDialogCodeHookOutput) MessageVersion ¶ added in v3.6.0
func (o IntentDialogCodeHookOutput) MessageVersion() pulumi.StringOutput
The version of the request-response that you want Amazon Lex to use to invoke your Lambda function. For more information, see [Using Lambda Functions](https://docs.aws.amazon.com/lex/latest/dg/using-lambda.html). Must be less than or equal to 5 characters in length.
func (IntentDialogCodeHookOutput) ToIntentDialogCodeHookOutput ¶ added in v3.6.0
func (o IntentDialogCodeHookOutput) ToIntentDialogCodeHookOutput() IntentDialogCodeHookOutput
func (IntentDialogCodeHookOutput) ToIntentDialogCodeHookOutputWithContext ¶ added in v3.6.0
func (o IntentDialogCodeHookOutput) ToIntentDialogCodeHookOutputWithContext(ctx context.Context) IntentDialogCodeHookOutput
func (IntentDialogCodeHookOutput) ToIntentDialogCodeHookPtrOutput ¶ added in v3.6.0
func (o IntentDialogCodeHookOutput) ToIntentDialogCodeHookPtrOutput() IntentDialogCodeHookPtrOutput
func (IntentDialogCodeHookOutput) ToIntentDialogCodeHookPtrOutputWithContext ¶ added in v3.6.0
func (o IntentDialogCodeHookOutput) ToIntentDialogCodeHookPtrOutputWithContext(ctx context.Context) IntentDialogCodeHookPtrOutput
func (IntentDialogCodeHookOutput) Uri ¶ added in v3.6.0
func (o IntentDialogCodeHookOutput) Uri() pulumi.StringOutput
The Amazon Resource Name (ARN) of the Lambda function.
type IntentDialogCodeHookPtrInput ¶ added in v3.6.0
type IntentDialogCodeHookPtrInput interface { pulumi.Input ToIntentDialogCodeHookPtrOutput() IntentDialogCodeHookPtrOutput ToIntentDialogCodeHookPtrOutputWithContext(context.Context) IntentDialogCodeHookPtrOutput }
IntentDialogCodeHookPtrInput is an input type that accepts IntentDialogCodeHookArgs, IntentDialogCodeHookPtr and IntentDialogCodeHookPtrOutput values. You can construct a concrete instance of `IntentDialogCodeHookPtrInput` via:
IntentDialogCodeHookArgs{...} or: nil
func IntentDialogCodeHookPtr ¶ added in v3.6.0
func IntentDialogCodeHookPtr(v *IntentDialogCodeHookArgs) IntentDialogCodeHookPtrInput
type IntentDialogCodeHookPtrOutput ¶ added in v3.6.0
type IntentDialogCodeHookPtrOutput struct{ *pulumi.OutputState }
func (IntentDialogCodeHookPtrOutput) Elem ¶ added in v3.6.0
func (o IntentDialogCodeHookPtrOutput) Elem() IntentDialogCodeHookOutput
func (IntentDialogCodeHookPtrOutput) ElementType ¶ added in v3.6.0
func (IntentDialogCodeHookPtrOutput) ElementType() reflect.Type
func (IntentDialogCodeHookPtrOutput) MessageVersion ¶ added in v3.6.0
func (o IntentDialogCodeHookPtrOutput) MessageVersion() pulumi.StringPtrOutput
The version of the request-response that you want Amazon Lex to use to invoke your Lambda function. For more information, see [Using Lambda Functions](https://docs.aws.amazon.com/lex/latest/dg/using-lambda.html). Must be less than or equal to 5 characters in length.
func (IntentDialogCodeHookPtrOutput) ToIntentDialogCodeHookPtrOutput ¶ added in v3.6.0
func (o IntentDialogCodeHookPtrOutput) ToIntentDialogCodeHookPtrOutput() IntentDialogCodeHookPtrOutput
func (IntentDialogCodeHookPtrOutput) ToIntentDialogCodeHookPtrOutputWithContext ¶ added in v3.6.0
func (o IntentDialogCodeHookPtrOutput) ToIntentDialogCodeHookPtrOutputWithContext(ctx context.Context) IntentDialogCodeHookPtrOutput
func (IntentDialogCodeHookPtrOutput) Uri ¶ added in v3.6.0
func (o IntentDialogCodeHookPtrOutput) Uri() pulumi.StringPtrOutput
The Amazon Resource Name (ARN) of the Lambda function.
type IntentFollowUpPrompt ¶ added in v3.6.0
type IntentFollowUpPrompt struct { // Prompts for information from the user. Attributes are documented under prompt. Prompt IntentFollowUpPromptPrompt `pulumi:"prompt"` // If the user answers "no" to the question defined in the prompt field, // Amazon Lex responds with this statement to acknowledge that the intent was canceled. Attributes are // documented below under statement. RejectionStatement IntentFollowUpPromptRejectionStatement `pulumi:"rejectionStatement"` }
type IntentFollowUpPromptArgs ¶ added in v3.6.0
type IntentFollowUpPromptArgs struct { // Prompts for information from the user. Attributes are documented under prompt. Prompt IntentFollowUpPromptPromptInput `pulumi:"prompt"` // If the user answers "no" to the question defined in the prompt field, // Amazon Lex responds with this statement to acknowledge that the intent was canceled. Attributes are // documented below under statement. RejectionStatement IntentFollowUpPromptRejectionStatementInput `pulumi:"rejectionStatement"` }
func (IntentFollowUpPromptArgs) ElementType ¶ added in v3.6.0
func (IntentFollowUpPromptArgs) ElementType() reflect.Type
func (IntentFollowUpPromptArgs) ToIntentFollowUpPromptOutput ¶ added in v3.6.0
func (i IntentFollowUpPromptArgs) ToIntentFollowUpPromptOutput() IntentFollowUpPromptOutput
func (IntentFollowUpPromptArgs) ToIntentFollowUpPromptOutputWithContext ¶ added in v3.6.0
func (i IntentFollowUpPromptArgs) ToIntentFollowUpPromptOutputWithContext(ctx context.Context) IntentFollowUpPromptOutput
func (IntentFollowUpPromptArgs) ToIntentFollowUpPromptPtrOutput ¶ added in v3.6.0
func (i IntentFollowUpPromptArgs) ToIntentFollowUpPromptPtrOutput() IntentFollowUpPromptPtrOutput
func (IntentFollowUpPromptArgs) ToIntentFollowUpPromptPtrOutputWithContext ¶ added in v3.6.0
func (i IntentFollowUpPromptArgs) ToIntentFollowUpPromptPtrOutputWithContext(ctx context.Context) IntentFollowUpPromptPtrOutput
type IntentFollowUpPromptInput ¶ added in v3.6.0
type IntentFollowUpPromptInput interface { pulumi.Input ToIntentFollowUpPromptOutput() IntentFollowUpPromptOutput ToIntentFollowUpPromptOutputWithContext(context.Context) IntentFollowUpPromptOutput }
IntentFollowUpPromptInput is an input type that accepts IntentFollowUpPromptArgs and IntentFollowUpPromptOutput values. You can construct a concrete instance of `IntentFollowUpPromptInput` via:
IntentFollowUpPromptArgs{...}
type IntentFollowUpPromptOutput ¶ added in v3.6.0
type IntentFollowUpPromptOutput struct{ *pulumi.OutputState }
func (IntentFollowUpPromptOutput) ElementType ¶ added in v3.6.0
func (IntentFollowUpPromptOutput) ElementType() reflect.Type
func (IntentFollowUpPromptOutput) Prompt ¶ added in v3.6.0
func (o IntentFollowUpPromptOutput) Prompt() IntentFollowUpPromptPromptOutput
Prompts for information from the user. Attributes are documented under prompt.
func (IntentFollowUpPromptOutput) RejectionStatement ¶ added in v3.6.0
func (o IntentFollowUpPromptOutput) RejectionStatement() IntentFollowUpPromptRejectionStatementOutput
If the user answers "no" to the question defined in the prompt field, Amazon Lex responds with this statement to acknowledge that the intent was canceled. Attributes are documented below under statement.
func (IntentFollowUpPromptOutput) ToIntentFollowUpPromptOutput ¶ added in v3.6.0
func (o IntentFollowUpPromptOutput) ToIntentFollowUpPromptOutput() IntentFollowUpPromptOutput
func (IntentFollowUpPromptOutput) ToIntentFollowUpPromptOutputWithContext ¶ added in v3.6.0
func (o IntentFollowUpPromptOutput) ToIntentFollowUpPromptOutputWithContext(ctx context.Context) IntentFollowUpPromptOutput
func (IntentFollowUpPromptOutput) ToIntentFollowUpPromptPtrOutput ¶ added in v3.6.0
func (o IntentFollowUpPromptOutput) ToIntentFollowUpPromptPtrOutput() IntentFollowUpPromptPtrOutput
func (IntentFollowUpPromptOutput) ToIntentFollowUpPromptPtrOutputWithContext ¶ added in v3.6.0
func (o IntentFollowUpPromptOutput) ToIntentFollowUpPromptPtrOutputWithContext(ctx context.Context) IntentFollowUpPromptPtrOutput
type IntentFollowUpPromptPrompt ¶ added in v3.6.0
type IntentFollowUpPromptPrompt struct { // The number of times to prompt the user for information. Must be a number between 1 and 5 (inclusive). MaxAttempts int `pulumi:"maxAttempts"` // A set of messages, each of which provides a message string and its type. // You can specify the message string in plain text or in Speech Synthesis Markup Language (SSML). // Attributes are documented under message. Must contain between 1 and 15 messages. Messages []IntentFollowUpPromptPromptMessage `pulumi:"messages"` // The response card. Amazon Lex will substitute session attributes and // slot values into the response card. For more information, see // [Example: Using a Response Card](https://docs.aws.amazon.com/lex/latest/dg/ex-resp-card.html). Must be less than or equal to 50000 characters in length. ResponseCard *string `pulumi:"responseCard"` }
type IntentFollowUpPromptPromptArgs ¶ added in v3.6.0
type IntentFollowUpPromptPromptArgs struct { // The number of times to prompt the user for information. Must be a number between 1 and 5 (inclusive). MaxAttempts pulumi.IntInput `pulumi:"maxAttempts"` // A set of messages, each of which provides a message string and its type. // You can specify the message string in plain text or in Speech Synthesis Markup Language (SSML). // Attributes are documented under message. Must contain between 1 and 15 messages. Messages IntentFollowUpPromptPromptMessageArrayInput `pulumi:"messages"` // The response card. Amazon Lex will substitute session attributes and // slot values into the response card. For more information, see // [Example: Using a Response Card](https://docs.aws.amazon.com/lex/latest/dg/ex-resp-card.html). Must be less than or equal to 50000 characters in length. ResponseCard pulumi.StringPtrInput `pulumi:"responseCard"` }
func (IntentFollowUpPromptPromptArgs) ElementType ¶ added in v3.6.0
func (IntentFollowUpPromptPromptArgs) ElementType() reflect.Type
func (IntentFollowUpPromptPromptArgs) ToIntentFollowUpPromptPromptOutput ¶ added in v3.6.0
func (i IntentFollowUpPromptPromptArgs) ToIntentFollowUpPromptPromptOutput() IntentFollowUpPromptPromptOutput
func (IntentFollowUpPromptPromptArgs) ToIntentFollowUpPromptPromptOutputWithContext ¶ added in v3.6.0
func (i IntentFollowUpPromptPromptArgs) ToIntentFollowUpPromptPromptOutputWithContext(ctx context.Context) IntentFollowUpPromptPromptOutput
func (IntentFollowUpPromptPromptArgs) ToIntentFollowUpPromptPromptPtrOutput ¶ added in v3.6.0
func (i IntentFollowUpPromptPromptArgs) ToIntentFollowUpPromptPromptPtrOutput() IntentFollowUpPromptPromptPtrOutput
func (IntentFollowUpPromptPromptArgs) ToIntentFollowUpPromptPromptPtrOutputWithContext ¶ added in v3.6.0
func (i IntentFollowUpPromptPromptArgs) ToIntentFollowUpPromptPromptPtrOutputWithContext(ctx context.Context) IntentFollowUpPromptPromptPtrOutput
type IntentFollowUpPromptPromptInput ¶ added in v3.6.0
type IntentFollowUpPromptPromptInput interface { pulumi.Input ToIntentFollowUpPromptPromptOutput() IntentFollowUpPromptPromptOutput ToIntentFollowUpPromptPromptOutputWithContext(context.Context) IntentFollowUpPromptPromptOutput }
IntentFollowUpPromptPromptInput is an input type that accepts IntentFollowUpPromptPromptArgs and IntentFollowUpPromptPromptOutput values. You can construct a concrete instance of `IntentFollowUpPromptPromptInput` via:
IntentFollowUpPromptPromptArgs{...}
type IntentFollowUpPromptPromptMessage ¶ added in v3.6.0
type IntentFollowUpPromptPromptMessage struct { // The text of the message. Must be less than or equal to 1000 characters in length. Content string `pulumi:"content"` // The content type of the message string. ContentType string `pulumi:"contentType"` // Identifies the message group that the message belongs to. When a group // is assigned to a message, Amazon Lex returns one message from each group in the response. Must be a number between 1 and 5 (inclusive). GroupNumber *int `pulumi:"groupNumber"` }
type IntentFollowUpPromptPromptMessageArgs ¶ added in v3.6.0
type IntentFollowUpPromptPromptMessageArgs struct { // The text of the message. Must be less than or equal to 1000 characters in length. Content pulumi.StringInput `pulumi:"content"` // The content type of the message string. ContentType pulumi.StringInput `pulumi:"contentType"` // Identifies the message group that the message belongs to. When a group // is assigned to a message, Amazon Lex returns one message from each group in the response. Must be a number between 1 and 5 (inclusive). GroupNumber pulumi.IntPtrInput `pulumi:"groupNumber"` }
func (IntentFollowUpPromptPromptMessageArgs) ElementType ¶ added in v3.6.0
func (IntentFollowUpPromptPromptMessageArgs) ElementType() reflect.Type
func (IntentFollowUpPromptPromptMessageArgs) ToIntentFollowUpPromptPromptMessageOutput ¶ added in v3.6.0
func (i IntentFollowUpPromptPromptMessageArgs) ToIntentFollowUpPromptPromptMessageOutput() IntentFollowUpPromptPromptMessageOutput
func (IntentFollowUpPromptPromptMessageArgs) ToIntentFollowUpPromptPromptMessageOutputWithContext ¶ added in v3.6.0
func (i IntentFollowUpPromptPromptMessageArgs) ToIntentFollowUpPromptPromptMessageOutputWithContext(ctx context.Context) IntentFollowUpPromptPromptMessageOutput
type IntentFollowUpPromptPromptMessageArray ¶ added in v3.6.0
type IntentFollowUpPromptPromptMessageArray []IntentFollowUpPromptPromptMessageInput
func (IntentFollowUpPromptPromptMessageArray) ElementType ¶ added in v3.6.0
func (IntentFollowUpPromptPromptMessageArray) ElementType() reflect.Type
func (IntentFollowUpPromptPromptMessageArray) ToIntentFollowUpPromptPromptMessageArrayOutput ¶ added in v3.6.0
func (i IntentFollowUpPromptPromptMessageArray) ToIntentFollowUpPromptPromptMessageArrayOutput() IntentFollowUpPromptPromptMessageArrayOutput
func (IntentFollowUpPromptPromptMessageArray) ToIntentFollowUpPromptPromptMessageArrayOutputWithContext ¶ added in v3.6.0
func (i IntentFollowUpPromptPromptMessageArray) ToIntentFollowUpPromptPromptMessageArrayOutputWithContext(ctx context.Context) IntentFollowUpPromptPromptMessageArrayOutput
type IntentFollowUpPromptPromptMessageArrayInput ¶ added in v3.6.0
type IntentFollowUpPromptPromptMessageArrayInput interface { pulumi.Input ToIntentFollowUpPromptPromptMessageArrayOutput() IntentFollowUpPromptPromptMessageArrayOutput ToIntentFollowUpPromptPromptMessageArrayOutputWithContext(context.Context) IntentFollowUpPromptPromptMessageArrayOutput }
IntentFollowUpPromptPromptMessageArrayInput is an input type that accepts IntentFollowUpPromptPromptMessageArray and IntentFollowUpPromptPromptMessageArrayOutput values. You can construct a concrete instance of `IntentFollowUpPromptPromptMessageArrayInput` via:
IntentFollowUpPromptPromptMessageArray{ IntentFollowUpPromptPromptMessageArgs{...} }
type IntentFollowUpPromptPromptMessageArrayOutput ¶ added in v3.6.0
type IntentFollowUpPromptPromptMessageArrayOutput struct{ *pulumi.OutputState }
func (IntentFollowUpPromptPromptMessageArrayOutput) ElementType ¶ added in v3.6.0
func (IntentFollowUpPromptPromptMessageArrayOutput) ElementType() reflect.Type
func (IntentFollowUpPromptPromptMessageArrayOutput) ToIntentFollowUpPromptPromptMessageArrayOutput ¶ added in v3.6.0
func (o IntentFollowUpPromptPromptMessageArrayOutput) ToIntentFollowUpPromptPromptMessageArrayOutput() IntentFollowUpPromptPromptMessageArrayOutput
func (IntentFollowUpPromptPromptMessageArrayOutput) ToIntentFollowUpPromptPromptMessageArrayOutputWithContext ¶ added in v3.6.0
func (o IntentFollowUpPromptPromptMessageArrayOutput) ToIntentFollowUpPromptPromptMessageArrayOutputWithContext(ctx context.Context) IntentFollowUpPromptPromptMessageArrayOutput
type IntentFollowUpPromptPromptMessageInput ¶ added in v3.6.0
type IntentFollowUpPromptPromptMessageInput interface { pulumi.Input ToIntentFollowUpPromptPromptMessageOutput() IntentFollowUpPromptPromptMessageOutput ToIntentFollowUpPromptPromptMessageOutputWithContext(context.Context) IntentFollowUpPromptPromptMessageOutput }
IntentFollowUpPromptPromptMessageInput is an input type that accepts IntentFollowUpPromptPromptMessageArgs and IntentFollowUpPromptPromptMessageOutput values. You can construct a concrete instance of `IntentFollowUpPromptPromptMessageInput` via:
IntentFollowUpPromptPromptMessageArgs{...}
type IntentFollowUpPromptPromptMessageOutput ¶ added in v3.6.0
type IntentFollowUpPromptPromptMessageOutput struct{ *pulumi.OutputState }
func (IntentFollowUpPromptPromptMessageOutput) Content ¶ added in v3.6.0
func (o IntentFollowUpPromptPromptMessageOutput) Content() pulumi.StringOutput
The text of the message. Must be less than or equal to 1000 characters in length.
func (IntentFollowUpPromptPromptMessageOutput) ContentType ¶ added in v3.6.0
func (o IntentFollowUpPromptPromptMessageOutput) ContentType() pulumi.StringOutput
The content type of the message string.
func (IntentFollowUpPromptPromptMessageOutput) ElementType ¶ added in v3.6.0
func (IntentFollowUpPromptPromptMessageOutput) ElementType() reflect.Type
func (IntentFollowUpPromptPromptMessageOutput) GroupNumber ¶ added in v3.6.0
func (o IntentFollowUpPromptPromptMessageOutput) GroupNumber() pulumi.IntPtrOutput
Identifies the message group that the message belongs to. When a group is assigned to a message, Amazon Lex returns one message from each group in the response. Must be a number between 1 and 5 (inclusive).
func (IntentFollowUpPromptPromptMessageOutput) ToIntentFollowUpPromptPromptMessageOutput ¶ added in v3.6.0
func (o IntentFollowUpPromptPromptMessageOutput) ToIntentFollowUpPromptPromptMessageOutput() IntentFollowUpPromptPromptMessageOutput
func (IntentFollowUpPromptPromptMessageOutput) ToIntentFollowUpPromptPromptMessageOutputWithContext ¶ added in v3.6.0
func (o IntentFollowUpPromptPromptMessageOutput) ToIntentFollowUpPromptPromptMessageOutputWithContext(ctx context.Context) IntentFollowUpPromptPromptMessageOutput
type IntentFollowUpPromptPromptOutput ¶ added in v3.6.0
type IntentFollowUpPromptPromptOutput struct{ *pulumi.OutputState }
func (IntentFollowUpPromptPromptOutput) ElementType ¶ added in v3.6.0
func (IntentFollowUpPromptPromptOutput) ElementType() reflect.Type
func (IntentFollowUpPromptPromptOutput) MaxAttempts ¶ added in v3.6.0
func (o IntentFollowUpPromptPromptOutput) MaxAttempts() pulumi.IntOutput
The number of times to prompt the user for information. Must be a number between 1 and 5 (inclusive).
func (IntentFollowUpPromptPromptOutput) Messages ¶ added in v3.6.0
func (o IntentFollowUpPromptPromptOutput) Messages() IntentFollowUpPromptPromptMessageArrayOutput
A set of messages, each of which provides a message string and its type. You can specify the message string in plain text or in Speech Synthesis Markup Language (SSML). Attributes are documented under message. Must contain between 1 and 15 messages.
func (IntentFollowUpPromptPromptOutput) ResponseCard ¶ added in v3.6.0
func (o IntentFollowUpPromptPromptOutput) ResponseCard() pulumi.StringPtrOutput
The response card. Amazon Lex will substitute session attributes and slot values into the response card. For more information, see [Example: Using a Response Card](https://docs.aws.amazon.com/lex/latest/dg/ex-resp-card.html). Must be less than or equal to 50000 characters in length.
func (IntentFollowUpPromptPromptOutput) ToIntentFollowUpPromptPromptOutput ¶ added in v3.6.0
func (o IntentFollowUpPromptPromptOutput) ToIntentFollowUpPromptPromptOutput() IntentFollowUpPromptPromptOutput
func (IntentFollowUpPromptPromptOutput) ToIntentFollowUpPromptPromptOutputWithContext ¶ added in v3.6.0
func (o IntentFollowUpPromptPromptOutput) ToIntentFollowUpPromptPromptOutputWithContext(ctx context.Context) IntentFollowUpPromptPromptOutput
func (IntentFollowUpPromptPromptOutput) ToIntentFollowUpPromptPromptPtrOutput ¶ added in v3.6.0
func (o IntentFollowUpPromptPromptOutput) ToIntentFollowUpPromptPromptPtrOutput() IntentFollowUpPromptPromptPtrOutput
func (IntentFollowUpPromptPromptOutput) ToIntentFollowUpPromptPromptPtrOutputWithContext ¶ added in v3.6.0
func (o IntentFollowUpPromptPromptOutput) ToIntentFollowUpPromptPromptPtrOutputWithContext(ctx context.Context) IntentFollowUpPromptPromptPtrOutput
type IntentFollowUpPromptPromptPtrInput ¶ added in v3.6.0
type IntentFollowUpPromptPromptPtrInput interface { pulumi.Input ToIntentFollowUpPromptPromptPtrOutput() IntentFollowUpPromptPromptPtrOutput ToIntentFollowUpPromptPromptPtrOutputWithContext(context.Context) IntentFollowUpPromptPromptPtrOutput }
IntentFollowUpPromptPromptPtrInput is an input type that accepts IntentFollowUpPromptPromptArgs, IntentFollowUpPromptPromptPtr and IntentFollowUpPromptPromptPtrOutput values. You can construct a concrete instance of `IntentFollowUpPromptPromptPtrInput` via:
IntentFollowUpPromptPromptArgs{...} or: nil
func IntentFollowUpPromptPromptPtr ¶ added in v3.6.0
func IntentFollowUpPromptPromptPtr(v *IntentFollowUpPromptPromptArgs) IntentFollowUpPromptPromptPtrInput
type IntentFollowUpPromptPromptPtrOutput ¶ added in v3.6.0
type IntentFollowUpPromptPromptPtrOutput struct{ *pulumi.OutputState }
func (IntentFollowUpPromptPromptPtrOutput) Elem ¶ added in v3.6.0
func (o IntentFollowUpPromptPromptPtrOutput) Elem() IntentFollowUpPromptPromptOutput
func (IntentFollowUpPromptPromptPtrOutput) ElementType ¶ added in v3.6.0
func (IntentFollowUpPromptPromptPtrOutput) ElementType() reflect.Type
func (IntentFollowUpPromptPromptPtrOutput) MaxAttempts ¶ added in v3.6.0
func (o IntentFollowUpPromptPromptPtrOutput) MaxAttempts() pulumi.IntPtrOutput
The number of times to prompt the user for information. Must be a number between 1 and 5 (inclusive).
func (IntentFollowUpPromptPromptPtrOutput) Messages ¶ added in v3.6.0
func (o IntentFollowUpPromptPromptPtrOutput) Messages() IntentFollowUpPromptPromptMessageArrayOutput
A set of messages, each of which provides a message string and its type. You can specify the message string in plain text or in Speech Synthesis Markup Language (SSML). Attributes are documented under message. Must contain between 1 and 15 messages.
func (IntentFollowUpPromptPromptPtrOutput) ResponseCard ¶ added in v3.6.0
func (o IntentFollowUpPromptPromptPtrOutput) ResponseCard() pulumi.StringPtrOutput
The response card. Amazon Lex will substitute session attributes and slot values into the response card. For more information, see [Example: Using a Response Card](https://docs.aws.amazon.com/lex/latest/dg/ex-resp-card.html). Must be less than or equal to 50000 characters in length.
func (IntentFollowUpPromptPromptPtrOutput) ToIntentFollowUpPromptPromptPtrOutput ¶ added in v3.6.0
func (o IntentFollowUpPromptPromptPtrOutput) ToIntentFollowUpPromptPromptPtrOutput() IntentFollowUpPromptPromptPtrOutput
func (IntentFollowUpPromptPromptPtrOutput) ToIntentFollowUpPromptPromptPtrOutputWithContext ¶ added in v3.6.0
func (o IntentFollowUpPromptPromptPtrOutput) ToIntentFollowUpPromptPromptPtrOutputWithContext(ctx context.Context) IntentFollowUpPromptPromptPtrOutput
type IntentFollowUpPromptPtrInput ¶ added in v3.6.0
type IntentFollowUpPromptPtrInput interface { pulumi.Input ToIntentFollowUpPromptPtrOutput() IntentFollowUpPromptPtrOutput ToIntentFollowUpPromptPtrOutputWithContext(context.Context) IntentFollowUpPromptPtrOutput }
IntentFollowUpPromptPtrInput is an input type that accepts IntentFollowUpPromptArgs, IntentFollowUpPromptPtr and IntentFollowUpPromptPtrOutput values. You can construct a concrete instance of `IntentFollowUpPromptPtrInput` via:
IntentFollowUpPromptArgs{...} or: nil
func IntentFollowUpPromptPtr ¶ added in v3.6.0
func IntentFollowUpPromptPtr(v *IntentFollowUpPromptArgs) IntentFollowUpPromptPtrInput
type IntentFollowUpPromptPtrOutput ¶ added in v3.6.0
type IntentFollowUpPromptPtrOutput struct{ *pulumi.OutputState }
func (IntentFollowUpPromptPtrOutput) Elem ¶ added in v3.6.0
func (o IntentFollowUpPromptPtrOutput) Elem() IntentFollowUpPromptOutput
func (IntentFollowUpPromptPtrOutput) ElementType ¶ added in v3.6.0
func (IntentFollowUpPromptPtrOutput) ElementType() reflect.Type
func (IntentFollowUpPromptPtrOutput) Prompt ¶ added in v3.6.0
func (o IntentFollowUpPromptPtrOutput) Prompt() IntentFollowUpPromptPromptPtrOutput
Prompts for information from the user. Attributes are documented under prompt.
func (IntentFollowUpPromptPtrOutput) RejectionStatement ¶ added in v3.6.0
func (o IntentFollowUpPromptPtrOutput) RejectionStatement() IntentFollowUpPromptRejectionStatementPtrOutput
If the user answers "no" to the question defined in the prompt field, Amazon Lex responds with this statement to acknowledge that the intent was canceled. Attributes are documented below under statement.
func (IntentFollowUpPromptPtrOutput) ToIntentFollowUpPromptPtrOutput ¶ added in v3.6.0
func (o IntentFollowUpPromptPtrOutput) ToIntentFollowUpPromptPtrOutput() IntentFollowUpPromptPtrOutput
func (IntentFollowUpPromptPtrOutput) ToIntentFollowUpPromptPtrOutputWithContext ¶ added in v3.6.0
func (o IntentFollowUpPromptPtrOutput) ToIntentFollowUpPromptPtrOutputWithContext(ctx context.Context) IntentFollowUpPromptPtrOutput
type IntentFollowUpPromptRejectionStatement ¶ added in v3.6.0
type IntentFollowUpPromptRejectionStatement struct { // A set of messages, each of which provides a message string and its type. // You can specify the message string in plain text or in Speech Synthesis Markup Language (SSML). // Attributes are documented under message. Must contain between 1 and 15 messages. Messages []IntentFollowUpPromptRejectionStatementMessage `pulumi:"messages"` // The response card. Amazon Lex will substitute session attributes and // slot values into the response card. For more information, see // [Example: Using a Response Card](https://docs.aws.amazon.com/lex/latest/dg/ex-resp-card.html). Must be less than or equal to 50000 characters in length. ResponseCard *string `pulumi:"responseCard"` }
type IntentFollowUpPromptRejectionStatementArgs ¶ added in v3.6.0
type IntentFollowUpPromptRejectionStatementArgs struct { // A set of messages, each of which provides a message string and its type. // You can specify the message string in plain text or in Speech Synthesis Markup Language (SSML). // Attributes are documented under message. Must contain between 1 and 15 messages. Messages IntentFollowUpPromptRejectionStatementMessageArrayInput `pulumi:"messages"` // The response card. Amazon Lex will substitute session attributes and // slot values into the response card. For more information, see // [Example: Using a Response Card](https://docs.aws.amazon.com/lex/latest/dg/ex-resp-card.html). Must be less than or equal to 50000 characters in length. ResponseCard pulumi.StringPtrInput `pulumi:"responseCard"` }
func (IntentFollowUpPromptRejectionStatementArgs) ElementType ¶ added in v3.6.0
func (IntentFollowUpPromptRejectionStatementArgs) ElementType() reflect.Type
func (IntentFollowUpPromptRejectionStatementArgs) ToIntentFollowUpPromptRejectionStatementOutput ¶ added in v3.6.0
func (i IntentFollowUpPromptRejectionStatementArgs) ToIntentFollowUpPromptRejectionStatementOutput() IntentFollowUpPromptRejectionStatementOutput
func (IntentFollowUpPromptRejectionStatementArgs) ToIntentFollowUpPromptRejectionStatementOutputWithContext ¶ added in v3.6.0
func (i IntentFollowUpPromptRejectionStatementArgs) ToIntentFollowUpPromptRejectionStatementOutputWithContext(ctx context.Context) IntentFollowUpPromptRejectionStatementOutput
func (IntentFollowUpPromptRejectionStatementArgs) ToIntentFollowUpPromptRejectionStatementPtrOutput ¶ added in v3.6.0
func (i IntentFollowUpPromptRejectionStatementArgs) ToIntentFollowUpPromptRejectionStatementPtrOutput() IntentFollowUpPromptRejectionStatementPtrOutput
func (IntentFollowUpPromptRejectionStatementArgs) ToIntentFollowUpPromptRejectionStatementPtrOutputWithContext ¶ added in v3.6.0
func (i IntentFollowUpPromptRejectionStatementArgs) ToIntentFollowUpPromptRejectionStatementPtrOutputWithContext(ctx context.Context) IntentFollowUpPromptRejectionStatementPtrOutput
type IntentFollowUpPromptRejectionStatementInput ¶ added in v3.6.0
type IntentFollowUpPromptRejectionStatementInput interface { pulumi.Input ToIntentFollowUpPromptRejectionStatementOutput() IntentFollowUpPromptRejectionStatementOutput ToIntentFollowUpPromptRejectionStatementOutputWithContext(context.Context) IntentFollowUpPromptRejectionStatementOutput }
IntentFollowUpPromptRejectionStatementInput is an input type that accepts IntentFollowUpPromptRejectionStatementArgs and IntentFollowUpPromptRejectionStatementOutput values. You can construct a concrete instance of `IntentFollowUpPromptRejectionStatementInput` via:
IntentFollowUpPromptRejectionStatementArgs{...}
type IntentFollowUpPromptRejectionStatementMessage ¶ added in v3.6.0
type IntentFollowUpPromptRejectionStatementMessage struct { // The text of the message. Must be less than or equal to 1000 characters in length. Content string `pulumi:"content"` // The content type of the message string. ContentType string `pulumi:"contentType"` // Identifies the message group that the message belongs to. When a group // is assigned to a message, Amazon Lex returns one message from each group in the response. Must be a number between 1 and 5 (inclusive). GroupNumber *int `pulumi:"groupNumber"` }
type IntentFollowUpPromptRejectionStatementMessageArgs ¶ added in v3.6.0
type IntentFollowUpPromptRejectionStatementMessageArgs struct { // The text of the message. Must be less than or equal to 1000 characters in length. Content pulumi.StringInput `pulumi:"content"` // The content type of the message string. ContentType pulumi.StringInput `pulumi:"contentType"` // Identifies the message group that the message belongs to. When a group // is assigned to a message, Amazon Lex returns one message from each group in the response. Must be a number between 1 and 5 (inclusive). GroupNumber pulumi.IntPtrInput `pulumi:"groupNumber"` }
func (IntentFollowUpPromptRejectionStatementMessageArgs) ElementType ¶ added in v3.6.0
func (IntentFollowUpPromptRejectionStatementMessageArgs) ElementType() reflect.Type
func (IntentFollowUpPromptRejectionStatementMessageArgs) ToIntentFollowUpPromptRejectionStatementMessageOutput ¶ added in v3.6.0
func (i IntentFollowUpPromptRejectionStatementMessageArgs) ToIntentFollowUpPromptRejectionStatementMessageOutput() IntentFollowUpPromptRejectionStatementMessageOutput
func (IntentFollowUpPromptRejectionStatementMessageArgs) ToIntentFollowUpPromptRejectionStatementMessageOutputWithContext ¶ added in v3.6.0
func (i IntentFollowUpPromptRejectionStatementMessageArgs) ToIntentFollowUpPromptRejectionStatementMessageOutputWithContext(ctx context.Context) IntentFollowUpPromptRejectionStatementMessageOutput
type IntentFollowUpPromptRejectionStatementMessageArray ¶ added in v3.6.0
type IntentFollowUpPromptRejectionStatementMessageArray []IntentFollowUpPromptRejectionStatementMessageInput
func (IntentFollowUpPromptRejectionStatementMessageArray) ElementType ¶ added in v3.6.0
func (IntentFollowUpPromptRejectionStatementMessageArray) ElementType() reflect.Type
func (IntentFollowUpPromptRejectionStatementMessageArray) ToIntentFollowUpPromptRejectionStatementMessageArrayOutput ¶ added in v3.6.0
func (i IntentFollowUpPromptRejectionStatementMessageArray) ToIntentFollowUpPromptRejectionStatementMessageArrayOutput() IntentFollowUpPromptRejectionStatementMessageArrayOutput
func (IntentFollowUpPromptRejectionStatementMessageArray) ToIntentFollowUpPromptRejectionStatementMessageArrayOutputWithContext ¶ added in v3.6.0
func (i IntentFollowUpPromptRejectionStatementMessageArray) ToIntentFollowUpPromptRejectionStatementMessageArrayOutputWithContext(ctx context.Context) IntentFollowUpPromptRejectionStatementMessageArrayOutput
type IntentFollowUpPromptRejectionStatementMessageArrayInput ¶ added in v3.6.0
type IntentFollowUpPromptRejectionStatementMessageArrayInput interface { pulumi.Input ToIntentFollowUpPromptRejectionStatementMessageArrayOutput() IntentFollowUpPromptRejectionStatementMessageArrayOutput ToIntentFollowUpPromptRejectionStatementMessageArrayOutputWithContext(context.Context) IntentFollowUpPromptRejectionStatementMessageArrayOutput }
IntentFollowUpPromptRejectionStatementMessageArrayInput is an input type that accepts IntentFollowUpPromptRejectionStatementMessageArray and IntentFollowUpPromptRejectionStatementMessageArrayOutput values. You can construct a concrete instance of `IntentFollowUpPromptRejectionStatementMessageArrayInput` via:
IntentFollowUpPromptRejectionStatementMessageArray{ IntentFollowUpPromptRejectionStatementMessageArgs{...} }
type IntentFollowUpPromptRejectionStatementMessageArrayOutput ¶ added in v3.6.0
type IntentFollowUpPromptRejectionStatementMessageArrayOutput struct{ *pulumi.OutputState }
func (IntentFollowUpPromptRejectionStatementMessageArrayOutput) ElementType ¶ added in v3.6.0
func (IntentFollowUpPromptRejectionStatementMessageArrayOutput) ElementType() reflect.Type
func (IntentFollowUpPromptRejectionStatementMessageArrayOutput) ToIntentFollowUpPromptRejectionStatementMessageArrayOutput ¶ added in v3.6.0
func (o IntentFollowUpPromptRejectionStatementMessageArrayOutput) ToIntentFollowUpPromptRejectionStatementMessageArrayOutput() IntentFollowUpPromptRejectionStatementMessageArrayOutput
func (IntentFollowUpPromptRejectionStatementMessageArrayOutput) ToIntentFollowUpPromptRejectionStatementMessageArrayOutputWithContext ¶ added in v3.6.0
func (o IntentFollowUpPromptRejectionStatementMessageArrayOutput) ToIntentFollowUpPromptRejectionStatementMessageArrayOutputWithContext(ctx context.Context) IntentFollowUpPromptRejectionStatementMessageArrayOutput
type IntentFollowUpPromptRejectionStatementMessageInput ¶ added in v3.6.0
type IntentFollowUpPromptRejectionStatementMessageInput interface { pulumi.Input ToIntentFollowUpPromptRejectionStatementMessageOutput() IntentFollowUpPromptRejectionStatementMessageOutput ToIntentFollowUpPromptRejectionStatementMessageOutputWithContext(context.Context) IntentFollowUpPromptRejectionStatementMessageOutput }
IntentFollowUpPromptRejectionStatementMessageInput is an input type that accepts IntentFollowUpPromptRejectionStatementMessageArgs and IntentFollowUpPromptRejectionStatementMessageOutput values. You can construct a concrete instance of `IntentFollowUpPromptRejectionStatementMessageInput` via:
IntentFollowUpPromptRejectionStatementMessageArgs{...}
type IntentFollowUpPromptRejectionStatementMessageOutput ¶ added in v3.6.0
type IntentFollowUpPromptRejectionStatementMessageOutput struct{ *pulumi.OutputState }
func (IntentFollowUpPromptRejectionStatementMessageOutput) Content ¶ added in v3.6.0
func (o IntentFollowUpPromptRejectionStatementMessageOutput) Content() pulumi.StringOutput
The text of the message. Must be less than or equal to 1000 characters in length.
func (IntentFollowUpPromptRejectionStatementMessageOutput) ContentType ¶ added in v3.6.0
func (o IntentFollowUpPromptRejectionStatementMessageOutput) ContentType() pulumi.StringOutput
The content type of the message string.
func (IntentFollowUpPromptRejectionStatementMessageOutput) ElementType ¶ added in v3.6.0
func (IntentFollowUpPromptRejectionStatementMessageOutput) ElementType() reflect.Type
func (IntentFollowUpPromptRejectionStatementMessageOutput) GroupNumber ¶ added in v3.6.0
func (o IntentFollowUpPromptRejectionStatementMessageOutput) GroupNumber() pulumi.IntPtrOutput
Identifies the message group that the message belongs to. When a group is assigned to a message, Amazon Lex returns one message from each group in the response. Must be a number between 1 and 5 (inclusive).
func (IntentFollowUpPromptRejectionStatementMessageOutput) ToIntentFollowUpPromptRejectionStatementMessageOutput ¶ added in v3.6.0
func (o IntentFollowUpPromptRejectionStatementMessageOutput) ToIntentFollowUpPromptRejectionStatementMessageOutput() IntentFollowUpPromptRejectionStatementMessageOutput
func (IntentFollowUpPromptRejectionStatementMessageOutput) ToIntentFollowUpPromptRejectionStatementMessageOutputWithContext ¶ added in v3.6.0
func (o IntentFollowUpPromptRejectionStatementMessageOutput) ToIntentFollowUpPromptRejectionStatementMessageOutputWithContext(ctx context.Context) IntentFollowUpPromptRejectionStatementMessageOutput
type IntentFollowUpPromptRejectionStatementOutput ¶ added in v3.6.0
type IntentFollowUpPromptRejectionStatementOutput struct{ *pulumi.OutputState }
func (IntentFollowUpPromptRejectionStatementOutput) ElementType ¶ added in v3.6.0
func (IntentFollowUpPromptRejectionStatementOutput) ElementType() reflect.Type
func (IntentFollowUpPromptRejectionStatementOutput) Messages ¶ added in v3.6.0
func (o IntentFollowUpPromptRejectionStatementOutput) Messages() IntentFollowUpPromptRejectionStatementMessageArrayOutput
A set of messages, each of which provides a message string and its type. You can specify the message string in plain text or in Speech Synthesis Markup Language (SSML). Attributes are documented under message. Must contain between 1 and 15 messages.
func (IntentFollowUpPromptRejectionStatementOutput) ResponseCard ¶ added in v3.6.0
func (o IntentFollowUpPromptRejectionStatementOutput) ResponseCard() pulumi.StringPtrOutput
The response card. Amazon Lex will substitute session attributes and slot values into the response card. For more information, see [Example: Using a Response Card](https://docs.aws.amazon.com/lex/latest/dg/ex-resp-card.html). Must be less than or equal to 50000 characters in length.
func (IntentFollowUpPromptRejectionStatementOutput) ToIntentFollowUpPromptRejectionStatementOutput ¶ added in v3.6.0
func (o IntentFollowUpPromptRejectionStatementOutput) ToIntentFollowUpPromptRejectionStatementOutput() IntentFollowUpPromptRejectionStatementOutput
func (IntentFollowUpPromptRejectionStatementOutput) ToIntentFollowUpPromptRejectionStatementOutputWithContext ¶ added in v3.6.0
func (o IntentFollowUpPromptRejectionStatementOutput) ToIntentFollowUpPromptRejectionStatementOutputWithContext(ctx context.Context) IntentFollowUpPromptRejectionStatementOutput
func (IntentFollowUpPromptRejectionStatementOutput) ToIntentFollowUpPromptRejectionStatementPtrOutput ¶ added in v3.6.0
func (o IntentFollowUpPromptRejectionStatementOutput) ToIntentFollowUpPromptRejectionStatementPtrOutput() IntentFollowUpPromptRejectionStatementPtrOutput
func (IntentFollowUpPromptRejectionStatementOutput) ToIntentFollowUpPromptRejectionStatementPtrOutputWithContext ¶ added in v3.6.0
func (o IntentFollowUpPromptRejectionStatementOutput) ToIntentFollowUpPromptRejectionStatementPtrOutputWithContext(ctx context.Context) IntentFollowUpPromptRejectionStatementPtrOutput
type IntentFollowUpPromptRejectionStatementPtrInput ¶ added in v3.6.0
type IntentFollowUpPromptRejectionStatementPtrInput interface { pulumi.Input ToIntentFollowUpPromptRejectionStatementPtrOutput() IntentFollowUpPromptRejectionStatementPtrOutput ToIntentFollowUpPromptRejectionStatementPtrOutputWithContext(context.Context) IntentFollowUpPromptRejectionStatementPtrOutput }
IntentFollowUpPromptRejectionStatementPtrInput is an input type that accepts IntentFollowUpPromptRejectionStatementArgs, IntentFollowUpPromptRejectionStatementPtr and IntentFollowUpPromptRejectionStatementPtrOutput values. You can construct a concrete instance of `IntentFollowUpPromptRejectionStatementPtrInput` via:
IntentFollowUpPromptRejectionStatementArgs{...} or: nil
func IntentFollowUpPromptRejectionStatementPtr ¶ added in v3.6.0
func IntentFollowUpPromptRejectionStatementPtr(v *IntentFollowUpPromptRejectionStatementArgs) IntentFollowUpPromptRejectionStatementPtrInput
type IntentFollowUpPromptRejectionStatementPtrOutput ¶ added in v3.6.0
type IntentFollowUpPromptRejectionStatementPtrOutput struct{ *pulumi.OutputState }
func (IntentFollowUpPromptRejectionStatementPtrOutput) ElementType ¶ added in v3.6.0
func (IntentFollowUpPromptRejectionStatementPtrOutput) ElementType() reflect.Type
func (IntentFollowUpPromptRejectionStatementPtrOutput) Messages ¶ added in v3.6.0
func (o IntentFollowUpPromptRejectionStatementPtrOutput) Messages() IntentFollowUpPromptRejectionStatementMessageArrayOutput
A set of messages, each of which provides a message string and its type. You can specify the message string in plain text or in Speech Synthesis Markup Language (SSML). Attributes are documented under message. Must contain between 1 and 15 messages.
func (IntentFollowUpPromptRejectionStatementPtrOutput) ResponseCard ¶ added in v3.6.0
func (o IntentFollowUpPromptRejectionStatementPtrOutput) ResponseCard() pulumi.StringPtrOutput
The response card. Amazon Lex will substitute session attributes and slot values into the response card. For more information, see [Example: Using a Response Card](https://docs.aws.amazon.com/lex/latest/dg/ex-resp-card.html). Must be less than or equal to 50000 characters in length.
func (IntentFollowUpPromptRejectionStatementPtrOutput) ToIntentFollowUpPromptRejectionStatementPtrOutput ¶ added in v3.6.0
func (o IntentFollowUpPromptRejectionStatementPtrOutput) ToIntentFollowUpPromptRejectionStatementPtrOutput() IntentFollowUpPromptRejectionStatementPtrOutput
func (IntentFollowUpPromptRejectionStatementPtrOutput) ToIntentFollowUpPromptRejectionStatementPtrOutputWithContext ¶ added in v3.6.0
func (o IntentFollowUpPromptRejectionStatementPtrOutput) ToIntentFollowUpPromptRejectionStatementPtrOutputWithContext(ctx context.Context) IntentFollowUpPromptRejectionStatementPtrOutput
type IntentFulfillmentActivity ¶ added in v3.6.0
type IntentFulfillmentActivity struct { // A description of the Lambda function that is run to fulfill the intent. // Required if type is CodeHook. Attributes are documented under code_hook. CodeHook *IntentFulfillmentActivityCodeHook `pulumi:"codeHook"` // How the intent should be fulfilled, either by running a Lambda function or by // returning the slot data to the client application. Type string `pulumi:"type"` }
type IntentFulfillmentActivityArgs ¶ added in v3.6.0
type IntentFulfillmentActivityArgs struct { // A description of the Lambda function that is run to fulfill the intent. // Required if type is CodeHook. Attributes are documented under code_hook. CodeHook IntentFulfillmentActivityCodeHookPtrInput `pulumi:"codeHook"` // How the intent should be fulfilled, either by running a Lambda function or by // returning the slot data to the client application. Type pulumi.StringInput `pulumi:"type"` }
func (IntentFulfillmentActivityArgs) ElementType ¶ added in v3.6.0
func (IntentFulfillmentActivityArgs) ElementType() reflect.Type
func (IntentFulfillmentActivityArgs) ToIntentFulfillmentActivityOutput ¶ added in v3.6.0
func (i IntentFulfillmentActivityArgs) ToIntentFulfillmentActivityOutput() IntentFulfillmentActivityOutput
func (IntentFulfillmentActivityArgs) ToIntentFulfillmentActivityOutputWithContext ¶ added in v3.6.0
func (i IntentFulfillmentActivityArgs) ToIntentFulfillmentActivityOutputWithContext(ctx context.Context) IntentFulfillmentActivityOutput
func (IntentFulfillmentActivityArgs) ToIntentFulfillmentActivityPtrOutput ¶ added in v3.6.0
func (i IntentFulfillmentActivityArgs) ToIntentFulfillmentActivityPtrOutput() IntentFulfillmentActivityPtrOutput
func (IntentFulfillmentActivityArgs) ToIntentFulfillmentActivityPtrOutputWithContext ¶ added in v3.6.0
func (i IntentFulfillmentActivityArgs) ToIntentFulfillmentActivityPtrOutputWithContext(ctx context.Context) IntentFulfillmentActivityPtrOutput
type IntentFulfillmentActivityCodeHook ¶ added in v3.6.0
type IntentFulfillmentActivityCodeHook struct { // The version of the request-response that you want Amazon Lex to use // to invoke your Lambda function. For more information, see // [Using Lambda Functions](https://docs.aws.amazon.com/lex/latest/dg/using-lambda.html). Must be less than or equal to 5 characters in length. MessageVersion string `pulumi:"messageVersion"` // The Amazon Resource Name (ARN) of the Lambda function. Uri string `pulumi:"uri"` }
type IntentFulfillmentActivityCodeHookArgs ¶ added in v3.6.0
type IntentFulfillmentActivityCodeHookArgs struct { // The version of the request-response that you want Amazon Lex to use // to invoke your Lambda function. For more information, see // [Using Lambda Functions](https://docs.aws.amazon.com/lex/latest/dg/using-lambda.html). Must be less than or equal to 5 characters in length. MessageVersion pulumi.StringInput `pulumi:"messageVersion"` // The Amazon Resource Name (ARN) of the Lambda function. Uri pulumi.StringInput `pulumi:"uri"` }
func (IntentFulfillmentActivityCodeHookArgs) ElementType ¶ added in v3.6.0
func (IntentFulfillmentActivityCodeHookArgs) ElementType() reflect.Type
func (IntentFulfillmentActivityCodeHookArgs) ToIntentFulfillmentActivityCodeHookOutput ¶ added in v3.6.0
func (i IntentFulfillmentActivityCodeHookArgs) ToIntentFulfillmentActivityCodeHookOutput() IntentFulfillmentActivityCodeHookOutput
func (IntentFulfillmentActivityCodeHookArgs) ToIntentFulfillmentActivityCodeHookOutputWithContext ¶ added in v3.6.0
func (i IntentFulfillmentActivityCodeHookArgs) ToIntentFulfillmentActivityCodeHookOutputWithContext(ctx context.Context) IntentFulfillmentActivityCodeHookOutput
func (IntentFulfillmentActivityCodeHookArgs) ToIntentFulfillmentActivityCodeHookPtrOutput ¶ added in v3.6.0
func (i IntentFulfillmentActivityCodeHookArgs) ToIntentFulfillmentActivityCodeHookPtrOutput() IntentFulfillmentActivityCodeHookPtrOutput
func (IntentFulfillmentActivityCodeHookArgs) ToIntentFulfillmentActivityCodeHookPtrOutputWithContext ¶ added in v3.6.0
func (i IntentFulfillmentActivityCodeHookArgs) ToIntentFulfillmentActivityCodeHookPtrOutputWithContext(ctx context.Context) IntentFulfillmentActivityCodeHookPtrOutput
type IntentFulfillmentActivityCodeHookInput ¶ added in v3.6.0
type IntentFulfillmentActivityCodeHookInput interface { pulumi.Input ToIntentFulfillmentActivityCodeHookOutput() IntentFulfillmentActivityCodeHookOutput ToIntentFulfillmentActivityCodeHookOutputWithContext(context.Context) IntentFulfillmentActivityCodeHookOutput }
IntentFulfillmentActivityCodeHookInput is an input type that accepts IntentFulfillmentActivityCodeHookArgs and IntentFulfillmentActivityCodeHookOutput values. You can construct a concrete instance of `IntentFulfillmentActivityCodeHookInput` via:
IntentFulfillmentActivityCodeHookArgs{...}
type IntentFulfillmentActivityCodeHookOutput ¶ added in v3.6.0
type IntentFulfillmentActivityCodeHookOutput struct{ *pulumi.OutputState }
func (IntentFulfillmentActivityCodeHookOutput) ElementType ¶ added in v3.6.0
func (IntentFulfillmentActivityCodeHookOutput) ElementType() reflect.Type
func (IntentFulfillmentActivityCodeHookOutput) MessageVersion ¶ added in v3.6.0
func (o IntentFulfillmentActivityCodeHookOutput) MessageVersion() pulumi.StringOutput
The version of the request-response that you want Amazon Lex to use to invoke your Lambda function. For more information, see [Using Lambda Functions](https://docs.aws.amazon.com/lex/latest/dg/using-lambda.html). Must be less than or equal to 5 characters in length.
func (IntentFulfillmentActivityCodeHookOutput) ToIntentFulfillmentActivityCodeHookOutput ¶ added in v3.6.0
func (o IntentFulfillmentActivityCodeHookOutput) ToIntentFulfillmentActivityCodeHookOutput() IntentFulfillmentActivityCodeHookOutput
func (IntentFulfillmentActivityCodeHookOutput) ToIntentFulfillmentActivityCodeHookOutputWithContext ¶ added in v3.6.0
func (o IntentFulfillmentActivityCodeHookOutput) ToIntentFulfillmentActivityCodeHookOutputWithContext(ctx context.Context) IntentFulfillmentActivityCodeHookOutput
func (IntentFulfillmentActivityCodeHookOutput) ToIntentFulfillmentActivityCodeHookPtrOutput ¶ added in v3.6.0
func (o IntentFulfillmentActivityCodeHookOutput) ToIntentFulfillmentActivityCodeHookPtrOutput() IntentFulfillmentActivityCodeHookPtrOutput
func (IntentFulfillmentActivityCodeHookOutput) ToIntentFulfillmentActivityCodeHookPtrOutputWithContext ¶ added in v3.6.0
func (o IntentFulfillmentActivityCodeHookOutput) ToIntentFulfillmentActivityCodeHookPtrOutputWithContext(ctx context.Context) IntentFulfillmentActivityCodeHookPtrOutput
func (IntentFulfillmentActivityCodeHookOutput) Uri ¶ added in v3.6.0
func (o IntentFulfillmentActivityCodeHookOutput) Uri() pulumi.StringOutput
The Amazon Resource Name (ARN) of the Lambda function.
type IntentFulfillmentActivityCodeHookPtrInput ¶ added in v3.6.0
type IntentFulfillmentActivityCodeHookPtrInput interface { pulumi.Input ToIntentFulfillmentActivityCodeHookPtrOutput() IntentFulfillmentActivityCodeHookPtrOutput ToIntentFulfillmentActivityCodeHookPtrOutputWithContext(context.Context) IntentFulfillmentActivityCodeHookPtrOutput }
IntentFulfillmentActivityCodeHookPtrInput is an input type that accepts IntentFulfillmentActivityCodeHookArgs, IntentFulfillmentActivityCodeHookPtr and IntentFulfillmentActivityCodeHookPtrOutput values. You can construct a concrete instance of `IntentFulfillmentActivityCodeHookPtrInput` via:
IntentFulfillmentActivityCodeHookArgs{...} or: nil
func IntentFulfillmentActivityCodeHookPtr ¶ added in v3.6.0
func IntentFulfillmentActivityCodeHookPtr(v *IntentFulfillmentActivityCodeHookArgs) IntentFulfillmentActivityCodeHookPtrInput
type IntentFulfillmentActivityCodeHookPtrOutput ¶ added in v3.6.0
type IntentFulfillmentActivityCodeHookPtrOutput struct{ *pulumi.OutputState }
func (IntentFulfillmentActivityCodeHookPtrOutput) ElementType ¶ added in v3.6.0
func (IntentFulfillmentActivityCodeHookPtrOutput) ElementType() reflect.Type
func (IntentFulfillmentActivityCodeHookPtrOutput) MessageVersion ¶ added in v3.6.0
func (o IntentFulfillmentActivityCodeHookPtrOutput) MessageVersion() pulumi.StringPtrOutput
The version of the request-response that you want Amazon Lex to use to invoke your Lambda function. For more information, see [Using Lambda Functions](https://docs.aws.amazon.com/lex/latest/dg/using-lambda.html). Must be less than or equal to 5 characters in length.
func (IntentFulfillmentActivityCodeHookPtrOutput) ToIntentFulfillmentActivityCodeHookPtrOutput ¶ added in v3.6.0
func (o IntentFulfillmentActivityCodeHookPtrOutput) ToIntentFulfillmentActivityCodeHookPtrOutput() IntentFulfillmentActivityCodeHookPtrOutput
func (IntentFulfillmentActivityCodeHookPtrOutput) ToIntentFulfillmentActivityCodeHookPtrOutputWithContext ¶ added in v3.6.0
func (o IntentFulfillmentActivityCodeHookPtrOutput) ToIntentFulfillmentActivityCodeHookPtrOutputWithContext(ctx context.Context) IntentFulfillmentActivityCodeHookPtrOutput
func (IntentFulfillmentActivityCodeHookPtrOutput) Uri ¶ added in v3.6.0
func (o IntentFulfillmentActivityCodeHookPtrOutput) Uri() pulumi.StringPtrOutput
The Amazon Resource Name (ARN) of the Lambda function.
type IntentFulfillmentActivityInput ¶ added in v3.6.0
type IntentFulfillmentActivityInput interface { pulumi.Input ToIntentFulfillmentActivityOutput() IntentFulfillmentActivityOutput ToIntentFulfillmentActivityOutputWithContext(context.Context) IntentFulfillmentActivityOutput }
IntentFulfillmentActivityInput is an input type that accepts IntentFulfillmentActivityArgs and IntentFulfillmentActivityOutput values. You can construct a concrete instance of `IntentFulfillmentActivityInput` via:
IntentFulfillmentActivityArgs{...}
type IntentFulfillmentActivityOutput ¶ added in v3.6.0
type IntentFulfillmentActivityOutput struct{ *pulumi.OutputState }
func (IntentFulfillmentActivityOutput) CodeHook ¶ added in v3.6.0
func (o IntentFulfillmentActivityOutput) CodeHook() IntentFulfillmentActivityCodeHookPtrOutput
A description of the Lambda function that is run to fulfill the intent. Required if type is CodeHook. Attributes are documented under code_hook.
func (IntentFulfillmentActivityOutput) ElementType ¶ added in v3.6.0
func (IntentFulfillmentActivityOutput) ElementType() reflect.Type
func (IntentFulfillmentActivityOutput) ToIntentFulfillmentActivityOutput ¶ added in v3.6.0
func (o IntentFulfillmentActivityOutput) ToIntentFulfillmentActivityOutput() IntentFulfillmentActivityOutput
func (IntentFulfillmentActivityOutput) ToIntentFulfillmentActivityOutputWithContext ¶ added in v3.6.0
func (o IntentFulfillmentActivityOutput) ToIntentFulfillmentActivityOutputWithContext(ctx context.Context) IntentFulfillmentActivityOutput
func (IntentFulfillmentActivityOutput) ToIntentFulfillmentActivityPtrOutput ¶ added in v3.6.0
func (o IntentFulfillmentActivityOutput) ToIntentFulfillmentActivityPtrOutput() IntentFulfillmentActivityPtrOutput
func (IntentFulfillmentActivityOutput) ToIntentFulfillmentActivityPtrOutputWithContext ¶ added in v3.6.0
func (o IntentFulfillmentActivityOutput) ToIntentFulfillmentActivityPtrOutputWithContext(ctx context.Context) IntentFulfillmentActivityPtrOutput
func (IntentFulfillmentActivityOutput) Type ¶ added in v3.6.0
func (o IntentFulfillmentActivityOutput) Type() pulumi.StringOutput
How the intent should be fulfilled, either by running a Lambda function or by returning the slot data to the client application.
type IntentFulfillmentActivityPtrInput ¶ added in v3.6.0
type IntentFulfillmentActivityPtrInput interface { pulumi.Input ToIntentFulfillmentActivityPtrOutput() IntentFulfillmentActivityPtrOutput ToIntentFulfillmentActivityPtrOutputWithContext(context.Context) IntentFulfillmentActivityPtrOutput }
IntentFulfillmentActivityPtrInput is an input type that accepts IntentFulfillmentActivityArgs, IntentFulfillmentActivityPtr and IntentFulfillmentActivityPtrOutput values. You can construct a concrete instance of `IntentFulfillmentActivityPtrInput` via:
IntentFulfillmentActivityArgs{...} or: nil
func IntentFulfillmentActivityPtr ¶ added in v3.6.0
func IntentFulfillmentActivityPtr(v *IntentFulfillmentActivityArgs) IntentFulfillmentActivityPtrInput
type IntentFulfillmentActivityPtrOutput ¶ added in v3.6.0
type IntentFulfillmentActivityPtrOutput struct{ *pulumi.OutputState }
func (IntentFulfillmentActivityPtrOutput) CodeHook ¶ added in v3.6.0
func (o IntentFulfillmentActivityPtrOutput) CodeHook() IntentFulfillmentActivityCodeHookPtrOutput
A description of the Lambda function that is run to fulfill the intent. Required if type is CodeHook. Attributes are documented under code_hook.
func (IntentFulfillmentActivityPtrOutput) Elem ¶ added in v3.6.0
func (o IntentFulfillmentActivityPtrOutput) Elem() IntentFulfillmentActivityOutput
func (IntentFulfillmentActivityPtrOutput) ElementType ¶ added in v3.6.0
func (IntentFulfillmentActivityPtrOutput) ElementType() reflect.Type
func (IntentFulfillmentActivityPtrOutput) ToIntentFulfillmentActivityPtrOutput ¶ added in v3.6.0
func (o IntentFulfillmentActivityPtrOutput) ToIntentFulfillmentActivityPtrOutput() IntentFulfillmentActivityPtrOutput
func (IntentFulfillmentActivityPtrOutput) ToIntentFulfillmentActivityPtrOutputWithContext ¶ added in v3.6.0
func (o IntentFulfillmentActivityPtrOutput) ToIntentFulfillmentActivityPtrOutputWithContext(ctx context.Context) IntentFulfillmentActivityPtrOutput
func (IntentFulfillmentActivityPtrOutput) Type ¶ added in v3.6.0
func (o IntentFulfillmentActivityPtrOutput) Type() pulumi.StringPtrOutput
How the intent should be fulfilled, either by running a Lambda function or by returning the slot data to the client application.
type IntentInput ¶ added in v3.13.0
type IntentInput interface { pulumi.Input ToIntentOutput() IntentOutput ToIntentOutputWithContext(ctx context.Context) IntentOutput }
type IntentOutput ¶ added in v3.13.0
type IntentOutput struct {
*pulumi.OutputState
}
func (IntentOutput) ElementType ¶ added in v3.13.0
func (IntentOutput) ElementType() reflect.Type
func (IntentOutput) ToIntentOutput ¶ added in v3.13.0
func (o IntentOutput) ToIntentOutput() IntentOutput
func (IntentOutput) ToIntentOutputWithContext ¶ added in v3.13.0
func (o IntentOutput) ToIntentOutputWithContext(ctx context.Context) IntentOutput
type IntentRejectionStatement ¶ added in v3.6.0
type IntentRejectionStatement struct { // A set of messages, each of which provides a message string and its type. // You can specify the message string in plain text or in Speech Synthesis Markup Language (SSML). // Attributes are documented under message. Must contain between 1 and 15 messages. Messages []IntentRejectionStatementMessage `pulumi:"messages"` // The response card. Amazon Lex will substitute session attributes and // slot values into the response card. For more information, see // [Example: Using a Response Card](https://docs.aws.amazon.com/lex/latest/dg/ex-resp-card.html). Must be less than or equal to 50000 characters in length. ResponseCard *string `pulumi:"responseCard"` }
type IntentRejectionStatementArgs ¶ added in v3.6.0
type IntentRejectionStatementArgs struct { // A set of messages, each of which provides a message string and its type. // You can specify the message string in plain text or in Speech Synthesis Markup Language (SSML). // Attributes are documented under message. Must contain between 1 and 15 messages. Messages IntentRejectionStatementMessageArrayInput `pulumi:"messages"` // The response card. Amazon Lex will substitute session attributes and // slot values into the response card. For more information, see // [Example: Using a Response Card](https://docs.aws.amazon.com/lex/latest/dg/ex-resp-card.html). Must be less than or equal to 50000 characters in length. ResponseCard pulumi.StringPtrInput `pulumi:"responseCard"` }
func (IntentRejectionStatementArgs) ElementType ¶ added in v3.6.0
func (IntentRejectionStatementArgs) ElementType() reflect.Type
func (IntentRejectionStatementArgs) ToIntentRejectionStatementOutput ¶ added in v3.6.0
func (i IntentRejectionStatementArgs) ToIntentRejectionStatementOutput() IntentRejectionStatementOutput
func (IntentRejectionStatementArgs) ToIntentRejectionStatementOutputWithContext ¶ added in v3.6.0
func (i IntentRejectionStatementArgs) ToIntentRejectionStatementOutputWithContext(ctx context.Context) IntentRejectionStatementOutput
func (IntentRejectionStatementArgs) ToIntentRejectionStatementPtrOutput ¶ added in v3.6.0
func (i IntentRejectionStatementArgs) ToIntentRejectionStatementPtrOutput() IntentRejectionStatementPtrOutput
func (IntentRejectionStatementArgs) ToIntentRejectionStatementPtrOutputWithContext ¶ added in v3.6.0
func (i IntentRejectionStatementArgs) ToIntentRejectionStatementPtrOutputWithContext(ctx context.Context) IntentRejectionStatementPtrOutput
type IntentRejectionStatementInput ¶ added in v3.6.0
type IntentRejectionStatementInput interface { pulumi.Input ToIntentRejectionStatementOutput() IntentRejectionStatementOutput ToIntentRejectionStatementOutputWithContext(context.Context) IntentRejectionStatementOutput }
IntentRejectionStatementInput is an input type that accepts IntentRejectionStatementArgs and IntentRejectionStatementOutput values. You can construct a concrete instance of `IntentRejectionStatementInput` via:
IntentRejectionStatementArgs{...}
type IntentRejectionStatementMessage ¶ added in v3.6.0
type IntentRejectionStatementMessage struct { // The text of the message. Must be less than or equal to 1000 characters in length. Content string `pulumi:"content"` // The content type of the message string. ContentType string `pulumi:"contentType"` // Identifies the message group that the message belongs to. When a group // is assigned to a message, Amazon Lex returns one message from each group in the response. Must be a number between 1 and 5 (inclusive). GroupNumber *int `pulumi:"groupNumber"` }
type IntentRejectionStatementMessageArgs ¶ added in v3.6.0
type IntentRejectionStatementMessageArgs struct { // The text of the message. Must be less than or equal to 1000 characters in length. Content pulumi.StringInput `pulumi:"content"` // The content type of the message string. ContentType pulumi.StringInput `pulumi:"contentType"` // Identifies the message group that the message belongs to. When a group // is assigned to a message, Amazon Lex returns one message from each group in the response. Must be a number between 1 and 5 (inclusive). GroupNumber pulumi.IntPtrInput `pulumi:"groupNumber"` }
func (IntentRejectionStatementMessageArgs) ElementType ¶ added in v3.6.0
func (IntentRejectionStatementMessageArgs) ElementType() reflect.Type
func (IntentRejectionStatementMessageArgs) ToIntentRejectionStatementMessageOutput ¶ added in v3.6.0
func (i IntentRejectionStatementMessageArgs) ToIntentRejectionStatementMessageOutput() IntentRejectionStatementMessageOutput
func (IntentRejectionStatementMessageArgs) ToIntentRejectionStatementMessageOutputWithContext ¶ added in v3.6.0
func (i IntentRejectionStatementMessageArgs) ToIntentRejectionStatementMessageOutputWithContext(ctx context.Context) IntentRejectionStatementMessageOutput
type IntentRejectionStatementMessageArray ¶ added in v3.6.0
type IntentRejectionStatementMessageArray []IntentRejectionStatementMessageInput
func (IntentRejectionStatementMessageArray) ElementType ¶ added in v3.6.0
func (IntentRejectionStatementMessageArray) ElementType() reflect.Type
func (IntentRejectionStatementMessageArray) ToIntentRejectionStatementMessageArrayOutput ¶ added in v3.6.0
func (i IntentRejectionStatementMessageArray) ToIntentRejectionStatementMessageArrayOutput() IntentRejectionStatementMessageArrayOutput
func (IntentRejectionStatementMessageArray) ToIntentRejectionStatementMessageArrayOutputWithContext ¶ added in v3.6.0
func (i IntentRejectionStatementMessageArray) ToIntentRejectionStatementMessageArrayOutputWithContext(ctx context.Context) IntentRejectionStatementMessageArrayOutput
type IntentRejectionStatementMessageArrayInput ¶ added in v3.6.0
type IntentRejectionStatementMessageArrayInput interface { pulumi.Input ToIntentRejectionStatementMessageArrayOutput() IntentRejectionStatementMessageArrayOutput ToIntentRejectionStatementMessageArrayOutputWithContext(context.Context) IntentRejectionStatementMessageArrayOutput }
IntentRejectionStatementMessageArrayInput is an input type that accepts IntentRejectionStatementMessageArray and IntentRejectionStatementMessageArrayOutput values. You can construct a concrete instance of `IntentRejectionStatementMessageArrayInput` via:
IntentRejectionStatementMessageArray{ IntentRejectionStatementMessageArgs{...} }
type IntentRejectionStatementMessageArrayOutput ¶ added in v3.6.0
type IntentRejectionStatementMessageArrayOutput struct{ *pulumi.OutputState }
func (IntentRejectionStatementMessageArrayOutput) ElementType ¶ added in v3.6.0
func (IntentRejectionStatementMessageArrayOutput) ElementType() reflect.Type
func (IntentRejectionStatementMessageArrayOutput) ToIntentRejectionStatementMessageArrayOutput ¶ added in v3.6.0
func (o IntentRejectionStatementMessageArrayOutput) ToIntentRejectionStatementMessageArrayOutput() IntentRejectionStatementMessageArrayOutput
func (IntentRejectionStatementMessageArrayOutput) ToIntentRejectionStatementMessageArrayOutputWithContext ¶ added in v3.6.0
func (o IntentRejectionStatementMessageArrayOutput) ToIntentRejectionStatementMessageArrayOutputWithContext(ctx context.Context) IntentRejectionStatementMessageArrayOutput
type IntentRejectionStatementMessageInput ¶ added in v3.6.0
type IntentRejectionStatementMessageInput interface { pulumi.Input ToIntentRejectionStatementMessageOutput() IntentRejectionStatementMessageOutput ToIntentRejectionStatementMessageOutputWithContext(context.Context) IntentRejectionStatementMessageOutput }
IntentRejectionStatementMessageInput is an input type that accepts IntentRejectionStatementMessageArgs and IntentRejectionStatementMessageOutput values. You can construct a concrete instance of `IntentRejectionStatementMessageInput` via:
IntentRejectionStatementMessageArgs{...}
type IntentRejectionStatementMessageOutput ¶ added in v3.6.0
type IntentRejectionStatementMessageOutput struct{ *pulumi.OutputState }
func (IntentRejectionStatementMessageOutput) Content ¶ added in v3.6.0
func (o IntentRejectionStatementMessageOutput) Content() pulumi.StringOutput
The text of the message. Must be less than or equal to 1000 characters in length.
func (IntentRejectionStatementMessageOutput) ContentType ¶ added in v3.6.0
func (o IntentRejectionStatementMessageOutput) ContentType() pulumi.StringOutput
The content type of the message string.
func (IntentRejectionStatementMessageOutput) ElementType ¶ added in v3.6.0
func (IntentRejectionStatementMessageOutput) ElementType() reflect.Type
func (IntentRejectionStatementMessageOutput) GroupNumber ¶ added in v3.6.0
func (o IntentRejectionStatementMessageOutput) GroupNumber() pulumi.IntPtrOutput
Identifies the message group that the message belongs to. When a group is assigned to a message, Amazon Lex returns one message from each group in the response. Must be a number between 1 and 5 (inclusive).
func (IntentRejectionStatementMessageOutput) ToIntentRejectionStatementMessageOutput ¶ added in v3.6.0
func (o IntentRejectionStatementMessageOutput) ToIntentRejectionStatementMessageOutput() IntentRejectionStatementMessageOutput
func (IntentRejectionStatementMessageOutput) ToIntentRejectionStatementMessageOutputWithContext ¶ added in v3.6.0
func (o IntentRejectionStatementMessageOutput) ToIntentRejectionStatementMessageOutputWithContext(ctx context.Context) IntentRejectionStatementMessageOutput
type IntentRejectionStatementOutput ¶ added in v3.6.0
type IntentRejectionStatementOutput struct{ *pulumi.OutputState }
func (IntentRejectionStatementOutput) ElementType ¶ added in v3.6.0
func (IntentRejectionStatementOutput) ElementType() reflect.Type
func (IntentRejectionStatementOutput) Messages ¶ added in v3.6.0
func (o IntentRejectionStatementOutput) Messages() IntentRejectionStatementMessageArrayOutput
A set of messages, each of which provides a message string and its type. You can specify the message string in plain text or in Speech Synthesis Markup Language (SSML). Attributes are documented under message. Must contain between 1 and 15 messages.
func (IntentRejectionStatementOutput) ResponseCard ¶ added in v3.6.0
func (o IntentRejectionStatementOutput) ResponseCard() pulumi.StringPtrOutput
The response card. Amazon Lex will substitute session attributes and slot values into the response card. For more information, see [Example: Using a Response Card](https://docs.aws.amazon.com/lex/latest/dg/ex-resp-card.html). Must be less than or equal to 50000 characters in length.
func (IntentRejectionStatementOutput) ToIntentRejectionStatementOutput ¶ added in v3.6.0
func (o IntentRejectionStatementOutput) ToIntentRejectionStatementOutput() IntentRejectionStatementOutput
func (IntentRejectionStatementOutput) ToIntentRejectionStatementOutputWithContext ¶ added in v3.6.0
func (o IntentRejectionStatementOutput) ToIntentRejectionStatementOutputWithContext(ctx context.Context) IntentRejectionStatementOutput
func (IntentRejectionStatementOutput) ToIntentRejectionStatementPtrOutput ¶ added in v3.6.0
func (o IntentRejectionStatementOutput) ToIntentRejectionStatementPtrOutput() IntentRejectionStatementPtrOutput
func (IntentRejectionStatementOutput) ToIntentRejectionStatementPtrOutputWithContext ¶ added in v3.6.0
func (o IntentRejectionStatementOutput) ToIntentRejectionStatementPtrOutputWithContext(ctx context.Context) IntentRejectionStatementPtrOutput
type IntentRejectionStatementPtrInput ¶ added in v3.6.0
type IntentRejectionStatementPtrInput interface { pulumi.Input ToIntentRejectionStatementPtrOutput() IntentRejectionStatementPtrOutput ToIntentRejectionStatementPtrOutputWithContext(context.Context) IntentRejectionStatementPtrOutput }
IntentRejectionStatementPtrInput is an input type that accepts IntentRejectionStatementArgs, IntentRejectionStatementPtr and IntentRejectionStatementPtrOutput values. You can construct a concrete instance of `IntentRejectionStatementPtrInput` via:
IntentRejectionStatementArgs{...} or: nil
func IntentRejectionStatementPtr ¶ added in v3.6.0
func IntentRejectionStatementPtr(v *IntentRejectionStatementArgs) IntentRejectionStatementPtrInput
type IntentRejectionStatementPtrOutput ¶ added in v3.6.0
type IntentRejectionStatementPtrOutput struct{ *pulumi.OutputState }
func (IntentRejectionStatementPtrOutput) Elem ¶ added in v3.6.0
func (o IntentRejectionStatementPtrOutput) Elem() IntentRejectionStatementOutput
func (IntentRejectionStatementPtrOutput) ElementType ¶ added in v3.6.0
func (IntentRejectionStatementPtrOutput) ElementType() reflect.Type
func (IntentRejectionStatementPtrOutput) Messages ¶ added in v3.6.0
func (o IntentRejectionStatementPtrOutput) Messages() IntentRejectionStatementMessageArrayOutput
A set of messages, each of which provides a message string and its type. You can specify the message string in plain text or in Speech Synthesis Markup Language (SSML). Attributes are documented under message. Must contain between 1 and 15 messages.
func (IntentRejectionStatementPtrOutput) ResponseCard ¶ added in v3.6.0
func (o IntentRejectionStatementPtrOutput) ResponseCard() pulumi.StringPtrOutput
The response card. Amazon Lex will substitute session attributes and slot values into the response card. For more information, see [Example: Using a Response Card](https://docs.aws.amazon.com/lex/latest/dg/ex-resp-card.html). Must be less than or equal to 50000 characters in length.
func (IntentRejectionStatementPtrOutput) ToIntentRejectionStatementPtrOutput ¶ added in v3.6.0
func (o IntentRejectionStatementPtrOutput) ToIntentRejectionStatementPtrOutput() IntentRejectionStatementPtrOutput
func (IntentRejectionStatementPtrOutput) ToIntentRejectionStatementPtrOutputWithContext ¶ added in v3.6.0
func (o IntentRejectionStatementPtrOutput) ToIntentRejectionStatementPtrOutputWithContext(ctx context.Context) IntentRejectionStatementPtrOutput
type IntentSlot ¶ added in v3.6.0
type IntentSlot struct { // A description of the bot. Must be less than or equal to 200 characters in length. Description *string `pulumi:"description"` // The name of the intent slot that you want to create. The name is case sensitive. Must be less than or equal to 100 characters in length. Name string `pulumi:"name"` // Directs Lex the order in which to elicit this slot value from the user. // For example, if the intent has two slots with priorities 1 and 2, AWS Lex first elicits a value for // the slot with priority 1. If multiple slots share the same priority, the order in which Lex elicits // values is arbitrary. Must be between 1 and 100. Priority *int `pulumi:"priority"` // The response card. Amazon Lex will substitute session attributes and // slot values into the response card. For more information, see // [Example: Using a Response Card](https://docs.aws.amazon.com/lex/latest/dg/ex-resp-card.html). Must be less than or equal to 50000 characters in length. ResponseCard *string `pulumi:"responseCard"` // If you know a specific pattern with which users might respond to // an Amazon Lex request for a slot value, you can provide those utterances to improve accuracy. This // is optional. In most cases, Amazon Lex is capable of understanding user utterances. Must have between 1 and 10 items in the list, and each item must be less than or equal to 200 characters in length. SampleUtterances []string `pulumi:"sampleUtterances"` // Specifies whether the slot is required or optional. SlotConstraint string `pulumi:"slotConstraint"` // The type of the slot, either a custom slot type that you defined or one of // the built-in slot types. Must be less than or equal to 100 characters in length. SlotType string `pulumi:"slotType"` // The version of the slot type. Must be less than or equal to 64 characters in length. SlotTypeVersion *string `pulumi:"slotTypeVersion"` // The prompt that Amazon Lex uses to elicit the slot value // from the user. Attributes are documented under prompt. ValueElicitationPrompt *IntentSlotValueElicitationPrompt `pulumi:"valueElicitationPrompt"` }
type IntentSlotArgs ¶ added in v3.6.0
type IntentSlotArgs struct { // A description of the bot. Must be less than or equal to 200 characters in length. Description pulumi.StringPtrInput `pulumi:"description"` // The name of the intent slot that you want to create. The name is case sensitive. Must be less than or equal to 100 characters in length. Name pulumi.StringInput `pulumi:"name"` // Directs Lex the order in which to elicit this slot value from the user. // For example, if the intent has two slots with priorities 1 and 2, AWS Lex first elicits a value for // the slot with priority 1. If multiple slots share the same priority, the order in which Lex elicits // values is arbitrary. Must be between 1 and 100. Priority pulumi.IntPtrInput `pulumi:"priority"` // The response card. Amazon Lex will substitute session attributes and // slot values into the response card. For more information, see // [Example: Using a Response Card](https://docs.aws.amazon.com/lex/latest/dg/ex-resp-card.html). Must be less than or equal to 50000 characters in length. ResponseCard pulumi.StringPtrInput `pulumi:"responseCard"` // If you know a specific pattern with which users might respond to // an Amazon Lex request for a slot value, you can provide those utterances to improve accuracy. This // is optional. In most cases, Amazon Lex is capable of understanding user utterances. Must have between 1 and 10 items in the list, and each item must be less than or equal to 200 characters in length. SampleUtterances pulumi.StringArrayInput `pulumi:"sampleUtterances"` // Specifies whether the slot is required or optional. SlotConstraint pulumi.StringInput `pulumi:"slotConstraint"` // The type of the slot, either a custom slot type that you defined or one of // the built-in slot types. Must be less than or equal to 100 characters in length. SlotType pulumi.StringInput `pulumi:"slotType"` // The version of the slot type. Must be less than or equal to 64 characters in length. SlotTypeVersion pulumi.StringPtrInput `pulumi:"slotTypeVersion"` // The prompt that Amazon Lex uses to elicit the slot value // from the user. Attributes are documented under prompt. ValueElicitationPrompt IntentSlotValueElicitationPromptPtrInput `pulumi:"valueElicitationPrompt"` }
func (IntentSlotArgs) ElementType ¶ added in v3.6.0
func (IntentSlotArgs) ElementType() reflect.Type
func (IntentSlotArgs) ToIntentSlotOutput ¶ added in v3.6.0
func (i IntentSlotArgs) ToIntentSlotOutput() IntentSlotOutput
func (IntentSlotArgs) ToIntentSlotOutputWithContext ¶ added in v3.6.0
func (i IntentSlotArgs) ToIntentSlotOutputWithContext(ctx context.Context) IntentSlotOutput
type IntentSlotArray ¶ added in v3.6.0
type IntentSlotArray []IntentSlotInput
func (IntentSlotArray) ElementType ¶ added in v3.6.0
func (IntentSlotArray) ElementType() reflect.Type
func (IntentSlotArray) ToIntentSlotArrayOutput ¶ added in v3.6.0
func (i IntentSlotArray) ToIntentSlotArrayOutput() IntentSlotArrayOutput
func (IntentSlotArray) ToIntentSlotArrayOutputWithContext ¶ added in v3.6.0
func (i IntentSlotArray) ToIntentSlotArrayOutputWithContext(ctx context.Context) IntentSlotArrayOutput
type IntentSlotArrayInput ¶ added in v3.6.0
type IntentSlotArrayInput interface { pulumi.Input ToIntentSlotArrayOutput() IntentSlotArrayOutput ToIntentSlotArrayOutputWithContext(context.Context) IntentSlotArrayOutput }
IntentSlotArrayInput is an input type that accepts IntentSlotArray and IntentSlotArrayOutput values. You can construct a concrete instance of `IntentSlotArrayInput` via:
IntentSlotArray{ IntentSlotArgs{...} }
type IntentSlotArrayOutput ¶ added in v3.6.0
type IntentSlotArrayOutput struct{ *pulumi.OutputState }
func (IntentSlotArrayOutput) ElementType ¶ added in v3.6.0
func (IntentSlotArrayOutput) ElementType() reflect.Type
func (IntentSlotArrayOutput) Index ¶ added in v3.6.0
func (o IntentSlotArrayOutput) Index(i pulumi.IntInput) IntentSlotOutput
func (IntentSlotArrayOutput) ToIntentSlotArrayOutput ¶ added in v3.6.0
func (o IntentSlotArrayOutput) ToIntentSlotArrayOutput() IntentSlotArrayOutput
func (IntentSlotArrayOutput) ToIntentSlotArrayOutputWithContext ¶ added in v3.6.0
func (o IntentSlotArrayOutput) ToIntentSlotArrayOutputWithContext(ctx context.Context) IntentSlotArrayOutput
type IntentSlotInput ¶ added in v3.6.0
type IntentSlotInput interface { pulumi.Input ToIntentSlotOutput() IntentSlotOutput ToIntentSlotOutputWithContext(context.Context) IntentSlotOutput }
IntentSlotInput is an input type that accepts IntentSlotArgs and IntentSlotOutput values. You can construct a concrete instance of `IntentSlotInput` via:
IntentSlotArgs{...}
type IntentSlotOutput ¶ added in v3.6.0
type IntentSlotOutput struct{ *pulumi.OutputState }
func (IntentSlotOutput) Description ¶ added in v3.6.0
func (o IntentSlotOutput) Description() pulumi.StringPtrOutput
A description of the bot. Must be less than or equal to 200 characters in length.
func (IntentSlotOutput) ElementType ¶ added in v3.6.0
func (IntentSlotOutput) ElementType() reflect.Type
func (IntentSlotOutput) Name ¶ added in v3.6.0
func (o IntentSlotOutput) Name() pulumi.StringOutput
The name of the intent slot that you want to create. The name is case sensitive. Must be less than or equal to 100 characters in length.
func (IntentSlotOutput) Priority ¶ added in v3.6.0
func (o IntentSlotOutput) Priority() pulumi.IntPtrOutput
Directs Lex the order in which to elicit this slot value from the user. For example, if the intent has two slots with priorities 1 and 2, AWS Lex first elicits a value for the slot with priority 1. If multiple slots share the same priority, the order in which Lex elicits values is arbitrary. Must be between 1 and 100.
func (IntentSlotOutput) ResponseCard ¶ added in v3.6.0
func (o IntentSlotOutput) ResponseCard() pulumi.StringPtrOutput
The response card. Amazon Lex will substitute session attributes and slot values into the response card. For more information, see [Example: Using a Response Card](https://docs.aws.amazon.com/lex/latest/dg/ex-resp-card.html). Must be less than or equal to 50000 characters in length.
func (IntentSlotOutput) SampleUtterances ¶ added in v3.6.0
func (o IntentSlotOutput) SampleUtterances() pulumi.StringArrayOutput
If you know a specific pattern with which users might respond to an Amazon Lex request for a slot value, you can provide those utterances to improve accuracy. This is optional. In most cases, Amazon Lex is capable of understanding user utterances. Must have between 1 and 10 items in the list, and each item must be less than or equal to 200 characters in length.
func (IntentSlotOutput) SlotConstraint ¶ added in v3.6.0
func (o IntentSlotOutput) SlotConstraint() pulumi.StringOutput
Specifies whether the slot is required or optional.
func (IntentSlotOutput) SlotType ¶ added in v3.6.0
func (o IntentSlotOutput) SlotType() pulumi.StringOutput
The type of the slot, either a custom slot type that you defined or one of the built-in slot types. Must be less than or equal to 100 characters in length.
func (IntentSlotOutput) SlotTypeVersion ¶ added in v3.6.0
func (o IntentSlotOutput) SlotTypeVersion() pulumi.StringPtrOutput
The version of the slot type. Must be less than or equal to 64 characters in length.
func (IntentSlotOutput) ToIntentSlotOutput ¶ added in v3.6.0
func (o IntentSlotOutput) ToIntentSlotOutput() IntentSlotOutput
func (IntentSlotOutput) ToIntentSlotOutputWithContext ¶ added in v3.6.0
func (o IntentSlotOutput) ToIntentSlotOutputWithContext(ctx context.Context) IntentSlotOutput
func (IntentSlotOutput) ValueElicitationPrompt ¶ added in v3.6.0
func (o IntentSlotOutput) ValueElicitationPrompt() IntentSlotValueElicitationPromptPtrOutput
The prompt that Amazon Lex uses to elicit the slot value from the user. Attributes are documented under prompt.
type IntentSlotValueElicitationPrompt ¶ added in v3.6.0
type IntentSlotValueElicitationPrompt struct { // The number of times to prompt the user for information. Must be a number between 1 and 5 (inclusive). MaxAttempts int `pulumi:"maxAttempts"` // A set of messages, each of which provides a message string and its type. // You can specify the message string in plain text or in Speech Synthesis Markup Language (SSML). // Attributes are documented under message. Must contain between 1 and 15 messages. Messages []IntentSlotValueElicitationPromptMessage `pulumi:"messages"` // The response card. Amazon Lex will substitute session attributes and // slot values into the response card. For more information, see // [Example: Using a Response Card](https://docs.aws.amazon.com/lex/latest/dg/ex-resp-card.html). Must be less than or equal to 50000 characters in length. ResponseCard *string `pulumi:"responseCard"` }
type IntentSlotValueElicitationPromptArgs ¶ added in v3.6.0
type IntentSlotValueElicitationPromptArgs struct { // The number of times to prompt the user for information. Must be a number between 1 and 5 (inclusive). MaxAttempts pulumi.IntInput `pulumi:"maxAttempts"` // A set of messages, each of which provides a message string and its type. // You can specify the message string in plain text or in Speech Synthesis Markup Language (SSML). // Attributes are documented under message. Must contain between 1 and 15 messages. Messages IntentSlotValueElicitationPromptMessageArrayInput `pulumi:"messages"` // The response card. Amazon Lex will substitute session attributes and // slot values into the response card. For more information, see // [Example: Using a Response Card](https://docs.aws.amazon.com/lex/latest/dg/ex-resp-card.html). Must be less than or equal to 50000 characters in length. ResponseCard pulumi.StringPtrInput `pulumi:"responseCard"` }
func (IntentSlotValueElicitationPromptArgs) ElementType ¶ added in v3.6.0
func (IntentSlotValueElicitationPromptArgs) ElementType() reflect.Type
func (IntentSlotValueElicitationPromptArgs) ToIntentSlotValueElicitationPromptOutput ¶ added in v3.6.0
func (i IntentSlotValueElicitationPromptArgs) ToIntentSlotValueElicitationPromptOutput() IntentSlotValueElicitationPromptOutput
func (IntentSlotValueElicitationPromptArgs) ToIntentSlotValueElicitationPromptOutputWithContext ¶ added in v3.6.0
func (i IntentSlotValueElicitationPromptArgs) ToIntentSlotValueElicitationPromptOutputWithContext(ctx context.Context) IntentSlotValueElicitationPromptOutput
func (IntentSlotValueElicitationPromptArgs) ToIntentSlotValueElicitationPromptPtrOutput ¶ added in v3.6.0
func (i IntentSlotValueElicitationPromptArgs) ToIntentSlotValueElicitationPromptPtrOutput() IntentSlotValueElicitationPromptPtrOutput
func (IntentSlotValueElicitationPromptArgs) ToIntentSlotValueElicitationPromptPtrOutputWithContext ¶ added in v3.6.0
func (i IntentSlotValueElicitationPromptArgs) ToIntentSlotValueElicitationPromptPtrOutputWithContext(ctx context.Context) IntentSlotValueElicitationPromptPtrOutput
type IntentSlotValueElicitationPromptInput ¶ added in v3.6.0
type IntentSlotValueElicitationPromptInput interface { pulumi.Input ToIntentSlotValueElicitationPromptOutput() IntentSlotValueElicitationPromptOutput ToIntentSlotValueElicitationPromptOutputWithContext(context.Context) IntentSlotValueElicitationPromptOutput }
IntentSlotValueElicitationPromptInput is an input type that accepts IntentSlotValueElicitationPromptArgs and IntentSlotValueElicitationPromptOutput values. You can construct a concrete instance of `IntentSlotValueElicitationPromptInput` via:
IntentSlotValueElicitationPromptArgs{...}
type IntentSlotValueElicitationPromptMessage ¶ added in v3.6.0
type IntentSlotValueElicitationPromptMessage struct { // The text of the message. Must be less than or equal to 1000 characters in length. Content string `pulumi:"content"` // The content type of the message string. ContentType string `pulumi:"contentType"` // Identifies the message group that the message belongs to. When a group // is assigned to a message, Amazon Lex returns one message from each group in the response. Must be a number between 1 and 5 (inclusive). GroupNumber *int `pulumi:"groupNumber"` }
type IntentSlotValueElicitationPromptMessageArgs ¶ added in v3.6.0
type IntentSlotValueElicitationPromptMessageArgs struct { // The text of the message. Must be less than or equal to 1000 characters in length. Content pulumi.StringInput `pulumi:"content"` // The content type of the message string. ContentType pulumi.StringInput `pulumi:"contentType"` // Identifies the message group that the message belongs to. When a group // is assigned to a message, Amazon Lex returns one message from each group in the response. Must be a number between 1 and 5 (inclusive). GroupNumber pulumi.IntPtrInput `pulumi:"groupNumber"` }
func (IntentSlotValueElicitationPromptMessageArgs) ElementType ¶ added in v3.6.0
func (IntentSlotValueElicitationPromptMessageArgs) ElementType() reflect.Type
func (IntentSlotValueElicitationPromptMessageArgs) ToIntentSlotValueElicitationPromptMessageOutput ¶ added in v3.6.0
func (i IntentSlotValueElicitationPromptMessageArgs) ToIntentSlotValueElicitationPromptMessageOutput() IntentSlotValueElicitationPromptMessageOutput
func (IntentSlotValueElicitationPromptMessageArgs) ToIntentSlotValueElicitationPromptMessageOutputWithContext ¶ added in v3.6.0
func (i IntentSlotValueElicitationPromptMessageArgs) ToIntentSlotValueElicitationPromptMessageOutputWithContext(ctx context.Context) IntentSlotValueElicitationPromptMessageOutput
type IntentSlotValueElicitationPromptMessageArray ¶ added in v3.6.0
type IntentSlotValueElicitationPromptMessageArray []IntentSlotValueElicitationPromptMessageInput
func (IntentSlotValueElicitationPromptMessageArray) ElementType ¶ added in v3.6.0
func (IntentSlotValueElicitationPromptMessageArray) ElementType() reflect.Type
func (IntentSlotValueElicitationPromptMessageArray) ToIntentSlotValueElicitationPromptMessageArrayOutput ¶ added in v3.6.0
func (i IntentSlotValueElicitationPromptMessageArray) ToIntentSlotValueElicitationPromptMessageArrayOutput() IntentSlotValueElicitationPromptMessageArrayOutput
func (IntentSlotValueElicitationPromptMessageArray) ToIntentSlotValueElicitationPromptMessageArrayOutputWithContext ¶ added in v3.6.0
func (i IntentSlotValueElicitationPromptMessageArray) ToIntentSlotValueElicitationPromptMessageArrayOutputWithContext(ctx context.Context) IntentSlotValueElicitationPromptMessageArrayOutput
type IntentSlotValueElicitationPromptMessageArrayInput ¶ added in v3.6.0
type IntentSlotValueElicitationPromptMessageArrayInput interface { pulumi.Input ToIntentSlotValueElicitationPromptMessageArrayOutput() IntentSlotValueElicitationPromptMessageArrayOutput ToIntentSlotValueElicitationPromptMessageArrayOutputWithContext(context.Context) IntentSlotValueElicitationPromptMessageArrayOutput }
IntentSlotValueElicitationPromptMessageArrayInput is an input type that accepts IntentSlotValueElicitationPromptMessageArray and IntentSlotValueElicitationPromptMessageArrayOutput values. You can construct a concrete instance of `IntentSlotValueElicitationPromptMessageArrayInput` via:
IntentSlotValueElicitationPromptMessageArray{ IntentSlotValueElicitationPromptMessageArgs{...} }
type IntentSlotValueElicitationPromptMessageArrayOutput ¶ added in v3.6.0
type IntentSlotValueElicitationPromptMessageArrayOutput struct{ *pulumi.OutputState }
func (IntentSlotValueElicitationPromptMessageArrayOutput) ElementType ¶ added in v3.6.0
func (IntentSlotValueElicitationPromptMessageArrayOutput) ElementType() reflect.Type
func (IntentSlotValueElicitationPromptMessageArrayOutput) ToIntentSlotValueElicitationPromptMessageArrayOutput ¶ added in v3.6.0
func (o IntentSlotValueElicitationPromptMessageArrayOutput) ToIntentSlotValueElicitationPromptMessageArrayOutput() IntentSlotValueElicitationPromptMessageArrayOutput
func (IntentSlotValueElicitationPromptMessageArrayOutput) ToIntentSlotValueElicitationPromptMessageArrayOutputWithContext ¶ added in v3.6.0
func (o IntentSlotValueElicitationPromptMessageArrayOutput) ToIntentSlotValueElicitationPromptMessageArrayOutputWithContext(ctx context.Context) IntentSlotValueElicitationPromptMessageArrayOutput
type IntentSlotValueElicitationPromptMessageInput ¶ added in v3.6.0
type IntentSlotValueElicitationPromptMessageInput interface { pulumi.Input ToIntentSlotValueElicitationPromptMessageOutput() IntentSlotValueElicitationPromptMessageOutput ToIntentSlotValueElicitationPromptMessageOutputWithContext(context.Context) IntentSlotValueElicitationPromptMessageOutput }
IntentSlotValueElicitationPromptMessageInput is an input type that accepts IntentSlotValueElicitationPromptMessageArgs and IntentSlotValueElicitationPromptMessageOutput values. You can construct a concrete instance of `IntentSlotValueElicitationPromptMessageInput` via:
IntentSlotValueElicitationPromptMessageArgs{...}
type IntentSlotValueElicitationPromptMessageOutput ¶ added in v3.6.0
type IntentSlotValueElicitationPromptMessageOutput struct{ *pulumi.OutputState }
func (IntentSlotValueElicitationPromptMessageOutput) Content ¶ added in v3.6.0
func (o IntentSlotValueElicitationPromptMessageOutput) Content() pulumi.StringOutput
The text of the message. Must be less than or equal to 1000 characters in length.
func (IntentSlotValueElicitationPromptMessageOutput) ContentType ¶ added in v3.6.0
func (o IntentSlotValueElicitationPromptMessageOutput) ContentType() pulumi.StringOutput
The content type of the message string.
func (IntentSlotValueElicitationPromptMessageOutput) ElementType ¶ added in v3.6.0
func (IntentSlotValueElicitationPromptMessageOutput) ElementType() reflect.Type
func (IntentSlotValueElicitationPromptMessageOutput) GroupNumber ¶ added in v3.6.0
func (o IntentSlotValueElicitationPromptMessageOutput) GroupNumber() pulumi.IntPtrOutput
Identifies the message group that the message belongs to. When a group is assigned to a message, Amazon Lex returns one message from each group in the response. Must be a number between 1 and 5 (inclusive).
func (IntentSlotValueElicitationPromptMessageOutput) ToIntentSlotValueElicitationPromptMessageOutput ¶ added in v3.6.0
func (o IntentSlotValueElicitationPromptMessageOutput) ToIntentSlotValueElicitationPromptMessageOutput() IntentSlotValueElicitationPromptMessageOutput
func (IntentSlotValueElicitationPromptMessageOutput) ToIntentSlotValueElicitationPromptMessageOutputWithContext ¶ added in v3.6.0
func (o IntentSlotValueElicitationPromptMessageOutput) ToIntentSlotValueElicitationPromptMessageOutputWithContext(ctx context.Context) IntentSlotValueElicitationPromptMessageOutput
type IntentSlotValueElicitationPromptOutput ¶ added in v3.6.0
type IntentSlotValueElicitationPromptOutput struct{ *pulumi.OutputState }
func (IntentSlotValueElicitationPromptOutput) ElementType ¶ added in v3.6.0
func (IntentSlotValueElicitationPromptOutput) ElementType() reflect.Type
func (IntentSlotValueElicitationPromptOutput) MaxAttempts ¶ added in v3.6.0
func (o IntentSlotValueElicitationPromptOutput) MaxAttempts() pulumi.IntOutput
The number of times to prompt the user for information. Must be a number between 1 and 5 (inclusive).
func (IntentSlotValueElicitationPromptOutput) Messages ¶ added in v3.6.0
func (o IntentSlotValueElicitationPromptOutput) Messages() IntentSlotValueElicitationPromptMessageArrayOutput
A set of messages, each of which provides a message string and its type. You can specify the message string in plain text or in Speech Synthesis Markup Language (SSML). Attributes are documented under message. Must contain between 1 and 15 messages.
func (IntentSlotValueElicitationPromptOutput) ResponseCard ¶ added in v3.6.0
func (o IntentSlotValueElicitationPromptOutput) ResponseCard() pulumi.StringPtrOutput
The response card. Amazon Lex will substitute session attributes and slot values into the response card. For more information, see [Example: Using a Response Card](https://docs.aws.amazon.com/lex/latest/dg/ex-resp-card.html). Must be less than or equal to 50000 characters in length.
func (IntentSlotValueElicitationPromptOutput) ToIntentSlotValueElicitationPromptOutput ¶ added in v3.6.0
func (o IntentSlotValueElicitationPromptOutput) ToIntentSlotValueElicitationPromptOutput() IntentSlotValueElicitationPromptOutput
func (IntentSlotValueElicitationPromptOutput) ToIntentSlotValueElicitationPromptOutputWithContext ¶ added in v3.6.0
func (o IntentSlotValueElicitationPromptOutput) ToIntentSlotValueElicitationPromptOutputWithContext(ctx context.Context) IntentSlotValueElicitationPromptOutput
func (IntentSlotValueElicitationPromptOutput) ToIntentSlotValueElicitationPromptPtrOutput ¶ added in v3.6.0
func (o IntentSlotValueElicitationPromptOutput) ToIntentSlotValueElicitationPromptPtrOutput() IntentSlotValueElicitationPromptPtrOutput
func (IntentSlotValueElicitationPromptOutput) ToIntentSlotValueElicitationPromptPtrOutputWithContext ¶ added in v3.6.0
func (o IntentSlotValueElicitationPromptOutput) ToIntentSlotValueElicitationPromptPtrOutputWithContext(ctx context.Context) IntentSlotValueElicitationPromptPtrOutput
type IntentSlotValueElicitationPromptPtrInput ¶ added in v3.6.0
type IntentSlotValueElicitationPromptPtrInput interface { pulumi.Input ToIntentSlotValueElicitationPromptPtrOutput() IntentSlotValueElicitationPromptPtrOutput ToIntentSlotValueElicitationPromptPtrOutputWithContext(context.Context) IntentSlotValueElicitationPromptPtrOutput }
IntentSlotValueElicitationPromptPtrInput is an input type that accepts IntentSlotValueElicitationPromptArgs, IntentSlotValueElicitationPromptPtr and IntentSlotValueElicitationPromptPtrOutput values. You can construct a concrete instance of `IntentSlotValueElicitationPromptPtrInput` via:
IntentSlotValueElicitationPromptArgs{...} or: nil
func IntentSlotValueElicitationPromptPtr ¶ added in v3.6.0
func IntentSlotValueElicitationPromptPtr(v *IntentSlotValueElicitationPromptArgs) IntentSlotValueElicitationPromptPtrInput
type IntentSlotValueElicitationPromptPtrOutput ¶ added in v3.6.0
type IntentSlotValueElicitationPromptPtrOutput struct{ *pulumi.OutputState }
func (IntentSlotValueElicitationPromptPtrOutput) ElementType ¶ added in v3.6.0
func (IntentSlotValueElicitationPromptPtrOutput) ElementType() reflect.Type
func (IntentSlotValueElicitationPromptPtrOutput) MaxAttempts ¶ added in v3.6.0
func (o IntentSlotValueElicitationPromptPtrOutput) MaxAttempts() pulumi.IntPtrOutput
The number of times to prompt the user for information. Must be a number between 1 and 5 (inclusive).
func (IntentSlotValueElicitationPromptPtrOutput) Messages ¶ added in v3.6.0
func (o IntentSlotValueElicitationPromptPtrOutput) Messages() IntentSlotValueElicitationPromptMessageArrayOutput
A set of messages, each of which provides a message string and its type. You can specify the message string in plain text or in Speech Synthesis Markup Language (SSML). Attributes are documented under message. Must contain between 1 and 15 messages.
func (IntentSlotValueElicitationPromptPtrOutput) ResponseCard ¶ added in v3.6.0
func (o IntentSlotValueElicitationPromptPtrOutput) ResponseCard() pulumi.StringPtrOutput
The response card. Amazon Lex will substitute session attributes and slot values into the response card. For more information, see [Example: Using a Response Card](https://docs.aws.amazon.com/lex/latest/dg/ex-resp-card.html). Must be less than or equal to 50000 characters in length.
func (IntentSlotValueElicitationPromptPtrOutput) ToIntentSlotValueElicitationPromptPtrOutput ¶ added in v3.6.0
func (o IntentSlotValueElicitationPromptPtrOutput) ToIntentSlotValueElicitationPromptPtrOutput() IntentSlotValueElicitationPromptPtrOutput
func (IntentSlotValueElicitationPromptPtrOutput) ToIntentSlotValueElicitationPromptPtrOutputWithContext ¶ added in v3.6.0
func (o IntentSlotValueElicitationPromptPtrOutput) ToIntentSlotValueElicitationPromptPtrOutputWithContext(ctx context.Context) IntentSlotValueElicitationPromptPtrOutput
type IntentState ¶ added in v3.6.0
type IntentState struct { // The ARN of the Lex intent. Arn pulumi.StringPtrInput // Checksum identifying the version of the intent that was created. The checksum is not // included as an argument because the resource will add it automatically when updating the intent. Checksum pulumi.StringPtrInput // The statement that you want Amazon Lex to convey to the user // after the intent is successfully fulfilled by the Lambda function. This element is relevant only if // you provide a Lambda function in the `fulfillmentActivity`. If you return the intent to the client // application, you can't specify this element. The `followUpPrompt` and `conclusionStatement` are // mutually exclusive. You can specify only one. Attributes are documented under statement. ConclusionStatement IntentConclusionStatementPtrInput // Prompts the user to confirm the intent. This question should // have a yes or no answer. You you must provide both the `rejectionStatement` and `confirmationPrompt`, // or neither. Attributes are documented under prompt. ConfirmationPrompt IntentConfirmationPromptPtrInput // Determines if a new slot type version is created when the initial // resource is created and on each update. Defaults to `false`. CreateVersion pulumi.BoolPtrInput // The date when the intent version was created. CreatedDate pulumi.StringPtrInput // A description of the bot. Must be less than or equal to 200 characters in length. Description pulumi.StringPtrInput // Specifies a Lambda function to invoke for each user input. You can // invoke this Lambda function to personalize user interaction. Attributes are documented under code_hook. DialogCodeHook IntentDialogCodeHookPtrInput // Amazon Lex uses this prompt to solicit additional activity after // fulfilling an intent. For example, after the OrderPizza intent is fulfilled, you might prompt the // user to order a drink. The `followUpPrompt` field and the `conclusionStatement` field are mutually // exclusive. You can specify only one. Attributes are documented under follow_up_prompt. FollowUpPrompt IntentFollowUpPromptPtrInput // Describes how the intent is fulfilled. For example, after a // user provides all of the information for a pizza order, `fulfillmentActivity` defines how the bot // places an order with a local pizza store. Attributes are documented under fulfillment_activity. FulfillmentActivity IntentFulfillmentActivityPtrInput // The date when the $LATEST version of this intent was updated. LastUpdatedDate pulumi.StringPtrInput // The name of the intent slot that you want to create. The name is case sensitive. Must be less than or equal to 100 characters in length. Name pulumi.StringPtrInput // A unique identifier for the built-in intent to base this // intent on. To find the signature for an intent, see // [Standard Built-in Intents](https://developer.amazon.com/public/solutions/alexa/alexa-skills-kit/docs/built-in-intent-ref/standard-intents) // in the Alexa Skills Kit. ParentIntentSignature pulumi.StringPtrInput // If the user answers "no" to the question defined in the prompt field, // Amazon Lex responds with this statement to acknowledge that the intent was canceled. Attributes are // documented below under statement. RejectionStatement IntentRejectionStatementPtrInput // If you know a specific pattern with which users might respond to // an Amazon Lex request for a slot value, you can provide those utterances to improve accuracy. This // is optional. In most cases, Amazon Lex is capable of understanding user utterances. Must have between 1 and 10 items in the list, and each item must be less than or equal to 200 characters in length. SampleUtterances pulumi.StringArrayInput // An list of intent slots. At runtime, Amazon Lex elicits required slot values // from the user using prompts defined in the slots. Attributes are documented under slot. Slots IntentSlotArrayInput // The version of the bot. Version pulumi.StringPtrInput }
func (IntentState) ElementType ¶ added in v3.6.0
func (IntentState) ElementType() reflect.Type
type LookupBotAliasArgs ¶ added in v3.7.0
type LookupBotAliasArgs struct { // The name of the bot. BotName string `pulumi:"botName"` // The name of the bot alias. The name is case sensitive. Name string `pulumi:"name"` }
A collection of arguments for invoking getBotAlias.
type LookupBotAliasResult ¶ added in v3.7.0
type LookupBotAliasResult struct { // The ARN of the bot alias. Arn string `pulumi:"arn"` // The name of the bot. BotName string `pulumi:"botName"` // The version of the bot that the alias points to. BotVersion string `pulumi:"botVersion"` // Checksum of the bot alias. Checksum string `pulumi:"checksum"` // The date that the bot alias was created. CreatedDate string `pulumi:"createdDate"` // A description of the alias. Description string `pulumi:"description"` // The provider-assigned unique ID for this managed resource. Id string `pulumi:"id"` // The date that the bot alias was updated. When you create a resource, the creation date and the last updated date are the same. LastUpdatedDate string `pulumi:"lastUpdatedDate"` // The name of the alias. The name is not case sensitive. Name string `pulumi:"name"` }
A collection of values returned by getBotAlias.
func LookupBotAlias ¶ added in v3.7.0
func LookupBotAlias(ctx *pulumi.Context, args *LookupBotAliasArgs, opts ...pulumi.InvokeOption) (*LookupBotAliasResult, error)
Provides details about a specific Amazon Lex Bot Alias.
## Example Usage
```go package main
import (
"github.com/pulumi/pulumi-aws/sdk/v3/go/aws/lex" "github.com/pulumi/pulumi/sdk/v2/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { _, err := lex.LookupBotAlias(ctx, &lex.LookupBotAliasArgs{ BotName: "OrderFlowers", Name: "OrderFlowersProd", }, nil) if err != nil { return err } return nil }) }
```
type LookupBotArgs ¶ added in v3.6.0
type LookupBotArgs struct { // The name of the bot. The name is case sensitive. Name string `pulumi:"name"` // The version or alias of the bot. Version *string `pulumi:"version"` }
A collection of arguments for invoking getBot.
type LookupBotResult ¶ added in v3.6.0
type LookupBotResult struct { Arn string `pulumi:"arn"` Checksum string `pulumi:"checksum"` // Specifies if this Amazon Lex Bot is related to a website, program, or other application that is directed or targeted, in whole or in part, to children under age 13 and subject to COPPA. ChildDirected bool `pulumi:"childDirected"` CreatedDate string `pulumi:"createdDate"` // A description of the bot. Description string `pulumi:"description"` // When set to true user utterances are sent to Amazon Comprehend for sentiment analysis. DetectSentiment bool `pulumi:"detectSentiment"` // Set to true if natural language understanding improvements are enabled. EnableModelImprovements bool `pulumi:"enableModelImprovements"` FailureReason string `pulumi:"failureReason"` // The provider-assigned unique ID for this managed resource. Id string `pulumi:"id"` // The maximum time in seconds that Amazon Lex retains the data gathered in a conversation. IdleSessionTtlInSeconds int `pulumi:"idleSessionTtlInSeconds"` LastUpdatedDate string `pulumi:"lastUpdatedDate"` // Specifies the target locale for the bot. Any intent used in the bot must be compatible with the locale of the bot. Locale string `pulumi:"locale"` // The name of the bot, case sensitive. Name string `pulumi:"name"` // The threshold where Amazon Lex will insert the AMAZON.FallbackIntent, AMAZON.KendraSearchIntent, or both when returning alternative intents in a PostContent or PostText response. AMAZON.FallbackIntent and AMAZON.KendraSearchIntent are only inserted if they are configured for the bot. NluIntentConfidenceThreshold float64 `pulumi:"nluIntentConfidenceThreshold"` Status string `pulumi:"status"` Version *string `pulumi:"version"` // The Amazon Polly voice ID that the Amazon Lex Bot uses for voice interactions with the user. VoiceId string `pulumi:"voiceId"` }
A collection of values returned by getBot.
func LookupBot ¶ added in v3.6.0
func LookupBot(ctx *pulumi.Context, args *LookupBotArgs, opts ...pulumi.InvokeOption) (*LookupBotResult, error)
Provides details about a specific Amazon Lex Bot.
## Example Usage
```go package main
import (
"fmt" "github.com/pulumi/pulumi-aws/sdk/v3/go/aws/lex" "github.com/pulumi/pulumi/sdk/v2/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { opt0 := fmt.Sprintf("%v%v", "$", "LATEST") _, err := lex.LookupBot(ctx, &lex.LookupBotArgs{ Name: "OrderFlowers", Version: &opt0, }, nil) if err != nil { return err } return nil }) }
```
type LookupIntentArgs ¶ added in v3.6.0
type LookupIntentArgs struct { // The name of the intent. The name is case sensitive. Name string `pulumi:"name"` // The version of the intent. Version *string `pulumi:"version"` }
A collection of arguments for invoking getIntent.
type LookupIntentResult ¶ added in v3.6.0
type LookupIntentResult struct { // The ARN of the Lex intent. Arn string `pulumi:"arn"` // Checksum identifying the version of the intent that was created. The checksum is not // included as an argument because the resource will add it automatically when updating the intent. Checksum string `pulumi:"checksum"` // The date when the intent version was created. CreatedDate string `pulumi:"createdDate"` // A description of the intent. Description string `pulumi:"description"` // The provider-assigned unique ID for this managed resource. Id string `pulumi:"id"` // The date when the $LATEST version of this intent was updated. LastUpdatedDate string `pulumi:"lastUpdatedDate"` // The name of the intent, not case sensitive. Name string `pulumi:"name"` // A unique identifier for the built-in intent to base this // intent on. To find the signature for an intent, see // [Standard Built-in Intents](https://developer.amazon.com/public/solutions/alexa/alexa-skills-kit/docs/built-in-intent-ref/standard-intents) // in the Alexa Skills Kit. ParentIntentSignature string `pulumi:"parentIntentSignature"` // The version of the bot. Version *string `pulumi:"version"` }
A collection of values returned by getIntent.
func LookupIntent ¶ added in v3.6.0
func LookupIntent(ctx *pulumi.Context, args *LookupIntentArgs, opts ...pulumi.InvokeOption) (*LookupIntentResult, error)
Provides details about a specific Amazon Lex Intent.
## Example Usage
```go package main
import (
"fmt" "github.com/pulumi/pulumi-aws/sdk/v3/go/aws/lex" "github.com/pulumi/pulumi/sdk/v2/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { opt0 := fmt.Sprintf("%v%v", "$", "LATEST") _, err := lex.LookupIntent(ctx, &lex.LookupIntentArgs{ Name: "OrderFlowers", Version: &opt0, }, nil) if err != nil { return err } return nil }) }
```
type LookupSlotTypeArgs ¶
type LookupSlotTypeArgs struct { // The name of the slot type. The name is case sensitive. Name string `pulumi:"name"` // The version of the slot type. Version *string `pulumi:"version"` }
A collection of arguments for invoking getSlotType.
type LookupSlotTypeResult ¶
type LookupSlotTypeResult struct { // Checksum identifying the version of the slot type that was created. The checksum is // not included as an argument because the resource will add it automatically when updating the slot type. Checksum string `pulumi:"checksum"` // The date when the slot type version was created. CreatedDate string `pulumi:"createdDate"` // A description of the slot type. Description string `pulumi:"description"` // A set of EnumerationValue objects that defines the values that // the slot type can take. Each value can have a set of synonyms, which are additional values that help // train the machine learning model about the values that it resolves for a slot. EnumerationValues []GetSlotTypeEnumerationValue `pulumi:"enumerationValues"` // The provider-assigned unique ID for this managed resource. Id string `pulumi:"id"` // The date when the $LATEST version of this slot type was updated. LastUpdatedDate string `pulumi:"lastUpdatedDate"` // The name of the slot type. The name is not case sensitive. Name string `pulumi:"name"` // Determines the slot resolution strategy that Amazon Lex // uses to return slot type values. `ORIGINAL_VALUE` returns the value entered by the user if the user // value is similar to the slot value. `TOP_RESOLUTION` returns the first value in the resolution list // if there is a resolution list for the slot, otherwise null is returned. ValueSelectionStrategy string `pulumi:"valueSelectionStrategy"` // The version of the slot type. Version *string `pulumi:"version"` }
A collection of values returned by getSlotType.
func LookupSlotType ¶
func LookupSlotType(ctx *pulumi.Context, args *LookupSlotTypeArgs, opts ...pulumi.InvokeOption) (*LookupSlotTypeResult, error)
Provides details about a specific Amazon Lex Slot Type.
## Example Usage
```go package main
import (
"github.com/pulumi/pulumi-aws/sdk/v3/go/aws/lex" "github.com/pulumi/pulumi/sdk/v2/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { opt0 := "1" _, err := lex.LookupSlotType(ctx, &lex.LookupSlotTypeArgs{ Name: "FlowerTypes", Version: &opt0, }, nil) if err != nil { return err } return nil }) }
```
type SlotType ¶
type SlotType struct { pulumi.CustomResourceState // Checksum identifying the version of the slot type that was created. The checksum is // not included as an argument because the resource will add it automatically when updating the slot type. Checksum pulumi.StringOutput `pulumi:"checksum"` // Determines if a new slot type version is created when the initial resource is created and on each // update. Defaults to `false`. CreateVersion pulumi.BoolPtrOutput `pulumi:"createVersion"` // The date when the slot type version was created. CreatedDate pulumi.StringOutput `pulumi:"createdDate"` // A description of the slot type. Must be less than or equal to 200 characters in length. Description pulumi.StringPtrOutput `pulumi:"description"` // A list of EnumerationValue objects that defines the values that // the slot type can take. Each value can have a list of synonyms, which are additional values that help // train the machine learning model about the values that it resolves for a slot. Attributes are // documented under enumeration_value. EnumerationValues SlotTypeEnumerationValueArrayOutput `pulumi:"enumerationValues"` // The date when the `$LATEST` version of this slot type was updated. LastUpdatedDate pulumi.StringOutput `pulumi:"lastUpdatedDate"` // The name of the slot type. The name is not case sensitive. Must be less than or equal to 100 characters in length. Name pulumi.StringOutput `pulumi:"name"` // Determines the slot resolution strategy that Amazon Lex // uses to return slot type values. `ORIGINAL_VALUE` returns the value entered by the user if the user // value is similar to the slot value. `TOP_RESOLUTION` returns the first value in the resolution list // if there is a resolution list for the slot, otherwise null is returned. Defaults to `ORIGINAL_VALUE`. ValueSelectionStrategy pulumi.StringPtrOutput `pulumi:"valueSelectionStrategy"` // The version of the slot type. Version pulumi.StringOutput `pulumi:"version"` }
Provides an Amazon Lex Slot Type resource. For more information see [Amazon Lex: How It Works](https://docs.aws.amazon.com/lex/latest/dg/how-it-works.html)
## Example Usage
```go package main
import (
"github.com/pulumi/pulumi-aws/sdk/v3/go/aws/lex" "github.com/pulumi/pulumi/sdk/v2/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { _, err := lex.NewSlotType(ctx, "flowerTypes", &lex.SlotTypeArgs{ CreateVersion: pulumi.Bool(true), Description: pulumi.String("Types of flowers to order"), EnumerationValues: lex.SlotTypeEnumerationValueArray{ &lex.SlotTypeEnumerationValueArgs{ Synonyms: pulumi.StringArray{ pulumi.String("Lirium"), pulumi.String("Martagon"), }, Value: pulumi.String("lilies"), }, &lex.SlotTypeEnumerationValueArgs{ Synonyms: pulumi.StringArray{ pulumi.String("Eduardoregelia"), pulumi.String("Podonix"), }, Value: pulumi.String("tulips"), }, }, Name: pulumi.String("FlowerTypes"), ValueSelectionStrategy: pulumi.String("ORIGINAL_VALUE"), }) if err != nil { return err } return nil }) }
```
## Import
Slot types can be imported using their name.
```sh
$ pulumi import aws:lex/slotType:SlotType flower_types FlowerTypes
```
func GetSlotType ¶
func GetSlotType(ctx *pulumi.Context, name string, id pulumi.IDInput, state *SlotTypeState, opts ...pulumi.ResourceOption) (*SlotType, error)
GetSlotType gets an existing SlotType resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).
func NewSlotType ¶
func NewSlotType(ctx *pulumi.Context, name string, args *SlotTypeArgs, opts ...pulumi.ResourceOption) (*SlotType, error)
NewSlotType registers a new resource with the given unique name, arguments, and options.
func (SlotType) ElementType ¶ added in v3.13.0
func (SlotType) ToSlotTypeOutput ¶ added in v3.13.0
func (i SlotType) ToSlotTypeOutput() SlotTypeOutput
func (SlotType) ToSlotTypeOutputWithContext ¶ added in v3.13.0
func (i SlotType) ToSlotTypeOutputWithContext(ctx context.Context) SlotTypeOutput
type SlotTypeArgs ¶
type SlotTypeArgs struct { // Determines if a new slot type version is created when the initial resource is created and on each // update. Defaults to `false`. CreateVersion pulumi.BoolPtrInput // A description of the slot type. Must be less than or equal to 200 characters in length. Description pulumi.StringPtrInput // A list of EnumerationValue objects that defines the values that // the slot type can take. Each value can have a list of synonyms, which are additional values that help // train the machine learning model about the values that it resolves for a slot. Attributes are // documented under enumeration_value. EnumerationValues SlotTypeEnumerationValueArrayInput // The name of the slot type. The name is not case sensitive. Must be less than or equal to 100 characters in length. Name pulumi.StringPtrInput // Determines the slot resolution strategy that Amazon Lex // uses to return slot type values. `ORIGINAL_VALUE` returns the value entered by the user if the user // value is similar to the slot value. `TOP_RESOLUTION` returns the first value in the resolution list // if there is a resolution list for the slot, otherwise null is returned. Defaults to `ORIGINAL_VALUE`. ValueSelectionStrategy pulumi.StringPtrInput }
The set of arguments for constructing a SlotType resource.
func (SlotTypeArgs) ElementType ¶
func (SlotTypeArgs) ElementType() reflect.Type
type SlotTypeEnumerationValue ¶
type SlotTypeEnumerationValue struct { // Additional values related to the slot type value. Each item must be less than or equal to 140 characters in length. Synonyms []string `pulumi:"synonyms"` // The value of the slot type. Must be less than or equal to 140 characters in length. Value string `pulumi:"value"` }
type SlotTypeEnumerationValueArgs ¶
type SlotTypeEnumerationValueArgs struct { // Additional values related to the slot type value. Each item must be less than or equal to 140 characters in length. Synonyms pulumi.StringArrayInput `pulumi:"synonyms"` // The value of the slot type. Must be less than or equal to 140 characters in length. Value pulumi.StringInput `pulumi:"value"` }
func (SlotTypeEnumerationValueArgs) ElementType ¶
func (SlotTypeEnumerationValueArgs) ElementType() reflect.Type
func (SlotTypeEnumerationValueArgs) ToSlotTypeEnumerationValueOutput ¶
func (i SlotTypeEnumerationValueArgs) ToSlotTypeEnumerationValueOutput() SlotTypeEnumerationValueOutput
func (SlotTypeEnumerationValueArgs) ToSlotTypeEnumerationValueOutputWithContext ¶
func (i SlotTypeEnumerationValueArgs) ToSlotTypeEnumerationValueOutputWithContext(ctx context.Context) SlotTypeEnumerationValueOutput
type SlotTypeEnumerationValueArray ¶
type SlotTypeEnumerationValueArray []SlotTypeEnumerationValueInput
func (SlotTypeEnumerationValueArray) ElementType ¶
func (SlotTypeEnumerationValueArray) ElementType() reflect.Type
func (SlotTypeEnumerationValueArray) ToSlotTypeEnumerationValueArrayOutput ¶
func (i SlotTypeEnumerationValueArray) ToSlotTypeEnumerationValueArrayOutput() SlotTypeEnumerationValueArrayOutput
func (SlotTypeEnumerationValueArray) ToSlotTypeEnumerationValueArrayOutputWithContext ¶
func (i SlotTypeEnumerationValueArray) ToSlotTypeEnumerationValueArrayOutputWithContext(ctx context.Context) SlotTypeEnumerationValueArrayOutput
type SlotTypeEnumerationValueArrayInput ¶
type SlotTypeEnumerationValueArrayInput interface { pulumi.Input ToSlotTypeEnumerationValueArrayOutput() SlotTypeEnumerationValueArrayOutput ToSlotTypeEnumerationValueArrayOutputWithContext(context.Context) SlotTypeEnumerationValueArrayOutput }
SlotTypeEnumerationValueArrayInput is an input type that accepts SlotTypeEnumerationValueArray and SlotTypeEnumerationValueArrayOutput values. You can construct a concrete instance of `SlotTypeEnumerationValueArrayInput` via:
SlotTypeEnumerationValueArray{ SlotTypeEnumerationValueArgs{...} }
type SlotTypeEnumerationValueArrayOutput ¶
type SlotTypeEnumerationValueArrayOutput struct{ *pulumi.OutputState }
func (SlotTypeEnumerationValueArrayOutput) ElementType ¶
func (SlotTypeEnumerationValueArrayOutput) ElementType() reflect.Type
func (SlotTypeEnumerationValueArrayOutput) Index ¶
func (o SlotTypeEnumerationValueArrayOutput) Index(i pulumi.IntInput) SlotTypeEnumerationValueOutput
func (SlotTypeEnumerationValueArrayOutput) ToSlotTypeEnumerationValueArrayOutput ¶
func (o SlotTypeEnumerationValueArrayOutput) ToSlotTypeEnumerationValueArrayOutput() SlotTypeEnumerationValueArrayOutput
func (SlotTypeEnumerationValueArrayOutput) ToSlotTypeEnumerationValueArrayOutputWithContext ¶
func (o SlotTypeEnumerationValueArrayOutput) ToSlotTypeEnumerationValueArrayOutputWithContext(ctx context.Context) SlotTypeEnumerationValueArrayOutput
type SlotTypeEnumerationValueInput ¶
type SlotTypeEnumerationValueInput interface { pulumi.Input ToSlotTypeEnumerationValueOutput() SlotTypeEnumerationValueOutput ToSlotTypeEnumerationValueOutputWithContext(context.Context) SlotTypeEnumerationValueOutput }
SlotTypeEnumerationValueInput is an input type that accepts SlotTypeEnumerationValueArgs and SlotTypeEnumerationValueOutput values. You can construct a concrete instance of `SlotTypeEnumerationValueInput` via:
SlotTypeEnumerationValueArgs{...}
type SlotTypeEnumerationValueOutput ¶
type SlotTypeEnumerationValueOutput struct{ *pulumi.OutputState }
func (SlotTypeEnumerationValueOutput) ElementType ¶
func (SlotTypeEnumerationValueOutput) ElementType() reflect.Type
func (SlotTypeEnumerationValueOutput) Synonyms ¶
func (o SlotTypeEnumerationValueOutput) Synonyms() pulumi.StringArrayOutput
Additional values related to the slot type value. Each item must be less than or equal to 140 characters in length.
func (SlotTypeEnumerationValueOutput) ToSlotTypeEnumerationValueOutput ¶
func (o SlotTypeEnumerationValueOutput) ToSlotTypeEnumerationValueOutput() SlotTypeEnumerationValueOutput
func (SlotTypeEnumerationValueOutput) ToSlotTypeEnumerationValueOutputWithContext ¶
func (o SlotTypeEnumerationValueOutput) ToSlotTypeEnumerationValueOutputWithContext(ctx context.Context) SlotTypeEnumerationValueOutput
func (SlotTypeEnumerationValueOutput) Value ¶
func (o SlotTypeEnumerationValueOutput) Value() pulumi.StringOutput
The value of the slot type. Must be less than or equal to 140 characters in length.
type SlotTypeInput ¶ added in v3.13.0
type SlotTypeInput interface { pulumi.Input ToSlotTypeOutput() SlotTypeOutput ToSlotTypeOutputWithContext(ctx context.Context) SlotTypeOutput }
type SlotTypeOutput ¶ added in v3.13.0
type SlotTypeOutput struct {
*pulumi.OutputState
}
func (SlotTypeOutput) ElementType ¶ added in v3.13.0
func (SlotTypeOutput) ElementType() reflect.Type
func (SlotTypeOutput) ToSlotTypeOutput ¶ added in v3.13.0
func (o SlotTypeOutput) ToSlotTypeOutput() SlotTypeOutput
func (SlotTypeOutput) ToSlotTypeOutputWithContext ¶ added in v3.13.0
func (o SlotTypeOutput) ToSlotTypeOutputWithContext(ctx context.Context) SlotTypeOutput
type SlotTypeState ¶
type SlotTypeState struct { // Checksum identifying the version of the slot type that was created. The checksum is // not included as an argument because the resource will add it automatically when updating the slot type. Checksum pulumi.StringPtrInput // Determines if a new slot type version is created when the initial resource is created and on each // update. Defaults to `false`. CreateVersion pulumi.BoolPtrInput // The date when the slot type version was created. CreatedDate pulumi.StringPtrInput // A description of the slot type. Must be less than or equal to 200 characters in length. Description pulumi.StringPtrInput // A list of EnumerationValue objects that defines the values that // the slot type can take. Each value can have a list of synonyms, which are additional values that help // train the machine learning model about the values that it resolves for a slot. Attributes are // documented under enumeration_value. EnumerationValues SlotTypeEnumerationValueArrayInput // The date when the `$LATEST` version of this slot type was updated. LastUpdatedDate pulumi.StringPtrInput // The name of the slot type. The name is not case sensitive. Must be less than or equal to 100 characters in length. Name pulumi.StringPtrInput // Determines the slot resolution strategy that Amazon Lex // uses to return slot type values. `ORIGINAL_VALUE` returns the value entered by the user if the user // value is similar to the slot value. `TOP_RESOLUTION` returns the first value in the resolution list // if there is a resolution list for the slot, otherwise null is returned. Defaults to `ORIGINAL_VALUE`. ValueSelectionStrategy pulumi.StringPtrInput // The version of the slot type. Version pulumi.StringPtrInput }
func (SlotTypeState) ElementType ¶
func (SlotTypeState) ElementType() reflect.Type