aws-sdk-qapps 1.9.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.
@@ -762,6 +762,123 @@ module Aws::QApps
762
762
  req.send_request(options)
763
763
  end
764
764
 
765
+ # Creates a presigned URL for an S3 POST operation to upload a file. You
766
+ # can use this URL to set a default file for a `FileUploadCard` in a Q
767
+ # App definition or to provide a file for a single Q App run. The
768
+ # `scope` parameter determines how the file will be used, either at the
769
+ # app definition level or the app session level.
770
+ #
771
+ # @option params [required, String] :instance_id
772
+ # The unique identifier of the Amazon Q Business application environment
773
+ # instance.
774
+ #
775
+ # @option params [required, String] :card_id
776
+ # The unique identifier of the card the file is associated with.
777
+ #
778
+ # @option params [required, String] :app_id
779
+ # The unique identifier of the Q App the file is associated with.
780
+ #
781
+ # @option params [required, String] :file_contents_sha_256
782
+ # The Base64-encoded SHA-256 digest of the contents of the file to be
783
+ # uploaded.
784
+ #
785
+ # @option params [required, String] :file_name
786
+ # The name of the file to be uploaded.
787
+ #
788
+ # @option params [required, String] :scope
789
+ # Whether the file is associated with a Q App definition or a specific Q
790
+ # App session.
791
+ #
792
+ # @option params [String] :session_id
793
+ # The unique identifier of the Q App session the file is associated
794
+ # with, if applicable.
795
+ #
796
+ # @return [Types::CreatePresignedUrlOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
797
+ #
798
+ # * {Types::CreatePresignedUrlOutput#file_id #file_id} => String
799
+ # * {Types::CreatePresignedUrlOutput#presigned_url #presigned_url} => String
800
+ # * {Types::CreatePresignedUrlOutput#presigned_url_fields #presigned_url_fields} => Hash<String,String>
801
+ # * {Types::CreatePresignedUrlOutput#presigned_url_expiration #presigned_url_expiration} => Time
802
+ #
803
+ #
804
+ # @example Example: Upload a file to a specific session
805
+ #
806
+ # resp = client.create_presigned_url({
807
+ # app_id: "4263767c-d889-4cb2-a8f6-8b649bc66af0",
808
+ # card_id: "82f69028-22a9-4bea-8727-0eabf58e9fed",
809
+ # file_contents_sha_256: "myMXwslBoXkTDQ0olhq1QsiHRWWL4yj1V0IuoK+PYOg=",
810
+ # file_name: "myFile.txt",
811
+ # instance_id: "0b95c9c4-89cc-4aa8-9aae-aa91cbec699f",
812
+ # scope: "SESSION",
813
+ # session_id: "4f0e5b87-9d38-41cd-9eb4-ebce2f2917cc",
814
+ # })
815
+ #
816
+ # resp.to_h outputs the following:
817
+ # {
818
+ # file_id: "412aa1b4-341c-45af-936d-da52f8a1a3b4",
819
+ # presigned_url: "https://presign-test-omg-6f98533b-3f9f-4e8a-8183-63793b9ffef0.s3.us-west-2.amazonaws.com/",
820
+ # presigned_url_expiration: Time.parse("2024-09-14T00:11:54.232Z"),
821
+ # presigned_url_fields: {
822
+ # "x-amz-checksum-sha256" => "fmHCdgdPjOGub9TVZ4NIOpAYP4UlIOaPRUwHw8nihR4=",
823
+ # "x-amz-server-side-encryption" => "aws:kms",
824
+ # "x-amz-server-side-encryption-aws-kms-key-id" => "0a6a474b-f2ca-46ea-9e72-deea9077d92f",
825
+ # "x-amz-server-side-encryption-context" => "eyJzb21ldGhpbmciOiJ0aGVyZSJ9",
826
+ # },
827
+ # }
828
+ #
829
+ # @example Example: Upload a file into a application
830
+ #
831
+ # resp = client.create_presigned_url({
832
+ # app_id: "4263767c-d889-4cb2-a8f6-8b649bc66af0",
833
+ # card_id: "7a11f34b-42d4-4bc8-b668-ae4a788dae1e",
834
+ # file_contents_sha_256: "myMXwslBoXkTDQ0olhq1QsiHRWWL4yj1V0IuoK+PYOg=",
835
+ # file_name: "anApplicationFile.txt",
836
+ # instance_id: "0b95c9c4-89cc-4aa8-9aae-aa91cbec699f",
837
+ # scope: "APPLICATION",
838
+ # })
839
+ #
840
+ # resp.to_h outputs the following:
841
+ # {
842
+ # file_id: "412aa1b4-341c-45af-936d-da52f8a1a3b4",
843
+ # presigned_url: "https://presign-test-omg-6f98533b-3f9f-4e8a-8183-63793b9ffef0.s3.us-west-2.amazonaws.com/",
844
+ # presigned_url_expiration: Time.parse("2024-09-14T00:11:54.232Z"),
845
+ # presigned_url_fields: {
846
+ # "x-amz-checksum-sha256" => "fmHCdgdPjOGub9TVZ4NIOpAYP4UlIOaPRUwHw8nihR4=",
847
+ # "x-amz-server-side-encryption" => "aws:kms",
848
+ # "x-amz-server-side-encryption-aws-kms-key-id" => "0a6a474b-f2ca-46ea-9e72-deea9077d92f",
849
+ # "x-amz-server-side-encryption-context" => "eyJzb21ldGhpbmciOiJ0aGVyZSJ9",
850
+ # },
851
+ # }
852
+ #
853
+ # @example Request syntax with placeholder values
854
+ #
855
+ # resp = client.create_presigned_url({
856
+ # instance_id: "InstanceId", # required
857
+ # card_id: "UUID", # required
858
+ # app_id: "UUID", # required
859
+ # file_contents_sha_256: "CreatePresignedUrlInputFileContentsSha256String", # required
860
+ # file_name: "Filename", # required
861
+ # scope: "APPLICATION", # required, accepts APPLICATION, SESSION
862
+ # session_id: "UUID",
863
+ # })
864
+ #
865
+ # @example Response structure
866
+ #
867
+ # resp.file_id #=> String
868
+ # resp.presigned_url #=> String
869
+ # resp.presigned_url_fields #=> Hash
870
+ # resp.presigned_url_fields["String"] #=> String
871
+ # resp.presigned_url_expiration #=> Time
872
+ #
873
+ # @see http://docs.aws.amazon.com/goto/WebAPI/qapps-2023-11-27/CreatePresignedUrl AWS API Documentation
874
+ #
875
+ # @overload create_presigned_url(params = {})
876
+ # @param [Hash] params ({})
877
+ def create_presigned_url(params = {}, options = {})
878
+ req = build_request(:create_presigned_url, params)
879
+ req.send_request(options)
880
+ end
881
+
765
882
  # Creates a new Amazon Q App based on the provided definition. The Q App
766
883
  # definition specifies the cards and flow of the Q App. This operation
767
884
  # also calculates the dependencies between the cards by inspecting the
@@ -855,14 +972,14 @@ module Aws::QApps
855
972
  # text_input: {
856
973
  # title: "Title", # required
857
974
  # id: "UUID", # required
858
- # type: "text-input", # required, accepts text-input, q-query, file-upload, q-plugin
975
+ # type: "text-input", # required, accepts text-input, q-query, file-upload, q-plugin, form-input
859
976
  # placeholder: "Placeholder",
860
977
  # default_value: "Default",
861
978
  # },
862
979
  # q_query: {
863
980
  # title: "Title", # required
864
981
  # id: "UUID", # required
865
- # type: "text-input", # required, accepts text-input, q-query, file-upload, q-plugin
982
+ # type: "text-input", # required, accepts text-input, q-query, file-upload, q-plugin, form-input
866
983
  # prompt: "Prompt", # required
867
984
  # output_source: "approved-sources", # accepts approved-sources, llm
868
985
  # attribute_filter: {
@@ -947,18 +1064,28 @@ module Aws::QApps
947
1064
  # q_plugin: {
948
1065
  # title: "Title", # required
949
1066
  # id: "UUID", # required
950
- # type: "text-input", # required, accepts text-input, q-query, file-upload, q-plugin
1067
+ # type: "text-input", # required, accepts text-input, q-query, file-upload, q-plugin, form-input
951
1068
  # prompt: "Prompt", # required
952
1069
  # plugin_id: "PluginId", # required
953
1070
  # },
954
1071
  # file_upload: {
955
1072
  # title: "Title", # required
956
1073
  # id: "UUID", # required
957
- # type: "text-input", # required, accepts text-input, q-query, file-upload, q-plugin
1074
+ # type: "text-input", # required, accepts text-input, q-query, file-upload, q-plugin, form-input
958
1075
  # filename: "Filename",
959
1076
  # file_id: "UUID",
960
1077
  # allow_override: false,
961
1078
  # },
1079
+ # form_input: {
1080
+ # title: "Title", # required
1081
+ # id: "UUID", # required
1082
+ # type: "text-input", # required, accepts text-input, q-query, file-upload, q-plugin, form-input
1083
+ # metadata: { # required
1084
+ # schema: { # required
1085
+ # },
1086
+ # },
1087
+ # compute_mode: "append", # accepts append, replace
1088
+ # },
962
1089
  # },
963
1090
  # ],
964
1091
  # initial_prompt: "InitialPrompt",
@@ -1065,6 +1192,79 @@ module Aws::QApps
1065
1192
  req.send_request(options)
1066
1193
  end
1067
1194
 
1195
+ # Describes read permissions for a Amazon Q App in Amazon Q Business
1196
+ # application environment instance.
1197
+ #
1198
+ # @option params [required, String] :instance_id
1199
+ # The unique identifier of the Amazon Q Business application environment
1200
+ # instance.
1201
+ #
1202
+ # @option params [required, String] :app_id
1203
+ # The unique identifier of the Amazon Q App for which to retrieve
1204
+ # permissions.
1205
+ #
1206
+ # @return [Types::DescribeQAppPermissionsOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
1207
+ #
1208
+ # * {Types::DescribeQAppPermissionsOutput#resource_arn #resource_arn} => String
1209
+ # * {Types::DescribeQAppPermissionsOutput#app_id #app_id} => String
1210
+ # * {Types::DescribeQAppPermissionsOutput#permissions #permissions} => Array<Types::PermissionOutput>
1211
+ #
1212
+ #
1213
+ # @example Example: Describe permissions for the app
1214
+ #
1215
+ # resp = client.describe_q_app_permissions({
1216
+ # app_id: "fe0acf86-49e5-4def-a0c2-40ce0cafee14",
1217
+ # instance_id: "01793661-ad73-4c7d-8eaa-1c95a10151c2",
1218
+ # })
1219
+ #
1220
+ # resp.to_h outputs the following:
1221
+ # {
1222
+ # app_id: "fe0acf86-49e5-4def-a0c2-40ce0cafee14",
1223
+ # permissions: [
1224
+ # {
1225
+ # action: "write",
1226
+ # principal: {
1227
+ # email: "user1@example.com",
1228
+ # user_id: "f8f15330-b091-708b-d46e-adb0d914b699",
1229
+ # },
1230
+ # },
1231
+ # {
1232
+ # action: "read",
1233
+ # principal: {
1234
+ # email: "user2@example.com",
1235
+ # user_id: "c81133d0-10d1-70eb-aaa3-d427ea6fc0f3",
1236
+ # },
1237
+ # },
1238
+ # ],
1239
+ # resource_arn: "arn:aws:qapps:us-west-2:111111111111:application/01793661-ad73-4c7d-8eaa-1c95a10151c2/qapp/fe0acf86-49e5-4def-a0c2-40ce0cafee14",
1240
+ # }
1241
+ #
1242
+ # @example Request syntax with placeholder values
1243
+ #
1244
+ # resp = client.describe_q_app_permissions({
1245
+ # instance_id: "InstanceId", # required
1246
+ # app_id: "UUID", # required
1247
+ # })
1248
+ #
1249
+ # @example Response structure
1250
+ #
1251
+ # resp.resource_arn #=> String
1252
+ # resp.app_id #=> String
1253
+ # resp.permissions #=> Array
1254
+ # resp.permissions[0].action #=> String, one of "read", "write"
1255
+ # resp.permissions[0].principal.user_id #=> String
1256
+ # resp.permissions[0].principal.user_type #=> String, one of "owner", "user"
1257
+ # resp.permissions[0].principal.email #=> String
1258
+ #
1259
+ # @see http://docs.aws.amazon.com/goto/WebAPI/qapps-2023-11-27/DescribeQAppPermissions AWS API Documentation
1260
+ #
1261
+ # @overload describe_q_app_permissions(params = {})
1262
+ # @param [Hash] params ({})
1263
+ def describe_q_app_permissions(params = {}, options = {})
1264
+ req = build_request(:describe_q_app_permissions, params)
1265
+ req.send_request(options)
1266
+ end
1267
+
1068
1268
  # Removes a rating or review previously submitted by the user for a
1069
1269
  # library item.
1070
1270
  #
@@ -1137,6 +1337,43 @@ module Aws::QApps
1137
1337
  req.send_request(options)
1138
1338
  end
1139
1339
 
1340
+ # Exports the collected data of a Q App data collection session.
1341
+ #
1342
+ # @option params [required, String] :instance_id
1343
+ # The unique identifier of the Amazon Q Business application environment
1344
+ # instance.
1345
+ #
1346
+ # @option params [required, String] :session_id
1347
+ # The unique identifier of the Q App data collection session.
1348
+ #
1349
+ # @return [Types::ExportQAppSessionDataOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
1350
+ #
1351
+ # * {Types::ExportQAppSessionDataOutput#csv_file_link #csv_file_link} => String
1352
+ # * {Types::ExportQAppSessionDataOutput#expires_at #expires_at} => Time
1353
+ # * {Types::ExportQAppSessionDataOutput#session_arn #session_arn} => String
1354
+ #
1355
+ # @example Request syntax with placeholder values
1356
+ #
1357
+ # resp = client.export_q_app_session_data({
1358
+ # instance_id: "InstanceId", # required
1359
+ # session_id: "UUID", # required
1360
+ # })
1361
+ #
1362
+ # @example Response structure
1363
+ #
1364
+ # resp.csv_file_link #=> String
1365
+ # resp.expires_at #=> Time
1366
+ # resp.session_arn #=> String
1367
+ #
1368
+ # @see http://docs.aws.amazon.com/goto/WebAPI/qapps-2023-11-27/ExportQAppSessionData AWS API Documentation
1369
+ #
1370
+ # @overload export_q_app_session_data(params = {})
1371
+ # @param [Hash] params ({})
1372
+ def export_q_app_session_data(params = {}, options = {})
1373
+ req = build_request(:export_q_app_session_data, params)
1374
+ req.send_request(options)
1375
+ end
1376
+
1140
1377
  # Retrieves details about a library item for an Amazon Q App, including
1141
1378
  # its metadata, categories, ratings, and usage statistics.
1142
1379
  #
@@ -1252,6 +1489,9 @@ module Aws::QApps
1252
1489
  # @option params [required, String] :app_id
1253
1490
  # The unique identifier of the Q App to retrieve.
1254
1491
  #
1492
+ # @option params [Integer] :app_version
1493
+ # The version of the Q App.
1494
+ #
1255
1495
  # @return [Types::GetQAppOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
1256
1496
  #
1257
1497
  # * {Types::GetQAppOutput#app_id #app_id} => String
@@ -1320,6 +1560,7 @@ module Aws::QApps
1320
1560
  # resp = client.get_q_app({
1321
1561
  # instance_id: "InstanceId", # required
1322
1562
  # app_id: "UUID", # required
1563
+ # app_version: 1,
1323
1564
  # })
1324
1565
  #
1325
1566
  # @example Response structure
@@ -1343,14 +1584,14 @@ module Aws::QApps
1343
1584
  # resp.app_definition.cards[0].text_input.title #=> String
1344
1585
  # resp.app_definition.cards[0].text_input.dependencies #=> Array
1345
1586
  # resp.app_definition.cards[0].text_input.dependencies[0] #=> String
1346
- # resp.app_definition.cards[0].text_input.type #=> String, one of "text-input", "q-query", "file-upload", "q-plugin"
1587
+ # resp.app_definition.cards[0].text_input.type #=> String, one of "text-input", "q-query", "file-upload", "q-plugin", "form-input"
1347
1588
  # resp.app_definition.cards[0].text_input.placeholder #=> String
1348
1589
  # resp.app_definition.cards[0].text_input.default_value #=> String
1349
1590
  # resp.app_definition.cards[0].q_query.id #=> String
1350
1591
  # resp.app_definition.cards[0].q_query.title #=> String
1351
1592
  # resp.app_definition.cards[0].q_query.dependencies #=> Array
1352
1593
  # resp.app_definition.cards[0].q_query.dependencies[0] #=> String
1353
- # resp.app_definition.cards[0].q_query.type #=> String, one of "text-input", "q-query", "file-upload", "q-plugin"
1594
+ # resp.app_definition.cards[0].q_query.type #=> String, one of "text-input", "q-query", "file-upload", "q-plugin", "form-input"
1354
1595
  # resp.app_definition.cards[0].q_query.prompt #=> String
1355
1596
  # resp.app_definition.cards[0].q_query.output_source #=> String, one of "approved-sources", "llm"
1356
1597
  # resp.app_definition.cards[0].q_query.attribute_filter.and_all_filters #=> Array
@@ -1400,11 +1641,13 @@ module Aws::QApps
1400
1641
  # resp.app_definition.cards[0].q_query.attribute_filter.less_than_or_equals.value.string_list_value[0] #=> String
1401
1642
  # resp.app_definition.cards[0].q_query.attribute_filter.less_than_or_equals.value.long_value #=> Integer
1402
1643
  # resp.app_definition.cards[0].q_query.attribute_filter.less_than_or_equals.value.date_value #=> Time
1644
+ # resp.app_definition.cards[0].q_query.memory_references #=> Array
1645
+ # resp.app_definition.cards[0].q_query.memory_references[0] #=> String
1403
1646
  # resp.app_definition.cards[0].q_plugin.id #=> String
1404
1647
  # resp.app_definition.cards[0].q_plugin.title #=> String
1405
1648
  # resp.app_definition.cards[0].q_plugin.dependencies #=> Array
1406
1649
  # resp.app_definition.cards[0].q_plugin.dependencies[0] #=> String
1407
- # resp.app_definition.cards[0].q_plugin.type #=> String, one of "text-input", "q-query", "file-upload", "q-plugin"
1650
+ # resp.app_definition.cards[0].q_plugin.type #=> String, one of "text-input", "q-query", "file-upload", "q-plugin", "form-input"
1408
1651
  # resp.app_definition.cards[0].q_plugin.prompt #=> String
1409
1652
  # resp.app_definition.cards[0].q_plugin.plugin_type #=> String, one of "SERVICE_NOW", "SALESFORCE", "JIRA", "ZENDESK", "CUSTOM"
1410
1653
  # resp.app_definition.cards[0].q_plugin.plugin_id #=> String
@@ -1412,10 +1655,16 @@ module Aws::QApps
1412
1655
  # resp.app_definition.cards[0].file_upload.title #=> String
1413
1656
  # resp.app_definition.cards[0].file_upload.dependencies #=> Array
1414
1657
  # resp.app_definition.cards[0].file_upload.dependencies[0] #=> String
1415
- # resp.app_definition.cards[0].file_upload.type #=> String, one of "text-input", "q-query", "file-upload", "q-plugin"
1658
+ # resp.app_definition.cards[0].file_upload.type #=> String, one of "text-input", "q-query", "file-upload", "q-plugin", "form-input"
1416
1659
  # resp.app_definition.cards[0].file_upload.filename #=> String
1417
1660
  # resp.app_definition.cards[0].file_upload.file_id #=> String
1418
1661
  # resp.app_definition.cards[0].file_upload.allow_override #=> Boolean
1662
+ # resp.app_definition.cards[0].form_input.id #=> String
1663
+ # resp.app_definition.cards[0].form_input.title #=> String
1664
+ # resp.app_definition.cards[0].form_input.dependencies #=> Array
1665
+ # resp.app_definition.cards[0].form_input.dependencies[0] #=> String
1666
+ # resp.app_definition.cards[0].form_input.type #=> String, one of "text-input", "q-query", "file-upload", "q-plugin", "form-input"
1667
+ # resp.app_definition.cards[0].form_input.compute_mode #=> String, one of "append", "replace"
1419
1668
  # resp.app_definition.can_edit #=> Boolean
1420
1669
  #
1421
1670
  # @see http://docs.aws.amazon.com/goto/WebAPI/qapps-2023-11-27/GetQApp AWS API Documentation
@@ -1441,37 +1690,86 @@ module Aws::QApps
1441
1690
  #
1442
1691
  # * {Types::GetQAppSessionOutput#session_id #session_id} => String
1443
1692
  # * {Types::GetQAppSessionOutput#session_arn #session_arn} => String
1693
+ # * {Types::GetQAppSessionOutput#session_name #session_name} => String
1694
+ # * {Types::GetQAppSessionOutput#app_version #app_version} => Integer
1695
+ # * {Types::GetQAppSessionOutput#latest_published_app_version #latest_published_app_version} => Integer
1444
1696
  # * {Types::GetQAppSessionOutput#status #status} => String
1445
1697
  # * {Types::GetQAppSessionOutput#card_status #card_status} => Hash<String,Types::CardStatus>
1698
+ # * {Types::GetQAppSessionOutput#user_is_host #user_is_host} => Boolean
1446
1699
  #
1447
- #
1448
- # @example Example: Retrieves an existing session for an Amazon Q App
1700
+ # @example Request syntax with placeholder values
1449
1701
  #
1450
1702
  # resp = client.get_q_app_session({
1451
- # instance_id: "288ae830-1df2-4871-b6c0-4314d74dadef",
1452
- # session_id: "1fca878e-64c5-4dc4-b1d9-c93effed4e82",
1703
+ # instance_id: "InstanceId", # required
1704
+ # session_id: "UUID", # required
1705
+ # })
1706
+ #
1707
+ # @example Response structure
1708
+ #
1709
+ # resp.session_id #=> String
1710
+ # resp.session_arn #=> String
1711
+ # resp.session_name #=> String
1712
+ # resp.app_version #=> Integer
1713
+ # resp.latest_published_app_version #=> Integer
1714
+ # resp.status #=> String, one of "IN_PROGRESS", "WAITING", "COMPLETED", "ERROR"
1715
+ # resp.card_status #=> Hash
1716
+ # resp.card_status["UUID"].current_state #=> String, one of "IN_PROGRESS", "WAITING", "COMPLETED", "ERROR"
1717
+ # resp.card_status["UUID"].current_value #=> String
1718
+ # resp.card_status["UUID"].submissions #=> Array
1719
+ # resp.card_status["UUID"].submissions[0].submission_id #=> String
1720
+ # resp.card_status["UUID"].submissions[0].timestamp #=> Time
1721
+ # resp.user_is_host #=> Boolean
1722
+ #
1723
+ # @see http://docs.aws.amazon.com/goto/WebAPI/qapps-2023-11-27/GetQAppSession AWS API Documentation
1724
+ #
1725
+ # @overload get_q_app_session(params = {})
1726
+ # @param [Hash] params ({})
1727
+ def get_q_app_session(params = {}, options = {})
1728
+ req = build_request(:get_q_app_session, params)
1729
+ req.send_request(options)
1730
+ end
1731
+
1732
+ # Retrieves the current configuration of a Q App session.
1733
+ #
1734
+ # @option params [required, String] :instance_id
1735
+ # The unique identifier of the Amazon Q Business application environment
1736
+ # instance.
1737
+ #
1738
+ # @option params [required, String] :session_id
1739
+ # The unique identifier of the Q App session.
1740
+ #
1741
+ # @return [Types::GetQAppSessionMetadataOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
1742
+ #
1743
+ # * {Types::GetQAppSessionMetadataOutput#session_id #session_id} => String
1744
+ # * {Types::GetQAppSessionMetadataOutput#session_arn #session_arn} => String
1745
+ # * {Types::GetQAppSessionMetadataOutput#session_name #session_name} => String
1746
+ # * {Types::GetQAppSessionMetadataOutput#sharing_configuration #sharing_configuration} => Types::SessionSharingConfiguration
1747
+ # * {Types::GetQAppSessionMetadataOutput#session_owner #session_owner} => Boolean
1748
+ #
1749
+ #
1750
+ # @example Example: Retrieves an existing session metadata for an Amazon Q App
1751
+ #
1752
+ # resp = client.get_q_app_session_metadata({
1753
+ # instance_id: "0b95c9c4-89cc-4aa8-9aae-aa91cbec699f",
1754
+ # session_id: "56ae47c3-10bc-4c2c-8b27-9b9fe23b3edb",
1453
1755
  # })
1454
1756
  #
1455
1757
  # resp.to_h outputs the following:
1456
1758
  # {
1457
- # card_status: {
1458
- # "1e6caeac-b481-45ff-a082-8b9a4a0b72e8" => {
1459
- # current_state: "COMPLETED",
1460
- # current_value: "Based on the responses, the most popular color is red, with 1 vote from the user \"user1\".",
1461
- # },
1462
- # "6fb5b404-3b7b-48a4-8a8b-56406922a606" => {
1463
- # current_state: "COMPLETED",
1464
- # current_value: "",
1465
- # },
1759
+ # session_arn: "arn:aws:qapps:us-west-2:0123456789012:application/cbea8329-41c0-4566-a112-19250921a220/qapp/387ccac9-4717-489f-841f-729b7d7de355/session/56ae47c3-10bc-4c2c-8b27-9b9fe23b3edb",
1760
+ # session_id: "56ae47c3-10bc-4c2c-8b27-9b9fe23b3edb",
1761
+ # session_name: "Trip itinerary collection session",
1762
+ # session_owner: true,
1763
+ # sharing_configuration: {
1764
+ # accept_responses: true,
1765
+ # enabled: true,
1766
+ # reveal_cards: false,
1466
1767
  # },
1467
- # session_arn: "arn:aws:qapps:us-west-2:0123456789012:application/a929ecd6-5765-4ec7-bd3e-2ca90098b18e/qapp/65e7dce7-226a-47f9-b689-22850becef89/session/1fca878e-64c5-4dc4-b1d9-c93effed4e82",
1468
- # session_id: "1fca878e-64c5-4dc4-b1d9-c93effed4e82",
1469
- # status: "COMPLETED",
1470
1768
  # }
1471
1769
  #
1472
1770
  # @example Request syntax with placeholder values
1473
1771
  #
1474
- # resp = client.get_q_app_session({
1772
+ # resp = client.get_q_app_session_metadata({
1475
1773
  # instance_id: "InstanceId", # required
1476
1774
  # session_id: "UUID", # required
1477
1775
  # })
@@ -1480,17 +1778,18 @@ module Aws::QApps
1480
1778
  #
1481
1779
  # resp.session_id #=> String
1482
1780
  # resp.session_arn #=> String
1483
- # resp.status #=> String, one of "IN_PROGRESS", "WAITING", "COMPLETED"
1484
- # resp.card_status #=> Hash
1485
- # resp.card_status["UUID"].current_state #=> String, one of "IN_PROGRESS", "WAITING", "COMPLETED"
1486
- # resp.card_status["UUID"].current_value #=> String
1781
+ # resp.session_name #=> String
1782
+ # resp.sharing_configuration.enabled #=> Boolean
1783
+ # resp.sharing_configuration.accept_responses #=> Boolean
1784
+ # resp.sharing_configuration.reveal_cards #=> Boolean
1785
+ # resp.session_owner #=> Boolean
1487
1786
  #
1488
- # @see http://docs.aws.amazon.com/goto/WebAPI/qapps-2023-11-27/GetQAppSession AWS API Documentation
1787
+ # @see http://docs.aws.amazon.com/goto/WebAPI/qapps-2023-11-27/GetQAppSessionMetadata AWS API Documentation
1489
1788
  #
1490
- # @overload get_q_app_session(params = {})
1789
+ # @overload get_q_app_session_metadata(params = {})
1491
1790
  # @param [Hash] params ({})
1492
- def get_q_app_session(params = {}, options = {})
1493
- req = build_request(:get_q_app_session, params)
1791
+ def get_q_app_session_metadata(params = {}, options = {})
1792
+ req = build_request(:get_q_app_session_metadata, params)
1494
1793
  req.send_request(options)
1495
1794
  end
1496
1795
 
@@ -1505,8 +1804,7 @@ module Aws::QApps
1505
1804
  # instance.
1506
1805
  #
1507
1806
  # @option params [required, String] :card_id
1508
- # The unique identifier of the card the file is associated with, if
1509
- # applicable.
1807
+ # The unique identifier of the card the file is associated with.
1510
1808
  #
1511
1809
  # @option params [required, String] :app_id
1512
1810
  # The unique identifier of the Q App the file is associated with.
@@ -1518,8 +1816,8 @@ module Aws::QApps
1518
1816
  # The name of the file being uploaded.
1519
1817
  #
1520
1818
  # @option params [required, String] :scope
1521
- # Whether the file is associated with an Q App definition or a specific
1522
- # Q App session.
1819
+ # Whether the file is associated with a Q App definition or a specific Q
1820
+ # App session.
1523
1821
  #
1524
1822
  # @option params [String] :session_id
1525
1823
  # The unique identifier of the Q App session the file is associated
@@ -1794,6 +2092,49 @@ module Aws::QApps
1794
2092
  req.send_request(options)
1795
2093
  end
1796
2094
 
2095
+ # Lists the collected data of a Q App data collection session.
2096
+ #
2097
+ # @option params [required, String] :instance_id
2098
+ # The unique identifier of the Amazon Q Business application environment
2099
+ # instance.
2100
+ #
2101
+ # @option params [required, String] :session_id
2102
+ # The unique identifier of the Q App data collection session.
2103
+ #
2104
+ # @return [Types::ListQAppSessionDataOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
2105
+ #
2106
+ # * {Types::ListQAppSessionDataOutput#session_id #session_id} => String
2107
+ # * {Types::ListQAppSessionDataOutput#session_arn #session_arn} => String
2108
+ # * {Types::ListQAppSessionDataOutput#session_data #session_data} => Array<Types::QAppSessionData>
2109
+ # * {Types::ListQAppSessionDataOutput#next_token #next_token} => String
2110
+ #
2111
+ # @example Request syntax with placeholder values
2112
+ #
2113
+ # resp = client.list_q_app_session_data({
2114
+ # instance_id: "InstanceId", # required
2115
+ # session_id: "UUID", # required
2116
+ # })
2117
+ #
2118
+ # @example Response structure
2119
+ #
2120
+ # resp.session_id #=> String
2121
+ # resp.session_arn #=> String
2122
+ # resp.session_data #=> Array
2123
+ # resp.session_data[0].card_id #=> String
2124
+ # resp.session_data[0].user.user_id #=> String
2125
+ # resp.session_data[0].submission_id #=> String
2126
+ # resp.session_data[0].timestamp #=> Time
2127
+ # resp.next_token #=> String
2128
+ #
2129
+ # @see http://docs.aws.amazon.com/goto/WebAPI/qapps-2023-11-27/ListQAppSessionData AWS API Documentation
2130
+ #
2131
+ # @overload list_q_app_session_data(params = {})
2132
+ # @param [Hash] params ({})
2133
+ def list_q_app_session_data(params = {}, options = {})
2134
+ req = build_request(:list_q_app_session_data, params)
2135
+ req.send_request(options)
2136
+ end
2137
+
1797
2138
  # Lists the Amazon Q Apps owned by or associated with the user either
1798
2139
  # because they created it or because they used it from the library in
1799
2140
  # the past. The user identity is extracted from the credentials used to
@@ -2014,12 +2355,12 @@ module Aws::QApps
2014
2355
  # resp.app.app_definition.cards #=> Array
2015
2356
  # resp.app.app_definition.cards[0].text_input.title #=> String
2016
2357
  # resp.app.app_definition.cards[0].text_input.id #=> String
2017
- # resp.app.app_definition.cards[0].text_input.type #=> String, one of "text-input", "q-query", "file-upload", "q-plugin"
2358
+ # resp.app.app_definition.cards[0].text_input.type #=> String, one of "text-input", "q-query", "file-upload", "q-plugin", "form-input"
2018
2359
  # resp.app.app_definition.cards[0].text_input.placeholder #=> String
2019
2360
  # resp.app.app_definition.cards[0].text_input.default_value #=> String
2020
2361
  # resp.app.app_definition.cards[0].q_query.title #=> String
2021
2362
  # resp.app.app_definition.cards[0].q_query.id #=> String
2022
- # resp.app.app_definition.cards[0].q_query.type #=> String, one of "text-input", "q-query", "file-upload", "q-plugin"
2363
+ # resp.app.app_definition.cards[0].q_query.type #=> String, one of "text-input", "q-query", "file-upload", "q-plugin", "form-input"
2023
2364
  # resp.app.app_definition.cards[0].q_query.prompt #=> String
2024
2365
  # resp.app.app_definition.cards[0].q_query.output_source #=> String, one of "approved-sources", "llm"
2025
2366
  # resp.app.app_definition.cards[0].q_query.attribute_filter.and_all_filters #=> Array
@@ -2071,15 +2412,19 @@ module Aws::QApps
2071
2412
  # resp.app.app_definition.cards[0].q_query.attribute_filter.less_than_or_equals.value.date_value #=> Time
2072
2413
  # resp.app.app_definition.cards[0].q_plugin.title #=> String
2073
2414
  # resp.app.app_definition.cards[0].q_plugin.id #=> String
2074
- # resp.app.app_definition.cards[0].q_plugin.type #=> String, one of "text-input", "q-query", "file-upload", "q-plugin"
2415
+ # resp.app.app_definition.cards[0].q_plugin.type #=> String, one of "text-input", "q-query", "file-upload", "q-plugin", "form-input"
2075
2416
  # resp.app.app_definition.cards[0].q_plugin.prompt #=> String
2076
2417
  # resp.app.app_definition.cards[0].q_plugin.plugin_id #=> String
2077
2418
  # resp.app.app_definition.cards[0].file_upload.title #=> String
2078
2419
  # resp.app.app_definition.cards[0].file_upload.id #=> String
2079
- # resp.app.app_definition.cards[0].file_upload.type #=> String, one of "text-input", "q-query", "file-upload", "q-plugin"
2420
+ # resp.app.app_definition.cards[0].file_upload.type #=> String, one of "text-input", "q-query", "file-upload", "q-plugin", "form-input"
2080
2421
  # resp.app.app_definition.cards[0].file_upload.filename #=> String
2081
2422
  # resp.app.app_definition.cards[0].file_upload.file_id #=> String
2082
2423
  # resp.app.app_definition.cards[0].file_upload.allow_override #=> Boolean
2424
+ # resp.app.app_definition.cards[0].form_input.title #=> String
2425
+ # resp.app.app_definition.cards[0].form_input.id #=> String
2426
+ # resp.app.app_definition.cards[0].form_input.type #=> String, one of "text-input", "q-query", "file-upload", "q-plugin", "form-input"
2427
+ # resp.app.app_definition.cards[0].form_input.compute_mode #=> String, one of "append", "replace"
2083
2428
  # resp.app.app_definition.initial_prompt #=> String
2084
2429
  # resp.problem_statement #=> String
2085
2430
  #
@@ -2113,6 +2458,9 @@ module Aws::QApps
2113
2458
  # @option params [Array<Types::CardValue>] :initial_values
2114
2459
  # Optional initial input values to provide for the Q App session.
2115
2460
  #
2461
+ # @option params [String] :session_id
2462
+ # The unique identifier of the a Q App session.
2463
+ #
2116
2464
  # @option params [Hash<String,String>] :tags
2117
2465
  # Optional tags to associate with the new Q App session.
2118
2466
  #
@@ -2152,8 +2500,13 @@ module Aws::QApps
2152
2500
  # {
2153
2501
  # card_id: "UUID", # required
2154
2502
  # value: "CardValueValueString", # required
2503
+ # submission_mutation: {
2504
+ # submission_id: "UUID", # required
2505
+ # mutation_type: "edit", # required, accepts edit, delete, add
2506
+ # },
2155
2507
  # },
2156
2508
  # ],
2509
+ # session_id: "String",
2157
2510
  # tags: {
2158
2511
  # "String" => "String",
2159
2512
  # },
@@ -2531,14 +2884,14 @@ module Aws::QApps
2531
2884
  # text_input: {
2532
2885
  # title: "Title", # required
2533
2886
  # id: "UUID", # required
2534
- # type: "text-input", # required, accepts text-input, q-query, file-upload, q-plugin
2887
+ # type: "text-input", # required, accepts text-input, q-query, file-upload, q-plugin, form-input
2535
2888
  # placeholder: "Placeholder",
2536
2889
  # default_value: "Default",
2537
2890
  # },
2538
2891
  # q_query: {
2539
2892
  # title: "Title", # required
2540
2893
  # id: "UUID", # required
2541
- # type: "text-input", # required, accepts text-input, q-query, file-upload, q-plugin
2894
+ # type: "text-input", # required, accepts text-input, q-query, file-upload, q-plugin, form-input
2542
2895
  # prompt: "Prompt", # required
2543
2896
  # output_source: "approved-sources", # accepts approved-sources, llm
2544
2897
  # attribute_filter: {
@@ -2623,18 +2976,28 @@ module Aws::QApps
2623
2976
  # q_plugin: {
2624
2977
  # title: "Title", # required
2625
2978
  # id: "UUID", # required
2626
- # type: "text-input", # required, accepts text-input, q-query, file-upload, q-plugin
2979
+ # type: "text-input", # required, accepts text-input, q-query, file-upload, q-plugin, form-input
2627
2980
  # prompt: "Prompt", # required
2628
2981
  # plugin_id: "PluginId", # required
2629
2982
  # },
2630
2983
  # file_upload: {
2631
2984
  # title: "Title", # required
2632
2985
  # id: "UUID", # required
2633
- # type: "text-input", # required, accepts text-input, q-query, file-upload, q-plugin
2986
+ # type: "text-input", # required, accepts text-input, q-query, file-upload, q-plugin, form-input
2634
2987
  # filename: "Filename",
2635
2988
  # file_id: "UUID",
2636
2989
  # allow_override: false,
2637
2990
  # },
2991
+ # form_input: {
2992
+ # title: "Title", # required
2993
+ # id: "UUID", # required
2994
+ # type: "text-input", # required, accepts text-input, q-query, file-upload, q-plugin, form-input
2995
+ # metadata: { # required
2996
+ # schema: { # required
2997
+ # },
2998
+ # },
2999
+ # compute_mode: "append", # accepts append, replace
3000
+ # },
2638
3001
  # },
2639
3002
  # ],
2640
3003
  # initial_prompt: "InitialPrompt",
@@ -2666,6 +3029,131 @@ module Aws::QApps
2666
3029
  req.send_request(options)
2667
3030
  end
2668
3031
 
3032
+ # Updates read permissions for a Amazon Q App in Amazon Q Business
3033
+ # application environment instance.
3034
+ #
3035
+ # @option params [required, String] :instance_id
3036
+ # The unique identifier of the Amazon Q Business application environment
3037
+ # instance.
3038
+ #
3039
+ # @option params [required, String] :app_id
3040
+ # The unique identifier of the Amazon Q App for which permissions are
3041
+ # being updated.
3042
+ #
3043
+ # @option params [Array<Types::PermissionInput>] :grant_permissions
3044
+ # The list of permissions to grant for the Amazon Q App.
3045
+ #
3046
+ # @option params [Array<Types::PermissionInput>] :revoke_permissions
3047
+ # The list of permissions to revoke for the Amazon Q App.
3048
+ #
3049
+ # @return [Types::UpdateQAppPermissionsOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
3050
+ #
3051
+ # * {Types::UpdateQAppPermissionsOutput#resource_arn #resource_arn} => String
3052
+ # * {Types::UpdateQAppPermissionsOutput#app_id #app_id} => String
3053
+ # * {Types::UpdateQAppPermissionsOutput#permissions #permissions} => Array&lt;Types::PermissionOutput&gt;
3054
+ #
3055
+ #
3056
+ # @example Example: Grant permissions for the app
3057
+ #
3058
+ # resp = client.update_q_app_permissions({
3059
+ # app_id: "fe0acf86-49e5-4def-a0c2-40ce0cafee14",
3060
+ # grant_permissions: [
3061
+ # {
3062
+ # action: "read",
3063
+ # principal: "user2@example.com",
3064
+ # },
3065
+ # ],
3066
+ # instance_id: "01793661-ad73-4c7d-8eaa-1c95a10151c2",
3067
+ # })
3068
+ #
3069
+ # resp.to_h outputs the following:
3070
+ # {
3071
+ # app_id: "fe0acf86-49e5-4def-a0c2-40ce0cafee14",
3072
+ # permissions: [
3073
+ # {
3074
+ # action: "write",
3075
+ # principal: {
3076
+ # email: "user1@example.com",
3077
+ # user_id: "f8f15330-b091-708b-d46e-adb0d914b699",
3078
+ # },
3079
+ # },
3080
+ # {
3081
+ # action: "read",
3082
+ # principal: {
3083
+ # email: "user2@example.com",
3084
+ # user_id: "c81133d0-10d1-70eb-aaa3-d427ea6fc0f3",
3085
+ # },
3086
+ # },
3087
+ # ],
3088
+ # resource_arn: "arn:aws:qapps:us-west-2:111111111111:application/01793661-ad73-4c7d-8eaa-1c95a10151c2/qapp/fe0acf86-49e5-4def-a0c2-40ce0cafee14",
3089
+ # }
3090
+ #
3091
+ # @example Example: Revoke permissions for the app
3092
+ #
3093
+ # resp = client.update_q_app_permissions({
3094
+ # app_id: "fe0acf86-49e5-4def-a0c2-40ce0cafee14",
3095
+ # instance_id: "01793661-ad73-4c7d-8eaa-1c95a10151c2",
3096
+ # revoke_permissions: [
3097
+ # {
3098
+ # action: "read",
3099
+ # principal: "user2@example.com",
3100
+ # },
3101
+ # ],
3102
+ # })
3103
+ #
3104
+ # resp.to_h outputs the following:
3105
+ # {
3106
+ # app_id: "fe0acf86-49e5-4def-a0c2-40ce0cafee14",
3107
+ # permissions: [
3108
+ # {
3109
+ # action: "write",
3110
+ # principal: {
3111
+ # email: "user1@example.com",
3112
+ # user_id: "f8f15330-b091-708b-d46e-adb0d914b699",
3113
+ # },
3114
+ # },
3115
+ # ],
3116
+ # resource_arn: "arn:aws:qapps:us-west-2:111111111111:application/01793661-ad73-4c7d-8eaa-1c95a10151c2/qapp/fe0acf86-49e5-4def-a0c2-40ce0cafee14",
3117
+ # }
3118
+ #
3119
+ # @example Request syntax with placeholder values
3120
+ #
3121
+ # resp = client.update_q_app_permissions({
3122
+ # instance_id: "InstanceId", # required
3123
+ # app_id: "UUID", # required
3124
+ # grant_permissions: [
3125
+ # {
3126
+ # action: "read", # required, accepts read, write
3127
+ # principal: "PermissionInputPrincipalString", # required
3128
+ # },
3129
+ # ],
3130
+ # revoke_permissions: [
3131
+ # {
3132
+ # action: "read", # required, accepts read, write
3133
+ # principal: "PermissionInputPrincipalString", # required
3134
+ # },
3135
+ # ],
3136
+ # })
3137
+ #
3138
+ # @example Response structure
3139
+ #
3140
+ # resp.resource_arn #=> String
3141
+ # resp.app_id #=> String
3142
+ # resp.permissions #=> Array
3143
+ # resp.permissions[0].action #=> String, one of "read", "write"
3144
+ # resp.permissions[0].principal.user_id #=> String
3145
+ # resp.permissions[0].principal.user_type #=> String, one of "owner", "user"
3146
+ # resp.permissions[0].principal.email #=> String
3147
+ #
3148
+ # @see http://docs.aws.amazon.com/goto/WebAPI/qapps-2023-11-27/UpdateQAppPermissions AWS API Documentation
3149
+ #
3150
+ # @overload update_q_app_permissions(params = {})
3151
+ # @param [Hash] params ({})
3152
+ def update_q_app_permissions(params = {}, options = {})
3153
+ req = build_request(:update_q_app_permissions, params)
3154
+ req.send_request(options)
3155
+ end
3156
+
2669
3157
  # Updates the session for a given Q App `sessionId`. This is only valid
2670
3158
  # when at least one card of the session is in the `WAITING` state. Data
2671
3159
  # for each `WAITING` card can be provided as input. If inputs are not
@@ -2697,6 +3185,10 @@ module Aws::QApps
2697
3185
  # {
2698
3186
  # card_id: "UUID", # required
2699
3187
  # value: "CardValueValueString", # required
3188
+ # submission_mutation: {
3189
+ # submission_id: "UUID", # required
3190
+ # mutation_type: "edit", # required, accepts edit, delete, add
3191
+ # },
2700
3192
  # },
2701
3193
  # ],
2702
3194
  # })
@@ -2715,6 +3207,87 @@ module Aws::QApps
2715
3207
  req.send_request(options)
2716
3208
  end
2717
3209
 
3210
+ # Updates the configuration metadata of a session for a given Q App
3211
+ # `sessionId`.
3212
+ #
3213
+ # @option params [required, String] :instance_id
3214
+ # The unique identifier of the Amazon Q Business application environment
3215
+ # instance.
3216
+ #
3217
+ # @option params [required, String] :session_id
3218
+ # The unique identifier of the Q App session to update configuration
3219
+ # for.
3220
+ #
3221
+ # @option params [String] :session_name
3222
+ # The new name for the Q App session.
3223
+ #
3224
+ # @option params [required, Types::SessionSharingConfiguration] :sharing_configuration
3225
+ # The new sharing configuration for the Q App data collection session.
3226
+ #
3227
+ # @return [Types::UpdateQAppSessionMetadataOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
3228
+ #
3229
+ # * {Types::UpdateQAppSessionMetadataOutput#session_id #session_id} => String
3230
+ # * {Types::UpdateQAppSessionMetadataOutput#session_arn #session_arn} => String
3231
+ # * {Types::UpdateQAppSessionMetadataOutput#session_name #session_name} => String
3232
+ # * {Types::UpdateQAppSessionMetadataOutput#sharing_configuration #sharing_configuration} => Types::SessionSharingConfiguration
3233
+ #
3234
+ #
3235
+ # @example Example: Updates an existing session metadata for an Amazon Q App
3236
+ #
3237
+ # resp = client.update_q_app_session_metadata({
3238
+ # instance_id: "0b95c9c4-89cc-4aa8-9aae-aa91cbec699f",
3239
+ # session_id: "56ae47c3-10bc-4c2c-8b27-9b9fe23b3edb",
3240
+ # session_name: "Trip itinerary collection session",
3241
+ # sharing_configuration: {
3242
+ # accept_responses: true,
3243
+ # enabled: true,
3244
+ # reveal_cards: false,
3245
+ # },
3246
+ # })
3247
+ #
3248
+ # resp.to_h outputs the following:
3249
+ # {
3250
+ # session_arn: "arn:aws:qapps:us-west-2:0123456789012:application/cbea8329-41c0-4566-a112-19250921a220/qapp/387ccac9-4717-489f-841f-729b7d7de355/session/56ae47c3-10bc-4c2c-8b27-9b9fe23b3edb",
3251
+ # session_id: "56ae47c3-10bc-4c2c-8b27-9b9fe23b3edb",
3252
+ # session_name: "Trip itinerary collection session",
3253
+ # sharing_configuration: {
3254
+ # accept_responses: true,
3255
+ # enabled: true,
3256
+ # reveal_cards: false,
3257
+ # },
3258
+ # }
3259
+ #
3260
+ # @example Request syntax with placeholder values
3261
+ #
3262
+ # resp = client.update_q_app_session_metadata({
3263
+ # instance_id: "InstanceId", # required
3264
+ # session_id: "UUID", # required
3265
+ # session_name: "SessionName",
3266
+ # sharing_configuration: { # required
3267
+ # enabled: false, # required
3268
+ # accept_responses: false,
3269
+ # reveal_cards: false,
3270
+ # },
3271
+ # })
3272
+ #
3273
+ # @example Response structure
3274
+ #
3275
+ # resp.session_id #=> String
3276
+ # resp.session_arn #=> String
3277
+ # resp.session_name #=> String
3278
+ # resp.sharing_configuration.enabled #=> Boolean
3279
+ # resp.sharing_configuration.accept_responses #=> Boolean
3280
+ # resp.sharing_configuration.reveal_cards #=> Boolean
3281
+ #
3282
+ # @see http://docs.aws.amazon.com/goto/WebAPI/qapps-2023-11-27/UpdateQAppSessionMetadata AWS API Documentation
3283
+ #
3284
+ # @overload update_q_app_session_metadata(params = {})
3285
+ # @param [Hash] params ({})
3286
+ def update_q_app_session_metadata(params = {}, options = {})
3287
+ req = build_request(:update_q_app_session_metadata, params)
3288
+ req.send_request(options)
3289
+ end
3290
+
2718
3291
  # @!endgroup
2719
3292
 
2720
3293
  # @param params ({})
@@ -2733,7 +3306,7 @@ module Aws::QApps
2733
3306
  tracer: tracer
2734
3307
  )
2735
3308
  context[:gem_name] = 'aws-sdk-qapps'
2736
- context[:gem_version] = '1.9.0'
3309
+ context[:gem_version] = '1.10.0'
2737
3310
  Seahorse::Client::Request.new(handlers, context)
2738
3311
  end
2739
3312