aws-sdk-qapps 1.8.0 → 1.10.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
data/sig/types.rbs CHANGED
@@ -52,11 +52,37 @@ module Aws::QApps
52
52
  SENSITIVE: []
53
53
  end
54
54
 
55
+ class BatchCreateCategoryInput
56
+ attr_accessor instance_id: ::String
57
+ attr_accessor categories: ::Array[Types::BatchCreateCategoryInputCategory]
58
+ SENSITIVE: []
59
+ end
60
+
61
+ class BatchCreateCategoryInputCategory
62
+ attr_accessor id: ::String
63
+ attr_accessor title: ::String
64
+ attr_accessor color: ::String
65
+ SENSITIVE: []
66
+ end
67
+
68
+ class BatchDeleteCategoryInput
69
+ attr_accessor instance_id: ::String
70
+ attr_accessor categories: ::Array[::String]
71
+ SENSITIVE: []
72
+ end
73
+
74
+ class BatchUpdateCategoryInput
75
+ attr_accessor instance_id: ::String
76
+ attr_accessor categories: ::Array[Types::CategoryInput]
77
+ SENSITIVE: []
78
+ end
79
+
55
80
  class Card
56
81
  attr_accessor text_input: Types::TextInputCard
57
82
  attr_accessor q_query: Types::QQueryCard
58
83
  attr_accessor q_plugin: Types::QPluginCard
59
84
  attr_accessor file_upload: Types::FileUploadCard
85
+ attr_accessor form_input: Types::FormInputCard
60
86
  attr_accessor unknown: untyped
61
87
  SENSITIVE: []
62
88
 
@@ -68,6 +94,8 @@ module Aws::QApps
68
94
  end
69
95
  class FileUpload < Card
70
96
  end
97
+ class FormInput < Card
98
+ end
71
99
  class Unknown < Card
72
100
  end
73
101
  end
@@ -77,6 +105,7 @@ module Aws::QApps
77
105
  attr_accessor q_query: Types::QQueryCardInput
78
106
  attr_accessor q_plugin: Types::QPluginCardInput
79
107
  attr_accessor file_upload: Types::FileUploadCardInput
108
+ attr_accessor form_input: Types::FormInputCardInput
80
109
  attr_accessor unknown: untyped
81
110
  SENSITIVE: []
82
111
 
@@ -88,25 +117,38 @@ module Aws::QApps
88
117
  end
89
118
  class FileUpload < CardInput
90
119
  end
120
+ class FormInput < CardInput
121
+ end
91
122
  class Unknown < CardInput
92
123
  end
93
124
  end
94
125
 
95
126
  class CardStatus
96
- attr_accessor current_state: ("IN_PROGRESS" | "WAITING" | "COMPLETED")
127
+ attr_accessor current_state: ("IN_PROGRESS" | "WAITING" | "COMPLETED" | "ERROR")
97
128
  attr_accessor current_value: ::String
129
+ attr_accessor submissions: ::Array[Types::Submission]
98
130
  SENSITIVE: []
99
131
  end
100
132
 
101
133
  class CardValue
102
134
  attr_accessor card_id: ::String
103
135
  attr_accessor value: ::String
136
+ attr_accessor submission_mutation: Types::SubmissionMutation
104
137
  SENSITIVE: []
105
138
  end
106
139
 
107
140
  class Category
108
141
  attr_accessor id: ::String
109
142
  attr_accessor title: ::String
143
+ attr_accessor color: ::String
144
+ attr_accessor app_count: ::Integer
145
+ SENSITIVE: []
146
+ end
147
+
148
+ class CategoryInput
149
+ attr_accessor id: ::String
150
+ attr_accessor title: ::String
151
+ attr_accessor color: ::String
110
152
  SENSITIVE: []
111
153
  end
112
154
 
@@ -150,6 +192,25 @@ module Aws::QApps
150
192
  SENSITIVE: []
151
193
  end
152
194
 
195
+ class CreatePresignedUrlInput
196
+ attr_accessor instance_id: ::String
197
+ attr_accessor card_id: ::String
198
+ attr_accessor app_id: ::String
199
+ attr_accessor file_contents_sha_256: ::String
200
+ attr_accessor file_name: ::String
201
+ attr_accessor scope: ("APPLICATION" | "SESSION")
202
+ attr_accessor session_id: ::String
203
+ SENSITIVE: []
204
+ end
205
+
206
+ class CreatePresignedUrlOutput
207
+ attr_accessor file_id: ::String
208
+ attr_accessor presigned_url: ::String
209
+ attr_accessor presigned_url_fields: ::Hash[::String, ::String]
210
+ attr_accessor presigned_url_expiration: ::Time
211
+ SENSITIVE: []
212
+ end
213
+
153
214
  class CreateQAppInput
154
215
  attr_accessor instance_id: ::String
155
216
  attr_accessor title: ::String
@@ -187,6 +248,19 @@ module Aws::QApps
187
248
  SENSITIVE: []
188
249
  end
189
250
 
251
+ class DescribeQAppPermissionsInput
252
+ attr_accessor instance_id: ::String
253
+ attr_accessor app_id: ::String
254
+ SENSITIVE: []
255
+ end
256
+
257
+ class DescribeQAppPermissionsOutput
258
+ attr_accessor resource_arn: ::String
259
+ attr_accessor app_id: ::String
260
+ attr_accessor permissions: ::Array[Types::PermissionOutput]
261
+ SENSITIVE: []
262
+ end
263
+
190
264
  class DisassociateLibraryItemReviewInput
191
265
  attr_accessor instance_id: ::String
192
266
  attr_accessor library_item_id: ::String
@@ -225,11 +299,24 @@ module Aws::QApps
225
299
  end
226
300
  end
227
301
 
302
+ class ExportQAppSessionDataInput
303
+ attr_accessor instance_id: ::String
304
+ attr_accessor session_id: ::String
305
+ SENSITIVE: []
306
+ end
307
+
308
+ class ExportQAppSessionDataOutput
309
+ attr_accessor csv_file_link: ::String
310
+ attr_accessor expires_at: ::Time
311
+ attr_accessor session_arn: ::String
312
+ SENSITIVE: []
313
+ end
314
+
228
315
  class FileUploadCard
229
316
  attr_accessor id: ::String
230
317
  attr_accessor title: ::String
231
318
  attr_accessor dependencies: ::Array[::String]
232
- attr_accessor type: ("text-input" | "q-query" | "file-upload" | "q-plugin")
319
+ attr_accessor type: ("text-input" | "q-query" | "file-upload" | "q-plugin" | "form-input")
233
320
  attr_accessor filename: ::String
234
321
  attr_accessor file_id: ::String
235
322
  attr_accessor allow_override: bool
@@ -239,13 +326,37 @@ module Aws::QApps
239
326
  class FileUploadCardInput
240
327
  attr_accessor title: ::String
241
328
  attr_accessor id: ::String
242
- attr_accessor type: ("text-input" | "q-query" | "file-upload" | "q-plugin")
329
+ attr_accessor type: ("text-input" | "q-query" | "file-upload" | "q-plugin" | "form-input")
243
330
  attr_accessor filename: ::String
244
331
  attr_accessor file_id: ::String
245
332
  attr_accessor allow_override: bool
246
333
  SENSITIVE: []
247
334
  end
248
335
 
336
+ class FormInputCard
337
+ attr_accessor id: ::String
338
+ attr_accessor title: ::String
339
+ attr_accessor dependencies: ::Array[::String]
340
+ attr_accessor type: ("text-input" | "q-query" | "file-upload" | "q-plugin" | "form-input")
341
+ attr_accessor metadata: Types::FormInputCardMetadata
342
+ attr_accessor compute_mode: ("append" | "replace")
343
+ SENSITIVE: []
344
+ end
345
+
346
+ class FormInputCardInput
347
+ attr_accessor title: ::String
348
+ attr_accessor id: ::String
349
+ attr_accessor type: ("text-input" | "q-query" | "file-upload" | "q-plugin" | "form-input")
350
+ attr_accessor metadata: Types::FormInputCardMetadata
351
+ attr_accessor compute_mode: ("append" | "replace")
352
+ SENSITIVE: []
353
+ end
354
+
355
+ class FormInputCardMetadata
356
+ attr_accessor schema: untyped
357
+ SENSITIVE: []
358
+ end
359
+
249
360
  class GetLibraryItemInput
250
361
  attr_accessor instance_id: ::String
251
362
  attr_accessor library_item_id: ::String
@@ -273,6 +384,7 @@ module Aws::QApps
273
384
  class GetQAppInput
274
385
  attr_accessor instance_id: ::String
275
386
  attr_accessor app_id: ::String
387
+ attr_accessor app_version: ::Integer
276
388
  SENSITIVE: []
277
389
  end
278
390
 
@@ -299,11 +411,30 @@ module Aws::QApps
299
411
  SENSITIVE: []
300
412
  end
301
413
 
414
+ class GetQAppSessionMetadataInput
415
+ attr_accessor instance_id: ::String
416
+ attr_accessor session_id: ::String
417
+ SENSITIVE: []
418
+ end
419
+
420
+ class GetQAppSessionMetadataOutput
421
+ attr_accessor session_id: ::String
422
+ attr_accessor session_arn: ::String
423
+ attr_accessor session_name: ::String
424
+ attr_accessor sharing_configuration: Types::SessionSharingConfiguration
425
+ attr_accessor session_owner: bool
426
+ SENSITIVE: []
427
+ end
428
+
302
429
  class GetQAppSessionOutput
303
430
  attr_accessor session_id: ::String
304
431
  attr_accessor session_arn: ::String
305
- attr_accessor status: ("IN_PROGRESS" | "WAITING" | "COMPLETED")
432
+ attr_accessor session_name: ::String
433
+ attr_accessor app_version: ::Integer
434
+ attr_accessor latest_published_app_version: ::Integer
435
+ attr_accessor status: ("IN_PROGRESS" | "WAITING" | "COMPLETED" | "ERROR")
306
436
  attr_accessor card_status: ::Hash[::String, Types::CardStatus]
437
+ attr_accessor user_is_host: bool
307
438
  SENSITIVE: []
308
439
  end
309
440
 
@@ -346,6 +477,16 @@ module Aws::QApps
346
477
  SENSITIVE: []
347
478
  end
348
479
 
480
+ class ListCategoriesInput
481
+ attr_accessor instance_id: ::String
482
+ SENSITIVE: []
483
+ end
484
+
485
+ class ListCategoriesOutput
486
+ attr_accessor categories: ::Array[Types::Category]
487
+ SENSITIVE: []
488
+ end
489
+
349
490
  class ListLibraryItemsInput
350
491
  attr_accessor instance_id: ::String
351
492
  attr_accessor limit: ::Integer
@@ -360,6 +501,20 @@ module Aws::QApps
360
501
  SENSITIVE: []
361
502
  end
362
503
 
504
+ class ListQAppSessionDataInput
505
+ attr_accessor instance_id: ::String
506
+ attr_accessor session_id: ::String
507
+ SENSITIVE: []
508
+ end
509
+
510
+ class ListQAppSessionDataOutput
511
+ attr_accessor session_id: ::String
512
+ attr_accessor session_arn: ::String
513
+ attr_accessor session_data: ::Array[Types::QAppSessionData]
514
+ attr_accessor next_token: ::String
515
+ SENSITIVE: []
516
+ end
517
+
363
518
  class ListQAppsInput
364
519
  attr_accessor instance_id: ::String
365
520
  attr_accessor limit: ::Integer
@@ -383,6 +538,18 @@ module Aws::QApps
383
538
  SENSITIVE: []
384
539
  end
385
540
 
541
+ class PermissionInput
542
+ attr_accessor action: ("read" | "write")
543
+ attr_accessor principal: ::String
544
+ SENSITIVE: []
545
+ end
546
+
547
+ class PermissionOutput
548
+ attr_accessor action: ("read" | "write")
549
+ attr_accessor principal: Types::PrincipalOutput
550
+ SENSITIVE: []
551
+ end
552
+
386
553
  class PredictAppDefinition
387
554
  attr_accessor title: ::String
388
555
  attr_accessor description: ::String
@@ -416,11 +583,27 @@ module Aws::QApps
416
583
  SENSITIVE: []
417
584
  end
418
585
 
586
+ class PrincipalOutput
587
+ attr_accessor user_id: ::String
588
+ attr_accessor user_type: ("owner" | "user")
589
+ attr_accessor email: ::String
590
+ SENSITIVE: []
591
+ end
592
+
593
+ class QAppSessionData
594
+ attr_accessor card_id: ::String
595
+ attr_accessor value: untyped
596
+ attr_accessor user: Types::User
597
+ attr_accessor submission_id: ::String
598
+ attr_accessor timestamp: ::Time
599
+ SENSITIVE: []
600
+ end
601
+
419
602
  class QPluginCard
420
603
  attr_accessor id: ::String
421
604
  attr_accessor title: ::String
422
605
  attr_accessor dependencies: ::Array[::String]
423
- attr_accessor type: ("text-input" | "q-query" | "file-upload" | "q-plugin")
606
+ attr_accessor type: ("text-input" | "q-query" | "file-upload" | "q-plugin" | "form-input")
424
607
  attr_accessor prompt: ::String
425
608
  attr_accessor plugin_type: ("SERVICE_NOW" | "SALESFORCE" | "JIRA" | "ZENDESK" | "CUSTOM")
426
609
  attr_accessor plugin_id: ::String
@@ -430,7 +613,7 @@ module Aws::QApps
430
613
  class QPluginCardInput
431
614
  attr_accessor title: ::String
432
615
  attr_accessor id: ::String
433
- attr_accessor type: ("text-input" | "q-query" | "file-upload" | "q-plugin")
616
+ attr_accessor type: ("text-input" | "q-query" | "file-upload" | "q-plugin" | "form-input")
434
617
  attr_accessor prompt: ::String
435
618
  attr_accessor plugin_id: ::String
436
619
  SENSITIVE: []
@@ -440,17 +623,18 @@ module Aws::QApps
440
623
  attr_accessor id: ::String
441
624
  attr_accessor title: ::String
442
625
  attr_accessor dependencies: ::Array[::String]
443
- attr_accessor type: ("text-input" | "q-query" | "file-upload" | "q-plugin")
626
+ attr_accessor type: ("text-input" | "q-query" | "file-upload" | "q-plugin" | "form-input")
444
627
  attr_accessor prompt: ::String
445
628
  attr_accessor output_source: ("approved-sources" | "llm")
446
629
  attr_accessor attribute_filter: Types::AttributeFilter
630
+ attr_accessor memory_references: ::Array[::String]
447
631
  SENSITIVE: []
448
632
  end
449
633
 
450
634
  class QQueryCardInput
451
635
  attr_accessor title: ::String
452
636
  attr_accessor id: ::String
453
- attr_accessor type: ("text-input" | "q-query" | "file-upload" | "q-plugin")
637
+ attr_accessor type: ("text-input" | "q-query" | "file-upload" | "q-plugin" | "form-input")
454
638
  attr_accessor prompt: ::String
455
639
  attr_accessor output_source: ("approved-sources" | "llm")
456
640
  attr_accessor attribute_filter: Types::AttributeFilter
@@ -473,11 +657,19 @@ module Aws::QApps
473
657
  SENSITIVE: []
474
658
  end
475
659
 
660
+ class SessionSharingConfiguration
661
+ attr_accessor enabled: bool
662
+ attr_accessor accept_responses: bool
663
+ attr_accessor reveal_cards: bool
664
+ SENSITIVE: []
665
+ end
666
+
476
667
  class StartQAppSessionInput
477
668
  attr_accessor instance_id: ::String
478
669
  attr_accessor app_id: ::String
479
670
  attr_accessor app_version: ::Integer
480
671
  attr_accessor initial_values: ::Array[Types::CardValue]
672
+ attr_accessor session_id: ::String
481
673
  attr_accessor tags: ::Hash[::String, ::String]
482
674
  SENSITIVE: []
483
675
  end
@@ -494,6 +686,19 @@ module Aws::QApps
494
686
  SENSITIVE: []
495
687
  end
496
688
 
689
+ class Submission
690
+ attr_accessor value: untyped
691
+ attr_accessor submission_id: ::String
692
+ attr_accessor timestamp: ::Time
693
+ SENSITIVE: []
694
+ end
695
+
696
+ class SubmissionMutation
697
+ attr_accessor submission_id: ::String
698
+ attr_accessor mutation_type: ("edit" | "delete" | "add")
699
+ SENSITIVE: []
700
+ end
701
+
497
702
  class TagResourceRequest
498
703
  attr_accessor resource_arn: ::String
499
704
  attr_accessor tags: ::Hash[::String, ::String]
@@ -507,7 +712,7 @@ module Aws::QApps
507
712
  attr_accessor id: ::String
508
713
  attr_accessor title: ::String
509
714
  attr_accessor dependencies: ::Array[::String]
510
- attr_accessor type: ("text-input" | "q-query" | "file-upload" | "q-plugin")
715
+ attr_accessor type: ("text-input" | "q-query" | "file-upload" | "q-plugin" | "form-input")
511
716
  attr_accessor placeholder: ::String
512
717
  attr_accessor default_value: ::String
513
718
  SENSITIVE: []
@@ -516,7 +721,7 @@ module Aws::QApps
516
721
  class TextInputCardInput
517
722
  attr_accessor title: ::String
518
723
  attr_accessor id: ::String
519
- attr_accessor type: ("text-input" | "q-query" | "file-upload" | "q-plugin")
724
+ attr_accessor type: ("text-input" | "q-query" | "file-upload" | "q-plugin" | "form-input")
520
725
  attr_accessor placeholder: ::String
521
726
  attr_accessor default_value: ::String
522
727
  SENSITIVE: []
@@ -601,6 +806,21 @@ module Aws::QApps
601
806
  SENSITIVE: []
602
807
  end
603
808
 
809
+ class UpdateQAppPermissionsInput
810
+ attr_accessor instance_id: ::String
811
+ attr_accessor app_id: ::String
812
+ attr_accessor grant_permissions: ::Array[Types::PermissionInput]
813
+ attr_accessor revoke_permissions: ::Array[Types::PermissionInput]
814
+ SENSITIVE: []
815
+ end
816
+
817
+ class UpdateQAppPermissionsOutput
818
+ attr_accessor resource_arn: ::String
819
+ attr_accessor app_id: ::String
820
+ attr_accessor permissions: ::Array[Types::PermissionOutput]
821
+ SENSITIVE: []
822
+ end
823
+
604
824
  class UpdateQAppSessionInput
605
825
  attr_accessor instance_id: ::String
606
826
  attr_accessor session_id: ::String
@@ -608,12 +828,33 @@ module Aws::QApps
608
828
  SENSITIVE: []
609
829
  end
610
830
 
831
+ class UpdateQAppSessionMetadataInput
832
+ attr_accessor instance_id: ::String
833
+ attr_accessor session_id: ::String
834
+ attr_accessor session_name: ::String
835
+ attr_accessor sharing_configuration: Types::SessionSharingConfiguration
836
+ SENSITIVE: []
837
+ end
838
+
839
+ class UpdateQAppSessionMetadataOutput
840
+ attr_accessor session_id: ::String
841
+ attr_accessor session_arn: ::String
842
+ attr_accessor session_name: ::String
843
+ attr_accessor sharing_configuration: Types::SessionSharingConfiguration
844
+ SENSITIVE: []
845
+ end
846
+
611
847
  class UpdateQAppSessionOutput
612
848
  attr_accessor session_id: ::String
613
849
  attr_accessor session_arn: ::String
614
850
  SENSITIVE: []
615
851
  end
616
852
 
853
+ class User
854
+ attr_accessor user_id: ::String
855
+ SENSITIVE: []
856
+ end
857
+
617
858
  class UserAppItem
618
859
  attr_accessor app_id: ::String
619
860
  attr_accessor app_arn: ::String
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: aws-sdk-qapps
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.8.0
4
+ version: 1.10.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Amazon Web Services
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2024-10-18 00:00:00.000000000 Z
11
+ date: 2024-11-26 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: aws-sdk-core