aws-sdk-qapps 1.0.0

Sign up to get free protection for your applications and to get access to all the features.
data/sig/types.rbs ADDED
@@ -0,0 +1,622 @@
1
+ # WARNING ABOUT GENERATED CODE
2
+ #
3
+ # This file is generated. See the contributing guide for more information:
4
+ # https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md
5
+ #
6
+ # WARNING ABOUT GENERATED CODE
7
+
8
+ module Aws::QApps
9
+ module Types
10
+
11
+ class AccessDeniedException
12
+ attr_accessor message: ::String
13
+ SENSITIVE: []
14
+ end
15
+
16
+ class AppDefinition
17
+ attr_accessor app_definition_version: ::String
18
+ attr_accessor cards: ::Array[Types::Card]
19
+ attr_accessor can_edit: bool
20
+ SENSITIVE: []
21
+ end
22
+
23
+ class AppDefinitionInput
24
+ attr_accessor cards: ::Array[Types::CardInput]
25
+ attr_accessor initial_prompt: ::String
26
+ SENSITIVE: []
27
+ end
28
+
29
+ class AssociateLibraryItemReviewInput
30
+ attr_accessor instance_id: ::String
31
+ attr_accessor library_item_id: ::String
32
+ SENSITIVE: []
33
+ end
34
+
35
+ class AssociateQAppWithUserInput
36
+ attr_accessor instance_id: ::String
37
+ attr_accessor app_id: ::String
38
+ SENSITIVE: []
39
+ end
40
+
41
+ class AttributeFilter
42
+ attr_accessor and_all_filters: ::Array[Types::AttributeFilter]
43
+ attr_accessor or_all_filters: ::Array[Types::AttributeFilter]
44
+ attr_accessor not_filter: Types::AttributeFilter
45
+ attr_accessor equals_to: Types::DocumentAttribute
46
+ attr_accessor contains_all: Types::DocumentAttribute
47
+ attr_accessor contains_any: Types::DocumentAttribute
48
+ attr_accessor greater_than: Types::DocumentAttribute
49
+ attr_accessor greater_than_or_equals: Types::DocumentAttribute
50
+ attr_accessor less_than: Types::DocumentAttribute
51
+ attr_accessor less_than_or_equals: Types::DocumentAttribute
52
+ SENSITIVE: []
53
+ end
54
+
55
+ class Card
56
+ attr_accessor text_input: Types::TextInputCard
57
+ attr_accessor q_query: Types::QQueryCard
58
+ attr_accessor q_plugin: Types::QPluginCard
59
+ attr_accessor file_upload: Types::FileUploadCard
60
+ attr_accessor unknown: untyped
61
+ SENSITIVE: []
62
+
63
+ class TextInput < Card
64
+ end
65
+ class QQuery < Card
66
+ end
67
+ class QPlugin < Card
68
+ end
69
+ class FileUpload < Card
70
+ end
71
+ class Unknown < Card
72
+ end
73
+ end
74
+
75
+ class CardInput
76
+ attr_accessor text_input: Types::TextInputCardInput
77
+ attr_accessor q_query: Types::QQueryCardInput
78
+ attr_accessor q_plugin: Types::QPluginCardInput
79
+ attr_accessor file_upload: Types::FileUploadCardInput
80
+ attr_accessor unknown: untyped
81
+ SENSITIVE: []
82
+
83
+ class TextInput < CardInput
84
+ end
85
+ class QQuery < CardInput
86
+ end
87
+ class QPlugin < CardInput
88
+ end
89
+ class FileUpload < CardInput
90
+ end
91
+ class Unknown < CardInput
92
+ end
93
+ end
94
+
95
+ class CardStatus
96
+ attr_accessor current_state: ("IN_PROGRESS" | "WAITING" | "COMPLETED")
97
+ attr_accessor current_value: ::String
98
+ SENSITIVE: []
99
+ end
100
+
101
+ class CardValue
102
+ attr_accessor card_id: ::String
103
+ attr_accessor value: ::String
104
+ SENSITIVE: []
105
+ end
106
+
107
+ class Category
108
+ attr_accessor id: ::String
109
+ attr_accessor title: ::String
110
+ SENSITIVE: []
111
+ end
112
+
113
+ class ConflictException
114
+ attr_accessor message: ::String
115
+ attr_accessor resource_id: ::String
116
+ attr_accessor resource_type: ::String
117
+ SENSITIVE: []
118
+ end
119
+
120
+ class ContentTooLargeException
121
+ attr_accessor message: ::String
122
+ attr_accessor resource_id: ::String
123
+ attr_accessor resource_type: ::String
124
+ SENSITIVE: []
125
+ end
126
+
127
+ class ConversationMessage
128
+ attr_accessor body: ::String
129
+ attr_accessor type: ("USER" | "SYSTEM")
130
+ SENSITIVE: []
131
+ end
132
+
133
+ class CreateLibraryItemInput
134
+ attr_accessor instance_id: ::String
135
+ attr_accessor app_id: ::String
136
+ attr_accessor app_version: ::Integer
137
+ attr_accessor categories: ::Array[::String]
138
+ SENSITIVE: []
139
+ end
140
+
141
+ class CreateLibraryItemOutput
142
+ attr_accessor library_item_id: ::String
143
+ attr_accessor status: ::String
144
+ attr_accessor created_at: ::Time
145
+ attr_accessor created_by: ::String
146
+ attr_accessor updated_at: ::Time
147
+ attr_accessor updated_by: ::String
148
+ attr_accessor rating_count: ::Integer
149
+ SENSITIVE: []
150
+ end
151
+
152
+ class CreateQAppInput
153
+ attr_accessor instance_id: ::String
154
+ attr_accessor title: ::String
155
+ attr_accessor description: ::String
156
+ attr_accessor app_definition: Types::AppDefinitionInput
157
+ attr_accessor tags: ::Hash[::String, ::String]
158
+ SENSITIVE: []
159
+ end
160
+
161
+ class CreateQAppOutput
162
+ attr_accessor app_id: ::String
163
+ attr_accessor app_arn: ::String
164
+ attr_accessor title: ::String
165
+ attr_accessor description: ::String
166
+ attr_accessor initial_prompt: ::String
167
+ attr_accessor app_version: ::Integer
168
+ attr_accessor status: ("PUBLISHED" | "DRAFT" | "DELETED")
169
+ attr_accessor created_at: ::Time
170
+ attr_accessor created_by: ::String
171
+ attr_accessor updated_at: ::Time
172
+ attr_accessor updated_by: ::String
173
+ attr_accessor required_capabilities: ::Array[("FileUpload" | "CreatorMode" | "RetrievalMode" | "PluginMode")]
174
+ SENSITIVE: []
175
+ end
176
+
177
+ class DeleteLibraryItemInput
178
+ attr_accessor instance_id: ::String
179
+ attr_accessor library_item_id: ::String
180
+ SENSITIVE: []
181
+ end
182
+
183
+ class DeleteQAppInput
184
+ attr_accessor instance_id: ::String
185
+ attr_accessor app_id: ::String
186
+ SENSITIVE: []
187
+ end
188
+
189
+ class DisassociateLibraryItemReviewInput
190
+ attr_accessor instance_id: ::String
191
+ attr_accessor library_item_id: ::String
192
+ SENSITIVE: []
193
+ end
194
+
195
+ class DisassociateQAppFromUserInput
196
+ attr_accessor instance_id: ::String
197
+ attr_accessor app_id: ::String
198
+ SENSITIVE: []
199
+ end
200
+
201
+ class DocumentAttribute
202
+ attr_accessor name: ::String
203
+ attr_accessor value: Types::DocumentAttributeValue
204
+ SENSITIVE: []
205
+ end
206
+
207
+ class DocumentAttributeValue
208
+ attr_accessor string_value: ::String
209
+ attr_accessor string_list_value: ::Array[::String]
210
+ attr_accessor long_value: ::Integer
211
+ attr_accessor date_value: ::Time
212
+ attr_accessor unknown: untyped
213
+ SENSITIVE: []
214
+
215
+ class StringValue < DocumentAttributeValue
216
+ end
217
+ class StringListValue < DocumentAttributeValue
218
+ end
219
+ class LongValue < DocumentAttributeValue
220
+ end
221
+ class DateValue < DocumentAttributeValue
222
+ end
223
+ class Unknown < DocumentAttributeValue
224
+ end
225
+ end
226
+
227
+ class FileUploadCard
228
+ attr_accessor id: ::String
229
+ attr_accessor title: ::String
230
+ attr_accessor dependencies: ::Array[::String]
231
+ attr_accessor type: ("text-input" | "q-query" | "file-upload" | "q-plugin")
232
+ attr_accessor filename: ::String
233
+ attr_accessor file_id: ::String
234
+ attr_accessor allow_override: bool
235
+ SENSITIVE: []
236
+ end
237
+
238
+ class FileUploadCardInput
239
+ attr_accessor title: ::String
240
+ attr_accessor id: ::String
241
+ attr_accessor type: ("text-input" | "q-query" | "file-upload" | "q-plugin")
242
+ attr_accessor filename: ::String
243
+ attr_accessor file_id: ::String
244
+ attr_accessor allow_override: bool
245
+ SENSITIVE: []
246
+ end
247
+
248
+ class GetLibraryItemInput
249
+ attr_accessor instance_id: ::String
250
+ attr_accessor library_item_id: ::String
251
+ attr_accessor app_id: ::String
252
+ SENSITIVE: []
253
+ end
254
+
255
+ class GetLibraryItemOutput
256
+ attr_accessor library_item_id: ::String
257
+ attr_accessor app_id: ::String
258
+ attr_accessor app_version: ::Integer
259
+ attr_accessor categories: ::Array[Types::Category]
260
+ attr_accessor status: ::String
261
+ attr_accessor created_at: ::Time
262
+ attr_accessor created_by: ::String
263
+ attr_accessor updated_at: ::Time
264
+ attr_accessor updated_by: ::String
265
+ attr_accessor rating_count: ::Integer
266
+ attr_accessor is_rated_by_user: bool
267
+ attr_accessor user_count: ::Integer
268
+ SENSITIVE: []
269
+ end
270
+
271
+ class GetQAppInput
272
+ attr_accessor instance_id: ::String
273
+ attr_accessor app_id: ::String
274
+ SENSITIVE: []
275
+ end
276
+
277
+ class GetQAppOutput
278
+ attr_accessor app_id: ::String
279
+ attr_accessor app_arn: ::String
280
+ attr_accessor title: ::String
281
+ attr_accessor description: ::String
282
+ attr_accessor initial_prompt: ::String
283
+ attr_accessor app_version: ::Integer
284
+ attr_accessor status: ("PUBLISHED" | "DRAFT" | "DELETED")
285
+ attr_accessor created_at: ::Time
286
+ attr_accessor created_by: ::String
287
+ attr_accessor updated_at: ::Time
288
+ attr_accessor updated_by: ::String
289
+ attr_accessor required_capabilities: ::Array[("FileUpload" | "CreatorMode" | "RetrievalMode" | "PluginMode")]
290
+ attr_accessor app_definition: Types::AppDefinition
291
+ SENSITIVE: []
292
+ end
293
+
294
+ class GetQAppSessionInput
295
+ attr_accessor instance_id: ::String
296
+ attr_accessor session_id: ::String
297
+ SENSITIVE: []
298
+ end
299
+
300
+ class GetQAppSessionOutput
301
+ attr_accessor session_id: ::String
302
+ attr_accessor session_arn: ::String
303
+ attr_accessor status: ("IN_PROGRESS" | "WAITING" | "COMPLETED")
304
+ attr_accessor card_status: ::Hash[::String, Types::CardStatus]
305
+ SENSITIVE: []
306
+ end
307
+
308
+ class ImportDocumentInput
309
+ attr_accessor instance_id: ::String
310
+ attr_accessor card_id: ::String
311
+ attr_accessor app_id: ::String
312
+ attr_accessor file_contents_base_64: ::String
313
+ attr_accessor file_name: ::String
314
+ attr_accessor scope: ("APPLICATION" | "SESSION")
315
+ attr_accessor session_id: ::String
316
+ SENSITIVE: []
317
+ end
318
+
319
+ class ImportDocumentOutput
320
+ attr_accessor file_id: ::String
321
+ SENSITIVE: []
322
+ end
323
+
324
+ class InternalServerException
325
+ attr_accessor message: ::String
326
+ attr_accessor retry_after_seconds: ::Integer
327
+ SENSITIVE: []
328
+ end
329
+
330
+ class LibraryItemMember
331
+ attr_accessor library_item_id: ::String
332
+ attr_accessor app_id: ::String
333
+ attr_accessor app_version: ::Integer
334
+ attr_accessor categories: ::Array[Types::Category]
335
+ attr_accessor status: ::String
336
+ attr_accessor created_at: ::Time
337
+ attr_accessor created_by: ::String
338
+ attr_accessor updated_at: ::Time
339
+ attr_accessor updated_by: ::String
340
+ attr_accessor rating_count: ::Integer
341
+ attr_accessor is_rated_by_user: bool
342
+ attr_accessor user_count: ::Integer
343
+ SENSITIVE: []
344
+ end
345
+
346
+ class ListLibraryItemsInput
347
+ attr_accessor instance_id: ::String
348
+ attr_accessor limit: ::Integer
349
+ attr_accessor next_token: ::String
350
+ attr_accessor category_id: ::String
351
+ SENSITIVE: []
352
+ end
353
+
354
+ class ListLibraryItemsOutput
355
+ attr_accessor library_items: ::Array[Types::LibraryItemMember]
356
+ attr_accessor next_token: ::String
357
+ SENSITIVE: []
358
+ end
359
+
360
+ class ListQAppsInput
361
+ attr_accessor instance_id: ::String
362
+ attr_accessor limit: ::Integer
363
+ attr_accessor next_token: ::String
364
+ SENSITIVE: []
365
+ end
366
+
367
+ class ListQAppsOutput
368
+ attr_accessor apps: ::Array[Types::UserAppItem]
369
+ attr_accessor next_token: ::String
370
+ SENSITIVE: []
371
+ end
372
+
373
+ class ListTagsForResourceRequest
374
+ attr_accessor resource_arn: ::String
375
+ SENSITIVE: []
376
+ end
377
+
378
+ class ListTagsForResourceResponse
379
+ attr_accessor tags: ::Hash[::String, ::String]
380
+ SENSITIVE: []
381
+ end
382
+
383
+ class PredictAppDefinition
384
+ attr_accessor title: ::String
385
+ attr_accessor description: ::String
386
+ attr_accessor app_definition: Types::AppDefinitionInput
387
+ SENSITIVE: []
388
+ end
389
+
390
+ class PredictQAppInput
391
+ attr_accessor instance_id: ::String
392
+ attr_accessor options: Types::PredictQAppInputOptions
393
+ SENSITIVE: []
394
+ end
395
+
396
+ class PredictQAppInputOptions
397
+ attr_accessor conversation: ::Array[Types::ConversationMessage]
398
+ attr_accessor problem_statement: ::String
399
+ attr_accessor unknown: untyped
400
+ SENSITIVE: []
401
+
402
+ class Conversation < PredictQAppInputOptions
403
+ end
404
+ class ProblemStatement < PredictQAppInputOptions
405
+ end
406
+ class Unknown < PredictQAppInputOptions
407
+ end
408
+ end
409
+
410
+ class PredictQAppOutput
411
+ attr_accessor app: Types::PredictAppDefinition
412
+ attr_accessor problem_statement: ::String
413
+ SENSITIVE: []
414
+ end
415
+
416
+ class QPluginCard
417
+ attr_accessor id: ::String
418
+ attr_accessor title: ::String
419
+ attr_accessor dependencies: ::Array[::String]
420
+ attr_accessor type: ("text-input" | "q-query" | "file-upload" | "q-plugin")
421
+ attr_accessor prompt: ::String
422
+ attr_accessor plugin_type: ("SERVICE_NOW" | "SALESFORCE" | "JIRA" | "ZENDESK" | "CUSTOM")
423
+ attr_accessor plugin_id: ::String
424
+ SENSITIVE: []
425
+ end
426
+
427
+ class QPluginCardInput
428
+ attr_accessor title: ::String
429
+ attr_accessor id: ::String
430
+ attr_accessor type: ("text-input" | "q-query" | "file-upload" | "q-plugin")
431
+ attr_accessor prompt: ::String
432
+ attr_accessor plugin_id: ::String
433
+ SENSITIVE: []
434
+ end
435
+
436
+ class QQueryCard
437
+ attr_accessor id: ::String
438
+ attr_accessor title: ::String
439
+ attr_accessor dependencies: ::Array[::String]
440
+ attr_accessor type: ("text-input" | "q-query" | "file-upload" | "q-plugin")
441
+ attr_accessor prompt: ::String
442
+ attr_accessor output_source: ("approved-sources" | "llm")
443
+ attr_accessor attribute_filter: Types::AttributeFilter
444
+ SENSITIVE: []
445
+ end
446
+
447
+ class QQueryCardInput
448
+ attr_accessor title: ::String
449
+ attr_accessor id: ::String
450
+ attr_accessor type: ("text-input" | "q-query" | "file-upload" | "q-plugin")
451
+ attr_accessor prompt: ::String
452
+ attr_accessor output_source: ("approved-sources" | "llm")
453
+ attr_accessor attribute_filter: Types::AttributeFilter
454
+ SENSITIVE: []
455
+ end
456
+
457
+ class ResourceNotFoundException
458
+ attr_accessor message: ::String
459
+ attr_accessor resource_id: ::String
460
+ attr_accessor resource_type: ::String
461
+ SENSITIVE: []
462
+ end
463
+
464
+ class ServiceQuotaExceededException
465
+ attr_accessor message: ::String
466
+ attr_accessor resource_id: ::String
467
+ attr_accessor resource_type: ::String
468
+ attr_accessor service_code: ::String
469
+ attr_accessor quota_code: ::String
470
+ SENSITIVE: []
471
+ end
472
+
473
+ class StartQAppSessionInput
474
+ attr_accessor instance_id: ::String
475
+ attr_accessor app_id: ::String
476
+ attr_accessor app_version: ::Integer
477
+ attr_accessor initial_values: ::Array[Types::CardValue]
478
+ attr_accessor tags: ::Hash[::String, ::String]
479
+ SENSITIVE: []
480
+ end
481
+
482
+ class StartQAppSessionOutput
483
+ attr_accessor session_id: ::String
484
+ attr_accessor session_arn: ::String
485
+ SENSITIVE: []
486
+ end
487
+
488
+ class StopQAppSessionInput
489
+ attr_accessor instance_id: ::String
490
+ attr_accessor session_id: ::String
491
+ SENSITIVE: []
492
+ end
493
+
494
+ class TagResourceRequest
495
+ attr_accessor resource_arn: ::String
496
+ attr_accessor tags: ::Hash[::String, ::String]
497
+ SENSITIVE: []
498
+ end
499
+
500
+ class TagResourceResponse < Aws::EmptyStructure
501
+ end
502
+
503
+ class TextInputCard
504
+ attr_accessor id: ::String
505
+ attr_accessor title: ::String
506
+ attr_accessor dependencies: ::Array[::String]
507
+ attr_accessor type: ("text-input" | "q-query" | "file-upload" | "q-plugin")
508
+ attr_accessor placeholder: ::String
509
+ attr_accessor default_value: ::String
510
+ SENSITIVE: []
511
+ end
512
+
513
+ class TextInputCardInput
514
+ attr_accessor title: ::String
515
+ attr_accessor id: ::String
516
+ attr_accessor type: ("text-input" | "q-query" | "file-upload" | "q-plugin")
517
+ attr_accessor placeholder: ::String
518
+ attr_accessor default_value: ::String
519
+ SENSITIVE: []
520
+ end
521
+
522
+ class ThrottlingException
523
+ attr_accessor message: ::String
524
+ attr_accessor service_code: ::String
525
+ attr_accessor quota_code: ::String
526
+ attr_accessor retry_after_seconds: ::Integer
527
+ SENSITIVE: []
528
+ end
529
+
530
+ class UnauthorizedException
531
+ attr_accessor message: ::String
532
+ SENSITIVE: []
533
+ end
534
+
535
+ class UntagResourceRequest
536
+ attr_accessor resource_arn: ::String
537
+ attr_accessor tag_keys: ::Array[::String]
538
+ SENSITIVE: []
539
+ end
540
+
541
+ class UntagResourceResponse < Aws::EmptyStructure
542
+ end
543
+
544
+ class UpdateLibraryItemInput
545
+ attr_accessor instance_id: ::String
546
+ attr_accessor library_item_id: ::String
547
+ attr_accessor status: ("PUBLISHED" | "DISABLED")
548
+ attr_accessor categories: ::Array[::String]
549
+ SENSITIVE: []
550
+ end
551
+
552
+ class UpdateLibraryItemOutput
553
+ attr_accessor library_item_id: ::String
554
+ attr_accessor app_id: ::String
555
+ attr_accessor app_version: ::Integer
556
+ attr_accessor categories: ::Array[Types::Category]
557
+ attr_accessor status: ::String
558
+ attr_accessor created_at: ::Time
559
+ attr_accessor created_by: ::String
560
+ attr_accessor updated_at: ::Time
561
+ attr_accessor updated_by: ::String
562
+ attr_accessor rating_count: ::Integer
563
+ attr_accessor is_rated_by_user: bool
564
+ attr_accessor user_count: ::Integer
565
+ SENSITIVE: []
566
+ end
567
+
568
+ class UpdateQAppInput
569
+ attr_accessor instance_id: ::String
570
+ attr_accessor app_id: ::String
571
+ attr_accessor title: ::String
572
+ attr_accessor description: ::String
573
+ attr_accessor app_definition: Types::AppDefinitionInput
574
+ SENSITIVE: []
575
+ end
576
+
577
+ class UpdateQAppOutput
578
+ attr_accessor app_id: ::String
579
+ attr_accessor app_arn: ::String
580
+ attr_accessor title: ::String
581
+ attr_accessor description: ::String
582
+ attr_accessor initial_prompt: ::String
583
+ attr_accessor app_version: ::Integer
584
+ attr_accessor status: ("PUBLISHED" | "DRAFT" | "DELETED")
585
+ attr_accessor created_at: ::Time
586
+ attr_accessor created_by: ::String
587
+ attr_accessor updated_at: ::Time
588
+ attr_accessor updated_by: ::String
589
+ attr_accessor required_capabilities: ::Array[("FileUpload" | "CreatorMode" | "RetrievalMode" | "PluginMode")]
590
+ SENSITIVE: []
591
+ end
592
+
593
+ class UpdateQAppSessionInput
594
+ attr_accessor instance_id: ::String
595
+ attr_accessor session_id: ::String
596
+ attr_accessor values: ::Array[Types::CardValue]
597
+ SENSITIVE: []
598
+ end
599
+
600
+ class UpdateQAppSessionOutput
601
+ attr_accessor session_id: ::String
602
+ attr_accessor session_arn: ::String
603
+ SENSITIVE: []
604
+ end
605
+
606
+ class UserAppItem
607
+ attr_accessor app_id: ::String
608
+ attr_accessor app_arn: ::String
609
+ attr_accessor title: ::String
610
+ attr_accessor description: ::String
611
+ attr_accessor created_at: ::Time
612
+ attr_accessor can_edit: bool
613
+ attr_accessor status: ::String
614
+ SENSITIVE: []
615
+ end
616
+
617
+ class ValidationException
618
+ attr_accessor message: ::String
619
+ SENSITIVE: []
620
+ end
621
+ end
622
+ end
data/sig/waiters.rbs ADDED
@@ -0,0 +1,13 @@
1
+ # WARNING ABOUT GENERATED CODE
2
+ #
3
+ # This file is generated. See the contributing guide for more information:
4
+ # https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md
5
+ #
6
+ # WARNING ABOUT GENERATED CODE
7
+
8
+ module Aws
9
+ module QApps
10
+ module Waiters
11
+ end
12
+ end
13
+ end