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/lib/aws-sdk-qapps.rb CHANGED
@@ -55,7 +55,7 @@ module Aws::QApps
55
55
  autoload :EndpointProvider, 'aws-sdk-qapps/endpoint_provider'
56
56
  autoload :Endpoints, 'aws-sdk-qapps/endpoints'
57
57
 
58
- GEM_VERSION = '1.9.0'
58
+ GEM_VERSION = '1.10.0'
59
59
 
60
60
  end
61
61
 
data/sig/client.rbs CHANGED
@@ -142,6 +142,25 @@ module Aws
142
142
  ) -> _CreateLibraryItemResponseSuccess
143
143
  | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _CreateLibraryItemResponseSuccess
144
144
 
145
+ interface _CreatePresignedUrlResponseSuccess
146
+ include ::Seahorse::Client::_ResponseSuccess[Types::CreatePresignedUrlOutput]
147
+ def file_id: () -> ::String
148
+ def presigned_url: () -> ::String
149
+ def presigned_url_fields: () -> ::Hash[::String, ::String]
150
+ def presigned_url_expiration: () -> ::Time
151
+ end
152
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/QApps/Client.html#create_presigned_url-instance_method
153
+ def create_presigned_url: (
154
+ instance_id: ::String,
155
+ card_id: ::String,
156
+ app_id: ::String,
157
+ file_contents_sha_256: ::String,
158
+ file_name: ::String,
159
+ scope: ("APPLICATION" | "SESSION"),
160
+ ?session_id: ::String
161
+ ) -> _CreatePresignedUrlResponseSuccess
162
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _CreatePresignedUrlResponseSuccess
163
+
145
164
  interface _CreateQAppResponseSuccess
146
165
  include ::Seahorse::Client::_ResponseSuccess[Types::CreateQAppOutput]
147
166
  def app_id: () -> ::String
@@ -168,14 +187,14 @@ module Aws
168
187
  text_input: {
169
188
  title: ::String,
170
189
  id: ::String,
171
- type: ("text-input" | "q-query" | "file-upload" | "q-plugin"),
190
+ type: ("text-input" | "q-query" | "file-upload" | "q-plugin" | "form-input"),
172
191
  placeholder: ::String?,
173
192
  default_value: ::String?
174
193
  }?,
175
194
  q_query: {
176
195
  title: ::String,
177
196
  id: ::String,
178
- type: ("text-input" | "q-query" | "file-upload" | "q-plugin"),
197
+ type: ("text-input" | "q-query" | "file-upload" | "q-plugin" | "form-input"),
179
198
  prompt: ::String,
180
199
  output_source: ("approved-sources" | "llm")?,
181
200
  attribute_filter: {
@@ -254,17 +273,27 @@ module Aws
254
273
  q_plugin: {
255
274
  title: ::String,
256
275
  id: ::String,
257
- type: ("text-input" | "q-query" | "file-upload" | "q-plugin"),
276
+ type: ("text-input" | "q-query" | "file-upload" | "q-plugin" | "form-input"),
258
277
  prompt: ::String,
259
278
  plugin_id: ::String
260
279
  }?,
261
280
  file_upload: {
262
281
  title: ::String,
263
282
  id: ::String,
264
- type: ("text-input" | "q-query" | "file-upload" | "q-plugin"),
283
+ type: ("text-input" | "q-query" | "file-upload" | "q-plugin" | "form-input"),
265
284
  filename: ::String?,
266
285
  file_id: ::String?,
267
286
  allow_override: bool?
287
+ }?,
288
+ form_input: {
289
+ title: ::String,
290
+ id: ::String,
291
+ type: ("text-input" | "q-query" | "file-upload" | "q-plugin" | "form-input"),
292
+ metadata: {
293
+ schema: {
294
+ }
295
+ },
296
+ compute_mode: ("append" | "replace")?
268
297
  }?
269
298
  },
270
299
  ],
@@ -288,6 +317,19 @@ module Aws
288
317
  ) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
289
318
  | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
290
319
 
320
+ interface _DescribeQAppPermissionsResponseSuccess
321
+ include ::Seahorse::Client::_ResponseSuccess[Types::DescribeQAppPermissionsOutput]
322
+ def resource_arn: () -> ::String
323
+ def app_id: () -> ::String
324
+ def permissions: () -> ::Array[Types::PermissionOutput]
325
+ end
326
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/QApps/Client.html#describe_q_app_permissions-instance_method
327
+ def describe_q_app_permissions: (
328
+ instance_id: ::String,
329
+ app_id: ::String
330
+ ) -> _DescribeQAppPermissionsResponseSuccess
331
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DescribeQAppPermissionsResponseSuccess
332
+
291
333
  # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/QApps/Client.html#disassociate_library_item_review-instance_method
292
334
  def disassociate_library_item_review: (
293
335
  instance_id: ::String,
@@ -302,6 +344,19 @@ module Aws
302
344
  ) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
303
345
  | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
304
346
 
347
+ interface _ExportQAppSessionDataResponseSuccess
348
+ include ::Seahorse::Client::_ResponseSuccess[Types::ExportQAppSessionDataOutput]
349
+ def csv_file_link: () -> ::String
350
+ def expires_at: () -> ::Time
351
+ def session_arn: () -> ::String
352
+ end
353
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/QApps/Client.html#export_q_app_session_data-instance_method
354
+ def export_q_app_session_data: (
355
+ instance_id: ::String,
356
+ session_id: ::String
357
+ ) -> _ExportQAppSessionDataResponseSuccess
358
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ExportQAppSessionDataResponseSuccess
359
+
305
360
  interface _GetLibraryItemResponseSuccess
306
361
  include ::Seahorse::Client::_ResponseSuccess[Types::GetLibraryItemOutput]
307
362
  def library_item_id: () -> ::String
@@ -345,7 +400,8 @@ module Aws
345
400
  # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/QApps/Client.html#get_q_app-instance_method
346
401
  def get_q_app: (
347
402
  instance_id: ::String,
348
- app_id: ::String
403
+ app_id: ::String,
404
+ ?app_version: ::Integer
349
405
  ) -> _GetQAppResponseSuccess
350
406
  | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetQAppResponseSuccess
351
407
 
@@ -353,8 +409,12 @@ module Aws
353
409
  include ::Seahorse::Client::_ResponseSuccess[Types::GetQAppSessionOutput]
354
410
  def session_id: () -> ::String
355
411
  def session_arn: () -> ::String
356
- def status: () -> ("IN_PROGRESS" | "WAITING" | "COMPLETED")
412
+ def session_name: () -> ::String
413
+ def app_version: () -> ::Integer
414
+ def latest_published_app_version: () -> ::Integer
415
+ def status: () -> ("IN_PROGRESS" | "WAITING" | "COMPLETED" | "ERROR")
357
416
  def card_status: () -> ::Hash[::String, Types::CardStatus]
417
+ def user_is_host: () -> bool
358
418
  end
359
419
  # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/QApps/Client.html#get_q_app_session-instance_method
360
420
  def get_q_app_session: (
@@ -363,6 +423,21 @@ module Aws
363
423
  ) -> _GetQAppSessionResponseSuccess
364
424
  | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetQAppSessionResponseSuccess
365
425
 
426
+ interface _GetQAppSessionMetadataResponseSuccess
427
+ include ::Seahorse::Client::_ResponseSuccess[Types::GetQAppSessionMetadataOutput]
428
+ def session_id: () -> ::String
429
+ def session_arn: () -> ::String
430
+ def session_name: () -> ::String
431
+ def sharing_configuration: () -> Types::SessionSharingConfiguration
432
+ def session_owner: () -> bool
433
+ end
434
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/QApps/Client.html#get_q_app_session_metadata-instance_method
435
+ def get_q_app_session_metadata: (
436
+ instance_id: ::String,
437
+ session_id: ::String
438
+ ) -> _GetQAppSessionMetadataResponseSuccess
439
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetQAppSessionMetadataResponseSuccess
440
+
366
441
  interface _ImportDocumentResponseSuccess
367
442
  include ::Seahorse::Client::_ResponseSuccess[Types::ImportDocumentOutput]
368
443
  def file_id: () -> ::String
@@ -403,6 +478,20 @@ module Aws
403
478
  ) -> _ListLibraryItemsResponseSuccess
404
479
  | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListLibraryItemsResponseSuccess
405
480
 
481
+ interface _ListQAppSessionDataResponseSuccess
482
+ include ::Seahorse::Client::_ResponseSuccess[Types::ListQAppSessionDataOutput]
483
+ def session_id: () -> ::String
484
+ def session_arn: () -> ::String
485
+ def session_data: () -> ::Array[Types::QAppSessionData]
486
+ def next_token: () -> ::String
487
+ end
488
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/QApps/Client.html#list_q_app_session_data-instance_method
489
+ def list_q_app_session_data: (
490
+ instance_id: ::String,
491
+ session_id: ::String
492
+ ) -> _ListQAppSessionDataResponseSuccess
493
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListQAppSessionDataResponseSuccess
494
+
406
495
  interface _ListQAppsResponseSuccess
407
496
  include ::Seahorse::Client::_ResponseSuccess[Types::ListQAppsOutput]
408
497
  def apps: () -> ::Array[Types::UserAppItem]
@@ -459,9 +548,14 @@ module Aws
459
548
  ?initial_values: Array[
460
549
  {
461
550
  card_id: ::String,
462
- value: ::String
551
+ value: ::String,
552
+ submission_mutation: {
553
+ submission_id: ::String,
554
+ mutation_type: ("edit" | "delete" | "add")
555
+ }?
463
556
  },
464
557
  ],
558
+ ?session_id: ::String,
465
559
  ?tags: Hash[::String, ::String]
466
560
  ) -> _StartQAppSessionResponseSuccess
467
561
  | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _StartQAppSessionResponseSuccess
@@ -553,14 +647,14 @@ module Aws
553
647
  text_input: {
554
648
  title: ::String,
555
649
  id: ::String,
556
- type: ("text-input" | "q-query" | "file-upload" | "q-plugin"),
650
+ type: ("text-input" | "q-query" | "file-upload" | "q-plugin" | "form-input"),
557
651
  placeholder: ::String?,
558
652
  default_value: ::String?
559
653
  }?,
560
654
  q_query: {
561
655
  title: ::String,
562
656
  id: ::String,
563
- type: ("text-input" | "q-query" | "file-upload" | "q-plugin"),
657
+ type: ("text-input" | "q-query" | "file-upload" | "q-plugin" | "form-input"),
564
658
  prompt: ::String,
565
659
  output_source: ("approved-sources" | "llm")?,
566
660
  attribute_filter: {
@@ -639,17 +733,27 @@ module Aws
639
733
  q_plugin: {
640
734
  title: ::String,
641
735
  id: ::String,
642
- type: ("text-input" | "q-query" | "file-upload" | "q-plugin"),
736
+ type: ("text-input" | "q-query" | "file-upload" | "q-plugin" | "form-input"),
643
737
  prompt: ::String,
644
738
  plugin_id: ::String
645
739
  }?,
646
740
  file_upload: {
647
741
  title: ::String,
648
742
  id: ::String,
649
- type: ("text-input" | "q-query" | "file-upload" | "q-plugin"),
743
+ type: ("text-input" | "q-query" | "file-upload" | "q-plugin" | "form-input"),
650
744
  filename: ::String?,
651
745
  file_id: ::String?,
652
746
  allow_override: bool?
747
+ }?,
748
+ form_input: {
749
+ title: ::String,
750
+ id: ::String,
751
+ type: ("text-input" | "q-query" | "file-upload" | "q-plugin" | "form-input"),
752
+ metadata: {
753
+ schema: {
754
+ }
755
+ },
756
+ compute_mode: ("append" | "replace")?
653
757
  }?
654
758
  },
655
759
  ],
@@ -658,6 +762,31 @@ module Aws
658
762
  ) -> _UpdateQAppResponseSuccess
659
763
  | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _UpdateQAppResponseSuccess
660
764
 
765
+ interface _UpdateQAppPermissionsResponseSuccess
766
+ include ::Seahorse::Client::_ResponseSuccess[Types::UpdateQAppPermissionsOutput]
767
+ def resource_arn: () -> ::String
768
+ def app_id: () -> ::String
769
+ def permissions: () -> ::Array[Types::PermissionOutput]
770
+ end
771
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/QApps/Client.html#update_q_app_permissions-instance_method
772
+ def update_q_app_permissions: (
773
+ instance_id: ::String,
774
+ app_id: ::String,
775
+ ?grant_permissions: Array[
776
+ {
777
+ action: ("read" | "write"),
778
+ principal: ::String
779
+ },
780
+ ],
781
+ ?revoke_permissions: Array[
782
+ {
783
+ action: ("read" | "write"),
784
+ principal: ::String
785
+ },
786
+ ]
787
+ ) -> _UpdateQAppPermissionsResponseSuccess
788
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _UpdateQAppPermissionsResponseSuccess
789
+
661
790
  interface _UpdateQAppSessionResponseSuccess
662
791
  include ::Seahorse::Client::_ResponseSuccess[Types::UpdateQAppSessionOutput]
663
792
  def session_id: () -> ::String
@@ -670,11 +799,35 @@ module Aws
670
799
  ?values: Array[
671
800
  {
672
801
  card_id: ::String,
673
- value: ::String
802
+ value: ::String,
803
+ submission_mutation: {
804
+ submission_id: ::String,
805
+ mutation_type: ("edit" | "delete" | "add")
806
+ }?
674
807
  },
675
808
  ]
676
809
  ) -> _UpdateQAppSessionResponseSuccess
677
810
  | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _UpdateQAppSessionResponseSuccess
811
+
812
+ interface _UpdateQAppSessionMetadataResponseSuccess
813
+ include ::Seahorse::Client::_ResponseSuccess[Types::UpdateQAppSessionMetadataOutput]
814
+ def session_id: () -> ::String
815
+ def session_arn: () -> ::String
816
+ def session_name: () -> ::String
817
+ def sharing_configuration: () -> Types::SessionSharingConfiguration
818
+ end
819
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/QApps/Client.html#update_q_app_session_metadata-instance_method
820
+ def update_q_app_session_metadata: (
821
+ instance_id: ::String,
822
+ session_id: ::String,
823
+ ?session_name: ::String,
824
+ sharing_configuration: {
825
+ enabled: bool,
826
+ accept_responses: bool?,
827
+ reveal_cards: bool?
828
+ }
829
+ ) -> _UpdateQAppSessionMetadataResponseSuccess
830
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _UpdateQAppSessionMetadataResponseSuccess
678
831
  end
679
832
  end
680
833
  end