aws-sdk-qbusiness 1.23.0 → 1.24.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.
@@ -458,6 +458,51 @@ module Aws::QBusiness
458
458
 
459
459
  # @!group API Operations
460
460
 
461
+ # Adds or updates a permission policy for a Q Business application,
462
+ # allowing cross-account access for an ISV. This operation creates a new
463
+ # policy statement for the specified Q Business application. The policy
464
+ # statement defines the IAM actions that the ISV is allowed to perform
465
+ # on the Q Business application's resources.
466
+ #
467
+ # @option params [required, String] :application_id
468
+ # The unique identifier of the Q Business application.
469
+ #
470
+ # @option params [required, String] :statement_id
471
+ # A unique identifier for the policy statement.
472
+ #
473
+ # @option params [required, Array<String>] :actions
474
+ # The list of Q Business actions that the ISV is allowed to perform.
475
+ #
476
+ # @option params [required, String] :principal
477
+ # The Amazon Resource Name (ARN) of the IAM role for the ISV that is
478
+ # being granted permission.
479
+ #
480
+ # @return [Types::AssociatePermissionResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
481
+ #
482
+ # * {Types::AssociatePermissionResponse#statement #statement} => String
483
+ #
484
+ # @example Request syntax with placeholder values
485
+ #
486
+ # resp = client.associate_permission({
487
+ # application_id: "ApplicationId", # required
488
+ # statement_id: "StatementId", # required
489
+ # actions: ["QIamAction"], # required
490
+ # principal: "PrincipalRoleArn", # required
491
+ # })
492
+ #
493
+ # @example Response structure
494
+ #
495
+ # resp.statement #=> String
496
+ #
497
+ # @see http://docs.aws.amazon.com/goto/WebAPI/qbusiness-2023-11-27/AssociatePermission AWS API Documentation
498
+ #
499
+ # @overload associate_permission(params = {})
500
+ # @param [Hash] params ({})
501
+ def associate_permission(params = {}, options = {})
502
+ req = build_request(:associate_permission, params)
503
+ req.send_request(options)
504
+ end
505
+
461
506
  # Asynchronously deletes one or more documents added using the
462
507
  # `BatchPutDocument` API from an Amazon Q Business index.
463
508
  #
@@ -905,7 +950,7 @@ module Aws::QBusiness
905
950
  # resp.system_message_id #=> String
906
951
  # resp.user_message_id #=> String
907
952
  # resp.action_review.plugin_id #=> String
908
- # resp.action_review.plugin_type #=> String, one of "SERVICE_NOW", "SALESFORCE", "JIRA", "ZENDESK", "CUSTOM"
953
+ # resp.action_review.plugin_type #=> String, one of "SERVICE_NOW", "SALESFORCE", "JIRA", "ZENDESK", "CUSTOM", "QUICKSIGHT", "SERVICENOW_NOW_PLATFORM", "JIRA_CLOUD", "SALESFORCE_CRM", "ZENDESK_SUITE", "ATLASSIAN_CONFLUENCE", "GOOGLE_CALENDAR", "MICROSOFT_TEAMS", "MICROSOFT_EXCHANGE", "PAGERDUTY_ADVANCE", "SMARTSHEET", "ASANA"
909
954
  # resp.action_review.payload #=> Hash
910
955
  # resp.action_review.payload["ActionPayloadFieldKey"].display_name #=> String
911
956
  # resp.action_review.payload["ActionPayloadFieldKey"].display_order #=> Integer
@@ -1036,6 +1081,17 @@ module Aws::QBusiness
1036
1081
  #
1037
1082
  # [1]: https://docs.aws.amazon.com/amazonq/latest/qbusiness-ug/personalizing-chat-responses.html
1038
1083
  #
1084
+ # @option params [Types::QuickSightConfiguration] :quick_sight_configuration
1085
+ # The Amazon QuickSight configuration for an Amazon Q Business
1086
+ # application that uses QuickSight for authentication. This
1087
+ # configuration is required if your application uses QuickSight as the
1088
+ # identity provider. For more information, see [Creating an Amazon
1089
+ # QuickSight integrated application][1].
1090
+ #
1091
+ #
1092
+ #
1093
+ # [1]: https://docs.aws.amazon.com/amazonq/latest/qbusiness-ug/create-quicksight-integrated-application.html
1094
+ #
1039
1095
  # @return [Types::CreateApplicationResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
1040
1096
  #
1041
1097
  # * {Types::CreateApplicationResponse#application_id #application_id} => String
@@ -1046,7 +1102,7 @@ module Aws::QBusiness
1046
1102
  # resp = client.create_application({
1047
1103
  # display_name: "ApplicationName", # required
1048
1104
  # role_arn: "RoleArn",
1049
- # identity_type: "AWS_IAM_IDP_SAML", # accepts AWS_IAM_IDP_SAML, AWS_IAM_IDP_OIDC, AWS_IAM_IDC
1105
+ # identity_type: "AWS_IAM_IDP_SAML", # accepts AWS_IAM_IDP_SAML, AWS_IAM_IDP_OIDC, AWS_IAM_IDC, AWS_QUICKSIGHT_IDP
1050
1106
  # iam_identity_provider_arn: "IAMIdentityProviderArn",
1051
1107
  # identity_center_instance_arn: "InstanceArn",
1052
1108
  # client_ids_for_oidc: ["ClientIdForOIDC"],
@@ -1070,6 +1126,9 @@ module Aws::QBusiness
1070
1126
  # personalization_configuration: {
1071
1127
  # personalization_control_mode: "ENABLED", # required, accepts ENABLED, DISABLED
1072
1128
  # },
1129
+ # quick_sight_configuration: {
1130
+ # client_namespace: "ClientNamespace", # required
1131
+ # },
1073
1132
  # })
1074
1133
  #
1075
1134
  # @example Response structure
@@ -1086,6 +1145,161 @@ module Aws::QBusiness
1086
1145
  req.send_request(options)
1087
1146
  end
1088
1147
 
1148
+ # Creates a new data accessor for an ISV to access data from a Q
1149
+ # Business application. The data accessor is an entity that represents
1150
+ # the ISV's access to the Q Business application's data. It includes
1151
+ # the IAM role ARN for the ISV, a friendly name, and a set of action
1152
+ # configurations that define the specific actions the ISV is allowed to
1153
+ # perform and any associated data filters. When the data accessor is
1154
+ # created, an AWS IAM Identity Center application is also created to
1155
+ # manage the ISV's identity and authentication for accessing the Q
1156
+ # Business application.
1157
+ #
1158
+ # @option params [required, String] :application_id
1159
+ # The unique identifier of the Q Business application.
1160
+ #
1161
+ # @option params [required, String] :principal
1162
+ # The Amazon Resource Name (ARN) of the IAM role for the ISV that will
1163
+ # be accessing the data.
1164
+ #
1165
+ # @option params [required, Array<Types::ActionConfiguration>] :action_configurations
1166
+ # A list of action configurations specifying the allowed actions and any
1167
+ # associated filters.
1168
+ #
1169
+ # @option params [String] :client_token
1170
+ # A unique, case-sensitive identifier you provide to ensure idempotency
1171
+ # of the request.
1172
+ #
1173
+ # **A suitable default value is auto-generated.** You should normally
1174
+ # not need to pass this option.**
1175
+ #
1176
+ # @option params [required, String] :display_name
1177
+ # A friendly name for the data accessor.
1178
+ #
1179
+ # @option params [Array<Types::Tag>] :tags
1180
+ # The tags to associate with the data accessor.
1181
+ #
1182
+ # @return [Types::CreateDataAccessorResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
1183
+ #
1184
+ # * {Types::CreateDataAccessorResponse#data_accessor_id #data_accessor_id} => String
1185
+ # * {Types::CreateDataAccessorResponse#idc_application_arn #idc_application_arn} => String
1186
+ # * {Types::CreateDataAccessorResponse#data_accessor_arn #data_accessor_arn} => String
1187
+ #
1188
+ # @example Request syntax with placeholder values
1189
+ #
1190
+ # resp = client.create_data_accessor({
1191
+ # application_id: "ApplicationId", # required
1192
+ # principal: "PrincipalRoleArn", # required
1193
+ # action_configurations: [ # required
1194
+ # {
1195
+ # action: "QIamAction", # required
1196
+ # filter_configuration: {
1197
+ # document_attribute_filter: { # required
1198
+ # and_all_filters: [
1199
+ # {
1200
+ # # recursive AttributeFilter
1201
+ # },
1202
+ # ],
1203
+ # or_all_filters: [
1204
+ # {
1205
+ # # recursive AttributeFilter
1206
+ # },
1207
+ # ],
1208
+ # not_filter: {
1209
+ # # recursive AttributeFilter
1210
+ # },
1211
+ # equals_to: {
1212
+ # name: "DocumentAttributeKey", # required
1213
+ # value: { # required
1214
+ # string_value: "DocumentAttributeValueStringValueString",
1215
+ # string_list_value: ["String"],
1216
+ # long_value: 1,
1217
+ # date_value: Time.now,
1218
+ # },
1219
+ # },
1220
+ # contains_all: {
1221
+ # name: "DocumentAttributeKey", # required
1222
+ # value: { # required
1223
+ # string_value: "DocumentAttributeValueStringValueString",
1224
+ # string_list_value: ["String"],
1225
+ # long_value: 1,
1226
+ # date_value: Time.now,
1227
+ # },
1228
+ # },
1229
+ # contains_any: {
1230
+ # name: "DocumentAttributeKey", # required
1231
+ # value: { # required
1232
+ # string_value: "DocumentAttributeValueStringValueString",
1233
+ # string_list_value: ["String"],
1234
+ # long_value: 1,
1235
+ # date_value: Time.now,
1236
+ # },
1237
+ # },
1238
+ # greater_than: {
1239
+ # name: "DocumentAttributeKey", # required
1240
+ # value: { # required
1241
+ # string_value: "DocumentAttributeValueStringValueString",
1242
+ # string_list_value: ["String"],
1243
+ # long_value: 1,
1244
+ # date_value: Time.now,
1245
+ # },
1246
+ # },
1247
+ # greater_than_or_equals: {
1248
+ # name: "DocumentAttributeKey", # required
1249
+ # value: { # required
1250
+ # string_value: "DocumentAttributeValueStringValueString",
1251
+ # string_list_value: ["String"],
1252
+ # long_value: 1,
1253
+ # date_value: Time.now,
1254
+ # },
1255
+ # },
1256
+ # less_than: {
1257
+ # name: "DocumentAttributeKey", # required
1258
+ # value: { # required
1259
+ # string_value: "DocumentAttributeValueStringValueString",
1260
+ # string_list_value: ["String"],
1261
+ # long_value: 1,
1262
+ # date_value: Time.now,
1263
+ # },
1264
+ # },
1265
+ # less_than_or_equals: {
1266
+ # name: "DocumentAttributeKey", # required
1267
+ # value: { # required
1268
+ # string_value: "DocumentAttributeValueStringValueString",
1269
+ # string_list_value: ["String"],
1270
+ # long_value: 1,
1271
+ # date_value: Time.now,
1272
+ # },
1273
+ # },
1274
+ # },
1275
+ # },
1276
+ # },
1277
+ # ],
1278
+ # client_token: "ClientToken",
1279
+ # display_name: "DataAccessorName", # required
1280
+ # tags: [
1281
+ # {
1282
+ # key: "TagKey", # required
1283
+ # value: "TagValue", # required
1284
+ # },
1285
+ # ],
1286
+ # })
1287
+ #
1288
+ # @example Response structure
1289
+ #
1290
+ # resp.data_accessor_id #=> String
1291
+ # resp.idc_application_arn #=> String
1292
+ # resp.data_accessor_arn #=> String
1293
+ #
1294
+ # @see http://docs.aws.amazon.com/goto/WebAPI/qbusiness-2023-11-27/CreateDataAccessor AWS API Documentation
1295
+ #
1296
+ # @overload create_data_accessor(params = {})
1297
+ # @param [Hash] params ({})
1298
+ def create_data_accessor(params = {}, options = {})
1299
+ req = build_request(:create_data_accessor, params)
1300
+ req.send_request(options)
1301
+ end
1302
+
1089
1303
  # Creates a data source connector for an Amazon Q Business application.
1090
1304
  #
1091
1305
  # `CreateDataSource` is a synchronous operation. The operation returns
@@ -1431,7 +1645,7 @@ module Aws::QBusiness
1431
1645
  # resp = client.create_plugin({
1432
1646
  # application_id: "ApplicationId", # required
1433
1647
  # display_name: "PluginName", # required
1434
- # type: "SERVICE_NOW", # required, accepts SERVICE_NOW, SALESFORCE, JIRA, ZENDESK, CUSTOM
1648
+ # type: "SERVICE_NOW", # required, accepts SERVICE_NOW, SALESFORCE, JIRA, ZENDESK, CUSTOM, QUICKSIGHT, SERVICENOW_NOW_PLATFORM, JIRA_CLOUD, SALESFORCE_CRM, ZENDESK_SUITE, ATLASSIAN_CONFLUENCE, GOOGLE_CALENDAR, MICROSOFT_TEAMS, MICROSOFT_EXCHANGE, PAGERDUTY_ADVANCE, SMARTSHEET, ASANA
1435
1649
  # auth_configuration: { # required
1436
1650
  # basic_auth_configuration: {
1437
1651
  # secret_arn: "SecretArn", # required
@@ -1440,9 +1654,15 @@ module Aws::QBusiness
1440
1654
  # o_auth_2_client_credential_configuration: {
1441
1655
  # secret_arn: "SecretArn", # required
1442
1656
  # role_arn: "RoleArn", # required
1657
+ # authorization_url: "Url",
1658
+ # token_url: "Url",
1443
1659
  # },
1444
1660
  # no_auth_configuration: {
1445
1661
  # },
1662
+ # idc_auth_configuration: {
1663
+ # idc_application_arn: "IdcApplicationArn", # required
1664
+ # role_arn: "RoleArn", # required
1665
+ # },
1446
1666
  # },
1447
1667
  # server_url: "Url",
1448
1668
  # custom_plugin_configuration: {
@@ -1695,6 +1915,10 @@ module Aws::QBusiness
1695
1915
  #
1696
1916
  # [1]: https://docs.aws.amazon.com/amazonq/latest/qbusiness-ug/browser-extensions.html
1697
1917
  #
1918
+ # @option params [Types::CustomizationConfiguration] :customization_configuration
1919
+ # Sets the custom logo, favicon, font, and color used in the Amazon Q
1920
+ # web experience.
1921
+ #
1698
1922
  # @return [Types::CreateWebExperienceResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
1699
1923
  #
1700
1924
  # * {Types::CreateWebExperienceResponse#web_experience_id #web_experience_id} => String
@@ -1729,6 +1953,12 @@ module Aws::QBusiness
1729
1953
  # browser_extension_configuration: {
1730
1954
  # enabled_browser_extensions: ["FIREFOX"], # required, accepts FIREFOX, CHROME
1731
1955
  # },
1956
+ # customization_configuration: {
1957
+ # custom_css_url: "CustomCSSUrl",
1958
+ # logo_url: "LogoUrl",
1959
+ # font_url: "FontUrl",
1960
+ # favicon_url: "FaviconUrl",
1961
+ # },
1732
1962
  # })
1733
1963
  #
1734
1964
  # @example Response structure
@@ -1823,6 +2053,35 @@ module Aws::QBusiness
1823
2053
  req.send_request(options)
1824
2054
  end
1825
2055
 
2056
+ # Deletes a specified data accessor. This operation permanently removes
2057
+ # the data accessor and its associated AWS IAM Identity Center
2058
+ # application. Any access granted to the ISV through this data accessor
2059
+ # will be revoked
2060
+ #
2061
+ # @option params [required, String] :application_id
2062
+ # The unique identifier of the Q Business application.
2063
+ #
2064
+ # @option params [required, String] :data_accessor_id
2065
+ # The unique identifier of the data accessor to delete.
2066
+ #
2067
+ # @return [Struct] Returns an empty {Seahorse::Client::Response response}.
2068
+ #
2069
+ # @example Request syntax with placeholder values
2070
+ #
2071
+ # resp = client.delete_data_accessor({
2072
+ # application_id: "ApplicationId", # required
2073
+ # data_accessor_id: "DataAccessorId", # required
2074
+ # })
2075
+ #
2076
+ # @see http://docs.aws.amazon.com/goto/WebAPI/qbusiness-2023-11-27/DeleteDataAccessor AWS API Documentation
2077
+ #
2078
+ # @overload delete_data_accessor(params = {})
2079
+ # @param [Hash] params ({})
2080
+ def delete_data_accessor(params = {}, options = {})
2081
+ req = build_request(:delete_data_accessor, params)
2082
+ req.send_request(options)
2083
+ end
2084
+
1826
2085
  # Deletes an Amazon Q Business data source connector. While the data
1827
2086
  # source is being deleted, the `Status` field returned by a call to the
1828
2087
  # `DescribeDataSource` API is set to `DELETING`.
@@ -2045,6 +2304,35 @@ module Aws::QBusiness
2045
2304
  req.send_request(options)
2046
2305
  end
2047
2306
 
2307
+ # Removes a permission policy from a Q Business application, revoking
2308
+ # the cross-account access that was previously granted to an ISV. This
2309
+ # operation deletes the specified policy statement from the
2310
+ # application's permission policy.
2311
+ #
2312
+ # @option params [required, String] :application_id
2313
+ # The unique identifier of the Q Business application.
2314
+ #
2315
+ # @option params [required, String] :statement_id
2316
+ # The statement ID of the permission to remove.
2317
+ #
2318
+ # @return [Struct] Returns an empty {Seahorse::Client::Response response}.
2319
+ #
2320
+ # @example Request syntax with placeholder values
2321
+ #
2322
+ # resp = client.disassociate_permission({
2323
+ # application_id: "ApplicationId", # required
2324
+ # statement_id: "String", # required
2325
+ # })
2326
+ #
2327
+ # @see http://docs.aws.amazon.com/goto/WebAPI/qbusiness-2023-11-27/DisassociatePermission AWS API Documentation
2328
+ #
2329
+ # @overload disassociate_permission(params = {})
2330
+ # @param [Hash] params ({})
2331
+ def disassociate_permission(params = {}, options = {})
2332
+ req = build_request(:disassociate_permission, params)
2333
+ req.send_request(options)
2334
+ end
2335
+
2048
2336
  # Gets information about an existing Amazon Q Business application.
2049
2337
  #
2050
2338
  # @option params [required, String] :application_id
@@ -2070,6 +2358,7 @@ module Aws::QBusiness
2070
2358
  # * {Types::GetApplicationResponse#personalization_configuration #personalization_configuration} => Types::PersonalizationConfiguration
2071
2359
  # * {Types::GetApplicationResponse#auto_subscription_configuration #auto_subscription_configuration} => Types::AutoSubscriptionConfiguration
2072
2360
  # * {Types::GetApplicationResponse#client_ids_for_oidc #client_ids_for_oidc} => Array&lt;String&gt;
2361
+ # * {Types::GetApplicationResponse#quick_sight_configuration #quick_sight_configuration} => Types::QuickSightConfiguration
2073
2362
  #
2074
2363
  # @example Request syntax with placeholder values
2075
2364
  #
@@ -2082,7 +2371,7 @@ module Aws::QBusiness
2082
2371
  # resp.display_name #=> String
2083
2372
  # resp.application_id #=> String
2084
2373
  # resp.application_arn #=> String
2085
- # resp.identity_type #=> String, one of "AWS_IAM_IDP_SAML", "AWS_IAM_IDP_OIDC", "AWS_IAM_IDC"
2374
+ # resp.identity_type #=> String, one of "AWS_IAM_IDP_SAML", "AWS_IAM_IDP_OIDC", "AWS_IAM_IDC", "AWS_QUICKSIGHT_IDP"
2086
2375
  # resp.iam_identity_provider_arn #=> String
2087
2376
  # resp.identity_center_application_arn #=> String
2088
2377
  # resp.role_arn #=> String
@@ -2100,6 +2389,7 @@ module Aws::QBusiness
2100
2389
  # resp.auto_subscription_configuration.default_subscription_type #=> String, one of "Q_LITE", "Q_BUSINESS"
2101
2390
  # resp.client_ids_for_oidc #=> Array
2102
2391
  # resp.client_ids_for_oidc[0] #=> String
2392
+ # resp.quick_sight_configuration.client_namespace #=> String
2103
2393
  #
2104
2394
  # @see http://docs.aws.amazon.com/goto/WebAPI/qbusiness-2023-11-27/GetApplication AWS API Documentation
2105
2395
  #
@@ -2181,6 +2471,107 @@ module Aws::QBusiness
2181
2471
  req.send_request(options)
2182
2472
  end
2183
2473
 
2474
+ # Retrieves information about a specified data accessor. This operation
2475
+ # returns details about the data accessor, including its display name,
2476
+ # unique identifier, Amazon Resource Name (ARN), the associated Q
2477
+ # Business application and AWS IAM Identity Center application, the IAM
2478
+ # role for the ISV, the action configurations, and the timestamps for
2479
+ # when the data accessor was created and last updated.
2480
+ #
2481
+ # @option params [required, String] :application_id
2482
+ # The unique identifier of the Q Business application.
2483
+ #
2484
+ # @option params [required, String] :data_accessor_id
2485
+ # The unique identifier of the data accessor to retrieve.
2486
+ #
2487
+ # @return [Types::GetDataAccessorResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
2488
+ #
2489
+ # * {Types::GetDataAccessorResponse#display_name #display_name} => String
2490
+ # * {Types::GetDataAccessorResponse#data_accessor_id #data_accessor_id} => String
2491
+ # * {Types::GetDataAccessorResponse#data_accessor_arn #data_accessor_arn} => String
2492
+ # * {Types::GetDataAccessorResponse#application_id #application_id} => String
2493
+ # * {Types::GetDataAccessorResponse#idc_application_arn #idc_application_arn} => String
2494
+ # * {Types::GetDataAccessorResponse#principal #principal} => String
2495
+ # * {Types::GetDataAccessorResponse#action_configurations #action_configurations} => Array&lt;Types::ActionConfiguration&gt;
2496
+ # * {Types::GetDataAccessorResponse#created_at #created_at} => Time
2497
+ # * {Types::GetDataAccessorResponse#updated_at #updated_at} => Time
2498
+ #
2499
+ # @example Request syntax with placeholder values
2500
+ #
2501
+ # resp = client.get_data_accessor({
2502
+ # application_id: "ApplicationId", # required
2503
+ # data_accessor_id: "DataAccessorId", # required
2504
+ # })
2505
+ #
2506
+ # @example Response structure
2507
+ #
2508
+ # resp.display_name #=> String
2509
+ # resp.data_accessor_id #=> String
2510
+ # resp.data_accessor_arn #=> String
2511
+ # resp.application_id #=> String
2512
+ # resp.idc_application_arn #=> String
2513
+ # resp.principal #=> String
2514
+ # resp.action_configurations #=> Array
2515
+ # resp.action_configurations[0].action #=> String
2516
+ # resp.action_configurations[0].filter_configuration.document_attribute_filter.and_all_filters #=> Array
2517
+ # resp.action_configurations[0].filter_configuration.document_attribute_filter.and_all_filters[0] #=> Types::AttributeFilter
2518
+ # resp.action_configurations[0].filter_configuration.document_attribute_filter.or_all_filters #=> Array
2519
+ # resp.action_configurations[0].filter_configuration.document_attribute_filter.or_all_filters[0] #=> Types::AttributeFilter
2520
+ # resp.action_configurations[0].filter_configuration.document_attribute_filter.not_filter #=> Types::AttributeFilter
2521
+ # resp.action_configurations[0].filter_configuration.document_attribute_filter.equals_to.name #=> String
2522
+ # resp.action_configurations[0].filter_configuration.document_attribute_filter.equals_to.value.string_value #=> String
2523
+ # resp.action_configurations[0].filter_configuration.document_attribute_filter.equals_to.value.string_list_value #=> Array
2524
+ # resp.action_configurations[0].filter_configuration.document_attribute_filter.equals_to.value.string_list_value[0] #=> String
2525
+ # resp.action_configurations[0].filter_configuration.document_attribute_filter.equals_to.value.long_value #=> Integer
2526
+ # resp.action_configurations[0].filter_configuration.document_attribute_filter.equals_to.value.date_value #=> Time
2527
+ # resp.action_configurations[0].filter_configuration.document_attribute_filter.contains_all.name #=> String
2528
+ # resp.action_configurations[0].filter_configuration.document_attribute_filter.contains_all.value.string_value #=> String
2529
+ # resp.action_configurations[0].filter_configuration.document_attribute_filter.contains_all.value.string_list_value #=> Array
2530
+ # resp.action_configurations[0].filter_configuration.document_attribute_filter.contains_all.value.string_list_value[0] #=> String
2531
+ # resp.action_configurations[0].filter_configuration.document_attribute_filter.contains_all.value.long_value #=> Integer
2532
+ # resp.action_configurations[0].filter_configuration.document_attribute_filter.contains_all.value.date_value #=> Time
2533
+ # resp.action_configurations[0].filter_configuration.document_attribute_filter.contains_any.name #=> String
2534
+ # resp.action_configurations[0].filter_configuration.document_attribute_filter.contains_any.value.string_value #=> String
2535
+ # resp.action_configurations[0].filter_configuration.document_attribute_filter.contains_any.value.string_list_value #=> Array
2536
+ # resp.action_configurations[0].filter_configuration.document_attribute_filter.contains_any.value.string_list_value[0] #=> String
2537
+ # resp.action_configurations[0].filter_configuration.document_attribute_filter.contains_any.value.long_value #=> Integer
2538
+ # resp.action_configurations[0].filter_configuration.document_attribute_filter.contains_any.value.date_value #=> Time
2539
+ # resp.action_configurations[0].filter_configuration.document_attribute_filter.greater_than.name #=> String
2540
+ # resp.action_configurations[0].filter_configuration.document_attribute_filter.greater_than.value.string_value #=> String
2541
+ # resp.action_configurations[0].filter_configuration.document_attribute_filter.greater_than.value.string_list_value #=> Array
2542
+ # resp.action_configurations[0].filter_configuration.document_attribute_filter.greater_than.value.string_list_value[0] #=> String
2543
+ # resp.action_configurations[0].filter_configuration.document_attribute_filter.greater_than.value.long_value #=> Integer
2544
+ # resp.action_configurations[0].filter_configuration.document_attribute_filter.greater_than.value.date_value #=> Time
2545
+ # resp.action_configurations[0].filter_configuration.document_attribute_filter.greater_than_or_equals.name #=> String
2546
+ # resp.action_configurations[0].filter_configuration.document_attribute_filter.greater_than_or_equals.value.string_value #=> String
2547
+ # resp.action_configurations[0].filter_configuration.document_attribute_filter.greater_than_or_equals.value.string_list_value #=> Array
2548
+ # resp.action_configurations[0].filter_configuration.document_attribute_filter.greater_than_or_equals.value.string_list_value[0] #=> String
2549
+ # resp.action_configurations[0].filter_configuration.document_attribute_filter.greater_than_or_equals.value.long_value #=> Integer
2550
+ # resp.action_configurations[0].filter_configuration.document_attribute_filter.greater_than_or_equals.value.date_value #=> Time
2551
+ # resp.action_configurations[0].filter_configuration.document_attribute_filter.less_than.name #=> String
2552
+ # resp.action_configurations[0].filter_configuration.document_attribute_filter.less_than.value.string_value #=> String
2553
+ # resp.action_configurations[0].filter_configuration.document_attribute_filter.less_than.value.string_list_value #=> Array
2554
+ # resp.action_configurations[0].filter_configuration.document_attribute_filter.less_than.value.string_list_value[0] #=> String
2555
+ # resp.action_configurations[0].filter_configuration.document_attribute_filter.less_than.value.long_value #=> Integer
2556
+ # resp.action_configurations[0].filter_configuration.document_attribute_filter.less_than.value.date_value #=> Time
2557
+ # resp.action_configurations[0].filter_configuration.document_attribute_filter.less_than_or_equals.name #=> String
2558
+ # resp.action_configurations[0].filter_configuration.document_attribute_filter.less_than_or_equals.value.string_value #=> String
2559
+ # resp.action_configurations[0].filter_configuration.document_attribute_filter.less_than_or_equals.value.string_list_value #=> Array
2560
+ # resp.action_configurations[0].filter_configuration.document_attribute_filter.less_than_or_equals.value.string_list_value[0] #=> String
2561
+ # resp.action_configurations[0].filter_configuration.document_attribute_filter.less_than_or_equals.value.long_value #=> Integer
2562
+ # resp.action_configurations[0].filter_configuration.document_attribute_filter.less_than_or_equals.value.date_value #=> Time
2563
+ # resp.created_at #=> Time
2564
+ # resp.updated_at #=> Time
2565
+ #
2566
+ # @see http://docs.aws.amazon.com/goto/WebAPI/qbusiness-2023-11-27/GetDataAccessor AWS API Documentation
2567
+ #
2568
+ # @overload get_data_accessor(params = {})
2569
+ # @param [Hash] params ({})
2570
+ def get_data_accessor(params = {}, options = {})
2571
+ req = build_request(:get_data_accessor, params)
2572
+ req.send_request(options)
2573
+ end
2574
+
2184
2575
  # Gets information about an existing Amazon Q Business data source
2185
2576
  # connector.
2186
2577
  #
@@ -2490,12 +2881,16 @@ module Aws::QBusiness
2490
2881
  # resp.application_id #=> String
2491
2882
  # resp.plugin_id #=> String
2492
2883
  # resp.display_name #=> String
2493
- # resp.type #=> String, one of "SERVICE_NOW", "SALESFORCE", "JIRA", "ZENDESK", "CUSTOM"
2884
+ # resp.type #=> String, one of "SERVICE_NOW", "SALESFORCE", "JIRA", "ZENDESK", "CUSTOM", "QUICKSIGHT", "SERVICENOW_NOW_PLATFORM", "JIRA_CLOUD", "SALESFORCE_CRM", "ZENDESK_SUITE", "ATLASSIAN_CONFLUENCE", "GOOGLE_CALENDAR", "MICROSOFT_TEAMS", "MICROSOFT_EXCHANGE", "PAGERDUTY_ADVANCE", "SMARTSHEET", "ASANA"
2494
2885
  # resp.server_url #=> String
2495
2886
  # resp.auth_configuration.basic_auth_configuration.secret_arn #=> String
2496
2887
  # resp.auth_configuration.basic_auth_configuration.role_arn #=> String
2497
2888
  # resp.auth_configuration.o_auth_2_client_credential_configuration.secret_arn #=> String
2498
2889
  # resp.auth_configuration.o_auth_2_client_credential_configuration.role_arn #=> String
2890
+ # resp.auth_configuration.o_auth_2_client_credential_configuration.authorization_url #=> String
2891
+ # resp.auth_configuration.o_auth_2_client_credential_configuration.token_url #=> String
2892
+ # resp.auth_configuration.idc_auth_configuration.idc_application_arn #=> String
2893
+ # resp.auth_configuration.idc_auth_configuration.role_arn #=> String
2499
2894
  # resp.custom_plugin_configuration.description #=> String
2500
2895
  # resp.custom_plugin_configuration.api_schema_type #=> String, one of "OPEN_API_V3"
2501
2896
  # resp.custom_plugin_configuration.api_schema.payload #=> String
@@ -2516,6 +2911,36 @@ module Aws::QBusiness
2516
2911
  req.send_request(options)
2517
2912
  end
2518
2913
 
2914
+ # Retrieves the current permission policy for a Q Business application.
2915
+ # The policy is returned as a JSON-formatted string and defines the IAM
2916
+ # actions that are allowed or denied for the application's resources.
2917
+ #
2918
+ # @option params [required, String] :application_id
2919
+ # The unique identifier of the Q Business application.
2920
+ #
2921
+ # @return [Types::GetPolicyResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
2922
+ #
2923
+ # * {Types::GetPolicyResponse#policy #policy} => String
2924
+ #
2925
+ # @example Request syntax with placeholder values
2926
+ #
2927
+ # resp = client.get_policy({
2928
+ # application_id: "ApplicationId", # required
2929
+ # })
2930
+ #
2931
+ # @example Response structure
2932
+ #
2933
+ # resp.policy #=> String
2934
+ #
2935
+ # @see http://docs.aws.amazon.com/goto/WebAPI/qbusiness-2023-11-27/GetPolicy AWS API Documentation
2936
+ #
2937
+ # @overload get_policy(params = {})
2938
+ # @param [Hash] params ({})
2939
+ def get_policy(params = {}, options = {})
2940
+ req = build_request(:get_policy, params)
2941
+ req.send_request(options)
2942
+ end
2943
+
2519
2944
  # Gets information about an existing retriever used by an Amazon Q
2520
2945
  # Business application.
2521
2946
  #
@@ -2642,6 +3067,7 @@ module Aws::QBusiness
2642
3067
  # * {Types::GetWebExperienceResponse#authentication_configuration #authentication_configuration} => Types::WebExperienceAuthConfiguration
2643
3068
  # * {Types::GetWebExperienceResponse#error #error} => Types::ErrorDetail
2644
3069
  # * {Types::GetWebExperienceResponse#browser_extension_configuration #browser_extension_configuration} => Types::BrowserExtensionConfiguration
3070
+ # * {Types::GetWebExperienceResponse#customization_configuration #customization_configuration} => Types::CustomizationConfiguration
2645
3071
  #
2646
3072
  # @example Request syntax with placeholder values
2647
3073
  #
@@ -2677,6 +3103,10 @@ module Aws::QBusiness
2677
3103
  # resp.error.error_code #=> String, one of "InternalError", "InvalidRequest", "ResourceInactive", "ResourceNotFound"
2678
3104
  # resp.browser_extension_configuration.enabled_browser_extensions #=> Array
2679
3105
  # resp.browser_extension_configuration.enabled_browser_extensions[0] #=> String, one of "FIREFOX", "CHROME"
3106
+ # resp.customization_configuration.custom_css_url #=> String
3107
+ # resp.customization_configuration.logo_url #=> String
3108
+ # resp.customization_configuration.font_url #=> String
3109
+ # resp.customization_configuration.favicon_url #=> String
2680
3110
  #
2681
3111
  # @see http://docs.aws.amazon.com/goto/WebAPI/qbusiness-2023-11-27/GetWebExperience AWS API Documentation
2682
3112
  #
@@ -2732,7 +3162,8 @@ module Aws::QBusiness
2732
3162
  # resp.applications[0].created_at #=> Time
2733
3163
  # resp.applications[0].updated_at #=> Time
2734
3164
  # resp.applications[0].status #=> String, one of "CREATING", "ACTIVE", "DELETING", "FAILED", "UPDATING"
2735
- # resp.applications[0].identity_type #=> String, one of "AWS_IAM_IDP_SAML", "AWS_IAM_IDP_OIDC", "AWS_IAM_IDC"
3165
+ # resp.applications[0].identity_type #=> String, one of "AWS_IAM_IDP_SAML", "AWS_IAM_IDP_OIDC", "AWS_IAM_IDC", "AWS_QUICKSIGHT_IDP"
3166
+ # resp.applications[0].quick_sight_configuration.client_namespace #=> String
2736
3167
  #
2737
3168
  # @see http://docs.aws.amazon.com/goto/WebAPI/qbusiness-2023-11-27/ListApplications AWS API Documentation
2738
3169
  #
@@ -2860,6 +3291,57 @@ module Aws::QBusiness
2860
3291
  req.send_request(options)
2861
3292
  end
2862
3293
 
3294
+ # Lists the data accessors for a Q Business application. This operation
3295
+ # returns a paginated list of data accessor summaries, including the
3296
+ # friendly name, unique identifier, ARN, associated IAM role, and
3297
+ # creation/update timestamps for each data accessor.
3298
+ #
3299
+ # @option params [required, String] :application_id
3300
+ # The unique identifier of the Q Business application.
3301
+ #
3302
+ # @option params [String] :next_token
3303
+ # The token for the next set of results. (You received this token from a
3304
+ # previous call.)
3305
+ #
3306
+ # @option params [Integer] :max_results
3307
+ # The maximum number of results to return in a single call.
3308
+ #
3309
+ # @return [Types::ListDataAccessorsResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
3310
+ #
3311
+ # * {Types::ListDataAccessorsResponse#data_accessors #data_accessors} => Array&lt;Types::DataAccessor&gt;
3312
+ # * {Types::ListDataAccessorsResponse#next_token #next_token} => String
3313
+ #
3314
+ # The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
3315
+ #
3316
+ # @example Request syntax with placeholder values
3317
+ #
3318
+ # resp = client.list_data_accessors({
3319
+ # application_id: "ApplicationId", # required
3320
+ # next_token: "NextToken1500",
3321
+ # max_results: 1,
3322
+ # })
3323
+ #
3324
+ # @example Response structure
3325
+ #
3326
+ # resp.data_accessors #=> Array
3327
+ # resp.data_accessors[0].display_name #=> String
3328
+ # resp.data_accessors[0].data_accessor_id #=> String
3329
+ # resp.data_accessors[0].data_accessor_arn #=> String
3330
+ # resp.data_accessors[0].idc_application_arn #=> String
3331
+ # resp.data_accessors[0].principal #=> String
3332
+ # resp.data_accessors[0].created_at #=> Time
3333
+ # resp.data_accessors[0].updated_at #=> Time
3334
+ # resp.next_token #=> String
3335
+ #
3336
+ # @see http://docs.aws.amazon.com/goto/WebAPI/qbusiness-2023-11-27/ListDataAccessors AWS API Documentation
3337
+ #
3338
+ # @overload list_data_accessors(params = {})
3339
+ # @param [Hash] params ({})
3340
+ def list_data_accessors(params = {}, options = {})
3341
+ req = build_request(:list_data_accessors, params)
3342
+ req.send_request(options)
3343
+ end
3344
+
2863
3345
  # Get information about an Amazon Q Business data source connector
2864
3346
  # synchronization.
2865
3347
  #
@@ -3226,7 +3708,7 @@ module Aws::QBusiness
3226
3708
  # resp.messages[0].source_attribution[0].text_message_segments[0].media_id #=> String
3227
3709
  # resp.messages[0].source_attribution[0].text_message_segments[0].media_mime_type #=> String
3228
3710
  # resp.messages[0].action_review.plugin_id #=> String
3229
- # resp.messages[0].action_review.plugin_type #=> String, one of "SERVICE_NOW", "SALESFORCE", "JIRA", "ZENDESK", "CUSTOM"
3711
+ # resp.messages[0].action_review.plugin_type #=> String, one of "SERVICE_NOW", "SALESFORCE", "JIRA", "ZENDESK", "CUSTOM", "QUICKSIGHT", "SERVICENOW_NOW_PLATFORM", "JIRA_CLOUD", "SALESFORCE_CRM", "ZENDESK_SUITE", "ATLASSIAN_CONFLUENCE", "GOOGLE_CALENDAR", "MICROSOFT_TEAMS", "MICROSOFT_EXCHANGE", "PAGERDUTY_ADVANCE", "SMARTSHEET", "ASANA"
3230
3712
  # resp.messages[0].action_review.payload #=> Hash
3231
3713
  # resp.messages[0].action_review.payload["ActionPayloadFieldKey"].display_name #=> String
3232
3714
  # resp.messages[0].action_review.payload["ActionPayloadFieldKey"].display_order #=> Integer
@@ -3250,6 +3732,146 @@ module Aws::QBusiness
3250
3732
  req.send_request(options)
3251
3733
  end
3252
3734
 
3735
+ # Lists configured Amazon Q Business actions for a specific plugin in an
3736
+ # Amazon Q Business application.
3737
+ #
3738
+ # @option params [required, String] :application_id
3739
+ # The identifier of the Amazon Q Business application the plugin is
3740
+ # attached to.
3741
+ #
3742
+ # @option params [required, String] :plugin_id
3743
+ # The identifier of the Amazon Q Business plugin.
3744
+ #
3745
+ # @option params [String] :next_token
3746
+ # If the number of plugin actions returned exceeds `maxResults`, Amazon
3747
+ # Q Business returns a next token as a pagination token to retrieve the
3748
+ # next set of plugin actions.
3749
+ #
3750
+ # @option params [Integer] :max_results
3751
+ # The maximum number of plugin actions to return.
3752
+ #
3753
+ # @return [Types::ListPluginActionsResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
3754
+ #
3755
+ # * {Types::ListPluginActionsResponse#next_token #next_token} => String
3756
+ # * {Types::ListPluginActionsResponse#items #items} => Array&lt;Types::ActionSummary&gt;
3757
+ #
3758
+ # The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
3759
+ #
3760
+ # @example Request syntax with placeholder values
3761
+ #
3762
+ # resp = client.list_plugin_actions({
3763
+ # application_id: "ApplicationId", # required
3764
+ # plugin_id: "PluginId", # required
3765
+ # next_token: "NextToken",
3766
+ # max_results: 1,
3767
+ # })
3768
+ #
3769
+ # @example Response structure
3770
+ #
3771
+ # resp.next_token #=> String
3772
+ # resp.items #=> Array
3773
+ # resp.items[0].action_identifier #=> String
3774
+ # resp.items[0].display_name #=> String
3775
+ # resp.items[0].instruction_example #=> String
3776
+ # resp.items[0].description #=> String
3777
+ #
3778
+ # @see http://docs.aws.amazon.com/goto/WebAPI/qbusiness-2023-11-27/ListPluginActions AWS API Documentation
3779
+ #
3780
+ # @overload list_plugin_actions(params = {})
3781
+ # @param [Hash] params ({})
3782
+ def list_plugin_actions(params = {}, options = {})
3783
+ req = build_request(:list_plugin_actions, params)
3784
+ req.send_request(options)
3785
+ end
3786
+
3787
+ # Lists configured Amazon Q Business actions for any plugin type—both
3788
+ # built-in and custom.
3789
+ #
3790
+ # @option params [required, String] :plugin_type
3791
+ # The type of the plugin.
3792
+ #
3793
+ # @option params [String] :next_token
3794
+ # If the number of plugins returned exceeds `maxResults`, Amazon Q
3795
+ # Business returns a next token as a pagination token to retrieve the
3796
+ # next set of plugins.
3797
+ #
3798
+ # @option params [Integer] :max_results
3799
+ # The maximum number of plugins to return.
3800
+ #
3801
+ # @return [Types::ListPluginTypeActionsResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
3802
+ #
3803
+ # * {Types::ListPluginTypeActionsResponse#next_token #next_token} => String
3804
+ # * {Types::ListPluginTypeActionsResponse#items #items} => Array&lt;Types::ActionSummary&gt;
3805
+ #
3806
+ # The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
3807
+ #
3808
+ # @example Request syntax with placeholder values
3809
+ #
3810
+ # resp = client.list_plugin_type_actions({
3811
+ # plugin_type: "SERVICE_NOW", # required, accepts SERVICE_NOW, SALESFORCE, JIRA, ZENDESK, CUSTOM, QUICKSIGHT, SERVICENOW_NOW_PLATFORM, JIRA_CLOUD, SALESFORCE_CRM, ZENDESK_SUITE, ATLASSIAN_CONFLUENCE, GOOGLE_CALENDAR, MICROSOFT_TEAMS, MICROSOFT_EXCHANGE, PAGERDUTY_ADVANCE, SMARTSHEET, ASANA
3812
+ # next_token: "NextToken",
3813
+ # max_results: 1,
3814
+ # })
3815
+ #
3816
+ # @example Response structure
3817
+ #
3818
+ # resp.next_token #=> String
3819
+ # resp.items #=> Array
3820
+ # resp.items[0].action_identifier #=> String
3821
+ # resp.items[0].display_name #=> String
3822
+ # resp.items[0].instruction_example #=> String
3823
+ # resp.items[0].description #=> String
3824
+ #
3825
+ # @see http://docs.aws.amazon.com/goto/WebAPI/qbusiness-2023-11-27/ListPluginTypeActions AWS API Documentation
3826
+ #
3827
+ # @overload list_plugin_type_actions(params = {})
3828
+ # @param [Hash] params ({})
3829
+ def list_plugin_type_actions(params = {}, options = {})
3830
+ req = build_request(:list_plugin_type_actions, params)
3831
+ req.send_request(options)
3832
+ end
3833
+
3834
+ # Lists metadata for all Amazon Q Business plugin types.
3835
+ #
3836
+ # @option params [String] :next_token
3837
+ # If the metadata returned exceeds `maxResults`, Amazon Q Business
3838
+ # returns a next token as a pagination token to retrieve the next set of
3839
+ # metadata.
3840
+ #
3841
+ # @option params [Integer] :max_results
3842
+ # The maximum number of plugin metadata items to return.
3843
+ #
3844
+ # @return [Types::ListPluginTypeMetadataResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
3845
+ #
3846
+ # * {Types::ListPluginTypeMetadataResponse#next_token #next_token} => String
3847
+ # * {Types::ListPluginTypeMetadataResponse#items #items} => Array&lt;Types::PluginTypeMetadataSummary&gt;
3848
+ #
3849
+ # The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
3850
+ #
3851
+ # @example Request syntax with placeholder values
3852
+ #
3853
+ # resp = client.list_plugin_type_metadata({
3854
+ # next_token: "NextToken",
3855
+ # max_results: 1,
3856
+ # })
3857
+ #
3858
+ # @example Response structure
3859
+ #
3860
+ # resp.next_token #=> String
3861
+ # resp.items #=> Array
3862
+ # resp.items[0].type #=> String, one of "SERVICE_NOW", "SALESFORCE", "JIRA", "ZENDESK", "CUSTOM", "QUICKSIGHT", "SERVICENOW_NOW_PLATFORM", "JIRA_CLOUD", "SALESFORCE_CRM", "ZENDESK_SUITE", "ATLASSIAN_CONFLUENCE", "GOOGLE_CALENDAR", "MICROSOFT_TEAMS", "MICROSOFT_EXCHANGE", "PAGERDUTY_ADVANCE", "SMARTSHEET", "ASANA"
3863
+ # resp.items[0].category #=> String, one of "Customer relationship management (CRM)", "Project management", "Communication", "Productivity", "Ticketing and incident management"
3864
+ # resp.items[0].description #=> String
3865
+ #
3866
+ # @see http://docs.aws.amazon.com/goto/WebAPI/qbusiness-2023-11-27/ListPluginTypeMetadata AWS API Documentation
3867
+ #
3868
+ # @overload list_plugin_type_metadata(params = {})
3869
+ # @param [Hash] params ({})
3870
+ def list_plugin_type_metadata(params = {}, options = {})
3871
+ req = build_request(:list_plugin_type_metadata, params)
3872
+ req.send_request(options)
3873
+ end
3874
+
3253
3875
  # Lists configured Amazon Q Business plugins.
3254
3876
  #
3255
3877
  # @option params [required, String] :application_id
@@ -3285,7 +3907,7 @@ module Aws::QBusiness
3285
3907
  # resp.plugins #=> Array
3286
3908
  # resp.plugins[0].plugin_id #=> String
3287
3909
  # resp.plugins[0].display_name #=> String
3288
- # resp.plugins[0].type #=> String, one of "SERVICE_NOW", "SALESFORCE", "JIRA", "ZENDESK", "CUSTOM"
3910
+ # resp.plugins[0].type #=> String, one of "SERVICE_NOW", "SALESFORCE", "JIRA", "ZENDESK", "CUSTOM", "QUICKSIGHT", "SERVICENOW_NOW_PLATFORM", "JIRA_CLOUD", "SALESFORCE_CRM", "ZENDESK_SUITE", "ATLASSIAN_CONFLUENCE", "GOOGLE_CALENDAR", "MICROSOFT_TEAMS", "MICROSOFT_EXCHANGE", "PAGERDUTY_ADVANCE", "SMARTSHEET", "ASANA"
3289
3911
  # resp.plugins[0].server_url #=> String
3290
3912
  # resp.plugins[0].state #=> String, one of "ENABLED", "DISABLED"
3291
3913
  # resp.plugins[0].build_status #=> String, one of "READY", "CREATE_IN_PROGRESS", "CREATE_FAILED", "UPDATE_IN_PROGRESS", "UPDATE_FAILED", "DELETE_IN_PROGRESS", "DELETE_FAILED"
@@ -3568,6 +4190,168 @@ module Aws::QBusiness
3568
4190
  req.send_request(options)
3569
4191
  end
3570
4192
 
4193
+ # Searches for relevant content in a Q Business application based on a
4194
+ # query. This operation takes a search query text, the Q Business
4195
+ # application identifier, and optional filters (such as user ID, user
4196
+ # groups, content source, and maximum results) as input. It returns a
4197
+ # list of relevant content items, where each item includes the content
4198
+ # text, the unique document identifier, the document title, the document
4199
+ # URI, any relevant document attributes, and score attributes indicating
4200
+ # the confidence level of the relevance.
4201
+ #
4202
+ # @option params [required, String] :application_id
4203
+ # The unique identifier of the Q Business application to search.
4204
+ #
4205
+ # @option params [String] :user_id
4206
+ # The ID of the user performing the search. Used for access control.
4207
+ #
4208
+ # @option params [Array<String>] :user_groups
4209
+ # The groups the user belongs to. Used for access control.
4210
+ #
4211
+ # @option params [required, String] :query_text
4212
+ # The text to search for.
4213
+ #
4214
+ # @option params [required, Types::ContentSource] :content_source
4215
+ # The source of content to search in.
4216
+ #
4217
+ # @option params [Types::AttributeFilter] :attribute_filter
4218
+ # Enables filtering of responses based on document attributes or
4219
+ # metadata fields.
4220
+ #
4221
+ # @option params [Integer] :max_results
4222
+ # The maximum number of results to return.
4223
+ #
4224
+ # @option params [String] :next_token
4225
+ # The token for the next set of results. (You received this token from a
4226
+ # previous call.)
4227
+ #
4228
+ # @return [Types::SearchRelevantContentResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
4229
+ #
4230
+ # * {Types::SearchRelevantContentResponse#relevant_content #relevant_content} => Array&lt;Types::RelevantContent&gt;
4231
+ # * {Types::SearchRelevantContentResponse#next_token #next_token} => String
4232
+ #
4233
+ # The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
4234
+ #
4235
+ # @example Request syntax with placeholder values
4236
+ #
4237
+ # resp = client.search_relevant_content({
4238
+ # application_id: "ApplicationId", # required
4239
+ # user_id: "UserId",
4240
+ # user_groups: ["String"],
4241
+ # query_text: "QueryText", # required
4242
+ # content_source: { # required
4243
+ # retriever: {
4244
+ # retriever_id: "RetrieverId", # required
4245
+ # },
4246
+ # },
4247
+ # attribute_filter: {
4248
+ # and_all_filters: [
4249
+ # {
4250
+ # # recursive AttributeFilter
4251
+ # },
4252
+ # ],
4253
+ # or_all_filters: [
4254
+ # {
4255
+ # # recursive AttributeFilter
4256
+ # },
4257
+ # ],
4258
+ # not_filter: {
4259
+ # # recursive AttributeFilter
4260
+ # },
4261
+ # equals_to: {
4262
+ # name: "DocumentAttributeKey", # required
4263
+ # value: { # required
4264
+ # string_value: "DocumentAttributeValueStringValueString",
4265
+ # string_list_value: ["String"],
4266
+ # long_value: 1,
4267
+ # date_value: Time.now,
4268
+ # },
4269
+ # },
4270
+ # contains_all: {
4271
+ # name: "DocumentAttributeKey", # required
4272
+ # value: { # required
4273
+ # string_value: "DocumentAttributeValueStringValueString",
4274
+ # string_list_value: ["String"],
4275
+ # long_value: 1,
4276
+ # date_value: Time.now,
4277
+ # },
4278
+ # },
4279
+ # contains_any: {
4280
+ # name: "DocumentAttributeKey", # required
4281
+ # value: { # required
4282
+ # string_value: "DocumentAttributeValueStringValueString",
4283
+ # string_list_value: ["String"],
4284
+ # long_value: 1,
4285
+ # date_value: Time.now,
4286
+ # },
4287
+ # },
4288
+ # greater_than: {
4289
+ # name: "DocumentAttributeKey", # required
4290
+ # value: { # required
4291
+ # string_value: "DocumentAttributeValueStringValueString",
4292
+ # string_list_value: ["String"],
4293
+ # long_value: 1,
4294
+ # date_value: Time.now,
4295
+ # },
4296
+ # },
4297
+ # greater_than_or_equals: {
4298
+ # name: "DocumentAttributeKey", # required
4299
+ # value: { # required
4300
+ # string_value: "DocumentAttributeValueStringValueString",
4301
+ # string_list_value: ["String"],
4302
+ # long_value: 1,
4303
+ # date_value: Time.now,
4304
+ # },
4305
+ # },
4306
+ # less_than: {
4307
+ # name: "DocumentAttributeKey", # required
4308
+ # value: { # required
4309
+ # string_value: "DocumentAttributeValueStringValueString",
4310
+ # string_list_value: ["String"],
4311
+ # long_value: 1,
4312
+ # date_value: Time.now,
4313
+ # },
4314
+ # },
4315
+ # less_than_or_equals: {
4316
+ # name: "DocumentAttributeKey", # required
4317
+ # value: { # required
4318
+ # string_value: "DocumentAttributeValueStringValueString",
4319
+ # string_list_value: ["String"],
4320
+ # long_value: 1,
4321
+ # date_value: Time.now,
4322
+ # },
4323
+ # },
4324
+ # },
4325
+ # max_results: 1,
4326
+ # next_token: "NextToken",
4327
+ # })
4328
+ #
4329
+ # @example Response structure
4330
+ #
4331
+ # resp.relevant_content #=> Array
4332
+ # resp.relevant_content[0].content #=> String
4333
+ # resp.relevant_content[0].document_id #=> String
4334
+ # resp.relevant_content[0].document_title #=> String
4335
+ # resp.relevant_content[0].document_uri #=> String
4336
+ # resp.relevant_content[0].document_attributes #=> Array
4337
+ # resp.relevant_content[0].document_attributes[0].name #=> String
4338
+ # resp.relevant_content[0].document_attributes[0].value.string_value #=> String
4339
+ # resp.relevant_content[0].document_attributes[0].value.string_list_value #=> Array
4340
+ # resp.relevant_content[0].document_attributes[0].value.string_list_value[0] #=> String
4341
+ # resp.relevant_content[0].document_attributes[0].value.long_value #=> Integer
4342
+ # resp.relevant_content[0].document_attributes[0].value.date_value #=> Time
4343
+ # resp.relevant_content[0].score_attributes.score_confidence #=> String, one of "VERY_HIGH", "HIGH", "MEDIUM", "LOW", "NOT_AVAILABLE"
4344
+ # resp.next_token #=> String
4345
+ #
4346
+ # @see http://docs.aws.amazon.com/goto/WebAPI/qbusiness-2023-11-27/SearchRelevantContent AWS API Documentation
4347
+ #
4348
+ # @overload search_relevant_content(params = {})
4349
+ # @param [Hash] params ({})
4350
+ def search_relevant_content(params = {}, options = {})
4351
+ req = build_request(:search_relevant_content, params)
4352
+ req.send_request(options)
4353
+ end
4354
+
3571
4355
  # Starts a data source connector synchronization job. If a
3572
4356
  # synchronization job is already in progress, Amazon Q Business returns
3573
4357
  # a `ConflictException`.
@@ -3925,6 +4709,129 @@ module Aws::QBusiness
3925
4709
  req.send_request(options)
3926
4710
  end
3927
4711
 
4712
+ # Updates an existing data accessor. This operation allows modifying the
4713
+ # action configurations (the allowed actions and associated filters) and
4714
+ # the display name of the data accessor. It does not allow changing the
4715
+ # IAM role associated with the data accessor or other core properties of
4716
+ # the data accessor.
4717
+ #
4718
+ # @option params [required, String] :application_id
4719
+ # The unique identifier of the Q Business application.
4720
+ #
4721
+ # @option params [required, String] :data_accessor_id
4722
+ # The unique identifier of the data accessor to update.
4723
+ #
4724
+ # @option params [required, Array<Types::ActionConfiguration>] :action_configurations
4725
+ # The updated list of action configurations specifying the allowed
4726
+ # actions and any associated filters.
4727
+ #
4728
+ # @option params [String] :display_name
4729
+ # The updated friendly name for the data accessor.
4730
+ #
4731
+ # @return [Struct] Returns an empty {Seahorse::Client::Response response}.
4732
+ #
4733
+ # @example Request syntax with placeholder values
4734
+ #
4735
+ # resp = client.update_data_accessor({
4736
+ # application_id: "ApplicationId", # required
4737
+ # data_accessor_id: "DataAccessorId", # required
4738
+ # action_configurations: [ # required
4739
+ # {
4740
+ # action: "QIamAction", # required
4741
+ # filter_configuration: {
4742
+ # document_attribute_filter: { # required
4743
+ # and_all_filters: [
4744
+ # {
4745
+ # # recursive AttributeFilter
4746
+ # },
4747
+ # ],
4748
+ # or_all_filters: [
4749
+ # {
4750
+ # # recursive AttributeFilter
4751
+ # },
4752
+ # ],
4753
+ # not_filter: {
4754
+ # # recursive AttributeFilter
4755
+ # },
4756
+ # equals_to: {
4757
+ # name: "DocumentAttributeKey", # required
4758
+ # value: { # required
4759
+ # string_value: "DocumentAttributeValueStringValueString",
4760
+ # string_list_value: ["String"],
4761
+ # long_value: 1,
4762
+ # date_value: Time.now,
4763
+ # },
4764
+ # },
4765
+ # contains_all: {
4766
+ # name: "DocumentAttributeKey", # required
4767
+ # value: { # required
4768
+ # string_value: "DocumentAttributeValueStringValueString",
4769
+ # string_list_value: ["String"],
4770
+ # long_value: 1,
4771
+ # date_value: Time.now,
4772
+ # },
4773
+ # },
4774
+ # contains_any: {
4775
+ # name: "DocumentAttributeKey", # required
4776
+ # value: { # required
4777
+ # string_value: "DocumentAttributeValueStringValueString",
4778
+ # string_list_value: ["String"],
4779
+ # long_value: 1,
4780
+ # date_value: Time.now,
4781
+ # },
4782
+ # },
4783
+ # greater_than: {
4784
+ # name: "DocumentAttributeKey", # required
4785
+ # value: { # required
4786
+ # string_value: "DocumentAttributeValueStringValueString",
4787
+ # string_list_value: ["String"],
4788
+ # long_value: 1,
4789
+ # date_value: Time.now,
4790
+ # },
4791
+ # },
4792
+ # greater_than_or_equals: {
4793
+ # name: "DocumentAttributeKey", # required
4794
+ # value: { # required
4795
+ # string_value: "DocumentAttributeValueStringValueString",
4796
+ # string_list_value: ["String"],
4797
+ # long_value: 1,
4798
+ # date_value: Time.now,
4799
+ # },
4800
+ # },
4801
+ # less_than: {
4802
+ # name: "DocumentAttributeKey", # required
4803
+ # value: { # required
4804
+ # string_value: "DocumentAttributeValueStringValueString",
4805
+ # string_list_value: ["String"],
4806
+ # long_value: 1,
4807
+ # date_value: Time.now,
4808
+ # },
4809
+ # },
4810
+ # less_than_or_equals: {
4811
+ # name: "DocumentAttributeKey", # required
4812
+ # value: { # required
4813
+ # string_value: "DocumentAttributeValueStringValueString",
4814
+ # string_list_value: ["String"],
4815
+ # long_value: 1,
4816
+ # date_value: Time.now,
4817
+ # },
4818
+ # },
4819
+ # },
4820
+ # },
4821
+ # },
4822
+ # ],
4823
+ # display_name: "DataAccessorName",
4824
+ # })
4825
+ #
4826
+ # @see http://docs.aws.amazon.com/goto/WebAPI/qbusiness-2023-11-27/UpdateDataAccessor AWS API Documentation
4827
+ #
4828
+ # @overload update_data_accessor(params = {})
4829
+ # @param [Hash] params ({})
4830
+ def update_data_accessor(params = {}, options = {})
4831
+ req = build_request(:update_data_accessor, params)
4832
+ req.send_request(options)
4833
+ end
4834
+
3928
4835
  # Updates an existing Amazon Q Business data source connector.
3929
4836
  #
3930
4837
  # @option params [required, String] :application_id
@@ -4180,9 +5087,15 @@ module Aws::QBusiness
4180
5087
  # o_auth_2_client_credential_configuration: {
4181
5088
  # secret_arn: "SecretArn", # required
4182
5089
  # role_arn: "RoleArn", # required
5090
+ # authorization_url: "Url",
5091
+ # token_url: "Url",
4183
5092
  # },
4184
5093
  # no_auth_configuration: {
4185
5094
  # },
5095
+ # idc_auth_configuration: {
5096
+ # idc_application_arn: "IdcApplicationArn", # required
5097
+ # role_arn: "RoleArn", # required
5098
+ # },
4186
5099
  # },
4187
5100
  # })
4188
5101
  #
@@ -4390,6 +5303,10 @@ module Aws::QBusiness
4390
5303
  #
4391
5304
  # [1]: https://docs.aws.amazon.com/amazonq/latest/qbusiness-ug/browser-extensions.html
4392
5305
  #
5306
+ # @option params [Types::CustomizationConfiguration] :customization_configuration
5307
+ # Updates the custom logo, favicon, font, and color used in the Amazon Q
5308
+ # web experience.
5309
+ #
4393
5310
  # @return [Struct] Returns an empty {Seahorse::Client::Response response}.
4394
5311
  #
4395
5312
  # @example Request syntax with placeholder values
@@ -4423,6 +5340,12 @@ module Aws::QBusiness
4423
5340
  # browser_extension_configuration: {
4424
5341
  # enabled_browser_extensions: ["FIREFOX"], # required, accepts FIREFOX, CHROME
4425
5342
  # },
5343
+ # customization_configuration: {
5344
+ # custom_css_url: "CustomCSSUrl",
5345
+ # logo_url: "LogoUrl",
5346
+ # font_url: "FontUrl",
5347
+ # favicon_url: "FaviconUrl",
5348
+ # },
4426
5349
  # })
4427
5350
  #
4428
5351
  # @see http://docs.aws.amazon.com/goto/WebAPI/qbusiness-2023-11-27/UpdateWebExperience AWS API Documentation
@@ -4452,7 +5375,7 @@ module Aws::QBusiness
4452
5375
  tracer: tracer
4453
5376
  )
4454
5377
  context[:gem_name] = 'aws-sdk-qbusiness'
4455
- context[:gem_version] = '1.23.0'
5378
+ context[:gem_version] = '1.24.0'
4456
5379
  Seahorse::Client::Request.new(handlers, context)
4457
5380
  end
4458
5381