aws-sdk-qapps 1.9.0 → 1.10.0

Sign up to get free protection for your applications and to get access to all the features.
data/sig/types.rbs CHANGED
@@ -82,6 +82,7 @@ module Aws::QApps
82
82
  attr_accessor q_query: Types::QQueryCard
83
83
  attr_accessor q_plugin: Types::QPluginCard
84
84
  attr_accessor file_upload: Types::FileUploadCard
85
+ attr_accessor form_input: Types::FormInputCard
85
86
  attr_accessor unknown: untyped
86
87
  SENSITIVE: []
87
88
 
@@ -93,6 +94,8 @@ module Aws::QApps
93
94
  end
94
95
  class FileUpload < Card
95
96
  end
97
+ class FormInput < Card
98
+ end
96
99
  class Unknown < Card
97
100
  end
98
101
  end
@@ -102,6 +105,7 @@ module Aws::QApps
102
105
  attr_accessor q_query: Types::QQueryCardInput
103
106
  attr_accessor q_plugin: Types::QPluginCardInput
104
107
  attr_accessor file_upload: Types::FileUploadCardInput
108
+ attr_accessor form_input: Types::FormInputCardInput
105
109
  attr_accessor unknown: untyped
106
110
  SENSITIVE: []
107
111
 
@@ -113,19 +117,23 @@ module Aws::QApps
113
117
  end
114
118
  class FileUpload < CardInput
115
119
  end
120
+ class FormInput < CardInput
121
+ end
116
122
  class Unknown < CardInput
117
123
  end
118
124
  end
119
125
 
120
126
  class CardStatus
121
- attr_accessor current_state: ("IN_PROGRESS" | "WAITING" | "COMPLETED")
127
+ attr_accessor current_state: ("IN_PROGRESS" | "WAITING" | "COMPLETED" | "ERROR")
122
128
  attr_accessor current_value: ::String
129
+ attr_accessor submissions: ::Array[Types::Submission]
123
130
  SENSITIVE: []
124
131
  end
125
132
 
126
133
  class CardValue
127
134
  attr_accessor card_id: ::String
128
135
  attr_accessor value: ::String
136
+ attr_accessor submission_mutation: Types::SubmissionMutation
129
137
  SENSITIVE: []
130
138
  end
131
139
 
@@ -184,6 +192,25 @@ module Aws::QApps
184
192
  SENSITIVE: []
185
193
  end
186
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
+
187
214
  class CreateQAppInput
188
215
  attr_accessor instance_id: ::String
189
216
  attr_accessor title: ::String
@@ -221,6 +248,19 @@ module Aws::QApps
221
248
  SENSITIVE: []
222
249
  end
223
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
+
224
264
  class DisassociateLibraryItemReviewInput
225
265
  attr_accessor instance_id: ::String
226
266
  attr_accessor library_item_id: ::String
@@ -259,11 +299,24 @@ module Aws::QApps
259
299
  end
260
300
  end
261
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
+
262
315
  class FileUploadCard
263
316
  attr_accessor id: ::String
264
317
  attr_accessor title: ::String
265
318
  attr_accessor dependencies: ::Array[::String]
266
- 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")
267
320
  attr_accessor filename: ::String
268
321
  attr_accessor file_id: ::String
269
322
  attr_accessor allow_override: bool
@@ -273,13 +326,37 @@ module Aws::QApps
273
326
  class FileUploadCardInput
274
327
  attr_accessor title: ::String
275
328
  attr_accessor id: ::String
276
- 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")
277
330
  attr_accessor filename: ::String
278
331
  attr_accessor file_id: ::String
279
332
  attr_accessor allow_override: bool
280
333
  SENSITIVE: []
281
334
  end
282
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
+
283
360
  class GetLibraryItemInput
284
361
  attr_accessor instance_id: ::String
285
362
  attr_accessor library_item_id: ::String
@@ -307,6 +384,7 @@ module Aws::QApps
307
384
  class GetQAppInput
308
385
  attr_accessor instance_id: ::String
309
386
  attr_accessor app_id: ::String
387
+ attr_accessor app_version: ::Integer
310
388
  SENSITIVE: []
311
389
  end
312
390
 
@@ -333,11 +411,30 @@ module Aws::QApps
333
411
  SENSITIVE: []
334
412
  end
335
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
+
336
429
  class GetQAppSessionOutput
337
430
  attr_accessor session_id: ::String
338
431
  attr_accessor session_arn: ::String
339
- 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")
340
436
  attr_accessor card_status: ::Hash[::String, Types::CardStatus]
437
+ attr_accessor user_is_host: bool
341
438
  SENSITIVE: []
342
439
  end
343
440
 
@@ -404,6 +501,20 @@ module Aws::QApps
404
501
  SENSITIVE: []
405
502
  end
406
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
+
407
518
  class ListQAppsInput
408
519
  attr_accessor instance_id: ::String
409
520
  attr_accessor limit: ::Integer
@@ -427,6 +538,18 @@ module Aws::QApps
427
538
  SENSITIVE: []
428
539
  end
429
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
+
430
553
  class PredictAppDefinition
431
554
  attr_accessor title: ::String
432
555
  attr_accessor description: ::String
@@ -460,11 +583,27 @@ module Aws::QApps
460
583
  SENSITIVE: []
461
584
  end
462
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
+
463
602
  class QPluginCard
464
603
  attr_accessor id: ::String
465
604
  attr_accessor title: ::String
466
605
  attr_accessor dependencies: ::Array[::String]
467
- 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")
468
607
  attr_accessor prompt: ::String
469
608
  attr_accessor plugin_type: ("SERVICE_NOW" | "SALESFORCE" | "JIRA" | "ZENDESK" | "CUSTOM")
470
609
  attr_accessor plugin_id: ::String
@@ -474,7 +613,7 @@ module Aws::QApps
474
613
  class QPluginCardInput
475
614
  attr_accessor title: ::String
476
615
  attr_accessor id: ::String
477
- 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")
478
617
  attr_accessor prompt: ::String
479
618
  attr_accessor plugin_id: ::String
480
619
  SENSITIVE: []
@@ -484,17 +623,18 @@ module Aws::QApps
484
623
  attr_accessor id: ::String
485
624
  attr_accessor title: ::String
486
625
  attr_accessor dependencies: ::Array[::String]
487
- 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")
488
627
  attr_accessor prompt: ::String
489
628
  attr_accessor output_source: ("approved-sources" | "llm")
490
629
  attr_accessor attribute_filter: Types::AttributeFilter
630
+ attr_accessor memory_references: ::Array[::String]
491
631
  SENSITIVE: []
492
632
  end
493
633
 
494
634
  class QQueryCardInput
495
635
  attr_accessor title: ::String
496
636
  attr_accessor id: ::String
497
- 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")
498
638
  attr_accessor prompt: ::String
499
639
  attr_accessor output_source: ("approved-sources" | "llm")
500
640
  attr_accessor attribute_filter: Types::AttributeFilter
@@ -517,11 +657,19 @@ module Aws::QApps
517
657
  SENSITIVE: []
518
658
  end
519
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
+
520
667
  class StartQAppSessionInput
521
668
  attr_accessor instance_id: ::String
522
669
  attr_accessor app_id: ::String
523
670
  attr_accessor app_version: ::Integer
524
671
  attr_accessor initial_values: ::Array[Types::CardValue]
672
+ attr_accessor session_id: ::String
525
673
  attr_accessor tags: ::Hash[::String, ::String]
526
674
  SENSITIVE: []
527
675
  end
@@ -538,6 +686,19 @@ module Aws::QApps
538
686
  SENSITIVE: []
539
687
  end
540
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
+
541
702
  class TagResourceRequest
542
703
  attr_accessor resource_arn: ::String
543
704
  attr_accessor tags: ::Hash[::String, ::String]
@@ -551,7 +712,7 @@ module Aws::QApps
551
712
  attr_accessor id: ::String
552
713
  attr_accessor title: ::String
553
714
  attr_accessor dependencies: ::Array[::String]
554
- 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")
555
716
  attr_accessor placeholder: ::String
556
717
  attr_accessor default_value: ::String
557
718
  SENSITIVE: []
@@ -560,7 +721,7 @@ module Aws::QApps
560
721
  class TextInputCardInput
561
722
  attr_accessor title: ::String
562
723
  attr_accessor id: ::String
563
- 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")
564
725
  attr_accessor placeholder: ::String
565
726
  attr_accessor default_value: ::String
566
727
  SENSITIVE: []
@@ -645,6 +806,21 @@ module Aws::QApps
645
806
  SENSITIVE: []
646
807
  end
647
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
+
648
824
  class UpdateQAppSessionInput
649
825
  attr_accessor instance_id: ::String
650
826
  attr_accessor session_id: ::String
@@ -652,12 +828,33 @@ module Aws::QApps
652
828
  SENSITIVE: []
653
829
  end
654
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
+
655
847
  class UpdateQAppSessionOutput
656
848
  attr_accessor session_id: ::String
657
849
  attr_accessor session_arn: ::String
658
850
  SENSITIVE: []
659
851
  end
660
852
 
853
+ class User
854
+ attr_accessor user_id: ::String
855
+ SENSITIVE: []
856
+ end
857
+
661
858
  class UserAppItem
662
859
  attr_accessor app_id: ::String
663
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.9.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-11-06 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