aws-sdk-qapps 1.0.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -0,0 +1,2136 @@
1
+ # frozen_string_literal: true
2
+
3
+ # WARNING ABOUT GENERATED CODE
4
+ #
5
+ # This file is generated. See the contributing guide for more information:
6
+ # https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md
7
+ #
8
+ # WARNING ABOUT GENERATED CODE
9
+
10
+ module Aws::QApps
11
+ module Types
12
+
13
+ # The client is not authorized to perform the requested operation.
14
+ #
15
+ # @!attribute [rw] message
16
+ # @return [String]
17
+ #
18
+ # @see http://docs.aws.amazon.com/goto/WebAPI/qapps-2023-11-27/AccessDeniedException AWS API Documentation
19
+ #
20
+ class AccessDeniedException < Struct.new(
21
+ :message)
22
+ SENSITIVE = []
23
+ include Aws::Structure
24
+ end
25
+
26
+ # The definition of the Q App, specifying the cards and flow.
27
+ #
28
+ # @!attribute [rw] app_definition_version
29
+ # The version of the app definition schema or specification.
30
+ # @return [String]
31
+ #
32
+ # @!attribute [rw] cards
33
+ # The cards that make up the Q App, such as text input, file upload,
34
+ # or query cards.
35
+ # @return [Array<Types::Card>]
36
+ #
37
+ # @!attribute [rw] can_edit
38
+ # A flag indicating whether the Q App's definition can be edited by
39
+ # the user.
40
+ # @return [Boolean]
41
+ #
42
+ # @see http://docs.aws.amazon.com/goto/WebAPI/qapps-2023-11-27/AppDefinition AWS API Documentation
43
+ #
44
+ class AppDefinition < Struct.new(
45
+ :app_definition_version,
46
+ :cards,
47
+ :can_edit)
48
+ SENSITIVE = []
49
+ include Aws::Structure
50
+ end
51
+
52
+ # The input for defining an Q App.
53
+ #
54
+ # @!attribute [rw] cards
55
+ # The cards that make up the Q App definition.
56
+ # @return [Array<Types::CardInput>]
57
+ #
58
+ # @!attribute [rw] initial_prompt
59
+ # The initial prompt displayed when the Q App is started.
60
+ # @return [String]
61
+ #
62
+ # @see http://docs.aws.amazon.com/goto/WebAPI/qapps-2023-11-27/AppDefinitionInput AWS API Documentation
63
+ #
64
+ class AppDefinitionInput < Struct.new(
65
+ :cards,
66
+ :initial_prompt)
67
+ SENSITIVE = []
68
+ include Aws::Structure
69
+ end
70
+
71
+ # @!attribute [rw] instance_id
72
+ # The unique identifier for the Amazon Q Business application
73
+ # environment instance.
74
+ # @return [String]
75
+ #
76
+ # @!attribute [rw] library_item_id
77
+ # The unique identifier of the library item to associate the review
78
+ # with.
79
+ # @return [String]
80
+ #
81
+ # @see http://docs.aws.amazon.com/goto/WebAPI/qapps-2023-11-27/AssociateLibraryItemReviewInput AWS API Documentation
82
+ #
83
+ class AssociateLibraryItemReviewInput < Struct.new(
84
+ :instance_id,
85
+ :library_item_id)
86
+ SENSITIVE = []
87
+ include Aws::Structure
88
+ end
89
+
90
+ # @!attribute [rw] instance_id
91
+ # The unique identifier of the Amazon Q Business application
92
+ # environment instance.
93
+ # @return [String]
94
+ #
95
+ # @!attribute [rw] app_id
96
+ # The ID of the Amazon Q App to associate with the user.
97
+ # @return [String]
98
+ #
99
+ # @see http://docs.aws.amazon.com/goto/WebAPI/qapps-2023-11-27/AssociateQAppWithUserInput AWS API Documentation
100
+ #
101
+ class AssociateQAppWithUserInput < Struct.new(
102
+ :instance_id,
103
+ :app_id)
104
+ SENSITIVE = []
105
+ include Aws::Structure
106
+ end
107
+
108
+ # The filter criteria used on responses based on document attributes or
109
+ # metadata fields.
110
+ #
111
+ # @!attribute [rw] and_all_filters
112
+ # Performs a logical `AND` operation on all supplied filters.
113
+ # @return [Array<Types::AttributeFilter>]
114
+ #
115
+ # @!attribute [rw] or_all_filters
116
+ # Performs a logical `OR` operation on all supplied filters.
117
+ # @return [Array<Types::AttributeFilter>]
118
+ #
119
+ # @!attribute [rw] not_filter
120
+ # Performs a logical `NOT` operation on all supplied filters.
121
+ # @return [Types::AttributeFilter]
122
+ #
123
+ # @!attribute [rw] equals_to
124
+ # Performs an *equals* operation on two document attributes or
125
+ # metadata fields. Supported for the following [document attribute
126
+ # value types][1]: `dateValue`, `longValue`, `stringListValue` and
127
+ # `stringValue`.
128
+ #
129
+ #
130
+ #
131
+ # [1]: https://docs.aws.amazon.com/amazonq/latest/api-reference/API_DocumentAttributeValue.html
132
+ # @return [Types::DocumentAttribute]
133
+ #
134
+ # @!attribute [rw] contains_all
135
+ # Returns `true` when a document contains all the specified document
136
+ # attributes or metadata fields. Supported for the following [document
137
+ # attribute value types][1]: `stringListValue`.
138
+ #
139
+ #
140
+ #
141
+ # [1]: https://docs.aws.amazon.com/amazonq/latest/api-reference/API_DocumentAttributeValue.html
142
+ # @return [Types::DocumentAttribute]
143
+ #
144
+ # @!attribute [rw] contains_any
145
+ # Returns `true` when a document contains any of the specified
146
+ # document attributes or metadata fields. Supported for the following
147
+ # [document attribute value types][1]: `stringListValue`.
148
+ #
149
+ #
150
+ #
151
+ # [1]: https://docs.aws.amazon.com/amazonq/latest/api-reference/API_DocumentAttributeValue.html
152
+ # @return [Types::DocumentAttribute]
153
+ #
154
+ # @!attribute [rw] greater_than
155
+ # Performs a *greater than* operation on two document attributes or
156
+ # metadata fields. Supported for the following [document attribute
157
+ # value types][1]: `dateValue` and `longValue`.
158
+ #
159
+ #
160
+ #
161
+ # [1]: https://docs.aws.amazon.com/amazonq/latest/api-reference/API_DocumentAttributeValue.html
162
+ # @return [Types::DocumentAttribute]
163
+ #
164
+ # @!attribute [rw] greater_than_or_equals
165
+ # Performs a *greater than or equals* operation on two document
166
+ # attributes or metadata fields. Supported for the following [document
167
+ # attribute value types][1]: `dateValue` and `longValue`.
168
+ #
169
+ #
170
+ #
171
+ # [1]: https://docs.aws.amazon.com/amazonq/latest/api-reference/API_DocumentAttributeValue.html
172
+ # @return [Types::DocumentAttribute]
173
+ #
174
+ # @!attribute [rw] less_than
175
+ # Performs a *less than* operation on two document attributes or
176
+ # metadata fields. Supported for the following [document attribute
177
+ # value types][1]: `dateValue` and `longValue`.
178
+ #
179
+ #
180
+ #
181
+ # [1]: https://docs.aws.amazon.com/amazonq/latest/api-reference/API_DocumentAttributeValue.html
182
+ # @return [Types::DocumentAttribute]
183
+ #
184
+ # @!attribute [rw] less_than_or_equals
185
+ # Performs a *less than or equals* operation on two document
186
+ # attributes or metadata fields.Supported for the following [document
187
+ # attribute value type][1]: `dateValue` and `longValue`.
188
+ #
189
+ #
190
+ #
191
+ # [1]: https://docs.aws.amazon.com/amazonq/latest/api-reference/API_DocumentAttributeValue.html
192
+ # @return [Types::DocumentAttribute]
193
+ #
194
+ # @see http://docs.aws.amazon.com/goto/WebAPI/qapps-2023-11-27/AttributeFilter AWS API Documentation
195
+ #
196
+ class AttributeFilter < Struct.new(
197
+ :and_all_filters,
198
+ :or_all_filters,
199
+ :not_filter,
200
+ :equals_to,
201
+ :contains_all,
202
+ :contains_any,
203
+ :greater_than,
204
+ :greater_than_or_equals,
205
+ :less_than,
206
+ :less_than_or_equals)
207
+ SENSITIVE = []
208
+ include Aws::Structure
209
+ end
210
+
211
+ # A card representing a component or step in an Amazon Q App's flow.
212
+ #
213
+ # @note Card is a union - when returned from an API call exactly one value will be set and the returned type will be a subclass of Card corresponding to the set member.
214
+ #
215
+ # @!attribute [rw] text_input
216
+ # A container for the properties of the text input card.
217
+ # @return [Types::TextInputCard]
218
+ #
219
+ # @!attribute [rw] q_query
220
+ # A container for the properties of the query card.
221
+ # @return [Types::QQueryCard]
222
+ #
223
+ # @!attribute [rw] q_plugin
224
+ # A container for the properties of the plugin card.
225
+ # @return [Types::QPluginCard]
226
+ #
227
+ # @!attribute [rw] file_upload
228
+ # A container for the properties of the file upload card.
229
+ # @return [Types::FileUploadCard]
230
+ #
231
+ # @see http://docs.aws.amazon.com/goto/WebAPI/qapps-2023-11-27/Card AWS API Documentation
232
+ #
233
+ class Card < Struct.new(
234
+ :text_input,
235
+ :q_query,
236
+ :q_plugin,
237
+ :file_upload,
238
+ :unknown)
239
+ SENSITIVE = []
240
+ include Aws::Structure
241
+ include Aws::Structure::Union
242
+
243
+ class TextInput < Card; end
244
+ class QQuery < Card; end
245
+ class QPlugin < Card; end
246
+ class FileUpload < Card; end
247
+ class Unknown < Card; end
248
+ end
249
+
250
+ # The properties defining an input card in an Amazon Q App.
251
+ #
252
+ # @note CardInput is a union - when making an API calls you must set exactly one of the members.
253
+ #
254
+ # @note CardInput is a union - when returned from an API call exactly one value will be set and the returned type will be a subclass of CardInput corresponding to the set member.
255
+ #
256
+ # @!attribute [rw] text_input
257
+ # A container for the properties of the text input card.
258
+ # @return [Types::TextInputCardInput]
259
+ #
260
+ # @!attribute [rw] q_query
261
+ # A container for the properties of the query input card.
262
+ # @return [Types::QQueryCardInput]
263
+ #
264
+ # @!attribute [rw] q_plugin
265
+ # A container for the properties of the plugin input card.
266
+ # @return [Types::QPluginCardInput]
267
+ #
268
+ # @!attribute [rw] file_upload
269
+ # A container for the properties of the file upload input card.
270
+ # @return [Types::FileUploadCardInput]
271
+ #
272
+ # @see http://docs.aws.amazon.com/goto/WebAPI/qapps-2023-11-27/CardInput AWS API Documentation
273
+ #
274
+ class CardInput < Struct.new(
275
+ :text_input,
276
+ :q_query,
277
+ :q_plugin,
278
+ :file_upload,
279
+ :unknown)
280
+ SENSITIVE = []
281
+ include Aws::Structure
282
+ include Aws::Structure::Union
283
+
284
+ class TextInput < CardInput; end
285
+ class QQuery < CardInput; end
286
+ class QPlugin < CardInput; end
287
+ class FileUpload < CardInput; end
288
+ class Unknown < CardInput; end
289
+ end
290
+
291
+ # The current status and value of a card in an active Amazon Q App
292
+ # session.
293
+ #
294
+ # @!attribute [rw] current_state
295
+ # The current state of the card.
296
+ # @return [String]
297
+ #
298
+ # @!attribute [rw] current_value
299
+ # The current value or result associated with the card.
300
+ # @return [String]
301
+ #
302
+ # @see http://docs.aws.amazon.com/goto/WebAPI/qapps-2023-11-27/CardStatus AWS API Documentation
303
+ #
304
+ class CardStatus < Struct.new(
305
+ :current_state,
306
+ :current_value)
307
+ SENSITIVE = []
308
+ include Aws::Structure
309
+ end
310
+
311
+ # The value or result associated with a card in a Amazon Q App session.
312
+ #
313
+ # @!attribute [rw] card_id
314
+ # The unique identifier of the card.
315
+ # @return [String]
316
+ #
317
+ # @!attribute [rw] value
318
+ # The value or result associated with the card.
319
+ # @return [String]
320
+ #
321
+ # @see http://docs.aws.amazon.com/goto/WebAPI/qapps-2023-11-27/CardValue AWS API Documentation
322
+ #
323
+ class CardValue < Struct.new(
324
+ :card_id,
325
+ :value)
326
+ SENSITIVE = []
327
+ include Aws::Structure
328
+ end
329
+
330
+ # A category used to classify and filter library items for Amazon Q
331
+ # Apps.
332
+ #
333
+ # @!attribute [rw] id
334
+ # The unique identifier of the category.
335
+ # @return [String]
336
+ #
337
+ # @!attribute [rw] title
338
+ # The title or name of the category.
339
+ # @return [String]
340
+ #
341
+ # @see http://docs.aws.amazon.com/goto/WebAPI/qapps-2023-11-27/Category AWS API Documentation
342
+ #
343
+ class Category < Struct.new(
344
+ :id,
345
+ :title)
346
+ SENSITIVE = []
347
+ include Aws::Structure
348
+ end
349
+
350
+ # The requested operation could not be completed due to a conflict with
351
+ # the current state of the resource.
352
+ #
353
+ # @!attribute [rw] message
354
+ # @return [String]
355
+ #
356
+ # @!attribute [rw] resource_id
357
+ # The unique identifier of the resource
358
+ # @return [String]
359
+ #
360
+ # @!attribute [rw] resource_type
361
+ # The type of the resource
362
+ # @return [String]
363
+ #
364
+ # @see http://docs.aws.amazon.com/goto/WebAPI/qapps-2023-11-27/ConflictException AWS API Documentation
365
+ #
366
+ class ConflictException < Struct.new(
367
+ :message,
368
+ :resource_id,
369
+ :resource_type)
370
+ SENSITIVE = []
371
+ include Aws::Structure
372
+ end
373
+
374
+ # The requested operation could not be completed because the content
375
+ # exceeds the maximum allowed size.
376
+ #
377
+ # @!attribute [rw] message
378
+ # @return [String]
379
+ #
380
+ # @!attribute [rw] resource_id
381
+ # The unique identifier of the resource
382
+ # @return [String]
383
+ #
384
+ # @!attribute [rw] resource_type
385
+ # The type of the resource
386
+ # @return [String]
387
+ #
388
+ # @see http://docs.aws.amazon.com/goto/WebAPI/qapps-2023-11-27/ContentTooLargeException AWS API Documentation
389
+ #
390
+ class ContentTooLargeException < Struct.new(
391
+ :message,
392
+ :resource_id,
393
+ :resource_type)
394
+ SENSITIVE = []
395
+ include Aws::Structure
396
+ end
397
+
398
+ # A message in a conversation, used as input for generating an Amazon Q
399
+ # App definition.
400
+ #
401
+ # @!attribute [rw] body
402
+ # The text content of the conversation message.
403
+ # @return [String]
404
+ #
405
+ # @!attribute [rw] type
406
+ # The type of the conversation message.
407
+ # @return [String]
408
+ #
409
+ # @see http://docs.aws.amazon.com/goto/WebAPI/qapps-2023-11-27/ConversationMessage AWS API Documentation
410
+ #
411
+ class ConversationMessage < Struct.new(
412
+ :body,
413
+ :type)
414
+ SENSITIVE = []
415
+ include Aws::Structure
416
+ end
417
+
418
+ # @!attribute [rw] instance_id
419
+ # The unique identifier of the Amazon Q Business application
420
+ # environment instance.
421
+ # @return [String]
422
+ #
423
+ # @!attribute [rw] app_id
424
+ # The unique identifier of the Amazon Q App to publish to the library.
425
+ # @return [String]
426
+ #
427
+ # @!attribute [rw] app_version
428
+ # The version of the Amazon Q App to publish to the library.
429
+ # @return [Integer]
430
+ #
431
+ # @!attribute [rw] categories
432
+ # The categories to associate with the library item for easier
433
+ # discovery.
434
+ # @return [Array<String>]
435
+ #
436
+ # @see http://docs.aws.amazon.com/goto/WebAPI/qapps-2023-11-27/CreateLibraryItemInput AWS API Documentation
437
+ #
438
+ class CreateLibraryItemInput < Struct.new(
439
+ :instance_id,
440
+ :app_id,
441
+ :app_version,
442
+ :categories)
443
+ SENSITIVE = []
444
+ include Aws::Structure
445
+ end
446
+
447
+ # @!attribute [rw] library_item_id
448
+ # The unique identifier of the new library item.
449
+ # @return [String]
450
+ #
451
+ # @!attribute [rw] status
452
+ # The status of the new library item, such as "Published".
453
+ # @return [String]
454
+ #
455
+ # @!attribute [rw] created_at
456
+ # The date and time the library item was created.
457
+ # @return [Time]
458
+ #
459
+ # @!attribute [rw] created_by
460
+ # The user who created the library item.
461
+ # @return [String]
462
+ #
463
+ # @!attribute [rw] updated_at
464
+ # The date and time the library item was last updated.
465
+ # @return [Time]
466
+ #
467
+ # @!attribute [rw] updated_by
468
+ # The user who last updated the library item.
469
+ # @return [String]
470
+ #
471
+ # @!attribute [rw] rating_count
472
+ # The number of ratings the library item has received from users.
473
+ # @return [Integer]
474
+ #
475
+ # @see http://docs.aws.amazon.com/goto/WebAPI/qapps-2023-11-27/CreateLibraryItemOutput AWS API Documentation
476
+ #
477
+ class CreateLibraryItemOutput < Struct.new(
478
+ :library_item_id,
479
+ :status,
480
+ :created_at,
481
+ :created_by,
482
+ :updated_at,
483
+ :updated_by,
484
+ :rating_count)
485
+ SENSITIVE = []
486
+ include Aws::Structure
487
+ end
488
+
489
+ # @!attribute [rw] instance_id
490
+ # The unique identifier of the Amazon Q Business application
491
+ # environment instance.
492
+ # @return [String]
493
+ #
494
+ # @!attribute [rw] title
495
+ # The title of the new Q App.
496
+ # @return [String]
497
+ #
498
+ # @!attribute [rw] description
499
+ # The description of the new Q App.
500
+ # @return [String]
501
+ #
502
+ # @!attribute [rw] app_definition
503
+ # The definition of the new Q App, specifying the cards and flow.
504
+ # @return [Types::AppDefinitionInput]
505
+ #
506
+ # @!attribute [rw] tags
507
+ # Optional tags to associate with the new Q App.
508
+ # @return [Hash<String,String>]
509
+ #
510
+ # @see http://docs.aws.amazon.com/goto/WebAPI/qapps-2023-11-27/CreateQAppInput AWS API Documentation
511
+ #
512
+ class CreateQAppInput < Struct.new(
513
+ :instance_id,
514
+ :title,
515
+ :description,
516
+ :app_definition,
517
+ :tags)
518
+ SENSITIVE = []
519
+ include Aws::Structure
520
+ end
521
+
522
+ # @!attribute [rw] app_id
523
+ # The unique identifier of the new Q App.
524
+ # @return [String]
525
+ #
526
+ # @!attribute [rw] app_arn
527
+ # The Amazon Resource Name (ARN) of the new Q App.
528
+ # @return [String]
529
+ #
530
+ # @!attribute [rw] title
531
+ # The title of the new Q App.
532
+ # @return [String]
533
+ #
534
+ # @!attribute [rw] description
535
+ # The description of the new Q App.
536
+ # @return [String]
537
+ #
538
+ # @!attribute [rw] initial_prompt
539
+ # The initial prompt displayed when the Q App is started.
540
+ # @return [String]
541
+ #
542
+ # @!attribute [rw] app_version
543
+ # The version of the new Q App.
544
+ # @return [Integer]
545
+ #
546
+ # @!attribute [rw] status
547
+ # The status of the new Q App, such as "Created".
548
+ # @return [String]
549
+ #
550
+ # @!attribute [rw] created_at
551
+ # The date and time the Q App was created.
552
+ # @return [Time]
553
+ #
554
+ # @!attribute [rw] created_by
555
+ # The user who created the Q App.
556
+ # @return [String]
557
+ #
558
+ # @!attribute [rw] updated_at
559
+ # The date and time the Q App was last updated.
560
+ # @return [Time]
561
+ #
562
+ # @!attribute [rw] updated_by
563
+ # The user who last updated the Q App.
564
+ # @return [String]
565
+ #
566
+ # @!attribute [rw] required_capabilities
567
+ # The capabilities required to run the Q App, such as file upload or
568
+ # third-party integrations.
569
+ # @return [Array<String>]
570
+ #
571
+ # @see http://docs.aws.amazon.com/goto/WebAPI/qapps-2023-11-27/CreateQAppOutput AWS API Documentation
572
+ #
573
+ class CreateQAppOutput < Struct.new(
574
+ :app_id,
575
+ :app_arn,
576
+ :title,
577
+ :description,
578
+ :initial_prompt,
579
+ :app_version,
580
+ :status,
581
+ :created_at,
582
+ :created_by,
583
+ :updated_at,
584
+ :updated_by,
585
+ :required_capabilities)
586
+ SENSITIVE = []
587
+ include Aws::Structure
588
+ end
589
+
590
+ # @!attribute [rw] instance_id
591
+ # The unique identifier of the Amazon Q Business application
592
+ # environment instance.
593
+ # @return [String]
594
+ #
595
+ # @!attribute [rw] library_item_id
596
+ # The unique identifier of the library item to delete.
597
+ # @return [String]
598
+ #
599
+ # @see http://docs.aws.amazon.com/goto/WebAPI/qapps-2023-11-27/DeleteLibraryItemInput AWS API Documentation
600
+ #
601
+ class DeleteLibraryItemInput < Struct.new(
602
+ :instance_id,
603
+ :library_item_id)
604
+ SENSITIVE = []
605
+ include Aws::Structure
606
+ end
607
+
608
+ # @!attribute [rw] instance_id
609
+ # The unique identifier of the Amazon Q Business application
610
+ # environment instance.
611
+ # @return [String]
612
+ #
613
+ # @!attribute [rw] app_id
614
+ # The unique identifier of the Q App to delete.
615
+ # @return [String]
616
+ #
617
+ # @see http://docs.aws.amazon.com/goto/WebAPI/qapps-2023-11-27/DeleteQAppInput AWS API Documentation
618
+ #
619
+ class DeleteQAppInput < Struct.new(
620
+ :instance_id,
621
+ :app_id)
622
+ SENSITIVE = []
623
+ include Aws::Structure
624
+ end
625
+
626
+ # @!attribute [rw] instance_id
627
+ # The unique identifier of the Amazon Q Business application
628
+ # environment instance.
629
+ # @return [String]
630
+ #
631
+ # @!attribute [rw] library_item_id
632
+ # The unique identifier of the library item to remove the review from.
633
+ # @return [String]
634
+ #
635
+ # @see http://docs.aws.amazon.com/goto/WebAPI/qapps-2023-11-27/DisassociateLibraryItemReviewInput AWS API Documentation
636
+ #
637
+ class DisassociateLibraryItemReviewInput < Struct.new(
638
+ :instance_id,
639
+ :library_item_id)
640
+ SENSITIVE = []
641
+ include Aws::Structure
642
+ end
643
+
644
+ # @!attribute [rw] instance_id
645
+ # The unique identifier of the Amazon Q Business application
646
+ # environment instance.
647
+ # @return [String]
648
+ #
649
+ # @!attribute [rw] app_id
650
+ # The unique identifier of the Q App to disassociate from the user.
651
+ # @return [String]
652
+ #
653
+ # @see http://docs.aws.amazon.com/goto/WebAPI/qapps-2023-11-27/DisassociateQAppFromUserInput AWS API Documentation
654
+ #
655
+ class DisassociateQAppFromUserInput < Struct.new(
656
+ :instance_id,
657
+ :app_id)
658
+ SENSITIVE = []
659
+ include Aws::Structure
660
+ end
661
+
662
+ # A document attribute or metadata field.
663
+ #
664
+ # @!attribute [rw] name
665
+ # The identifier for the attribute.
666
+ # @return [String]
667
+ #
668
+ # @!attribute [rw] value
669
+ # The value of the attribute.
670
+ # @return [Types::DocumentAttributeValue]
671
+ #
672
+ # @see http://docs.aws.amazon.com/goto/WebAPI/qapps-2023-11-27/DocumentAttribute AWS API Documentation
673
+ #
674
+ class DocumentAttribute < Struct.new(
675
+ :name,
676
+ :value)
677
+ SENSITIVE = []
678
+ include Aws::Structure
679
+ end
680
+
681
+ # The value of a document attribute. You can only provide one value for
682
+ # a document attribute.
683
+ #
684
+ # @note DocumentAttributeValue is a union - when making an API calls you must set exactly one of the members.
685
+ #
686
+ # @note DocumentAttributeValue is a union - when returned from an API call exactly one value will be set and the returned type will be a subclass of DocumentAttributeValue corresponding to the set member.
687
+ #
688
+ # @!attribute [rw] string_value
689
+ # A string.
690
+ # @return [String]
691
+ #
692
+ # @!attribute [rw] string_list_value
693
+ # A list of strings.
694
+ # @return [Array<String>]
695
+ #
696
+ # @!attribute [rw] long_value
697
+ # A long integer value.
698
+ # @return [Integer]
699
+ #
700
+ # @!attribute [rw] date_value
701
+ # A date expressed as an ISO 8601 string.
702
+ #
703
+ # It's important for the time zone to be included in the *ISO 8601
704
+ # date-time* format. For example, 2012-03-25T12:30:10+01:00 is the ISO
705
+ # 8601 date-time format for March 25th 2012 at 12:30PM (plus 10
706
+ # seconds) in Central European Time.
707
+ # @return [Time]
708
+ #
709
+ # @see http://docs.aws.amazon.com/goto/WebAPI/qapps-2023-11-27/DocumentAttributeValue AWS API Documentation
710
+ #
711
+ class DocumentAttributeValue < Struct.new(
712
+ :string_value,
713
+ :string_list_value,
714
+ :long_value,
715
+ :date_value,
716
+ :unknown)
717
+ SENSITIVE = []
718
+ include Aws::Structure
719
+ include Aws::Structure::Union
720
+
721
+ class StringValue < DocumentAttributeValue; end
722
+ class StringListValue < DocumentAttributeValue; end
723
+ class LongValue < DocumentAttributeValue; end
724
+ class DateValue < DocumentAttributeValue; end
725
+ class Unknown < DocumentAttributeValue; end
726
+ end
727
+
728
+ # A card in an Amazon Q App that allows the user to upload a file.
729
+ #
730
+ # @!attribute [rw] id
731
+ # The unique identifier of the file upload card.
732
+ # @return [String]
733
+ #
734
+ # @!attribute [rw] title
735
+ # The title of the file upload card.
736
+ # @return [String]
737
+ #
738
+ # @!attribute [rw] dependencies
739
+ # Any dependencies or requirements for the file upload card.
740
+ # @return [Array<String>]
741
+ #
742
+ # @!attribute [rw] type
743
+ # The type of the card.
744
+ # @return [String]
745
+ #
746
+ # @!attribute [rw] filename
747
+ # The name of the file being uploaded.
748
+ # @return [String]
749
+ #
750
+ # @!attribute [rw] file_id
751
+ # The unique identifier of the file associated with the card.
752
+ # @return [String]
753
+ #
754
+ # @!attribute [rw] allow_override
755
+ # A flag indicating if the user can override the default file for the
756
+ # upload card.
757
+ # @return [Boolean]
758
+ #
759
+ # @see http://docs.aws.amazon.com/goto/WebAPI/qapps-2023-11-27/FileUploadCard AWS API Documentation
760
+ #
761
+ class FileUploadCard < Struct.new(
762
+ :id,
763
+ :title,
764
+ :dependencies,
765
+ :type,
766
+ :filename,
767
+ :file_id,
768
+ :allow_override)
769
+ SENSITIVE = []
770
+ include Aws::Structure
771
+ end
772
+
773
+ # Represents a file upload card. It can optionally receive a `filename`
774
+ # and `fileId` to set a default file. If not received, the user must
775
+ # provide the file when the Q App runs.
776
+ #
777
+ # @!attribute [rw] title
778
+ # The title or label of the file upload card.
779
+ # @return [String]
780
+ #
781
+ # @!attribute [rw] id
782
+ # The unique identifier of the file upload card.
783
+ # @return [String]
784
+ #
785
+ # @!attribute [rw] type
786
+ # The type of the card.
787
+ # @return [String]
788
+ #
789
+ # @!attribute [rw] filename
790
+ # The default filename to use for the file upload card.
791
+ # @return [String]
792
+ #
793
+ # @!attribute [rw] file_id
794
+ # The identifier of a pre-uploaded file associated with the card.
795
+ # @return [String]
796
+ #
797
+ # @!attribute [rw] allow_override
798
+ # A flag indicating if the user can override the default file for the
799
+ # upload card.
800
+ # @return [Boolean]
801
+ #
802
+ # @see http://docs.aws.amazon.com/goto/WebAPI/qapps-2023-11-27/FileUploadCardInput AWS API Documentation
803
+ #
804
+ class FileUploadCardInput < Struct.new(
805
+ :title,
806
+ :id,
807
+ :type,
808
+ :filename,
809
+ :file_id,
810
+ :allow_override)
811
+ SENSITIVE = []
812
+ include Aws::Structure
813
+ end
814
+
815
+ # @!attribute [rw] instance_id
816
+ # The unique identifier of the Amazon Q Business application
817
+ # environment instance.
818
+ # @return [String]
819
+ #
820
+ # @!attribute [rw] library_item_id
821
+ # The unique identifier of the library item to retrieve.
822
+ # @return [String]
823
+ #
824
+ # @!attribute [rw] app_id
825
+ # The unique identifier of the Amazon Q App associated with the
826
+ # library item.
827
+ # @return [String]
828
+ #
829
+ # @see http://docs.aws.amazon.com/goto/WebAPI/qapps-2023-11-27/GetLibraryItemInput AWS API Documentation
830
+ #
831
+ class GetLibraryItemInput < Struct.new(
832
+ :instance_id,
833
+ :library_item_id,
834
+ :app_id)
835
+ SENSITIVE = []
836
+ include Aws::Structure
837
+ end
838
+
839
+ # @!attribute [rw] library_item_id
840
+ # The unique identifier of the library item.
841
+ # @return [String]
842
+ #
843
+ # @!attribute [rw] app_id
844
+ # The unique identifier of the Q App associated with the library item.
845
+ # @return [String]
846
+ #
847
+ # @!attribute [rw] app_version
848
+ # The version of the Q App associated with the library item.
849
+ # @return [Integer]
850
+ #
851
+ # @!attribute [rw] categories
852
+ # The categories associated with the library item for discovery.
853
+ # @return [Array<Types::Category>]
854
+ #
855
+ # @!attribute [rw] status
856
+ # The status of the library item, such as "Published".
857
+ # @return [String]
858
+ #
859
+ # @!attribute [rw] created_at
860
+ # The date and time the library item was created.
861
+ # @return [Time]
862
+ #
863
+ # @!attribute [rw] created_by
864
+ # The user who created the library item.
865
+ # @return [String]
866
+ #
867
+ # @!attribute [rw] updated_at
868
+ # The date and time the library item was last updated.
869
+ # @return [Time]
870
+ #
871
+ # @!attribute [rw] updated_by
872
+ # The user who last updated the library item.
873
+ # @return [String]
874
+ #
875
+ # @!attribute [rw] rating_count
876
+ # The number of ratings the library item has received from users.
877
+ # @return [Integer]
878
+ #
879
+ # @!attribute [rw] is_rated_by_user
880
+ # Whether the current user has rated the library item.
881
+ # @return [Boolean]
882
+ #
883
+ # @!attribute [rw] user_count
884
+ # The number of users who have associated the Q App with their
885
+ # account.
886
+ # @return [Integer]
887
+ #
888
+ # @see http://docs.aws.amazon.com/goto/WebAPI/qapps-2023-11-27/GetLibraryItemOutput AWS API Documentation
889
+ #
890
+ class GetLibraryItemOutput < Struct.new(
891
+ :library_item_id,
892
+ :app_id,
893
+ :app_version,
894
+ :categories,
895
+ :status,
896
+ :created_at,
897
+ :created_by,
898
+ :updated_at,
899
+ :updated_by,
900
+ :rating_count,
901
+ :is_rated_by_user,
902
+ :user_count)
903
+ SENSITIVE = []
904
+ include Aws::Structure
905
+ end
906
+
907
+ # @!attribute [rw] instance_id
908
+ # The unique identifier of the Amazon Q Business application
909
+ # environment instance.
910
+ # @return [String]
911
+ #
912
+ # @!attribute [rw] app_id
913
+ # The unique identifier of the Q App to retrieve.
914
+ # @return [String]
915
+ #
916
+ # @see http://docs.aws.amazon.com/goto/WebAPI/qapps-2023-11-27/GetQAppInput AWS API Documentation
917
+ #
918
+ class GetQAppInput < Struct.new(
919
+ :instance_id,
920
+ :app_id)
921
+ SENSITIVE = []
922
+ include Aws::Structure
923
+ end
924
+
925
+ # @!attribute [rw] app_id
926
+ # The unique identifier of the Q App.
927
+ # @return [String]
928
+ #
929
+ # @!attribute [rw] app_arn
930
+ # The Amazon Resource Name (ARN) of the Q App.
931
+ # @return [String]
932
+ #
933
+ # @!attribute [rw] title
934
+ # The title of the Q App.
935
+ # @return [String]
936
+ #
937
+ # @!attribute [rw] description
938
+ # The description of the Q App.
939
+ # @return [String]
940
+ #
941
+ # @!attribute [rw] initial_prompt
942
+ # The initial prompt displayed when the Q App is started.
943
+ # @return [String]
944
+ #
945
+ # @!attribute [rw] app_version
946
+ # The version of the Q App.
947
+ # @return [Integer]
948
+ #
949
+ # @!attribute [rw] status
950
+ # The status of the Q App.
951
+ # @return [String]
952
+ #
953
+ # @!attribute [rw] created_at
954
+ # The date and time the Q App was created.
955
+ # @return [Time]
956
+ #
957
+ # @!attribute [rw] created_by
958
+ # The user who created the Q App.
959
+ # @return [String]
960
+ #
961
+ # @!attribute [rw] updated_at
962
+ # The date and time the Q App was last updated.
963
+ # @return [Time]
964
+ #
965
+ # @!attribute [rw] updated_by
966
+ # The user who last updated the Q App.
967
+ # @return [String]
968
+ #
969
+ # @!attribute [rw] required_capabilities
970
+ # The capabilities required to run the Q App, such as file upload or
971
+ # third-party integrations.
972
+ # @return [Array<String>]
973
+ #
974
+ # @!attribute [rw] app_definition
975
+ # The full definition of the Q App, specifying the cards and flow.
976
+ # @return [Types::AppDefinition]
977
+ #
978
+ # @see http://docs.aws.amazon.com/goto/WebAPI/qapps-2023-11-27/GetQAppOutput AWS API Documentation
979
+ #
980
+ class GetQAppOutput < Struct.new(
981
+ :app_id,
982
+ :app_arn,
983
+ :title,
984
+ :description,
985
+ :initial_prompt,
986
+ :app_version,
987
+ :status,
988
+ :created_at,
989
+ :created_by,
990
+ :updated_at,
991
+ :updated_by,
992
+ :required_capabilities,
993
+ :app_definition)
994
+ SENSITIVE = []
995
+ include Aws::Structure
996
+ end
997
+
998
+ # @!attribute [rw] instance_id
999
+ # The unique identifier of the Amazon Q Business application
1000
+ # environment instance.
1001
+ # @return [String]
1002
+ #
1003
+ # @!attribute [rw] session_id
1004
+ # The unique identifier of the Q App session to retrieve.
1005
+ # @return [String]
1006
+ #
1007
+ # @see http://docs.aws.amazon.com/goto/WebAPI/qapps-2023-11-27/GetQAppSessionInput AWS API Documentation
1008
+ #
1009
+ class GetQAppSessionInput < Struct.new(
1010
+ :instance_id,
1011
+ :session_id)
1012
+ SENSITIVE = []
1013
+ include Aws::Structure
1014
+ end
1015
+
1016
+ # @!attribute [rw] session_id
1017
+ # The unique identifier of the Q App session.
1018
+ # @return [String]
1019
+ #
1020
+ # @!attribute [rw] session_arn
1021
+ # The Amazon Resource Name (ARN) of the Q App session.
1022
+ # @return [String]
1023
+ #
1024
+ # @!attribute [rw] status
1025
+ # The current status of the Q App session.
1026
+ # @return [String]
1027
+ #
1028
+ # @!attribute [rw] card_status
1029
+ # The current status for each card in the Q App session.
1030
+ # @return [Hash<String,Types::CardStatus>]
1031
+ #
1032
+ # @see http://docs.aws.amazon.com/goto/WebAPI/qapps-2023-11-27/GetQAppSessionOutput AWS API Documentation
1033
+ #
1034
+ class GetQAppSessionOutput < Struct.new(
1035
+ :session_id,
1036
+ :session_arn,
1037
+ :status,
1038
+ :card_status)
1039
+ SENSITIVE = []
1040
+ include Aws::Structure
1041
+ end
1042
+
1043
+ # @!attribute [rw] instance_id
1044
+ # The unique identifier of the Amazon Q Business application
1045
+ # environment instance.
1046
+ # @return [String]
1047
+ #
1048
+ # @!attribute [rw] card_id
1049
+ # The unique identifier of the card the file is associated with, if
1050
+ # applicable.
1051
+ # @return [String]
1052
+ #
1053
+ # @!attribute [rw] app_id
1054
+ # The unique identifier of the Q App the file is associated with.
1055
+ # @return [String]
1056
+ #
1057
+ # @!attribute [rw] file_contents_base_64
1058
+ # The base64-encoded contents of the file to upload.
1059
+ # @return [String]
1060
+ #
1061
+ # @!attribute [rw] file_name
1062
+ # The name of the file being uploaded.
1063
+ # @return [String]
1064
+ #
1065
+ # @!attribute [rw] scope
1066
+ # Whether the file is associated with an Q App definition or a
1067
+ # specific Q App session.
1068
+ # @return [String]
1069
+ #
1070
+ # @!attribute [rw] session_id
1071
+ # The unique identifier of the Q App session the file is associated
1072
+ # with, if applicable.
1073
+ # @return [String]
1074
+ #
1075
+ # @see http://docs.aws.amazon.com/goto/WebAPI/qapps-2023-11-27/ImportDocumentInput AWS API Documentation
1076
+ #
1077
+ class ImportDocumentInput < Struct.new(
1078
+ :instance_id,
1079
+ :card_id,
1080
+ :app_id,
1081
+ :file_contents_base_64,
1082
+ :file_name,
1083
+ :scope,
1084
+ :session_id)
1085
+ SENSITIVE = []
1086
+ include Aws::Structure
1087
+ end
1088
+
1089
+ # @!attribute [rw] file_id
1090
+ # The unique identifier assigned to the uploaded file.
1091
+ # @return [String]
1092
+ #
1093
+ # @see http://docs.aws.amazon.com/goto/WebAPI/qapps-2023-11-27/ImportDocumentOutput AWS API Documentation
1094
+ #
1095
+ class ImportDocumentOutput < Struct.new(
1096
+ :file_id)
1097
+ SENSITIVE = []
1098
+ include Aws::Structure
1099
+ end
1100
+
1101
+ # An internal service error occurred while processing the request.
1102
+ #
1103
+ # @!attribute [rw] message
1104
+ # @return [String]
1105
+ #
1106
+ # @!attribute [rw] retry_after_seconds
1107
+ # The number of seconds to wait before retrying the operation
1108
+ # @return [Integer]
1109
+ #
1110
+ # @see http://docs.aws.amazon.com/goto/WebAPI/qapps-2023-11-27/InternalServerException AWS API Documentation
1111
+ #
1112
+ class InternalServerException < Struct.new(
1113
+ :message,
1114
+ :retry_after_seconds)
1115
+ SENSITIVE = []
1116
+ include Aws::Structure
1117
+ end
1118
+
1119
+ # A library item is a snapshot of an Amazon Q App that can be published
1120
+ # so the users in their Amazon Q Apps library can discover it, clone it,
1121
+ # and run it.
1122
+ #
1123
+ # @!attribute [rw] library_item_id
1124
+ # The unique identifier of the library item.
1125
+ # @return [String]
1126
+ #
1127
+ # @!attribute [rw] app_id
1128
+ # The unique identifier of the Q App associated with the library item.
1129
+ # @return [String]
1130
+ #
1131
+ # @!attribute [rw] app_version
1132
+ # The version of the Q App associated with the library item.
1133
+ # @return [Integer]
1134
+ #
1135
+ # @!attribute [rw] categories
1136
+ # The categories associated with the library item.
1137
+ # @return [Array<Types::Category>]
1138
+ #
1139
+ # @!attribute [rw] status
1140
+ # The status of the library item.
1141
+ # @return [String]
1142
+ #
1143
+ # @!attribute [rw] created_at
1144
+ # The date and time the library item was created.
1145
+ # @return [Time]
1146
+ #
1147
+ # @!attribute [rw] created_by
1148
+ # The user who created the library item.
1149
+ # @return [String]
1150
+ #
1151
+ # @!attribute [rw] updated_at
1152
+ # The date and time the library item was last updated.
1153
+ # @return [Time]
1154
+ #
1155
+ # @!attribute [rw] updated_by
1156
+ # The user who last updated the library item.
1157
+ # @return [String]
1158
+ #
1159
+ # @!attribute [rw] rating_count
1160
+ # The number of ratings the library item has received.
1161
+ # @return [Integer]
1162
+ #
1163
+ # @!attribute [rw] is_rated_by_user
1164
+ # Whether the current user has rated the library item.
1165
+ # @return [Boolean]
1166
+ #
1167
+ # @!attribute [rw] user_count
1168
+ # The number of users who have the associated Q App.
1169
+ # @return [Integer]
1170
+ #
1171
+ # @see http://docs.aws.amazon.com/goto/WebAPI/qapps-2023-11-27/LibraryItemMember AWS API Documentation
1172
+ #
1173
+ class LibraryItemMember < Struct.new(
1174
+ :library_item_id,
1175
+ :app_id,
1176
+ :app_version,
1177
+ :categories,
1178
+ :status,
1179
+ :created_at,
1180
+ :created_by,
1181
+ :updated_at,
1182
+ :updated_by,
1183
+ :rating_count,
1184
+ :is_rated_by_user,
1185
+ :user_count)
1186
+ SENSITIVE = []
1187
+ include Aws::Structure
1188
+ end
1189
+
1190
+ # @!attribute [rw] instance_id
1191
+ # The unique identifier of the Amazon Q Business application
1192
+ # environment instance.
1193
+ # @return [String]
1194
+ #
1195
+ # @!attribute [rw] limit
1196
+ # The maximum number of library items to return in the response.
1197
+ # @return [Integer]
1198
+ #
1199
+ # @!attribute [rw] next_token
1200
+ # The token to request the next page of results.
1201
+ # @return [String]
1202
+ #
1203
+ # @!attribute [rw] category_id
1204
+ # Optional category to filter the library items by.
1205
+ # @return [String]
1206
+ #
1207
+ # @see http://docs.aws.amazon.com/goto/WebAPI/qapps-2023-11-27/ListLibraryItemsInput AWS API Documentation
1208
+ #
1209
+ class ListLibraryItemsInput < Struct.new(
1210
+ :instance_id,
1211
+ :limit,
1212
+ :next_token,
1213
+ :category_id)
1214
+ SENSITIVE = []
1215
+ include Aws::Structure
1216
+ end
1217
+
1218
+ # @!attribute [rw] library_items
1219
+ # The list of library items meeting the request criteria.
1220
+ # @return [Array<Types::LibraryItemMember>]
1221
+ #
1222
+ # @!attribute [rw] next_token
1223
+ # The token to use to request the next page of results.
1224
+ # @return [String]
1225
+ #
1226
+ # @see http://docs.aws.amazon.com/goto/WebAPI/qapps-2023-11-27/ListLibraryItemsOutput AWS API Documentation
1227
+ #
1228
+ class ListLibraryItemsOutput < Struct.new(
1229
+ :library_items,
1230
+ :next_token)
1231
+ SENSITIVE = []
1232
+ include Aws::Structure
1233
+ end
1234
+
1235
+ # @!attribute [rw] instance_id
1236
+ # The unique identifier of the Amazon Q Business application
1237
+ # environment instance.
1238
+ # @return [String]
1239
+ #
1240
+ # @!attribute [rw] limit
1241
+ # The maximum number of Q Apps to return in the response.
1242
+ # @return [Integer]
1243
+ #
1244
+ # @!attribute [rw] next_token
1245
+ # The token to request the next page of results.
1246
+ # @return [String]
1247
+ #
1248
+ # @see http://docs.aws.amazon.com/goto/WebAPI/qapps-2023-11-27/ListQAppsInput AWS API Documentation
1249
+ #
1250
+ class ListQAppsInput < Struct.new(
1251
+ :instance_id,
1252
+ :limit,
1253
+ :next_token)
1254
+ SENSITIVE = []
1255
+ include Aws::Structure
1256
+ end
1257
+
1258
+ # @!attribute [rw] apps
1259
+ # The list of Amazon Q Apps meeting the request criteria.
1260
+ # @return [Array<Types::UserAppItem>]
1261
+ #
1262
+ # @!attribute [rw] next_token
1263
+ # The token to use to request the next page of results.
1264
+ # @return [String]
1265
+ #
1266
+ # @see http://docs.aws.amazon.com/goto/WebAPI/qapps-2023-11-27/ListQAppsOutput AWS API Documentation
1267
+ #
1268
+ class ListQAppsOutput < Struct.new(
1269
+ :apps,
1270
+ :next_token)
1271
+ SENSITIVE = []
1272
+ include Aws::Structure
1273
+ end
1274
+
1275
+ # @!attribute [rw] resource_arn
1276
+ # The Amazon Resource Name (ARN) of the resource whose tags should be
1277
+ # listed.
1278
+ # @return [String]
1279
+ #
1280
+ # @see http://docs.aws.amazon.com/goto/WebAPI/qapps-2023-11-27/ListTagsForResourceRequest AWS API Documentation
1281
+ #
1282
+ class ListTagsForResourceRequest < Struct.new(
1283
+ :resource_arn)
1284
+ SENSITIVE = []
1285
+ include Aws::Structure
1286
+ end
1287
+
1288
+ # @!attribute [rw] tags
1289
+ # The list of tags that are assigned to the resource.
1290
+ # @return [Hash<String,String>]
1291
+ #
1292
+ # @see http://docs.aws.amazon.com/goto/WebAPI/qapps-2023-11-27/ListTagsForResourceResponse AWS API Documentation
1293
+ #
1294
+ class ListTagsForResourceResponse < Struct.new(
1295
+ :tags)
1296
+ SENSITIVE = []
1297
+ include Aws::Structure
1298
+ end
1299
+
1300
+ # The definition of an Amazon Q App generated based on input such as a
1301
+ # conversation or problem statement.
1302
+ #
1303
+ # @!attribute [rw] title
1304
+ # The title of the generated Q App definition.
1305
+ # @return [String]
1306
+ #
1307
+ # @!attribute [rw] description
1308
+ # The description of the generated Q App definition.
1309
+ # @return [String]
1310
+ #
1311
+ # @!attribute [rw] app_definition
1312
+ # The definition specifying the cards and flow of the generated Q App.
1313
+ # @return [Types::AppDefinitionInput]
1314
+ #
1315
+ # @see http://docs.aws.amazon.com/goto/WebAPI/qapps-2023-11-27/PredictAppDefinition AWS API Documentation
1316
+ #
1317
+ class PredictAppDefinition < Struct.new(
1318
+ :title,
1319
+ :description,
1320
+ :app_definition)
1321
+ SENSITIVE = []
1322
+ include Aws::Structure
1323
+ end
1324
+
1325
+ # @!attribute [rw] instance_id
1326
+ # The unique identifier of the Amazon Q Business application
1327
+ # environment instance.
1328
+ # @return [String]
1329
+ #
1330
+ # @!attribute [rw] options
1331
+ # The input to generate the Q App definition from, either a
1332
+ # conversation or problem statement.
1333
+ # @return [Types::PredictQAppInputOptions]
1334
+ #
1335
+ # @see http://docs.aws.amazon.com/goto/WebAPI/qapps-2023-11-27/PredictQAppInput AWS API Documentation
1336
+ #
1337
+ class PredictQAppInput < Struct.new(
1338
+ :instance_id,
1339
+ :options)
1340
+ SENSITIVE = []
1341
+ include Aws::Structure
1342
+ end
1343
+
1344
+ # The input options for generating an Q App definition.
1345
+ #
1346
+ # @note PredictQAppInputOptions is a union - when making an API calls you must set exactly one of the members.
1347
+ #
1348
+ # @!attribute [rw] conversation
1349
+ # A conversation to use as input for generating the Q App definition.
1350
+ # @return [Array<Types::ConversationMessage>]
1351
+ #
1352
+ # @!attribute [rw] problem_statement
1353
+ # A problem statement to use as input for generating the Q App
1354
+ # definition.
1355
+ # @return [String]
1356
+ #
1357
+ # @see http://docs.aws.amazon.com/goto/WebAPI/qapps-2023-11-27/PredictQAppInputOptions AWS API Documentation
1358
+ #
1359
+ class PredictQAppInputOptions < Struct.new(
1360
+ :conversation,
1361
+ :problem_statement,
1362
+ :unknown)
1363
+ SENSITIVE = []
1364
+ include Aws::Structure
1365
+ include Aws::Structure::Union
1366
+
1367
+ class Conversation < PredictQAppInputOptions; end
1368
+ class ProblemStatement < PredictQAppInputOptions; end
1369
+ class Unknown < PredictQAppInputOptions; end
1370
+ end
1371
+
1372
+ # @!attribute [rw] app
1373
+ # The generated Q App definition.
1374
+ # @return [Types::PredictAppDefinition]
1375
+ #
1376
+ # @!attribute [rw] problem_statement
1377
+ # The problem statement extracted from the input conversation, if
1378
+ # provided.
1379
+ # @return [String]
1380
+ #
1381
+ # @see http://docs.aws.amazon.com/goto/WebAPI/qapps-2023-11-27/PredictQAppOutput AWS API Documentation
1382
+ #
1383
+ class PredictQAppOutput < Struct.new(
1384
+ :app,
1385
+ :problem_statement)
1386
+ SENSITIVE = []
1387
+ include Aws::Structure
1388
+ end
1389
+
1390
+ # A card in an Q App that integrates with a third-party plugin or
1391
+ # service.
1392
+ #
1393
+ # @!attribute [rw] id
1394
+ # The unique identifier of the plugin card.
1395
+ # @return [String]
1396
+ #
1397
+ # @!attribute [rw] title
1398
+ # The title or label of the plugin card.
1399
+ # @return [String]
1400
+ #
1401
+ # @!attribute [rw] dependencies
1402
+ # Any dependencies or requirements for the plugin card.
1403
+ # @return [Array<String>]
1404
+ #
1405
+ # @!attribute [rw] type
1406
+ # The type of the card.
1407
+ # @return [String]
1408
+ #
1409
+ # @!attribute [rw] prompt
1410
+ # The prompt or instructions displayed for the plugin card.
1411
+ # @return [String]
1412
+ #
1413
+ # @!attribute [rw] plugin_type
1414
+ # The type or category of the plugin used by the card.
1415
+ # @return [String]
1416
+ #
1417
+ # @!attribute [rw] plugin_id
1418
+ # The unique identifier of the plugin used by the card.
1419
+ # @return [String]
1420
+ #
1421
+ # @see http://docs.aws.amazon.com/goto/WebAPI/qapps-2023-11-27/QPluginCard AWS API Documentation
1422
+ #
1423
+ class QPluginCard < Struct.new(
1424
+ :id,
1425
+ :title,
1426
+ :dependencies,
1427
+ :type,
1428
+ :prompt,
1429
+ :plugin_type,
1430
+ :plugin_id)
1431
+ SENSITIVE = []
1432
+ include Aws::Structure
1433
+ end
1434
+
1435
+ # The input shape for defining a plugin card in an Amazon Q App.
1436
+ #
1437
+ # @!attribute [rw] title
1438
+ # The title or label of the plugin card.
1439
+ # @return [String]
1440
+ #
1441
+ # @!attribute [rw] id
1442
+ # The unique identifier of the plugin card.
1443
+ # @return [String]
1444
+ #
1445
+ # @!attribute [rw] type
1446
+ # The type of the card.
1447
+ # @return [String]
1448
+ #
1449
+ # @!attribute [rw] prompt
1450
+ # The prompt or instructions displayed for the plugin card.
1451
+ # @return [String]
1452
+ #
1453
+ # @!attribute [rw] plugin_id
1454
+ # The unique identifier of the plugin used by the card.
1455
+ # @return [String]
1456
+ #
1457
+ # @see http://docs.aws.amazon.com/goto/WebAPI/qapps-2023-11-27/QPluginCardInput AWS API Documentation
1458
+ #
1459
+ class QPluginCardInput < Struct.new(
1460
+ :title,
1461
+ :id,
1462
+ :type,
1463
+ :prompt,
1464
+ :plugin_id)
1465
+ SENSITIVE = []
1466
+ include Aws::Structure
1467
+ end
1468
+
1469
+ # A card in a Amazon Q App that generates a response based on the Amazon
1470
+ # Q Business service.
1471
+ #
1472
+ # @!attribute [rw] id
1473
+ # The unique identifier of the query card.
1474
+ # @return [String]
1475
+ #
1476
+ # @!attribute [rw] title
1477
+ # The title or label of the query card.
1478
+ # @return [String]
1479
+ #
1480
+ # @!attribute [rw] dependencies
1481
+ # Any dependencies or requirements for the query card.
1482
+ # @return [Array<String>]
1483
+ #
1484
+ # @!attribute [rw] type
1485
+ # The type of the card.
1486
+ # @return [String]
1487
+ #
1488
+ # @!attribute [rw] prompt
1489
+ # The prompt or instructions displayed for the query card.
1490
+ # @return [String]
1491
+ #
1492
+ # @!attribute [rw] output_source
1493
+ # The source or type of output generated by the query card.
1494
+ # @return [String]
1495
+ #
1496
+ # @!attribute [rw] attribute_filter
1497
+ # The Amazon Q Business filters applied in this query card when
1498
+ # resolving data sources
1499
+ # @return [Types::AttributeFilter]
1500
+ #
1501
+ # @see http://docs.aws.amazon.com/goto/WebAPI/qapps-2023-11-27/QQueryCard AWS API Documentation
1502
+ #
1503
+ class QQueryCard < Struct.new(
1504
+ :id,
1505
+ :title,
1506
+ :dependencies,
1507
+ :type,
1508
+ :prompt,
1509
+ :output_source,
1510
+ :attribute_filter)
1511
+ SENSITIVE = []
1512
+ include Aws::Structure
1513
+ end
1514
+
1515
+ # The input shape for defining a query card in an Amazon Q App.
1516
+ #
1517
+ # @!attribute [rw] title
1518
+ # The title or label of the query card.
1519
+ # @return [String]
1520
+ #
1521
+ # @!attribute [rw] id
1522
+ # The unique identifier of the query card.
1523
+ # @return [String]
1524
+ #
1525
+ # @!attribute [rw] type
1526
+ # The type of the card.
1527
+ # @return [String]
1528
+ #
1529
+ # @!attribute [rw] prompt
1530
+ # The prompt or instructions displayed for the query card.
1531
+ # @return [String]
1532
+ #
1533
+ # @!attribute [rw] output_source
1534
+ # The source or type of output to generate for the query card.
1535
+ # @return [String]
1536
+ #
1537
+ # @!attribute [rw] attribute_filter
1538
+ # Turns on filtering of responses based on document attributes or
1539
+ # metadata fields.
1540
+ # @return [Types::AttributeFilter]
1541
+ #
1542
+ # @see http://docs.aws.amazon.com/goto/WebAPI/qapps-2023-11-27/QQueryCardInput AWS API Documentation
1543
+ #
1544
+ class QQueryCardInput < Struct.new(
1545
+ :title,
1546
+ :id,
1547
+ :type,
1548
+ :prompt,
1549
+ :output_source,
1550
+ :attribute_filter)
1551
+ SENSITIVE = []
1552
+ include Aws::Structure
1553
+ end
1554
+
1555
+ # The requested resource could not be found.
1556
+ #
1557
+ # @!attribute [rw] message
1558
+ # @return [String]
1559
+ #
1560
+ # @!attribute [rw] resource_id
1561
+ # The unique identifier of the resource
1562
+ # @return [String]
1563
+ #
1564
+ # @!attribute [rw] resource_type
1565
+ # The type of the resource
1566
+ # @return [String]
1567
+ #
1568
+ # @see http://docs.aws.amazon.com/goto/WebAPI/qapps-2023-11-27/ResourceNotFoundException AWS API Documentation
1569
+ #
1570
+ class ResourceNotFoundException < Struct.new(
1571
+ :message,
1572
+ :resource_id,
1573
+ :resource_type)
1574
+ SENSITIVE = []
1575
+ include Aws::Structure
1576
+ end
1577
+
1578
+ # The requested operation could not be completed because it would exceed
1579
+ # the service's quota or limit.
1580
+ #
1581
+ # @!attribute [rw] message
1582
+ # @return [String]
1583
+ #
1584
+ # @!attribute [rw] resource_id
1585
+ # The unique identifier of the resource
1586
+ # @return [String]
1587
+ #
1588
+ # @!attribute [rw] resource_type
1589
+ # The type of the resource
1590
+ # @return [String]
1591
+ #
1592
+ # @!attribute [rw] service_code
1593
+ # The code for the service where the quota was exceeded
1594
+ # @return [String]
1595
+ #
1596
+ # @!attribute [rw] quota_code
1597
+ # The code of the quota that was exceeded
1598
+ # @return [String]
1599
+ #
1600
+ # @see http://docs.aws.amazon.com/goto/WebAPI/qapps-2023-11-27/ServiceQuotaExceededException AWS API Documentation
1601
+ #
1602
+ class ServiceQuotaExceededException < Struct.new(
1603
+ :message,
1604
+ :resource_id,
1605
+ :resource_type,
1606
+ :service_code,
1607
+ :quota_code)
1608
+ SENSITIVE = []
1609
+ include Aws::Structure
1610
+ end
1611
+
1612
+ # @!attribute [rw] instance_id
1613
+ # The unique identifier of the Amazon Q Business application
1614
+ # environment instance.
1615
+ # @return [String]
1616
+ #
1617
+ # @!attribute [rw] app_id
1618
+ # The unique identifier of the Q App to start a session for.
1619
+ # @return [String]
1620
+ #
1621
+ # @!attribute [rw] app_version
1622
+ # The version of the Q App to use for the session.
1623
+ # @return [Integer]
1624
+ #
1625
+ # @!attribute [rw] initial_values
1626
+ # Optional initial input values to provide for the Q App session.
1627
+ # @return [Array<Types::CardValue>]
1628
+ #
1629
+ # @!attribute [rw] tags
1630
+ # Optional tags to associate with the new Q App session.
1631
+ # @return [Hash<String,String>]
1632
+ #
1633
+ # @see http://docs.aws.amazon.com/goto/WebAPI/qapps-2023-11-27/StartQAppSessionInput AWS API Documentation
1634
+ #
1635
+ class StartQAppSessionInput < Struct.new(
1636
+ :instance_id,
1637
+ :app_id,
1638
+ :app_version,
1639
+ :initial_values,
1640
+ :tags)
1641
+ SENSITIVE = []
1642
+ include Aws::Structure
1643
+ end
1644
+
1645
+ # @!attribute [rw] session_id
1646
+ # The unique identifier of the new Q App session.
1647
+ # @return [String]
1648
+ #
1649
+ # @!attribute [rw] session_arn
1650
+ # The Amazon Resource Name (ARN) of the new Q App session.
1651
+ # @return [String]
1652
+ #
1653
+ # @see http://docs.aws.amazon.com/goto/WebAPI/qapps-2023-11-27/StartQAppSessionOutput AWS API Documentation
1654
+ #
1655
+ class StartQAppSessionOutput < Struct.new(
1656
+ :session_id,
1657
+ :session_arn)
1658
+ SENSITIVE = []
1659
+ include Aws::Structure
1660
+ end
1661
+
1662
+ # @!attribute [rw] instance_id
1663
+ # The unique identifier of the Amazon Q Business application
1664
+ # environment instance.
1665
+ # @return [String]
1666
+ #
1667
+ # @!attribute [rw] session_id
1668
+ # The unique identifier of the Q App session to stop.
1669
+ # @return [String]
1670
+ #
1671
+ # @see http://docs.aws.amazon.com/goto/WebAPI/qapps-2023-11-27/StopQAppSessionInput AWS API Documentation
1672
+ #
1673
+ class StopQAppSessionInput < Struct.new(
1674
+ :instance_id,
1675
+ :session_id)
1676
+ SENSITIVE = []
1677
+ include Aws::Structure
1678
+ end
1679
+
1680
+ # @!attribute [rw] resource_arn
1681
+ # The Amazon Resource Name (ARN) of the resource to tag.
1682
+ # @return [String]
1683
+ #
1684
+ # @!attribute [rw] tags
1685
+ # The tags to associate with the resource.
1686
+ # @return [Hash<String,String>]
1687
+ #
1688
+ # @see http://docs.aws.amazon.com/goto/WebAPI/qapps-2023-11-27/TagResourceRequest AWS API Documentation
1689
+ #
1690
+ class TagResourceRequest < Struct.new(
1691
+ :resource_arn,
1692
+ :tags)
1693
+ SENSITIVE = []
1694
+ include Aws::Structure
1695
+ end
1696
+
1697
+ # @see http://docs.aws.amazon.com/goto/WebAPI/qapps-2023-11-27/TagResourceResponse AWS API Documentation
1698
+ #
1699
+ class TagResourceResponse < Aws::EmptyStructure; end
1700
+
1701
+ # A card in an Amazon Q App that allows the user to input text.
1702
+ #
1703
+ # @!attribute [rw] id
1704
+ # The unique identifier of the text input card.
1705
+ # @return [String]
1706
+ #
1707
+ # @!attribute [rw] title
1708
+ # The title or label of the text input card.
1709
+ # @return [String]
1710
+ #
1711
+ # @!attribute [rw] dependencies
1712
+ # Any dependencies or requirements for the text input card.
1713
+ # @return [Array<String>]
1714
+ #
1715
+ # @!attribute [rw] type
1716
+ # The type of the card.
1717
+ # @return [String]
1718
+ #
1719
+ # @!attribute [rw] placeholder
1720
+ # The placeholder text to display in the text input field.
1721
+ # @return [String]
1722
+ #
1723
+ # @!attribute [rw] default_value
1724
+ # The default value to pre-populate in the text input field.
1725
+ # @return [String]
1726
+ #
1727
+ # @see http://docs.aws.amazon.com/goto/WebAPI/qapps-2023-11-27/TextInputCard AWS API Documentation
1728
+ #
1729
+ class TextInputCard < Struct.new(
1730
+ :id,
1731
+ :title,
1732
+ :dependencies,
1733
+ :type,
1734
+ :placeholder,
1735
+ :default_value)
1736
+ SENSITIVE = []
1737
+ include Aws::Structure
1738
+ end
1739
+
1740
+ # The input shape for defining a text input card in an Amazon Q App.
1741
+ #
1742
+ # @!attribute [rw] title
1743
+ # The title or label of the text input card.
1744
+ # @return [String]
1745
+ #
1746
+ # @!attribute [rw] id
1747
+ # The unique identifier of the text input card.
1748
+ # @return [String]
1749
+ #
1750
+ # @!attribute [rw] type
1751
+ # The type of the card.
1752
+ # @return [String]
1753
+ #
1754
+ # @!attribute [rw] placeholder
1755
+ # The placeholder text to display in the text input field.
1756
+ # @return [String]
1757
+ #
1758
+ # @!attribute [rw] default_value
1759
+ # The default value to pre-populate in the text input field.
1760
+ # @return [String]
1761
+ #
1762
+ # @see http://docs.aws.amazon.com/goto/WebAPI/qapps-2023-11-27/TextInputCardInput AWS API Documentation
1763
+ #
1764
+ class TextInputCardInput < Struct.new(
1765
+ :title,
1766
+ :id,
1767
+ :type,
1768
+ :placeholder,
1769
+ :default_value)
1770
+ SENSITIVE = []
1771
+ include Aws::Structure
1772
+ end
1773
+
1774
+ # The requested operation could not be completed because too many
1775
+ # requests were sent at once. Wait a bit and try again later.
1776
+ #
1777
+ # @!attribute [rw] message
1778
+ # @return [String]
1779
+ #
1780
+ # @!attribute [rw] service_code
1781
+ # The code for the service where the quota was exceeded
1782
+ # @return [String]
1783
+ #
1784
+ # @!attribute [rw] quota_code
1785
+ # The code of the quota that was exceeded
1786
+ # @return [String]
1787
+ #
1788
+ # @!attribute [rw] retry_after_seconds
1789
+ # The number of seconds to wait before retrying the operation
1790
+ # @return [Integer]
1791
+ #
1792
+ # @see http://docs.aws.amazon.com/goto/WebAPI/qapps-2023-11-27/ThrottlingException AWS API Documentation
1793
+ #
1794
+ class ThrottlingException < Struct.new(
1795
+ :message,
1796
+ :service_code,
1797
+ :quota_code,
1798
+ :retry_after_seconds)
1799
+ SENSITIVE = []
1800
+ include Aws::Structure
1801
+ end
1802
+
1803
+ # The client is not authenticated or authorized to perform the requested
1804
+ # operation.
1805
+ #
1806
+ # @!attribute [rw] message
1807
+ # @return [String]
1808
+ #
1809
+ # @see http://docs.aws.amazon.com/goto/WebAPI/qapps-2023-11-27/UnauthorizedException AWS API Documentation
1810
+ #
1811
+ class UnauthorizedException < Struct.new(
1812
+ :message)
1813
+ SENSITIVE = []
1814
+ include Aws::Structure
1815
+ end
1816
+
1817
+ # @!attribute [rw] resource_arn
1818
+ # The Amazon Resource Name (ARN) of the resource to disassociate the
1819
+ # tag from.
1820
+ # @return [String]
1821
+ #
1822
+ # @!attribute [rw] tag_keys
1823
+ # The keys of the tags to disassociate from the resource.
1824
+ # @return [Array<String>]
1825
+ #
1826
+ # @see http://docs.aws.amazon.com/goto/WebAPI/qapps-2023-11-27/UntagResourceRequest AWS API Documentation
1827
+ #
1828
+ class UntagResourceRequest < Struct.new(
1829
+ :resource_arn,
1830
+ :tag_keys)
1831
+ SENSITIVE = []
1832
+ include Aws::Structure
1833
+ end
1834
+
1835
+ # @see http://docs.aws.amazon.com/goto/WebAPI/qapps-2023-11-27/UntagResourceResponse AWS API Documentation
1836
+ #
1837
+ class UntagResourceResponse < Aws::EmptyStructure; end
1838
+
1839
+ # @!attribute [rw] instance_id
1840
+ # The unique identifier of the Amazon Q Business application
1841
+ # environment instance.
1842
+ # @return [String]
1843
+ #
1844
+ # @!attribute [rw] library_item_id
1845
+ # The unique identifier of the library item to update.
1846
+ # @return [String]
1847
+ #
1848
+ # @!attribute [rw] status
1849
+ # The new status to set for the library item, such as "Published" or
1850
+ # "Hidden".
1851
+ # @return [String]
1852
+ #
1853
+ # @!attribute [rw] categories
1854
+ # The new categories to associate with the library item.
1855
+ # @return [Array<String>]
1856
+ #
1857
+ # @see http://docs.aws.amazon.com/goto/WebAPI/qapps-2023-11-27/UpdateLibraryItemInput AWS API Documentation
1858
+ #
1859
+ class UpdateLibraryItemInput < Struct.new(
1860
+ :instance_id,
1861
+ :library_item_id,
1862
+ :status,
1863
+ :categories)
1864
+ SENSITIVE = []
1865
+ include Aws::Structure
1866
+ end
1867
+
1868
+ # @!attribute [rw] library_item_id
1869
+ # The unique identifier of the updated library item.
1870
+ # @return [String]
1871
+ #
1872
+ # @!attribute [rw] app_id
1873
+ # The unique identifier of the Q App associated with the library item.
1874
+ # @return [String]
1875
+ #
1876
+ # @!attribute [rw] app_version
1877
+ # The version of the Q App associated with the library item.
1878
+ # @return [Integer]
1879
+ #
1880
+ # @!attribute [rw] categories
1881
+ # The categories associated with the updated library item.
1882
+ # @return [Array<Types::Category>]
1883
+ #
1884
+ # @!attribute [rw] status
1885
+ # The new status of the updated library item.
1886
+ # @return [String]
1887
+ #
1888
+ # @!attribute [rw] created_at
1889
+ # The date and time the library item was originally created.
1890
+ # @return [Time]
1891
+ #
1892
+ # @!attribute [rw] created_by
1893
+ # The user who originally created the library item.
1894
+ # @return [String]
1895
+ #
1896
+ # @!attribute [rw] updated_at
1897
+ # The date and time the library item was last updated.
1898
+ # @return [Time]
1899
+ #
1900
+ # @!attribute [rw] updated_by
1901
+ # The user who last updated the library item.
1902
+ # @return [String]
1903
+ #
1904
+ # @!attribute [rw] rating_count
1905
+ # The number of ratings the library item has received.
1906
+ # @return [Integer]
1907
+ #
1908
+ # @!attribute [rw] is_rated_by_user
1909
+ # Whether the current user has rated the library item.
1910
+ # @return [Boolean]
1911
+ #
1912
+ # @!attribute [rw] user_count
1913
+ # The number of users who have the associated Q App.
1914
+ # @return [Integer]
1915
+ #
1916
+ # @see http://docs.aws.amazon.com/goto/WebAPI/qapps-2023-11-27/UpdateLibraryItemOutput AWS API Documentation
1917
+ #
1918
+ class UpdateLibraryItemOutput < Struct.new(
1919
+ :library_item_id,
1920
+ :app_id,
1921
+ :app_version,
1922
+ :categories,
1923
+ :status,
1924
+ :created_at,
1925
+ :created_by,
1926
+ :updated_at,
1927
+ :updated_by,
1928
+ :rating_count,
1929
+ :is_rated_by_user,
1930
+ :user_count)
1931
+ SENSITIVE = []
1932
+ include Aws::Structure
1933
+ end
1934
+
1935
+ # @!attribute [rw] instance_id
1936
+ # The unique identifier of the Amazon Q Business application
1937
+ # environment instance.
1938
+ # @return [String]
1939
+ #
1940
+ # @!attribute [rw] app_id
1941
+ # The unique identifier of the Q App to update.
1942
+ # @return [String]
1943
+ #
1944
+ # @!attribute [rw] title
1945
+ # The new title for the Q App.
1946
+ # @return [String]
1947
+ #
1948
+ # @!attribute [rw] description
1949
+ # The new description for the Q App.
1950
+ # @return [String]
1951
+ #
1952
+ # @!attribute [rw] app_definition
1953
+ # The new definition specifying the cards and flow for the Q App.
1954
+ # @return [Types::AppDefinitionInput]
1955
+ #
1956
+ # @see http://docs.aws.amazon.com/goto/WebAPI/qapps-2023-11-27/UpdateQAppInput AWS API Documentation
1957
+ #
1958
+ class UpdateQAppInput < Struct.new(
1959
+ :instance_id,
1960
+ :app_id,
1961
+ :title,
1962
+ :description,
1963
+ :app_definition)
1964
+ SENSITIVE = []
1965
+ include Aws::Structure
1966
+ end
1967
+
1968
+ # @!attribute [rw] app_id
1969
+ # The unique identifier of the updated Q App.
1970
+ # @return [String]
1971
+ #
1972
+ # @!attribute [rw] app_arn
1973
+ # The Amazon Resource Name (ARN) of the updated Q App.
1974
+ # @return [String]
1975
+ #
1976
+ # @!attribute [rw] title
1977
+ # The new title of the updated Q App.
1978
+ # @return [String]
1979
+ #
1980
+ # @!attribute [rw] description
1981
+ # The new description of the updated Q App.
1982
+ # @return [String]
1983
+ #
1984
+ # @!attribute [rw] initial_prompt
1985
+ # The initial prompt for the updated Q App.
1986
+ # @return [String]
1987
+ #
1988
+ # @!attribute [rw] app_version
1989
+ # The new version of the updated Q App.
1990
+ # @return [Integer]
1991
+ #
1992
+ # @!attribute [rw] status
1993
+ # The status of the updated Q App.
1994
+ # @return [String]
1995
+ #
1996
+ # @!attribute [rw] created_at
1997
+ # The date and time the Q App was originally created.
1998
+ # @return [Time]
1999
+ #
2000
+ # @!attribute [rw] created_by
2001
+ # The user who originally created the Q App.
2002
+ # @return [String]
2003
+ #
2004
+ # @!attribute [rw] updated_at
2005
+ # The date and time the Q App was last updated.
2006
+ # @return [Time]
2007
+ #
2008
+ # @!attribute [rw] updated_by
2009
+ # The user who last updated the Q App.
2010
+ # @return [String]
2011
+ #
2012
+ # @!attribute [rw] required_capabilities
2013
+ # The capabilities required for the updated Q App.
2014
+ # @return [Array<String>]
2015
+ #
2016
+ # @see http://docs.aws.amazon.com/goto/WebAPI/qapps-2023-11-27/UpdateQAppOutput AWS API Documentation
2017
+ #
2018
+ class UpdateQAppOutput < Struct.new(
2019
+ :app_id,
2020
+ :app_arn,
2021
+ :title,
2022
+ :description,
2023
+ :initial_prompt,
2024
+ :app_version,
2025
+ :status,
2026
+ :created_at,
2027
+ :created_by,
2028
+ :updated_at,
2029
+ :updated_by,
2030
+ :required_capabilities)
2031
+ SENSITIVE = []
2032
+ include Aws::Structure
2033
+ end
2034
+
2035
+ # @!attribute [rw] instance_id
2036
+ # The unique identifier of the Amazon Q Business application
2037
+ # environment instance.
2038
+ # @return [String]
2039
+ #
2040
+ # @!attribute [rw] session_id
2041
+ # The unique identifier of the Q App session to provide input for.
2042
+ # @return [String]
2043
+ #
2044
+ # @!attribute [rw] values
2045
+ # The input values to provide for the current state of the Q App
2046
+ # session.
2047
+ # @return [Array<Types::CardValue>]
2048
+ #
2049
+ # @see http://docs.aws.amazon.com/goto/WebAPI/qapps-2023-11-27/UpdateQAppSessionInput AWS API Documentation
2050
+ #
2051
+ class UpdateQAppSessionInput < Struct.new(
2052
+ :instance_id,
2053
+ :session_id,
2054
+ :values)
2055
+ SENSITIVE = []
2056
+ include Aws::Structure
2057
+ end
2058
+
2059
+ # @!attribute [rw] session_id
2060
+ # The unique identifier of the updated Q App session.
2061
+ # @return [String]
2062
+ #
2063
+ # @!attribute [rw] session_arn
2064
+ # The Amazon Resource Name (ARN) of the updated Q App session.
2065
+ # @return [String]
2066
+ #
2067
+ # @see http://docs.aws.amazon.com/goto/WebAPI/qapps-2023-11-27/UpdateQAppSessionOutput AWS API Documentation
2068
+ #
2069
+ class UpdateQAppSessionOutput < Struct.new(
2070
+ :session_id,
2071
+ :session_arn)
2072
+ SENSITIVE = []
2073
+ include Aws::Structure
2074
+ end
2075
+
2076
+ # An Amazon Q App associated with a user, either owned by the user or
2077
+ # favorited.
2078
+ #
2079
+ # @!attribute [rw] app_id
2080
+ # The unique identifier of the Q App.
2081
+ # @return [String]
2082
+ #
2083
+ # @!attribute [rw] app_arn
2084
+ # The Amazon Resource Name (ARN) of the Q App.
2085
+ # @return [String]
2086
+ #
2087
+ # @!attribute [rw] title
2088
+ # The title of the Q App.
2089
+ # @return [String]
2090
+ #
2091
+ # @!attribute [rw] description
2092
+ # The description of the Q App.
2093
+ # @return [String]
2094
+ #
2095
+ # @!attribute [rw] created_at
2096
+ # The date and time the user's association with the Q App was
2097
+ # created.
2098
+ # @return [Time]
2099
+ #
2100
+ # @!attribute [rw] can_edit
2101
+ # A flag indicating whether the user can edit the Q App.
2102
+ # @return [Boolean]
2103
+ #
2104
+ # @!attribute [rw] status
2105
+ # The status of the user's association with the Q App.
2106
+ # @return [String]
2107
+ #
2108
+ # @see http://docs.aws.amazon.com/goto/WebAPI/qapps-2023-11-27/UserAppItem AWS API Documentation
2109
+ #
2110
+ class UserAppItem < Struct.new(
2111
+ :app_id,
2112
+ :app_arn,
2113
+ :title,
2114
+ :description,
2115
+ :created_at,
2116
+ :can_edit,
2117
+ :status)
2118
+ SENSITIVE = []
2119
+ include Aws::Structure
2120
+ end
2121
+
2122
+ # The input failed to satisfy the constraints specified by the service.
2123
+ #
2124
+ # @!attribute [rw] message
2125
+ # @return [String]
2126
+ #
2127
+ # @see http://docs.aws.amazon.com/goto/WebAPI/qapps-2023-11-27/ValidationException AWS API Documentation
2128
+ #
2129
+ class ValidationException < Struct.new(
2130
+ :message)
2131
+ SENSITIVE = []
2132
+ include Aws::Structure
2133
+ end
2134
+
2135
+ end
2136
+ end