aws-sdk-qbusiness 1.1.0 → 1.3.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.
@@ -52,6 +52,6 @@ require_relative 'aws-sdk-qbusiness/customizations'
52
52
  # @!group service
53
53
  module Aws::QBusiness
54
54
 
55
- GEM_VERSION = '1.1.0'
55
+ GEM_VERSION = '1.3.0'
56
56
 
57
57
  end
data/sig/client.rbs CHANGED
@@ -305,11 +305,17 @@ module Aws
305
305
  untyped,
306
306
  ]?
307
307
  },
308
+ ?chat_mode: ("RETRIEVAL_MODE" | "CREATOR_MODE" | "PLUGIN_MODE"),
309
+ ?chat_mode_configuration: {
310
+ plugin_configuration: {
311
+ plugin_id: ::String
312
+ }?
313
+ },
308
314
  ?client_token: ::String,
309
315
  ?conversation_id: ::String,
310
316
  ?parent_message_id: ::String,
311
317
  ?user_groups: Array[::String],
312
- user_id: ::String,
318
+ ?user_id: ::String,
313
319
  ?user_message: ::String
314
320
  ) -> _ChatSyncResponseSuccess
315
321
  | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ChatSyncResponseSuccess
@@ -330,6 +336,7 @@ module Aws
330
336
  ?encryption_configuration: {
331
337
  kms_key_id: ::String?
332
338
  },
339
+ ?identity_center_instance_arn: ::String,
333
340
  role_arn: ::String,
334
341
  ?tags: Array[
335
342
  {
@@ -494,6 +501,23 @@ module Aws
494
501
  index_id: ::String
495
502
  }?,
496
503
  native_index_configuration: {
504
+ boosting_override: Hash[::String, {
505
+ date_configuration: {
506
+ boosting_duration_in_seconds: ::Integer?,
507
+ boosting_level: ("NONE" | "LOW" | "MEDIUM" | "HIGH" | "VERY_HIGH")
508
+ }?,
509
+ number_configuration: {
510
+ boosting_level: ("NONE" | "LOW" | "MEDIUM" | "HIGH" | "VERY_HIGH"),
511
+ boosting_type: ("PRIORITIZE_LARGER_VALUES" | "PRIORITIZE_SMALLER_VALUES")?
512
+ }?,
513
+ string_configuration: {
514
+ attribute_value_boosting: Hash[::String, ("LOW" | "MEDIUM" | "HIGH" | "VERY_HIGH")]?,
515
+ boosting_level: ("NONE" | "LOW" | "MEDIUM" | "HIGH" | "VERY_HIGH")
516
+ }?,
517
+ string_list_configuration: {
518
+ boosting_level: ("NONE" | "LOW" | "MEDIUM" | "HIGH" | "VERY_HIGH")
519
+ }?
520
+ }]?,
497
521
  index_id: ::String
498
522
  }?
499
523
  },
@@ -536,6 +560,7 @@ module Aws
536
560
  def create_web_experience: (
537
561
  application_id: ::String,
538
562
  ?client_token: ::String,
563
+ ?role_arn: ::String,
539
564
  ?sample_prompts_control_mode: ("ENABLED" | "DISABLED"),
540
565
  ?subtitle: ::String,
541
566
  ?tags: Array[
@@ -574,7 +599,7 @@ module Aws
574
599
  def delete_conversation: (
575
600
  application_id: ::String,
576
601
  conversation_id: ::String,
577
- user_id: ::String
602
+ ?user_id: ::String
578
603
  ) -> _DeleteConversationResponseSuccess
579
604
  | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DeleteConversationResponseSuccess
580
605
 
@@ -660,6 +685,7 @@ module Aws
660
685
  def description: () -> ::String
661
686
  def display_name: () -> ::String
662
687
  def encryption_configuration: () -> Types::EncryptionConfiguration
688
+ def identity_center_application_arn: () -> ::String
663
689
  def role_arn: () -> ::String
664
690
  def status: () -> ("CREATING" | "ACTIVE" | "DELETING" | "FAILED" | "UPDATING")
665
691
  def updated_at: () -> ::Time
@@ -673,6 +699,7 @@ module Aws
673
699
  interface _GetChatControlsConfigurationResponseSuccess
674
700
  include ::Seahorse::Client::_ResponseSuccess[Types::GetChatControlsConfigurationResponse]
675
701
  def blocked_phrases: () -> Types::BlockedPhrasesConfiguration
702
+ def creator_mode_configuration: () -> Types::AppliedCreatorModeConfiguration
676
703
  def next_token: () -> ::String
677
704
  def response_scope: () -> ("ENTERPRISE_CONTENT_ONLY" | "EXTENDED_KNOWLEDGE_ENABLED")
678
705
  def topic_configurations: () -> ::Array[Types::TopicConfiguration]
@@ -803,6 +830,7 @@ module Aws
803
830
  def authentication_configuration: () -> Types::WebExperienceAuthConfiguration
804
831
  def created_at: () -> ::Time
805
832
  def default_endpoint: () -> ::String
833
+ def role_arn: () -> ::String
806
834
  def sample_prompts_control_mode: () -> ("ENABLED" | "DISABLED")
807
835
  def status: () -> ("CREATING" | "ACTIVE" | "DELETING" | "FAILED" | "PENDING_AUTH_CONFIG")
808
836
  def subtitle: () -> ::String
@@ -841,7 +869,7 @@ module Aws
841
869
  application_id: ::String,
842
870
  ?max_results: ::Integer,
843
871
  ?next_token: ::String,
844
- user_id: ::String
872
+ ?user_id: ::String
845
873
  ) -> _ListConversationsResponseSuccess
846
874
  | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListConversationsResponseSuccess
847
875
 
@@ -932,7 +960,7 @@ module Aws
932
960
  conversation_id: ::String,
933
961
  ?max_results: ::Integer,
934
962
  ?next_token: ::String,
935
- user_id: ::String
963
+ ?user_id: ::String
936
964
  ) -> _ListMessagesResponseSuccess
937
965
  | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListMessagesResponseSuccess
938
966
 
@@ -993,11 +1021,11 @@ module Aws
993
1021
  message_id: ::String,
994
1022
  ?message_usefulness: {
995
1023
  comment: ::String?,
996
- reason: ("NOT_FACTUALLY_CORRECT" | "HARMFUL_OR_UNSAFE" | "INCORRECT_OR_MISSING_SOURCES" | "NOT_HELPFUL" | "FACTUALLY_CORRECT" | "COMPLETE" | "RELEVANT_SOURCES" | "HELPFUL")?,
1024
+ reason: ("NOT_FACTUALLY_CORRECT" | "HARMFUL_OR_UNSAFE" | "INCORRECT_OR_MISSING_SOURCES" | "NOT_HELPFUL" | "FACTUALLY_CORRECT" | "COMPLETE" | "RELEVANT_SOURCES" | "HELPFUL" | "NOT_BASED_ON_DOCUMENTS" | "NOT_COMPLETE" | "NOT_CONCISE" | "OTHER")?,
997
1025
  submitted_at: ::Time,
998
1026
  usefulness: ("USEFUL" | "NOT_USEFUL")
999
1027
  },
1000
- user_id: ::String
1028
+ ?user_id: ::String
1001
1029
  ) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
1002
1030
  | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
1003
1031
 
@@ -1103,6 +1131,9 @@ module Aws
1103
1131
  system_message_override: ::String?
1104
1132
  },
1105
1133
  ?client_token: ::String,
1134
+ ?creator_mode_configuration: {
1135
+ creator_mode_control: ("ENABLED" | "DISABLED")
1136
+ },
1106
1137
  ?response_scope: ("ENTERPRISE_CONTENT_ONLY" | "EXTENDED_KNOWLEDGE_ENABLED"),
1107
1138
  ?topic_configurations_to_create_or_update: Array[
1108
1139
  {
@@ -1307,6 +1338,23 @@ module Aws
1307
1338
  index_id: ::String
1308
1339
  }?,
1309
1340
  native_index_configuration: {
1341
+ boosting_override: Hash[::String, {
1342
+ date_configuration: {
1343
+ boosting_duration_in_seconds: ::Integer?,
1344
+ boosting_level: ("NONE" | "LOW" | "MEDIUM" | "HIGH" | "VERY_HIGH")
1345
+ }?,
1346
+ number_configuration: {
1347
+ boosting_level: ("NONE" | "LOW" | "MEDIUM" | "HIGH" | "VERY_HIGH"),
1348
+ boosting_type: ("PRIORITIZE_LARGER_VALUES" | "PRIORITIZE_SMALLER_VALUES")?
1349
+ }?,
1350
+ string_configuration: {
1351
+ attribute_value_boosting: Hash[::String, ("LOW" | "MEDIUM" | "HIGH" | "VERY_HIGH")]?,
1352
+ boosting_level: ("NONE" | "LOW" | "MEDIUM" | "HIGH" | "VERY_HIGH")
1353
+ }?,
1354
+ string_list_configuration: {
1355
+ boosting_level: ("NONE" | "LOW" | "MEDIUM" | "HIGH" | "VERY_HIGH")
1356
+ }?
1357
+ }]?,
1310
1358
  index_id: ::String
1311
1359
  }?
1312
1360
  },
data/sig/types.rbs CHANGED
@@ -75,6 +75,11 @@ module Aws::QBusiness
75
75
  SENSITIVE: []
76
76
  end
77
77
 
78
+ class AppliedCreatorModeConfiguration
79
+ attr_accessor creator_mode_control: ("ENABLED" | "DISABLED")
80
+ SENSITIVE: []
81
+ end
82
+
78
83
  class AttachmentInput
79
84
  attr_accessor data: ::String
80
85
  attr_accessor name: ::String
@@ -153,11 +158,24 @@ module Aws::QBusiness
153
158
  SENSITIVE: []
154
159
  end
155
160
 
161
+ class ChatModeConfiguration
162
+ attr_accessor plugin_configuration: Types::PluginConfiguration
163
+ attr_accessor unknown: untyped
164
+ SENSITIVE: []
165
+
166
+ class PluginConfiguration < ChatModeConfiguration
167
+ end
168
+ class Unknown < ChatModeConfiguration
169
+ end
170
+ end
171
+
156
172
  class ChatSyncInput
157
173
  attr_accessor action_execution: Types::ActionExecution
158
174
  attr_accessor application_id: ::String
159
175
  attr_accessor attachments: ::Array[Types::AttachmentInput]
160
176
  attr_accessor attribute_filter: Types::AttributeFilter
177
+ attr_accessor chat_mode: ("RETRIEVAL_MODE" | "CREATOR_MODE" | "PLUGIN_MODE")
178
+ attr_accessor chat_mode_configuration: Types::ChatModeConfiguration
161
179
  attr_accessor client_token: ::String
162
180
  attr_accessor conversation_id: ::String
163
181
  attr_accessor parent_message_id: ::String
@@ -208,6 +226,7 @@ module Aws::QBusiness
208
226
  attr_accessor description: ::String
209
227
  attr_accessor display_name: ::String
210
228
  attr_accessor encryption_configuration: Types::EncryptionConfiguration
229
+ attr_accessor identity_center_instance_arn: ::String
211
230
  attr_accessor role_arn: ::String
212
231
  attr_accessor tags: ::Array[Types::Tag]
213
232
  SENSITIVE: []
@@ -304,6 +323,7 @@ module Aws::QBusiness
304
323
  class CreateWebExperienceRequest
305
324
  attr_accessor application_id: ::String
306
325
  attr_accessor client_token: ::String
326
+ attr_accessor role_arn: ::String
307
327
  attr_accessor sample_prompts_control_mode: ("ENABLED" | "DISABLED")
308
328
  attr_accessor subtitle: ::String
309
329
  attr_accessor tags: ::Array[Types::Tag]
@@ -318,6 +338,11 @@ module Aws::QBusiness
318
338
  SENSITIVE: []
319
339
  end
320
340
 
341
+ class CreatorModeConfiguration
342
+ attr_accessor creator_mode_control: ("ENABLED" | "DISABLED")
343
+ SENSITIVE: []
344
+ end
345
+
321
346
  class DataSource
322
347
  attr_accessor created_at: ::Time
323
348
  attr_accessor data_source_id: ::String
@@ -354,6 +379,12 @@ module Aws::QBusiness
354
379
  SENSITIVE: []
355
380
  end
356
381
 
382
+ class DateAttributeBoostingConfiguration
383
+ attr_accessor boosting_duration_in_seconds: ::Integer
384
+ attr_accessor boosting_level: ("NONE" | "LOW" | "MEDIUM" | "HIGH" | "VERY_HIGH")
385
+ SENSITIVE: []
386
+ end
387
+
357
388
  class DeleteApplicationRequest
358
389
  attr_accessor application_id: ::String
359
390
  SENSITIVE: []
@@ -468,6 +499,26 @@ module Aws::QBusiness
468
499
  SENSITIVE: []
469
500
  end
470
501
 
502
+ class DocumentAttributeBoostingConfiguration
503
+ attr_accessor date_configuration: Types::DateAttributeBoostingConfiguration
504
+ attr_accessor number_configuration: Types::NumberAttributeBoostingConfiguration
505
+ attr_accessor string_configuration: Types::StringAttributeBoostingConfiguration
506
+ attr_accessor string_list_configuration: Types::StringListAttributeBoostingConfiguration
507
+ attr_accessor unknown: untyped
508
+ SENSITIVE: []
509
+
510
+ class DateConfiguration < DocumentAttributeBoostingConfiguration
511
+ end
512
+ class NumberConfiguration < DocumentAttributeBoostingConfiguration
513
+ end
514
+ class StringConfiguration < DocumentAttributeBoostingConfiguration
515
+ end
516
+ class StringListConfiguration < DocumentAttributeBoostingConfiguration
517
+ end
518
+ class Unknown < DocumentAttributeBoostingConfiguration
519
+ end
520
+ end
521
+
471
522
  class DocumentAttributeCondition
472
523
  attr_accessor key: ::String
473
524
  attr_accessor operator: ("GREATER_THAN" | "GREATER_THAN_OR_EQUALS" | "LESS_THAN" | "LESS_THAN_OR_EQUALS" | "EQUALS" | "NOT_EQUALS" | "CONTAINS" | "NOT_CONTAINS" | "EXISTS" | "NOT_EXISTS" | "BEGINS_WITH")
@@ -577,6 +628,7 @@ module Aws::QBusiness
577
628
  attr_accessor display_name: ::String
578
629
  attr_accessor encryption_configuration: Types::EncryptionConfiguration
579
630
  attr_accessor error: Types::ErrorDetail
631
+ attr_accessor identity_center_application_arn: ::String
580
632
  attr_accessor role_arn: ::String
581
633
  attr_accessor status: ("CREATING" | "ACTIVE" | "DELETING" | "FAILED" | "UPDATING")
582
634
  attr_accessor updated_at: ::Time
@@ -592,6 +644,7 @@ module Aws::QBusiness
592
644
 
593
645
  class GetChatControlsConfigurationResponse
594
646
  attr_accessor blocked_phrases: Types::BlockedPhrasesConfiguration
647
+ attr_accessor creator_mode_configuration: Types::AppliedCreatorModeConfiguration
595
648
  attr_accessor next_token: ::String
596
649
  attr_accessor response_scope: ("ENTERPRISE_CONTENT_ONLY" | "EXTENDED_KNOWLEDGE_ENABLED")
597
650
  attr_accessor topic_configurations: ::Array[Types::TopicConfiguration]
@@ -724,6 +777,7 @@ module Aws::QBusiness
724
777
  attr_accessor created_at: ::Time
725
778
  attr_accessor default_endpoint: ::String
726
779
  attr_accessor error: Types::ErrorDetail
780
+ attr_accessor role_arn: ::String
727
781
  attr_accessor sample_prompts_control_mode: ("ENABLED" | "DISABLED")
728
782
  attr_accessor status: ("CREATING" | "ACTIVE" | "DELETING" | "FAILED" | "PENDING_AUTH_CONFIG")
729
783
  attr_accessor subtitle: ::String
@@ -994,17 +1048,24 @@ module Aws::QBusiness
994
1048
 
995
1049
  class MessageUsefulnessFeedback
996
1050
  attr_accessor comment: ::String
997
- attr_accessor reason: ("NOT_FACTUALLY_CORRECT" | "HARMFUL_OR_UNSAFE" | "INCORRECT_OR_MISSING_SOURCES" | "NOT_HELPFUL" | "FACTUALLY_CORRECT" | "COMPLETE" | "RELEVANT_SOURCES" | "HELPFUL")
1051
+ attr_accessor reason: ("NOT_FACTUALLY_CORRECT" | "HARMFUL_OR_UNSAFE" | "INCORRECT_OR_MISSING_SOURCES" | "NOT_HELPFUL" | "FACTUALLY_CORRECT" | "COMPLETE" | "RELEVANT_SOURCES" | "HELPFUL" | "NOT_BASED_ON_DOCUMENTS" | "NOT_COMPLETE" | "NOT_CONCISE" | "OTHER")
998
1052
  attr_accessor submitted_at: ::Time
999
1053
  attr_accessor usefulness: ("USEFUL" | "NOT_USEFUL")
1000
1054
  SENSITIVE: []
1001
1055
  end
1002
1056
 
1003
1057
  class NativeIndexConfiguration
1058
+ attr_accessor boosting_override: ::Hash[::String, Types::DocumentAttributeBoostingConfiguration]
1004
1059
  attr_accessor index_id: ::String
1005
1060
  SENSITIVE: []
1006
1061
  end
1007
1062
 
1063
+ class NumberAttributeBoostingConfiguration
1064
+ attr_accessor boosting_level: ("NONE" | "LOW" | "MEDIUM" | "HIGH" | "VERY_HIGH")
1065
+ attr_accessor boosting_type: ("PRIORITIZE_LARGER_VALUES" | "PRIORITIZE_SMALLER_VALUES")
1066
+ SENSITIVE: []
1067
+ end
1068
+
1008
1069
  class OAuth2ClientCredentialConfiguration
1009
1070
  attr_accessor role_arn: ::String
1010
1071
  attr_accessor secret_arn: ::String
@@ -1036,6 +1097,11 @@ module Aws::QBusiness
1036
1097
  end
1037
1098
  end
1038
1099
 
1100
+ class PluginConfiguration
1101
+ attr_accessor plugin_id: ::String
1102
+ SENSITIVE: []
1103
+ end
1104
+
1039
1105
  class Principal
1040
1106
  attr_accessor group: Types::PrincipalGroup
1041
1107
  attr_accessor user: Types::PrincipalUser
@@ -1192,6 +1258,17 @@ module Aws::QBusiness
1192
1258
  class StopDataSourceSyncJobResponse < Aws::EmptyStructure
1193
1259
  end
1194
1260
 
1261
+ class StringAttributeBoostingConfiguration
1262
+ attr_accessor attribute_value_boosting: ::Hash[::String, ("LOW" | "MEDIUM" | "HIGH" | "VERY_HIGH")]
1263
+ attr_accessor boosting_level: ("NONE" | "LOW" | "MEDIUM" | "HIGH" | "VERY_HIGH")
1264
+ SENSITIVE: []
1265
+ end
1266
+
1267
+ class StringListAttributeBoostingConfiguration
1268
+ attr_accessor boosting_level: ("NONE" | "LOW" | "MEDIUM" | "HIGH" | "VERY_HIGH")
1269
+ SENSITIVE: []
1270
+ end
1271
+
1195
1272
  class Tag
1196
1273
  attr_accessor key: ::String
1197
1274
  attr_accessor value: ::String
@@ -1257,6 +1334,7 @@ module Aws::QBusiness
1257
1334
  attr_accessor application_id: ::String
1258
1335
  attr_accessor blocked_phrases_configuration_update: Types::BlockedPhrasesConfigurationUpdate
1259
1336
  attr_accessor client_token: ::String
1337
+ attr_accessor creator_mode_configuration: Types::CreatorModeConfiguration
1260
1338
  attr_accessor response_scope: ("ENTERPRISE_CONTENT_ONLY" | "EXTENDED_KNOWLEDGE_ENABLED")
1261
1339
  attr_accessor topic_configurations_to_create_or_update: ::Array[Types::TopicConfiguration]
1262
1340
  attr_accessor topic_configurations_to_delete: ::Array[Types::TopicConfiguration]
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.1.0
4
+ version: 1.3.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-01-26 00:00:00.000000000 Z
11
+ date: 2024-04-17 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: aws-sdk-core