aws-sdk-qbusiness 1.10.0 → 1.11.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +5 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-qbusiness/async_client.rb +1 -1
- data/lib/aws-sdk-qbusiness/client.rb +25 -1
- data/lib/aws-sdk-qbusiness/client_api.rb +8 -0
- data/lib/aws-sdk-qbusiness/types.rb +54 -3
- data/lib/aws-sdk-qbusiness.rb +1 -1
- data/sig/client.rbs +7 -0
- data/sig/types.rbs +8 -0
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 20b03cc5793bf612a9919fbe290251219a49f7dc8ebc40b94124535c3113411d
|
4
|
+
data.tar.gz: f2663a04eaa616b7af0ca2eba98d16273007bd12ce65fe8c1f1002bace47c780
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 3a05f4d16545722f7910a99a2ba0aa440868f21021c6e2a309c59d766f168662fd1cee9b1a4fbd860b2d60c1a20781bb1534c35bd1942f2c1afccd367da8941a
|
7
|
+
data.tar.gz: ae8528fad510bda7d01ec1914d4773475b7533c9a6b9122cb71577911af735d1d97b4c2972540bc36b99b5ffae6508c8269b6181251fc934420a34f509e926dd
|
data/CHANGELOG.md
CHANGED
@@ -1,6 +1,11 @@
|
|
1
1
|
Unreleased Changes
|
2
2
|
------------------
|
3
3
|
|
4
|
+
1.11.0 (2024-07-05)
|
5
|
+
------------------
|
6
|
+
|
7
|
+
* Feature - Add personalization to Q Applications. Customers can enable or disable personalization when creating or updating a Q application with the personalization configuration.
|
8
|
+
|
4
9
|
1.10.0 (2024-07-02)
|
5
10
|
------------------
|
6
11
|
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.
|
1
|
+
1.11.0
|
@@ -580,7 +580,7 @@ module Aws::QBusiness
|
|
580
580
|
http_response: Seahorse::Client::Http::AsyncResponse.new,
|
581
581
|
config: config)
|
582
582
|
context[:gem_name] = 'aws-sdk-qbusiness'
|
583
|
-
context[:gem_version] = '1.
|
583
|
+
context[:gem_version] = '1.11.0'
|
584
584
|
Seahorse::Client::Request.new(handlers, context)
|
585
585
|
end
|
586
586
|
|
@@ -952,6 +952,14 @@ module Aws::QBusiness
|
|
952
952
|
# An option to allow end users to create and use Amazon Q Apps in the
|
953
953
|
# web experience.
|
954
954
|
#
|
955
|
+
# @option params [Types::PersonalizationConfiguration] :personalization_configuration
|
956
|
+
# Configuration information about chat response personalization. For
|
957
|
+
# more information, see [Personalizing chat responses][1]
|
958
|
+
#
|
959
|
+
#
|
960
|
+
#
|
961
|
+
# [1]: https://docs.aws.amazon.com/amazonq/latest/qbusiness-ug/personalizing-chat-responses.html
|
962
|
+
#
|
955
963
|
# @return [Types::CreateApplicationResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
956
964
|
#
|
957
965
|
# * {Types::CreateApplicationResponse#application_id #application_id} => String
|
@@ -980,6 +988,9 @@ module Aws::QBusiness
|
|
980
988
|
# q_apps_configuration: {
|
981
989
|
# q_apps_control_mode: "ENABLED", # required, accepts ENABLED, DISABLED
|
982
990
|
# },
|
991
|
+
# personalization_configuration: {
|
992
|
+
# personalization_control_mode: "ENABLED", # required, accepts ENABLED, DISABLED
|
993
|
+
# },
|
983
994
|
# })
|
984
995
|
#
|
985
996
|
# @example Response structure
|
@@ -1897,6 +1908,7 @@ module Aws::QBusiness
|
|
1897
1908
|
# * {Types::GetApplicationResponse#error #error} => Types::ErrorDetail
|
1898
1909
|
# * {Types::GetApplicationResponse#attachments_configuration #attachments_configuration} => Types::AppliedAttachmentsConfiguration
|
1899
1910
|
# * {Types::GetApplicationResponse#q_apps_configuration #q_apps_configuration} => Types::QAppsConfiguration
|
1911
|
+
# * {Types::GetApplicationResponse#personalization_configuration #personalization_configuration} => Types::PersonalizationConfiguration
|
1900
1912
|
#
|
1901
1913
|
# @example Request syntax with placeholder values
|
1902
1914
|
#
|
@@ -1920,6 +1932,7 @@ module Aws::QBusiness
|
|
1920
1932
|
# resp.error.error_code #=> String, one of "InternalError", "InvalidRequest", "ResourceInactive", "ResourceNotFound"
|
1921
1933
|
# resp.attachments_configuration.attachments_control_mode #=> String, one of "ENABLED", "DISABLED"
|
1922
1934
|
# resp.q_apps_configuration.q_apps_control_mode #=> String, one of "ENABLED", "DISABLED"
|
1935
|
+
# resp.personalization_configuration.personalization_control_mode #=> String, one of "ENABLED", "DISABLED"
|
1923
1936
|
#
|
1924
1937
|
# @see http://docs.aws.amazon.com/goto/WebAPI/qbusiness-2023-11-27/GetApplication AWS API Documentation
|
1925
1938
|
#
|
@@ -3398,6 +3411,14 @@ module Aws::QBusiness
|
|
3398
3411
|
# An option to allow end users to create and use Amazon Q Apps in the
|
3399
3412
|
# web experience.
|
3400
3413
|
#
|
3414
|
+
# @option params [Types::PersonalizationConfiguration] :personalization_configuration
|
3415
|
+
# Configuration information about chat response personalization. For
|
3416
|
+
# more information, see [Personalizing chat responses][1].
|
3417
|
+
#
|
3418
|
+
#
|
3419
|
+
#
|
3420
|
+
# [1]: https://docs.aws.amazon.com/amazonq/latest/qbusiness-ug/personalizing-chat-responses.html
|
3421
|
+
#
|
3401
3422
|
# @return [Struct] Returns an empty {Seahorse::Client::Response response}.
|
3402
3423
|
#
|
3403
3424
|
# @example Request syntax with placeholder values
|
@@ -3414,6 +3435,9 @@ module Aws::QBusiness
|
|
3414
3435
|
# q_apps_configuration: {
|
3415
3436
|
# q_apps_control_mode: "ENABLED", # required, accepts ENABLED, DISABLED
|
3416
3437
|
# },
|
3438
|
+
# personalization_configuration: {
|
3439
|
+
# personalization_control_mode: "ENABLED", # required, accepts ENABLED, DISABLED
|
3440
|
+
# },
|
3417
3441
|
# })
|
3418
3442
|
#
|
3419
3443
|
# @see http://docs.aws.amazon.com/goto/WebAPI/qbusiness-2023-11-27/UpdateApplication AWS API Documentation
|
@@ -4020,7 +4044,7 @@ module Aws::QBusiness
|
|
4020
4044
|
params: params,
|
4021
4045
|
config: config)
|
4022
4046
|
context[:gem_name] = 'aws-sdk-qbusiness'
|
4023
|
-
context[:gem_version] = '1.
|
4047
|
+
context[:gem_version] = '1.11.0'
|
4024
4048
|
Seahorse::Client::Request.new(handlers, context)
|
4025
4049
|
end
|
4026
4050
|
|
@@ -295,6 +295,8 @@ module Aws::QBusiness
|
|
295
295
|
NumberAttributeBoostingType = Shapes::StringShape.new(name: 'NumberAttributeBoostingType')
|
296
296
|
OAuth2ClientCredentialConfiguration = Shapes::StructureShape.new(name: 'OAuth2ClientCredentialConfiguration')
|
297
297
|
Payload = Shapes::StringShape.new(name: 'Payload')
|
298
|
+
PersonalizationConfiguration = Shapes::StructureShape.new(name: 'PersonalizationConfiguration')
|
299
|
+
PersonalizationControlMode = Shapes::StringShape.new(name: 'PersonalizationControlMode')
|
298
300
|
Plugin = Shapes::StructureShape.new(name: 'Plugin')
|
299
301
|
PluginArn = Shapes::StringShape.new(name: 'PluginArn')
|
300
302
|
PluginAuthConfiguration = Shapes::UnionShape.new(name: 'PluginAuthConfiguration')
|
@@ -682,6 +684,7 @@ module Aws::QBusiness
|
|
682
684
|
CreateApplicationRequest.add_member(:client_token, Shapes::ShapeRef.new(shape: ClientToken, location_name: "clientToken", metadata: {"idempotencyToken"=>true}))
|
683
685
|
CreateApplicationRequest.add_member(:attachments_configuration, Shapes::ShapeRef.new(shape: AttachmentsConfiguration, location_name: "attachmentsConfiguration"))
|
684
686
|
CreateApplicationRequest.add_member(:q_apps_configuration, Shapes::ShapeRef.new(shape: QAppsConfiguration, location_name: "qAppsConfiguration"))
|
687
|
+
CreateApplicationRequest.add_member(:personalization_configuration, Shapes::ShapeRef.new(shape: PersonalizationConfiguration, location_name: "personalizationConfiguration"))
|
685
688
|
CreateApplicationRequest.struct_class = Types::CreateApplicationRequest
|
686
689
|
|
687
690
|
CreateApplicationResponse.add_member(:application_id, Shapes::ShapeRef.new(shape: ApplicationId, location_name: "applicationId"))
|
@@ -1014,6 +1017,7 @@ module Aws::QBusiness
|
|
1014
1017
|
GetApplicationResponse.add_member(:error, Shapes::ShapeRef.new(shape: ErrorDetail, location_name: "error"))
|
1015
1018
|
GetApplicationResponse.add_member(:attachments_configuration, Shapes::ShapeRef.new(shape: AppliedAttachmentsConfiguration, location_name: "attachmentsConfiguration"))
|
1016
1019
|
GetApplicationResponse.add_member(:q_apps_configuration, Shapes::ShapeRef.new(shape: QAppsConfiguration, location_name: "qAppsConfiguration"))
|
1020
|
+
GetApplicationResponse.add_member(:personalization_configuration, Shapes::ShapeRef.new(shape: PersonalizationConfiguration, location_name: "personalizationConfiguration"))
|
1017
1021
|
GetApplicationResponse.struct_class = Types::GetApplicationResponse
|
1018
1022
|
|
1019
1023
|
GetChatControlsConfigurationRequest.add_member(:application_id, Shapes::ShapeRef.new(shape: ApplicationId, required: true, location: "uri", location_name: "applicationId"))
|
@@ -1363,6 +1367,9 @@ module Aws::QBusiness
|
|
1363
1367
|
OAuth2ClientCredentialConfiguration.add_member(:role_arn, Shapes::ShapeRef.new(shape: RoleArn, required: true, location_name: "roleArn"))
|
1364
1368
|
OAuth2ClientCredentialConfiguration.struct_class = Types::OAuth2ClientCredentialConfiguration
|
1365
1369
|
|
1370
|
+
PersonalizationConfiguration.add_member(:personalization_control_mode, Shapes::ShapeRef.new(shape: PersonalizationControlMode, required: true, location_name: "personalizationControlMode"))
|
1371
|
+
PersonalizationConfiguration.struct_class = Types::PersonalizationConfiguration
|
1372
|
+
|
1366
1373
|
Plugin.add_member(:plugin_id, Shapes::ShapeRef.new(shape: PluginId, location_name: "pluginId"))
|
1367
1374
|
Plugin.add_member(:display_name, Shapes::ShapeRef.new(shape: PluginName, location_name: "displayName"))
|
1368
1375
|
Plugin.add_member(:type, Shapes::ShapeRef.new(shape: PluginType, location_name: "type"))
|
@@ -1582,6 +1589,7 @@ module Aws::QBusiness
|
|
1582
1589
|
UpdateApplicationRequest.add_member(:role_arn, Shapes::ShapeRef.new(shape: RoleArn, location_name: "roleArn"))
|
1583
1590
|
UpdateApplicationRequest.add_member(:attachments_configuration, Shapes::ShapeRef.new(shape: AttachmentsConfiguration, location_name: "attachmentsConfiguration"))
|
1584
1591
|
UpdateApplicationRequest.add_member(:q_apps_configuration, Shapes::ShapeRef.new(shape: QAppsConfiguration, location_name: "qAppsConfiguration"))
|
1592
|
+
UpdateApplicationRequest.add_member(:personalization_configuration, Shapes::ShapeRef.new(shape: PersonalizationConfiguration, location_name: "personalizationConfiguration"))
|
1585
1593
|
UpdateApplicationRequest.struct_class = Types::UpdateApplicationRequest
|
1586
1594
|
|
1587
1595
|
UpdateApplicationResponse.struct_class = Types::UpdateApplicationResponse
|
@@ -1263,6 +1263,15 @@ module Aws::QBusiness
|
|
1263
1263
|
# web experience.
|
1264
1264
|
# @return [Types::QAppsConfiguration]
|
1265
1265
|
#
|
1266
|
+
# @!attribute [rw] personalization_configuration
|
1267
|
+
# Configuration information about chat response personalization. For
|
1268
|
+
# more information, see [Personalizing chat responses][1]
|
1269
|
+
#
|
1270
|
+
#
|
1271
|
+
#
|
1272
|
+
# [1]: https://docs.aws.amazon.com/amazonq/latest/qbusiness-ug/personalizing-chat-responses.html
|
1273
|
+
# @return [Types::PersonalizationConfiguration]
|
1274
|
+
#
|
1266
1275
|
# @see http://docs.aws.amazon.com/goto/WebAPI/qbusiness-2023-11-27/CreateApplicationRequest AWS API Documentation
|
1267
1276
|
#
|
1268
1277
|
class CreateApplicationRequest < Struct.new(
|
@@ -1274,7 +1283,8 @@ module Aws::QBusiness
|
|
1274
1283
|
:tags,
|
1275
1284
|
:client_token,
|
1276
1285
|
:attachments_configuration,
|
1277
|
-
:q_apps_configuration
|
1286
|
+
:q_apps_configuration,
|
1287
|
+
:personalization_configuration)
|
1278
1288
|
SENSITIVE = []
|
1279
1289
|
include Aws::Structure
|
1280
1290
|
end
|
@@ -2898,6 +2908,15 @@ module Aws::QBusiness
|
|
2898
2908
|
# the web experience.
|
2899
2909
|
# @return [Types::QAppsConfiguration]
|
2900
2910
|
#
|
2911
|
+
# @!attribute [rw] personalization_configuration
|
2912
|
+
# Configuration information about chat response personalization. For
|
2913
|
+
# more information, see [Personalizing chat responses][1].
|
2914
|
+
#
|
2915
|
+
#
|
2916
|
+
#
|
2917
|
+
# [1]: https://docs.aws.amazon.com/amazonq/latest/qbusiness-ug/personalizing-chat-responses.html
|
2918
|
+
# @return [Types::PersonalizationConfiguration]
|
2919
|
+
#
|
2901
2920
|
# @see http://docs.aws.amazon.com/goto/WebAPI/qbusiness-2023-11-27/GetApplicationResponse AWS API Documentation
|
2902
2921
|
#
|
2903
2922
|
class GetApplicationResponse < Struct.new(
|
@@ -2913,7 +2932,8 @@ module Aws::QBusiness
|
|
2913
2932
|
:updated_at,
|
2914
2933
|
:error,
|
2915
2934
|
:attachments_configuration,
|
2916
|
-
:q_apps_configuration
|
2935
|
+
:q_apps_configuration,
|
2936
|
+
:personalization_configuration)
|
2917
2937
|
SENSITIVE = []
|
2918
2938
|
include Aws::Structure
|
2919
2939
|
end
|
@@ -4711,6 +4731,27 @@ module Aws::QBusiness
|
|
4711
4731
|
include Aws::Structure
|
4712
4732
|
end
|
4713
4733
|
|
4734
|
+
# Configuration information about chat response personalization. For
|
4735
|
+
# more information, see [Personalizing chat responses][1].
|
4736
|
+
#
|
4737
|
+
#
|
4738
|
+
#
|
4739
|
+
# [1]: https://docs.aws.amazon.com/amazonq/latest/qbusiness-ug/personalizing-chat-responses.html
|
4740
|
+
#
|
4741
|
+
# @!attribute [rw] personalization_control_mode
|
4742
|
+
# An option to allow Amazon Q Business to customize chat responses
|
4743
|
+
# using user specific metadata—specifically, location and job
|
4744
|
+
# information—in your IAM Identity Center instance.
|
4745
|
+
# @return [String]
|
4746
|
+
#
|
4747
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/qbusiness-2023-11-27/PersonalizationConfiguration AWS API Documentation
|
4748
|
+
#
|
4749
|
+
class PersonalizationConfiguration < Struct.new(
|
4750
|
+
:personalization_control_mode)
|
4751
|
+
SENSITIVE = []
|
4752
|
+
include Aws::Structure
|
4753
|
+
end
|
4754
|
+
|
4714
4755
|
# Information about an Amazon Q Business plugin and its configuration.
|
4715
4756
|
#
|
4716
4757
|
# @!attribute [rw] plugin_id
|
@@ -5689,6 +5730,15 @@ module Aws::QBusiness
|
|
5689
5730
|
# web experience.
|
5690
5731
|
# @return [Types::QAppsConfiguration]
|
5691
5732
|
#
|
5733
|
+
# @!attribute [rw] personalization_configuration
|
5734
|
+
# Configuration information about chat response personalization. For
|
5735
|
+
# more information, see [Personalizing chat responses][1].
|
5736
|
+
#
|
5737
|
+
#
|
5738
|
+
#
|
5739
|
+
# [1]: https://docs.aws.amazon.com/amazonq/latest/qbusiness-ug/personalizing-chat-responses.html
|
5740
|
+
# @return [Types::PersonalizationConfiguration]
|
5741
|
+
#
|
5692
5742
|
# @see http://docs.aws.amazon.com/goto/WebAPI/qbusiness-2023-11-27/UpdateApplicationRequest AWS API Documentation
|
5693
5743
|
#
|
5694
5744
|
class UpdateApplicationRequest < Struct.new(
|
@@ -5698,7 +5748,8 @@ module Aws::QBusiness
|
|
5698
5748
|
:description,
|
5699
5749
|
:role_arn,
|
5700
5750
|
:attachments_configuration,
|
5701
|
-
:q_apps_configuration
|
5751
|
+
:q_apps_configuration,
|
5752
|
+
:personalization_configuration)
|
5702
5753
|
SENSITIVE = []
|
5703
5754
|
include Aws::Structure
|
5704
5755
|
end
|
data/lib/aws-sdk-qbusiness.rb
CHANGED
data/sig/client.rbs
CHANGED
@@ -370,6 +370,9 @@ module Aws
|
|
370
370
|
},
|
371
371
|
?q_apps_configuration: {
|
372
372
|
q_apps_control_mode: ("ENABLED" | "DISABLED")
|
373
|
+
},
|
374
|
+
?personalization_configuration: {
|
375
|
+
personalization_control_mode: ("ENABLED" | "DISABLED")
|
373
376
|
}
|
374
377
|
) -> _CreateApplicationResponseSuccess
|
375
378
|
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _CreateApplicationResponseSuccess
|
@@ -732,6 +735,7 @@ module Aws
|
|
732
735
|
def updated_at: () -> ::Time
|
733
736
|
def attachments_configuration: () -> Types::AppliedAttachmentsConfiguration
|
734
737
|
def q_apps_configuration: () -> Types::QAppsConfiguration
|
738
|
+
def personalization_configuration: () -> Types::PersonalizationConfiguration
|
735
739
|
end
|
736
740
|
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/QBusiness/Client.html#get_application-instance_method
|
737
741
|
def get_application: (
|
@@ -1165,6 +1169,9 @@ module Aws
|
|
1165
1169
|
},
|
1166
1170
|
?q_apps_configuration: {
|
1167
1171
|
q_apps_control_mode: ("ENABLED" | "DISABLED")
|
1172
|
+
},
|
1173
|
+
?personalization_configuration: {
|
1174
|
+
personalization_control_mode: ("ENABLED" | "DISABLED")
|
1168
1175
|
}
|
1169
1176
|
) -> _UpdateApplicationResponseSuccess
|
1170
1177
|
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _UpdateApplicationResponseSuccess
|
data/sig/types.rbs
CHANGED
@@ -320,6 +320,7 @@ module Aws::QBusiness
|
|
320
320
|
attr_accessor client_token: ::String
|
321
321
|
attr_accessor attachments_configuration: Types::AttachmentsConfiguration
|
322
322
|
attr_accessor q_apps_configuration: Types::QAppsConfiguration
|
323
|
+
attr_accessor personalization_configuration: Types::PersonalizationConfiguration
|
323
324
|
SENSITIVE: []
|
324
325
|
end
|
325
326
|
|
@@ -748,6 +749,7 @@ module Aws::QBusiness
|
|
748
749
|
attr_accessor error: Types::ErrorDetail
|
749
750
|
attr_accessor attachments_configuration: Types::AppliedAttachmentsConfiguration
|
750
751
|
attr_accessor q_apps_configuration: Types::QAppsConfiguration
|
752
|
+
attr_accessor personalization_configuration: Types::PersonalizationConfiguration
|
751
753
|
SENSITIVE: []
|
752
754
|
end
|
753
755
|
|
@@ -1204,6 +1206,11 @@ module Aws::QBusiness
|
|
1204
1206
|
SENSITIVE: []
|
1205
1207
|
end
|
1206
1208
|
|
1209
|
+
class PersonalizationConfiguration
|
1210
|
+
attr_accessor personalization_control_mode: ("ENABLED" | "DISABLED")
|
1211
|
+
SENSITIVE: []
|
1212
|
+
end
|
1213
|
+
|
1207
1214
|
class Plugin
|
1208
1215
|
attr_accessor plugin_id: ::String
|
1209
1216
|
attr_accessor display_name: ::String
|
@@ -1488,6 +1495,7 @@ module Aws::QBusiness
|
|
1488
1495
|
attr_accessor role_arn: ::String
|
1489
1496
|
attr_accessor attachments_configuration: Types::AttachmentsConfiguration
|
1490
1497
|
attr_accessor q_apps_configuration: Types::QAppsConfiguration
|
1498
|
+
attr_accessor personalization_configuration: Types::PersonalizationConfiguration
|
1491
1499
|
SENSITIVE: []
|
1492
1500
|
end
|
1493
1501
|
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: aws-sdk-qbusiness
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.
|
4
|
+
version: 1.11.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Amazon Web Services
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2024-07-
|
11
|
+
date: 2024-07-05 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: aws-sdk-core
|