aws-sdk-qapps 1.8.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.8.0'
58
+ GEM_VERSION = '1.10.0'
59
59
 
60
60
  end
61
61
 
data/sig/client.rbs CHANGED
@@ -89,6 +89,39 @@ module Aws
89
89
  ) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
90
90
  | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
91
91
 
92
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/QApps/Client.html#batch_create_category-instance_method
93
+ def batch_create_category: (
94
+ instance_id: ::String,
95
+ categories: Array[
96
+ {
97
+ id: ::String?,
98
+ title: ::String,
99
+ color: ::String?
100
+ },
101
+ ]
102
+ ) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
103
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
104
+
105
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/QApps/Client.html#batch_delete_category-instance_method
106
+ def batch_delete_category: (
107
+ instance_id: ::String,
108
+ categories: Array[::String]
109
+ ) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
110
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
111
+
112
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/QApps/Client.html#batch_update_category-instance_method
113
+ def batch_update_category: (
114
+ instance_id: ::String,
115
+ categories: Array[
116
+ {
117
+ id: ::String,
118
+ title: ::String,
119
+ color: ::String?
120
+ },
121
+ ]
122
+ ) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
123
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
124
+
92
125
  interface _CreateLibraryItemResponseSuccess
93
126
  include ::Seahorse::Client::_ResponseSuccess[Types::CreateLibraryItemOutput]
94
127
  def library_item_id: () -> ::String
@@ -109,6 +142,25 @@ module Aws
109
142
  ) -> _CreateLibraryItemResponseSuccess
110
143
  | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _CreateLibraryItemResponseSuccess
111
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
+
112
164
  interface _CreateQAppResponseSuccess
113
165
  include ::Seahorse::Client::_ResponseSuccess[Types::CreateQAppOutput]
114
166
  def app_id: () -> ::String
@@ -135,14 +187,14 @@ module Aws
135
187
  text_input: {
136
188
  title: ::String,
137
189
  id: ::String,
138
- type: ("text-input" | "q-query" | "file-upload" | "q-plugin"),
190
+ type: ("text-input" | "q-query" | "file-upload" | "q-plugin" | "form-input"),
139
191
  placeholder: ::String?,
140
192
  default_value: ::String?
141
193
  }?,
142
194
  q_query: {
143
195
  title: ::String,
144
196
  id: ::String,
145
- type: ("text-input" | "q-query" | "file-upload" | "q-plugin"),
197
+ type: ("text-input" | "q-query" | "file-upload" | "q-plugin" | "form-input"),
146
198
  prompt: ::String,
147
199
  output_source: ("approved-sources" | "llm")?,
148
200
  attribute_filter: {
@@ -221,17 +273,27 @@ module Aws
221
273
  q_plugin: {
222
274
  title: ::String,
223
275
  id: ::String,
224
- type: ("text-input" | "q-query" | "file-upload" | "q-plugin"),
276
+ type: ("text-input" | "q-query" | "file-upload" | "q-plugin" | "form-input"),
225
277
  prompt: ::String,
226
278
  plugin_id: ::String
227
279
  }?,
228
280
  file_upload: {
229
281
  title: ::String,
230
282
  id: ::String,
231
- type: ("text-input" | "q-query" | "file-upload" | "q-plugin"),
283
+ type: ("text-input" | "q-query" | "file-upload" | "q-plugin" | "form-input"),
232
284
  filename: ::String?,
233
285
  file_id: ::String?,
234
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")?
235
297
  }?
236
298
  },
237
299
  ],
@@ -255,6 +317,19 @@ module Aws
255
317
  ) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
256
318
  | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
257
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
+
258
333
  # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/QApps/Client.html#disassociate_library_item_review-instance_method
259
334
  def disassociate_library_item_review: (
260
335
  instance_id: ::String,
@@ -269,6 +344,19 @@ module Aws
269
344
  ) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
270
345
  | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
271
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
+
272
360
  interface _GetLibraryItemResponseSuccess
273
361
  include ::Seahorse::Client::_ResponseSuccess[Types::GetLibraryItemOutput]
274
362
  def library_item_id: () -> ::String
@@ -312,7 +400,8 @@ module Aws
312
400
  # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/QApps/Client.html#get_q_app-instance_method
313
401
  def get_q_app: (
314
402
  instance_id: ::String,
315
- app_id: ::String
403
+ app_id: ::String,
404
+ ?app_version: ::Integer
316
405
  ) -> _GetQAppResponseSuccess
317
406
  | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetQAppResponseSuccess
318
407
 
@@ -320,8 +409,12 @@ module Aws
320
409
  include ::Seahorse::Client::_ResponseSuccess[Types::GetQAppSessionOutput]
321
410
  def session_id: () -> ::String
322
411
  def session_arn: () -> ::String
323
- 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")
324
416
  def card_status: () -> ::Hash[::String, Types::CardStatus]
417
+ def user_is_host: () -> bool
325
418
  end
326
419
  # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/QApps/Client.html#get_q_app_session-instance_method
327
420
  def get_q_app_session: (
@@ -330,6 +423,21 @@ module Aws
330
423
  ) -> _GetQAppSessionResponseSuccess
331
424
  | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetQAppSessionResponseSuccess
332
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
+
333
441
  interface _ImportDocumentResponseSuccess
334
442
  include ::Seahorse::Client::_ResponseSuccess[Types::ImportDocumentOutput]
335
443
  def file_id: () -> ::String
@@ -346,6 +454,16 @@ module Aws
346
454
  ) -> _ImportDocumentResponseSuccess
347
455
  | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ImportDocumentResponseSuccess
348
456
 
457
+ interface _ListCategoriesResponseSuccess
458
+ include ::Seahorse::Client::_ResponseSuccess[Types::ListCategoriesOutput]
459
+ def categories: () -> ::Array[Types::Category]
460
+ end
461
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/QApps/Client.html#list_categories-instance_method
462
+ def list_categories: (
463
+ instance_id: ::String
464
+ ) -> _ListCategoriesResponseSuccess
465
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListCategoriesResponseSuccess
466
+
349
467
  interface _ListLibraryItemsResponseSuccess
350
468
  include ::Seahorse::Client::_ResponseSuccess[Types::ListLibraryItemsOutput]
351
469
  def library_items: () -> ::Array[Types::LibraryItemMember]
@@ -360,6 +478,20 @@ module Aws
360
478
  ) -> _ListLibraryItemsResponseSuccess
361
479
  | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListLibraryItemsResponseSuccess
362
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
+
363
495
  interface _ListQAppsResponseSuccess
364
496
  include ::Seahorse::Client::_ResponseSuccess[Types::ListQAppsOutput]
365
497
  def apps: () -> ::Array[Types::UserAppItem]
@@ -416,9 +548,14 @@ module Aws
416
548
  ?initial_values: Array[
417
549
  {
418
550
  card_id: ::String,
419
- value: ::String
551
+ value: ::String,
552
+ submission_mutation: {
553
+ submission_id: ::String,
554
+ mutation_type: ("edit" | "delete" | "add")
555
+ }?
420
556
  },
421
557
  ],
558
+ ?session_id: ::String,
422
559
  ?tags: Hash[::String, ::String]
423
560
  ) -> _StartQAppSessionResponseSuccess
424
561
  | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _StartQAppSessionResponseSuccess
@@ -510,14 +647,14 @@ module Aws
510
647
  text_input: {
511
648
  title: ::String,
512
649
  id: ::String,
513
- type: ("text-input" | "q-query" | "file-upload" | "q-plugin"),
650
+ type: ("text-input" | "q-query" | "file-upload" | "q-plugin" | "form-input"),
514
651
  placeholder: ::String?,
515
652
  default_value: ::String?
516
653
  }?,
517
654
  q_query: {
518
655
  title: ::String,
519
656
  id: ::String,
520
- type: ("text-input" | "q-query" | "file-upload" | "q-plugin"),
657
+ type: ("text-input" | "q-query" | "file-upload" | "q-plugin" | "form-input"),
521
658
  prompt: ::String,
522
659
  output_source: ("approved-sources" | "llm")?,
523
660
  attribute_filter: {
@@ -596,17 +733,27 @@ module Aws
596
733
  q_plugin: {
597
734
  title: ::String,
598
735
  id: ::String,
599
- type: ("text-input" | "q-query" | "file-upload" | "q-plugin"),
736
+ type: ("text-input" | "q-query" | "file-upload" | "q-plugin" | "form-input"),
600
737
  prompt: ::String,
601
738
  plugin_id: ::String
602
739
  }?,
603
740
  file_upload: {
604
741
  title: ::String,
605
742
  id: ::String,
606
- type: ("text-input" | "q-query" | "file-upload" | "q-plugin"),
743
+ type: ("text-input" | "q-query" | "file-upload" | "q-plugin" | "form-input"),
607
744
  filename: ::String?,
608
745
  file_id: ::String?,
609
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")?
610
757
  }?
611
758
  },
612
759
  ],
@@ -615,6 +762,31 @@ module Aws
615
762
  ) -> _UpdateQAppResponseSuccess
616
763
  | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _UpdateQAppResponseSuccess
617
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
+
618
790
  interface _UpdateQAppSessionResponseSuccess
619
791
  include ::Seahorse::Client::_ResponseSuccess[Types::UpdateQAppSessionOutput]
620
792
  def session_id: () -> ::String
@@ -627,11 +799,35 @@ module Aws
627
799
  ?values: Array[
628
800
  {
629
801
  card_id: ::String,
630
- value: ::String
802
+ value: ::String,
803
+ submission_mutation: {
804
+ submission_id: ::String,
805
+ mutation_type: ("edit" | "delete" | "add")
806
+ }?
631
807
  },
632
808
  ]
633
809
  ) -> _UpdateQAppSessionResponseSuccess
634
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
635
831
  end
636
832
  end
637
833
  end