-
Notifications
You must be signed in to change notification settings - Fork 113
/
zz_intent_types.go
executable file
·1084 lines (827 loc) · 56.2 KB
/
zz_intent_types.go
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
// SPDX-FileCopyrightText: 2023 The Crossplane Authors <https://crossplane.io>
//
// SPDX-License-Identifier: Apache-2.0
/*
Copyright 2022 Upbound Inc.
*/
// Code generated by upjet. DO NOT EDIT.
package v1beta1
import (
metav1 "k8s.io/apimachinery/pkg/apis/meta/v1"
"k8s.io/apimachinery/pkg/runtime/schema"
v1 "github.com/crossplane/crossplane-runtime/apis/common/v1"
)
type CodeHookInitParameters 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. Must be less than or equal to 5 characters in length.
MessageVersion *string `json:"messageVersion,omitempty" tf:"message_version,omitempty"`
// The Amazon Resource Name (ARN) of the Lambda function.
URI *string `json:"uri,omitempty" tf:"uri,omitempty"`
}
type CodeHookObservation 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. Must be less than or equal to 5 characters in length.
MessageVersion *string `json:"messageVersion,omitempty" tf:"message_version,omitempty"`
// The Amazon Resource Name (ARN) of the Lambda function.
URI *string `json:"uri,omitempty" tf:"uri,omitempty"`
}
type CodeHookParameters 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. Must be less than or equal to 5 characters in length.
// +kubebuilder:validation:Optional
MessageVersion *string `json:"messageVersion" tf:"message_version,omitempty"`
// The Amazon Resource Name (ARN) of the Lambda function.
// +kubebuilder:validation:Optional
URI *string `json:"uri" tf:"uri,omitempty"`
}
type ConclusionStatementInitParameters 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.
Message []ConclusionStatementMessageInitParameters `json:"message,omitempty" tf:"message,omitempty"`
// 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. Must be less than or equal to 50000 characters in length.
ResponseCard *string `json:"responseCard,omitempty" tf:"response_card,omitempty"`
}
type ConclusionStatementMessageInitParameters struct {
// The text of the message. Must be less than or equal to 1000 characters in length.
Content *string `json:"content,omitempty" tf:"content,omitempty"`
// The content type of the message string.
ContentType *string `json:"contentType,omitempty" tf:"content_type,omitempty"`
// 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 *float64 `json:"groupNumber,omitempty" tf:"group_number,omitempty"`
}
type ConclusionStatementMessageObservation struct {
// The text of the message. Must be less than or equal to 1000 characters in length.
Content *string `json:"content,omitempty" tf:"content,omitempty"`
// The content type of the message string.
ContentType *string `json:"contentType,omitempty" tf:"content_type,omitempty"`
// 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 *float64 `json:"groupNumber,omitempty" tf:"group_number,omitempty"`
}
type ConclusionStatementMessageParameters struct {
// The text of the message. Must be less than or equal to 1000 characters in length.
// +kubebuilder:validation:Optional
Content *string `json:"content" tf:"content,omitempty"`
// The content type of the message string.
// +kubebuilder:validation:Optional
ContentType *string `json:"contentType" tf:"content_type,omitempty"`
// 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).
// +kubebuilder:validation:Optional
GroupNumber *float64 `json:"groupNumber,omitempty" tf:"group_number,omitempty"`
}
type ConclusionStatementObservation 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.
Message []ConclusionStatementMessageObservation `json:"message,omitempty" tf:"message,omitempty"`
// 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. Must be less than or equal to 50000 characters in length.
ResponseCard *string `json:"responseCard,omitempty" tf:"response_card,omitempty"`
}
type ConclusionStatementParameters 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.
// +kubebuilder:validation:Optional
Message []ConclusionStatementMessageParameters `json:"message" tf:"message,omitempty"`
// 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. Must be less than or equal to 50000 characters in length.
// +kubebuilder:validation:Optional
ResponseCard *string `json:"responseCard,omitempty" tf:"response_card,omitempty"`
}
type ConfirmationPromptInitParameters struct {
// The number of times to prompt the user for information. Must be a number between 1 and 5 (inclusive).
MaxAttempts *float64 `json:"maxAttempts,omitempty" tf:"max_attempts,omitempty"`
// 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.
Message []ConfirmationPromptMessageInitParameters `json:"message,omitempty" tf:"message,omitempty"`
// 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. Must be less than or equal to 50000 characters in length.
ResponseCard *string `json:"responseCard,omitempty" tf:"response_card,omitempty"`
}
type ConfirmationPromptMessageInitParameters struct {
// The text of the message. Must be less than or equal to 1000 characters in length.
Content *string `json:"content,omitempty" tf:"content,omitempty"`
// The content type of the message string.
ContentType *string `json:"contentType,omitempty" tf:"content_type,omitempty"`
// 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 *float64 `json:"groupNumber,omitempty" tf:"group_number,omitempty"`
}
type ConfirmationPromptMessageObservation struct {
// The text of the message. Must be less than or equal to 1000 characters in length.
Content *string `json:"content,omitempty" tf:"content,omitempty"`
// The content type of the message string.
ContentType *string `json:"contentType,omitempty" tf:"content_type,omitempty"`
// 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 *float64 `json:"groupNumber,omitempty" tf:"group_number,omitempty"`
}
type ConfirmationPromptMessageParameters struct {
// The text of the message. Must be less than or equal to 1000 characters in length.
// +kubebuilder:validation:Optional
Content *string `json:"content" tf:"content,omitempty"`
// The content type of the message string.
// +kubebuilder:validation:Optional
ContentType *string `json:"contentType" tf:"content_type,omitempty"`
// 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).
// +kubebuilder:validation:Optional
GroupNumber *float64 `json:"groupNumber,omitempty" tf:"group_number,omitempty"`
}
type ConfirmationPromptObservation struct {
// The number of times to prompt the user for information. Must be a number between 1 and 5 (inclusive).
MaxAttempts *float64 `json:"maxAttempts,omitempty" tf:"max_attempts,omitempty"`
// 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.
Message []ConfirmationPromptMessageObservation `json:"message,omitempty" tf:"message,omitempty"`
// 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. Must be less than or equal to 50000 characters in length.
ResponseCard *string `json:"responseCard,omitempty" tf:"response_card,omitempty"`
}
type ConfirmationPromptParameters struct {
// The number of times to prompt the user for information. Must be a number between 1 and 5 (inclusive).
// +kubebuilder:validation:Optional
MaxAttempts *float64 `json:"maxAttempts" tf:"max_attempts,omitempty"`
// 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.
// +kubebuilder:validation:Optional
Message []ConfirmationPromptMessageParameters `json:"message" tf:"message,omitempty"`
// 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. Must be less than or equal to 50000 characters in length.
// +kubebuilder:validation:Optional
ResponseCard *string `json:"responseCard,omitempty" tf:"response_card,omitempty"`
}
type DialogCodeHookInitParameters 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. Must be less than or equal to 5 characters in length.
MessageVersion *string `json:"messageVersion,omitempty" tf:"message_version,omitempty"`
// The Amazon Resource Name (ARN) of the Lambda function.
URI *string `json:"uri,omitempty" tf:"uri,omitempty"`
}
type DialogCodeHookObservation 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. Must be less than or equal to 5 characters in length.
MessageVersion *string `json:"messageVersion,omitempty" tf:"message_version,omitempty"`
// The Amazon Resource Name (ARN) of the Lambda function.
URI *string `json:"uri,omitempty" tf:"uri,omitempty"`
}
type DialogCodeHookParameters 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. Must be less than or equal to 5 characters in length.
// +kubebuilder:validation:Optional
MessageVersion *string `json:"messageVersion" tf:"message_version,omitempty"`
// The Amazon Resource Name (ARN) of the Lambda function.
// +kubebuilder:validation:Optional
URI *string `json:"uri" tf:"uri,omitempty"`
}
type FollowUpPromptInitParameters struct {
// Prompts for information from the user. Attributes are documented under prompt.
Prompt []PromptInitParameters `json:"prompt,omitempty" tf:"prompt,omitempty"`
// 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 []RejectionStatementInitParameters `json:"rejectionStatement,omitempty" tf:"rejection_statement,omitempty"`
}
type FollowUpPromptObservation struct {
// Prompts for information from the user. Attributes are documented under prompt.
Prompt []PromptObservation `json:"prompt,omitempty" tf:"prompt,omitempty"`
// 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 []RejectionStatementObservation `json:"rejectionStatement,omitempty" tf:"rejection_statement,omitempty"`
}
type FollowUpPromptParameters struct {
// Prompts for information from the user. Attributes are documented under prompt.
// +kubebuilder:validation:Optional
Prompt []PromptParameters `json:"prompt" tf:"prompt,omitempty"`
// 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.
// +kubebuilder:validation:Optional
RejectionStatement []RejectionStatementParameters `json:"rejectionStatement" tf:"rejection_statement,omitempty"`
}
type FulfillmentActivityInitParameters 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 []CodeHookInitParameters `json:"codeHook,omitempty" tf:"code_hook,omitempty"`
// How the intent should be fulfilled, either by running a Lambda function or by
// returning the slot data to the client application. Type can be either ReturnIntent or CodeHook, as documented here.
Type *string `json:"type,omitempty" tf:"type,omitempty"`
}
type FulfillmentActivityObservation 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 []CodeHookObservation `json:"codeHook,omitempty" tf:"code_hook,omitempty"`
// How the intent should be fulfilled, either by running a Lambda function or by
// returning the slot data to the client application. Type can be either ReturnIntent or CodeHook, as documented here.
Type *string `json:"type,omitempty" tf:"type,omitempty"`
}
type FulfillmentActivityParameters 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.
// +kubebuilder:validation:Optional
CodeHook []CodeHookParameters `json:"codeHook,omitempty" tf:"code_hook,omitempty"`
// How the intent should be fulfilled, either by running a Lambda function or by
// returning the slot data to the client application. Type can be either ReturnIntent or CodeHook, as documented here.
// +kubebuilder:validation:Optional
Type *string `json:"type" tf:"type,omitempty"`
}
type IntentInitParameters_2 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 fulfillment_activity. If you return the intent to the client
// application, you can't specify this element. The follow_up_prompt and conclusion_statement are
// mutually exclusive. You can specify only one. Attributes are documented under statement.
ConclusionStatement []ConclusionStatementInitParameters `json:"conclusionStatement,omitempty" tf:"conclusion_statement,omitempty"`
// Prompts the user to confirm the intent. This question should
// have a yes or no answer. You you must provide both the rejection_statement and confirmation_prompt,
// or neither. Attributes are documented under prompt.
ConfirmationPrompt []ConfirmationPromptInitParameters `json:"confirmationPrompt,omitempty" tf:"confirmation_prompt,omitempty"`
// Determines if a new slot type version is created when the initial
// resource is created and on each update. Defaults to false.
CreateVersion *bool `json:"createVersion,omitempty" tf:"create_version,omitempty"`
// A description of the intent. Must be less than or equal to 200 characters in length.
Description *string `json:"description,omitempty" tf:"description,omitempty"`
// 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 []DialogCodeHookInitParameters `json:"dialogCodeHook,omitempty" tf:"dialog_code_hook,omitempty"`
// 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 follow_up_prompt field and the conclusion_statement field are mutually
// exclusive. You can specify only one. Attributes are documented under follow_up_prompt.
FollowUpPrompt []FollowUpPromptInitParameters `json:"followUpPrompt,omitempty" tf:"follow_up_prompt,omitempty"`
// Describes how the intent is fulfilled. For example, after a
// user provides all of the information for a pizza order, fulfillment_activity defines how the bot
// places an order with a local pizza store. Attributes are documented under fulfillment_activity.
FulfillmentActivity []FulfillmentActivityInitParameters `json:"fulfillmentActivity,omitempty" tf:"fulfillment_activity,omitempty"`
// 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
// in the Alexa Skills Kit.
ParentIntentSignature *string `json:"parentIntentSignature,omitempty" tf:"parent_intent_signature,omitempty"`
// When the user answers "no" to the question defined in
// confirmation_prompt, Amazon Lex responds with this statement to acknowledge that the intent was
// canceled. You must provide both the rejection_statement and the confirmation_prompt, or neither.
// Attributes are documented under statement.
RejectionStatement []IntentRejectionStatementInitParameters `json:"rejectionStatement,omitempty" tf:"rejection_statement,omitempty"`
// An array of utterances (strings) that a user might say to signal
// the intent. For example, "I want {PizzaSize} pizza", "Order {Quantity} {PizzaSize} pizzas".
// In each utterance, a slot name is enclosed in curly braces. Must have between 1 and 10 items in the list, and each item must be less than or equal to 200 characters in length.
// +listType=set
SampleUtterances []*string `json:"sampleUtterances,omitempty" tf:"sample_utterances,omitempty"`
// 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.
Slot []SlotInitParameters `json:"slot,omitempty" tf:"slot,omitempty"`
}
type IntentObservation_2 struct {
// The ARN of the Lex intent.
Arn *string `json:"arn,omitempty" tf:"arn,omitempty"`
// 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 `json:"checksum,omitempty" tf:"checksum,omitempty"`
// 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 fulfillment_activity. If you return the intent to the client
// application, you can't specify this element. The follow_up_prompt and conclusion_statement are
// mutually exclusive. You can specify only one. Attributes are documented under statement.
ConclusionStatement []ConclusionStatementObservation `json:"conclusionStatement,omitempty" tf:"conclusion_statement,omitempty"`
// Prompts the user to confirm the intent. This question should
// have a yes or no answer. You you must provide both the rejection_statement and confirmation_prompt,
// or neither. Attributes are documented under prompt.
ConfirmationPrompt []ConfirmationPromptObservation `json:"confirmationPrompt,omitempty" tf:"confirmation_prompt,omitempty"`
// Determines if a new slot type version is created when the initial
// resource is created and on each update. Defaults to false.
CreateVersion *bool `json:"createVersion,omitempty" tf:"create_version,omitempty"`
// The date when the intent version was created.
CreatedDate *string `json:"createdDate,omitempty" tf:"created_date,omitempty"`
// A description of the intent. Must be less than or equal to 200 characters in length.
Description *string `json:"description,omitempty" tf:"description,omitempty"`
// 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 []DialogCodeHookObservation `json:"dialogCodeHook,omitempty" tf:"dialog_code_hook,omitempty"`
// 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 follow_up_prompt field and the conclusion_statement field are mutually
// exclusive. You can specify only one. Attributes are documented under follow_up_prompt.
FollowUpPrompt []FollowUpPromptObservation `json:"followUpPrompt,omitempty" tf:"follow_up_prompt,omitempty"`
// Describes how the intent is fulfilled. For example, after a
// user provides all of the information for a pizza order, fulfillment_activity defines how the bot
// places an order with a local pizza store. Attributes are documented under fulfillment_activity.
FulfillmentActivity []FulfillmentActivityObservation `json:"fulfillmentActivity,omitempty" tf:"fulfillment_activity,omitempty"`
ID *string `json:"id,omitempty" tf:"id,omitempty"`
// The date when the $LATEST version of this intent was updated.
LastUpdatedDate *string `json:"lastUpdatedDate,omitempty" tf:"last_updated_date,omitempty"`
// 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
// in the Alexa Skills Kit.
ParentIntentSignature *string `json:"parentIntentSignature,omitempty" tf:"parent_intent_signature,omitempty"`
// When the user answers "no" to the question defined in
// confirmation_prompt, Amazon Lex responds with this statement to acknowledge that the intent was
// canceled. You must provide both the rejection_statement and the confirmation_prompt, or neither.
// Attributes are documented under statement.
RejectionStatement []IntentRejectionStatementObservation `json:"rejectionStatement,omitempty" tf:"rejection_statement,omitempty"`
// An array of utterances (strings) that a user might say to signal
// the intent. For example, "I want {PizzaSize} pizza", "Order {Quantity} {PizzaSize} pizzas".
// In each utterance, a slot name is enclosed in curly braces. Must have between 1 and 10 items in the list, and each item must be less than or equal to 200 characters in length.
// +listType=set
SampleUtterances []*string `json:"sampleUtterances,omitempty" tf:"sample_utterances,omitempty"`
// 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.
Slot []SlotObservation `json:"slot,omitempty" tf:"slot,omitempty"`
// The version of the bot.
Version *string `json:"version,omitempty" tf:"version,omitempty"`
}
type IntentParameters_2 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 fulfillment_activity. If you return the intent to the client
// application, you can't specify this element. The follow_up_prompt and conclusion_statement are
// mutually exclusive. You can specify only one. Attributes are documented under statement.
// +kubebuilder:validation:Optional
ConclusionStatement []ConclusionStatementParameters `json:"conclusionStatement,omitempty" tf:"conclusion_statement,omitempty"`
// Prompts the user to confirm the intent. This question should
// have a yes or no answer. You you must provide both the rejection_statement and confirmation_prompt,
// or neither. Attributes are documented under prompt.
// +kubebuilder:validation:Optional
ConfirmationPrompt []ConfirmationPromptParameters `json:"confirmationPrompt,omitempty" tf:"confirmation_prompt,omitempty"`
// Determines if a new slot type version is created when the initial
// resource is created and on each update. Defaults to false.
// +kubebuilder:validation:Optional
CreateVersion *bool `json:"createVersion,omitempty" tf:"create_version,omitempty"`
// A description of the intent. Must be less than or equal to 200 characters in length.
// +kubebuilder:validation:Optional
Description *string `json:"description,omitempty" tf:"description,omitempty"`
// 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.
// +kubebuilder:validation:Optional
DialogCodeHook []DialogCodeHookParameters `json:"dialogCodeHook,omitempty" tf:"dialog_code_hook,omitempty"`
// 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 follow_up_prompt field and the conclusion_statement field are mutually
// exclusive. You can specify only one. Attributes are documented under follow_up_prompt.
// +kubebuilder:validation:Optional
FollowUpPrompt []FollowUpPromptParameters `json:"followUpPrompt,omitempty" tf:"follow_up_prompt,omitempty"`
// Describes how the intent is fulfilled. For example, after a
// user provides all of the information for a pizza order, fulfillment_activity defines how the bot
// places an order with a local pizza store. Attributes are documented under fulfillment_activity.
// +kubebuilder:validation:Optional
FulfillmentActivity []FulfillmentActivityParameters `json:"fulfillmentActivity,omitempty" tf:"fulfillment_activity,omitempty"`
// 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
// in the Alexa Skills Kit.
// +kubebuilder:validation:Optional
ParentIntentSignature *string `json:"parentIntentSignature,omitempty" tf:"parent_intent_signature,omitempty"`
// Region is the region you'd like your resource to be created in.
// +upjet:crd:field:TFTag=-
// +kubebuilder:validation:Required
Region *string `json:"region" tf:"-"`
// When the user answers "no" to the question defined in
// confirmation_prompt, Amazon Lex responds with this statement to acknowledge that the intent was
// canceled. You must provide both the rejection_statement and the confirmation_prompt, or neither.
// Attributes are documented under statement.
// +kubebuilder:validation:Optional
RejectionStatement []IntentRejectionStatementParameters `json:"rejectionStatement,omitempty" tf:"rejection_statement,omitempty"`
// An array of utterances (strings) that a user might say to signal
// the intent. For example, "I want {PizzaSize} pizza", "Order {Quantity} {PizzaSize} pizzas".
// In each utterance, a slot name is enclosed in curly braces. Must have between 1 and 10 items in the list, and each item must be less than or equal to 200 characters in length.
// +kubebuilder:validation:Optional
// +listType=set
SampleUtterances []*string `json:"sampleUtterances,omitempty" tf:"sample_utterances,omitempty"`
// 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.
// +kubebuilder:validation:Optional
Slot []SlotParameters `json:"slot,omitempty" tf:"slot,omitempty"`
}
type IntentRejectionStatementInitParameters 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.
Message []IntentRejectionStatementMessageInitParameters `json:"message,omitempty" tf:"message,omitempty"`
// 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. Must be less than or equal to 50000 characters in length.
ResponseCard *string `json:"responseCard,omitempty" tf:"response_card,omitempty"`
}
type IntentRejectionStatementMessageInitParameters struct {
// The text of the message. Must be less than or equal to 1000 characters in length.
Content *string `json:"content,omitempty" tf:"content,omitempty"`
// The content type of the message string.
ContentType *string `json:"contentType,omitempty" tf:"content_type,omitempty"`
// 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 *float64 `json:"groupNumber,omitempty" tf:"group_number,omitempty"`
}
type IntentRejectionStatementMessageObservation struct {
// The text of the message. Must be less than or equal to 1000 characters in length.
Content *string `json:"content,omitempty" tf:"content,omitempty"`
// The content type of the message string.
ContentType *string `json:"contentType,omitempty" tf:"content_type,omitempty"`
// 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 *float64 `json:"groupNumber,omitempty" tf:"group_number,omitempty"`
}
type IntentRejectionStatementMessageParameters struct {
// The text of the message. Must be less than or equal to 1000 characters in length.
// +kubebuilder:validation:Optional
Content *string `json:"content" tf:"content,omitempty"`
// The content type of the message string.
// +kubebuilder:validation:Optional
ContentType *string `json:"contentType" tf:"content_type,omitempty"`
// 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).
// +kubebuilder:validation:Optional
GroupNumber *float64 `json:"groupNumber,omitempty" tf:"group_number,omitempty"`
}
type IntentRejectionStatementObservation 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.
Message []IntentRejectionStatementMessageObservation `json:"message,omitempty" tf:"message,omitempty"`
// 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. Must be less than or equal to 50000 characters in length.
ResponseCard *string `json:"responseCard,omitempty" tf:"response_card,omitempty"`
}
type IntentRejectionStatementParameters 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.
// +kubebuilder:validation:Optional
Message []IntentRejectionStatementMessageParameters `json:"message" tf:"message,omitempty"`
// 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. Must be less than or equal to 50000 characters in length.
// +kubebuilder:validation:Optional
ResponseCard *string `json:"responseCard,omitempty" tf:"response_card,omitempty"`
}
type PromptInitParameters struct {
// The number of times to prompt the user for information. Must be a number between 1 and 5 (inclusive).
MaxAttempts *float64 `json:"maxAttempts,omitempty" tf:"max_attempts,omitempty"`
// 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.
Message []PromptMessageInitParameters `json:"message,omitempty" tf:"message,omitempty"`
// 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. Must be less than or equal to 50000 characters in length.
ResponseCard *string `json:"responseCard,omitempty" tf:"response_card,omitempty"`
}
type PromptMessageInitParameters struct {
// The text of the message. Must be less than or equal to 1000 characters in length.
Content *string `json:"content,omitempty" tf:"content,omitempty"`
// The content type of the message string.
ContentType *string `json:"contentType,omitempty" tf:"content_type,omitempty"`
// 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 *float64 `json:"groupNumber,omitempty" tf:"group_number,omitempty"`
}
type PromptMessageObservation struct {
// The text of the message. Must be less than or equal to 1000 characters in length.
Content *string `json:"content,omitempty" tf:"content,omitempty"`
// The content type of the message string.
ContentType *string `json:"contentType,omitempty" tf:"content_type,omitempty"`
// 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 *float64 `json:"groupNumber,omitempty" tf:"group_number,omitempty"`
}
type PromptMessageParameters struct {
// The text of the message. Must be less than or equal to 1000 characters in length.
// +kubebuilder:validation:Optional
Content *string `json:"content" tf:"content,omitempty"`
// The content type of the message string.
// +kubebuilder:validation:Optional
ContentType *string `json:"contentType" tf:"content_type,omitempty"`
// 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).
// +kubebuilder:validation:Optional
GroupNumber *float64 `json:"groupNumber,omitempty" tf:"group_number,omitempty"`
}
type PromptObservation struct {
// The number of times to prompt the user for information. Must be a number between 1 and 5 (inclusive).
MaxAttempts *float64 `json:"maxAttempts,omitempty" tf:"max_attempts,omitempty"`
// 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.
Message []PromptMessageObservation `json:"message,omitempty" tf:"message,omitempty"`
// 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. Must be less than or equal to 50000 characters in length.
ResponseCard *string `json:"responseCard,omitempty" tf:"response_card,omitempty"`
}
type PromptParameters struct {
// The number of times to prompt the user for information. Must be a number between 1 and 5 (inclusive).
// +kubebuilder:validation:Optional
MaxAttempts *float64 `json:"maxAttempts" tf:"max_attempts,omitempty"`
// 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.
// +kubebuilder:validation:Optional
Message []PromptMessageParameters `json:"message" tf:"message,omitempty"`
// 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. Must be less than or equal to 50000 characters in length.
// +kubebuilder:validation:Optional
ResponseCard *string `json:"responseCard,omitempty" tf:"response_card,omitempty"`
}
type RejectionStatementInitParameters 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.
Message []RejectionStatementMessageInitParameters `json:"message,omitempty" tf:"message,omitempty"`
// 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. Must be less than or equal to 50000 characters in length.
ResponseCard *string `json:"responseCard,omitempty" tf:"response_card,omitempty"`
}
type RejectionStatementMessageInitParameters struct {
// The text of the message. Must be less than or equal to 1000 characters in length.
Content *string `json:"content,omitempty" tf:"content,omitempty"`
// The content type of the message string.
ContentType *string `json:"contentType,omitempty" tf:"content_type,omitempty"`
// 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 *float64 `json:"groupNumber,omitempty" tf:"group_number,omitempty"`
}
type RejectionStatementMessageObservation struct {
// The text of the message. Must be less than or equal to 1000 characters in length.
Content *string `json:"content,omitempty" tf:"content,omitempty"`
// The content type of the message string.
ContentType *string `json:"contentType,omitempty" tf:"content_type,omitempty"`
// 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 *float64 `json:"groupNumber,omitempty" tf:"group_number,omitempty"`
}
type RejectionStatementMessageParameters struct {
// The text of the message. Must be less than or equal to 1000 characters in length.
// +kubebuilder:validation:Optional
Content *string `json:"content" tf:"content,omitempty"`
// The content type of the message string.
// +kubebuilder:validation:Optional
ContentType *string `json:"contentType" tf:"content_type,omitempty"`
// 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).
// +kubebuilder:validation:Optional
GroupNumber *float64 `json:"groupNumber,omitempty" tf:"group_number,omitempty"`
}
type RejectionStatementObservation 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.
Message []RejectionStatementMessageObservation `json:"message,omitempty" tf:"message,omitempty"`
// 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. Must be less than or equal to 50000 characters in length.
ResponseCard *string `json:"responseCard,omitempty" tf:"response_card,omitempty"`
}
type RejectionStatementParameters 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.
// +kubebuilder:validation:Optional
Message []RejectionStatementMessageParameters `json:"message" tf:"message,omitempty"`
// 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. Must be less than or equal to 50000 characters in length.
// +kubebuilder:validation:Optional
ResponseCard *string `json:"responseCard,omitempty" tf:"response_card,omitempty"`
}
type SlotInitParameters struct {
// A description of the bot. Must be less than or equal to 200 characters in length.
Description *string `json:"description,omitempty" tf:"description,omitempty"`
// 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 `json:"name,omitempty" tf:"name,omitempty"`
// 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 *float64 `json:"priority,omitempty" tf:"priority,omitempty"`
// 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. Must be less than or equal to 50000 characters in length.
ResponseCard *string `json:"responseCard,omitempty" tf:"response_card,omitempty"`
// 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 `json:"sampleUtterances,omitempty" tf:"sample_utterances,omitempty"`
// Specifies whether the slot is required or optional.
SlotConstraint *string `json:"slotConstraint,omitempty" tf:"slot_constraint,omitempty"`
// 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 `json:"slotType,omitempty" tf:"slot_type,omitempty"`
// The version of the slot type. Must be less than or equal to 64 characters in length.
SlotTypeVersion *string `json:"slotTypeVersion,omitempty" tf:"slot_type_version,omitempty"`
// The prompt that Amazon Lex uses to elicit the slot value
// from the user. Attributes are documented under prompt.
ValueElicitationPrompt []ValueElicitationPromptInitParameters `json:"valueElicitationPrompt,omitempty" tf:"value_elicitation_prompt,omitempty"`
}
type SlotObservation struct {
// A description of the bot. Must be less than or equal to 200 characters in length.
Description *string `json:"description,omitempty" tf:"description,omitempty"`
// 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 `json:"name,omitempty" tf:"name,omitempty"`
// 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 *float64 `json:"priority,omitempty" tf:"priority,omitempty"`
// 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. Must be less than or equal to 50000 characters in length.
ResponseCard *string `json:"responseCard,omitempty" tf:"response_card,omitempty"`
// 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 `json:"sampleUtterances,omitempty" tf:"sample_utterances,omitempty"`
// Specifies whether the slot is required or optional.
SlotConstraint *string `json:"slotConstraint,omitempty" tf:"slot_constraint,omitempty"`
// 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 `json:"slotType,omitempty" tf:"slot_type,omitempty"`
// The version of the slot type. Must be less than or equal to 64 characters in length.
SlotTypeVersion *string `json:"slotTypeVersion,omitempty" tf:"slot_type_version,omitempty"`
// The prompt that Amazon Lex uses to elicit the slot value
// from the user. Attributes are documented under prompt.
ValueElicitationPrompt []ValueElicitationPromptObservation `json:"valueElicitationPrompt,omitempty" tf:"value_elicitation_prompt,omitempty"`
}
type SlotParameters struct {
// A description of the bot. Must be less than or equal to 200 characters in length.
// +kubebuilder:validation:Optional
Description *string `json:"description,omitempty" tf:"description,omitempty"`
// 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.
// +kubebuilder:validation:Optional
Name *string `json:"name" tf:"name,omitempty"`
// 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.
// +kubebuilder:validation:Optional
Priority *float64 `json:"priority,omitempty" tf:"priority,omitempty"`
// 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. Must be less than or equal to 50000 characters in length.
// +kubebuilder:validation:Optional
ResponseCard *string `json:"responseCard,omitempty" tf:"response_card,omitempty"`
// 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.
// +kubebuilder:validation:Optional
SampleUtterances []*string `json:"sampleUtterances,omitempty" tf:"sample_utterances,omitempty"`
// Specifies whether the slot is required or optional.
// +kubebuilder:validation:Optional
SlotConstraint *string `json:"slotConstraint" tf:"slot_constraint,omitempty"`
// 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.
// +kubebuilder:validation:Optional
SlotType *string `json:"slotType" tf:"slot_type,omitempty"`
// The version of the slot type. Must be less than or equal to 64 characters in length.
// +kubebuilder:validation:Optional
SlotTypeVersion *string `json:"slotTypeVersion,omitempty" tf:"slot_type_version,omitempty"`
// The prompt that Amazon Lex uses to elicit the slot value
// from the user. Attributes are documented under prompt.
// +kubebuilder:validation:Optional
ValueElicitationPrompt []ValueElicitationPromptParameters `json:"valueElicitationPrompt,omitempty" tf:"value_elicitation_prompt,omitempty"`
}
type ValueElicitationPromptInitParameters struct {
// The number of times to prompt the user for information. Must be a number between 1 and 5 (inclusive).
MaxAttempts *float64 `json:"maxAttempts,omitempty" tf:"max_attempts,omitempty"`
// 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.
Message []ValueElicitationPromptMessageInitParameters `json:"message,omitempty" tf:"message,omitempty"`
// 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. Must be less than or equal to 50000 characters in length.
ResponseCard *string `json:"responseCard,omitempty" tf:"response_card,omitempty"`
}
type ValueElicitationPromptMessageInitParameters struct {
// The text of the message. Must be less than or equal to 1000 characters in length.
Content *string `json:"content,omitempty" tf:"content,omitempty"`
// The content type of the message string.
ContentType *string `json:"contentType,omitempty" tf:"content_type,omitempty"`
// 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 *float64 `json:"groupNumber,omitempty" tf:"group_number,omitempty"`
}
type ValueElicitationPromptMessageObservation struct {
// The text of the message. Must be less than or equal to 1000 characters in length.
Content *string `json:"content,omitempty" tf:"content,omitempty"`
// The content type of the message string.
ContentType *string `json:"contentType,omitempty" tf:"content_type,omitempty"`
// 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 *float64 `json:"groupNumber,omitempty" tf:"group_number,omitempty"`
}
type ValueElicitationPromptMessageParameters struct {
// The text of the message. Must be less than or equal to 1000 characters in length.
// +kubebuilder:validation:Optional
Content *string `json:"content" tf:"content,omitempty"`
// The content type of the message string.
// +kubebuilder:validation:Optional
ContentType *string `json:"contentType" tf:"content_type,omitempty"`
// 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).
// +kubebuilder:validation:Optional
GroupNumber *float64 `json:"groupNumber,omitempty" tf:"group_number,omitempty"`
}
type ValueElicitationPromptObservation struct {
// The number of times to prompt the user for information. Must be a number between 1 and 5 (inclusive).
MaxAttempts *float64 `json:"maxAttempts,omitempty" tf:"max_attempts,omitempty"`
// 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.
Message []ValueElicitationPromptMessageObservation `json:"message,omitempty" tf:"message,omitempty"`
// The response card. Amazon Lex will substitute session attributes and