aws-sdk-qbusiness 1.2.0 → 1.4.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.2.0'
55
+ GEM_VERSION = '1.4.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
  {
@@ -553,6 +560,7 @@ module Aws
553
560
  def create_web_experience: (
554
561
  application_id: ::String,
555
562
  ?client_token: ::String,
563
+ ?role_arn: ::String,
556
564
  ?sample_prompts_control_mode: ("ENABLED" | "DISABLED"),
557
565
  ?subtitle: ::String,
558
566
  ?tags: Array[
@@ -591,7 +599,7 @@ module Aws
591
599
  def delete_conversation: (
592
600
  application_id: ::String,
593
601
  conversation_id: ::String,
594
- user_id: ::String
602
+ ?user_id: ::String
595
603
  ) -> _DeleteConversationResponseSuccess
596
604
  | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DeleteConversationResponseSuccess
597
605
 
@@ -677,6 +685,7 @@ module Aws
677
685
  def description: () -> ::String
678
686
  def display_name: () -> ::String
679
687
  def encryption_configuration: () -> Types::EncryptionConfiguration
688
+ def identity_center_application_arn: () -> ::String
680
689
  def role_arn: () -> ::String
681
690
  def status: () -> ("CREATING" | "ACTIVE" | "DELETING" | "FAILED" | "UPDATING")
682
691
  def updated_at: () -> ::Time
@@ -690,6 +699,7 @@ module Aws
690
699
  interface _GetChatControlsConfigurationResponseSuccess
691
700
  include ::Seahorse::Client::_ResponseSuccess[Types::GetChatControlsConfigurationResponse]
692
701
  def blocked_phrases: () -> Types::BlockedPhrasesConfiguration
702
+ def creator_mode_configuration: () -> Types::AppliedCreatorModeConfiguration
693
703
  def next_token: () -> ::String
694
704
  def response_scope: () -> ("ENTERPRISE_CONTENT_ONLY" | "EXTENDED_KNOWLEDGE_ENABLED")
695
705
  def topic_configurations: () -> ::Array[Types::TopicConfiguration]
@@ -820,6 +830,7 @@ module Aws
820
830
  def authentication_configuration: () -> Types::WebExperienceAuthConfiguration
821
831
  def created_at: () -> ::Time
822
832
  def default_endpoint: () -> ::String
833
+ def role_arn: () -> ::String
823
834
  def sample_prompts_control_mode: () -> ("ENABLED" | "DISABLED")
824
835
  def status: () -> ("CREATING" | "ACTIVE" | "DELETING" | "FAILED" | "PENDING_AUTH_CONFIG")
825
836
  def subtitle: () -> ::String
@@ -858,7 +869,7 @@ module Aws
858
869
  application_id: ::String,
859
870
  ?max_results: ::Integer,
860
871
  ?next_token: ::String,
861
- user_id: ::String
872
+ ?user_id: ::String
862
873
  ) -> _ListConversationsResponseSuccess
863
874
  | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListConversationsResponseSuccess
864
875
 
@@ -949,7 +960,7 @@ module Aws
949
960
  conversation_id: ::String,
950
961
  ?max_results: ::Integer,
951
962
  ?next_token: ::String,
952
- user_id: ::String
963
+ ?user_id: ::String
953
964
  ) -> _ListMessagesResponseSuccess
954
965
  | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListMessagesResponseSuccess
955
966
 
@@ -1014,7 +1025,7 @@ module Aws
1014
1025
  submitted_at: ::Time,
1015
1026
  usefulness: ("USEFUL" | "NOT_USEFUL")
1016
1027
  },
1017
- user_id: ::String
1028
+ ?user_id: ::String
1018
1029
  ) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
1019
1030
  | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
1020
1031
 
@@ -1120,6 +1131,9 @@ module Aws
1120
1131
  system_message_override: ::String?
1121
1132
  },
1122
1133
  ?client_token: ::String,
1134
+ ?creator_mode_configuration: {
1135
+ creator_mode_control: ("ENABLED" | "DISABLED")
1136
+ },
1123
1137
  ?response_scope: ("ENTERPRISE_CONTENT_ONLY" | "EXTENDED_KNOWLEDGE_ENABLED"),
1124
1138
  ?topic_configurations_to_create_or_update: Array[
1125
1139
  {
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
@@ -603,6 +628,7 @@ module Aws::QBusiness
603
628
  attr_accessor display_name: ::String
604
629
  attr_accessor encryption_configuration: Types::EncryptionConfiguration
605
630
  attr_accessor error: Types::ErrorDetail
631
+ attr_accessor identity_center_application_arn: ::String
606
632
  attr_accessor role_arn: ::String
607
633
  attr_accessor status: ("CREATING" | "ACTIVE" | "DELETING" | "FAILED" | "UPDATING")
608
634
  attr_accessor updated_at: ::Time
@@ -618,6 +644,7 @@ module Aws::QBusiness
618
644
 
619
645
  class GetChatControlsConfigurationResponse
620
646
  attr_accessor blocked_phrases: Types::BlockedPhrasesConfiguration
647
+ attr_accessor creator_mode_configuration: Types::AppliedCreatorModeConfiguration
621
648
  attr_accessor next_token: ::String
622
649
  attr_accessor response_scope: ("ENTERPRISE_CONTENT_ONLY" | "EXTENDED_KNOWLEDGE_ENABLED")
623
650
  attr_accessor topic_configurations: ::Array[Types::TopicConfiguration]
@@ -750,6 +777,7 @@ module Aws::QBusiness
750
777
  attr_accessor created_at: ::Time
751
778
  attr_accessor default_endpoint: ::String
752
779
  attr_accessor error: Types::ErrorDetail
780
+ attr_accessor role_arn: ::String
753
781
  attr_accessor sample_prompts_control_mode: ("ENABLED" | "DISABLED")
754
782
  attr_accessor status: ("CREATING" | "ACTIVE" | "DELETING" | "FAILED" | "PENDING_AUTH_CONFIG")
755
783
  attr_accessor subtitle: ::String
@@ -1069,6 +1097,11 @@ module Aws::QBusiness
1069
1097
  end
1070
1098
  end
1071
1099
 
1100
+ class PluginConfiguration
1101
+ attr_accessor plugin_id: ::String
1102
+ SENSITIVE: []
1103
+ end
1104
+
1072
1105
  class Principal
1073
1106
  attr_accessor group: Types::PrincipalGroup
1074
1107
  attr_accessor user: Types::PrincipalUser
@@ -1301,6 +1334,7 @@ module Aws::QBusiness
1301
1334
  attr_accessor application_id: ::String
1302
1335
  attr_accessor blocked_phrases_configuration_update: Types::BlockedPhrasesConfigurationUpdate
1303
1336
  attr_accessor client_token: ::String
1337
+ attr_accessor creator_mode_configuration: Types::CreatorModeConfiguration
1304
1338
  attr_accessor response_scope: ("ENTERPRISE_CONTENT_ONLY" | "EXTENDED_KNOWLEDGE_ENABLED")
1305
1339
  attr_accessor topic_configurations_to_create_or_update: ::Array[Types::TopicConfiguration]
1306
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.2.0
4
+ version: 1.4.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-02-14 00:00:00.000000000 Z
11
+ date: 2024-04-25 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: aws-sdk-core
@@ -19,7 +19,7 @@ dependencies:
19
19
  version: '3'
20
20
  - - ">="
21
21
  - !ruby/object:Gem::Version
22
- version: 3.191.0
22
+ version: 3.193.0
23
23
  type: :runtime
24
24
  prerelease: false
25
25
  version_requirements: !ruby/object:Gem::Requirement
@@ -29,7 +29,7 @@ dependencies:
29
29
  version: '3'
30
30
  - - ">="
31
31
  - !ruby/object:Gem::Version
32
- version: 3.191.0
32
+ version: 3.193.0
33
33
  - !ruby/object:Gem::Dependency
34
34
  name: aws-sigv4
35
35
  requirement: !ruby/object:Gem::Requirement