aws-sdk-qbusiness 1.41.0 → 1.42.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.
data/sig/client.rbs CHANGED
@@ -450,6 +450,37 @@ module Aws
450
450
  ) -> _CreateApplicationResponseSuccess
451
451
  | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _CreateApplicationResponseSuccess
452
452
 
453
+ interface _CreateChatResponseConfigurationResponseSuccess
454
+ include ::Seahorse::Client::_ResponseSuccess[Types::CreateChatResponseConfigurationResponse]
455
+ def chat_response_configuration_id: () -> ::String
456
+ def chat_response_configuration_arn: () -> ::String
457
+ end
458
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/QBusiness/Client.html#create_chat_response_configuration-instance_method
459
+ def create_chat_response_configuration: (
460
+ application_id: ::String,
461
+ display_name: ::String,
462
+ ?client_token: ::String,
463
+ response_configurations: Hash[("ALL"), {
464
+ instruction_collection: {
465
+ response_length: ::String?,
466
+ target_audience: ::String?,
467
+ perspective: ::String?,
468
+ output_style: ::String?,
469
+ identity: ::String?,
470
+ tone: ::String?,
471
+ custom_instructions: ::String?,
472
+ examples: ::String?
473
+ }?
474
+ }],
475
+ ?tags: Array[
476
+ {
477
+ key: ::String,
478
+ value: ::String
479
+ },
480
+ ]
481
+ ) -> _CreateChatResponseConfigurationResponseSuccess
482
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _CreateChatResponseConfigurationResponseSuccess
483
+
453
484
  interface _CreateDataAccessorResponseSuccess
454
485
  include ::Seahorse::Client::_ResponseSuccess[Types::CreateDataAccessorResponse]
455
486
  def data_accessor_id: () -> ::String
@@ -719,7 +750,7 @@ module Aws
719
750
  bucket: ::String,
720
751
  key: ::String
721
752
  }?
722
- }
753
+ }?
723
754
  },
724
755
  ?tags: Array[
725
756
  {
@@ -744,21 +775,22 @@ module Aws
744
775
  configuration: {
745
776
  native_index_configuration: {
746
777
  index_id: ::String,
778
+ version: ::Integer?,
747
779
  boosting_override: Hash[::String, {
748
780
  number_configuration: {
749
- boosting_level: ("NONE" | "LOW" | "MEDIUM" | "HIGH" | "VERY_HIGH"),
781
+ boosting_level: ("NONE" | "LOW" | "MEDIUM" | "HIGH" | "VERY_HIGH" | "ONE" | "TWO"),
750
782
  boosting_type: ("PRIORITIZE_LARGER_VALUES" | "PRIORITIZE_SMALLER_VALUES")?
751
783
  }?,
752
784
  string_configuration: {
753
- boosting_level: ("NONE" | "LOW" | "MEDIUM" | "HIGH" | "VERY_HIGH"),
754
- attribute_value_boosting: Hash[::String, ("LOW" | "MEDIUM" | "HIGH" | "VERY_HIGH")]?
785
+ boosting_level: ("NONE" | "LOW" | "MEDIUM" | "HIGH" | "VERY_HIGH" | "ONE" | "TWO"),
786
+ attribute_value_boosting: Hash[::String, ("LOW" | "MEDIUM" | "HIGH" | "VERY_HIGH" | "ONE" | "TWO" | "THREE" | "FOUR" | "FIVE")]?
755
787
  }?,
756
788
  date_configuration: {
757
- boosting_level: ("NONE" | "LOW" | "MEDIUM" | "HIGH" | "VERY_HIGH"),
789
+ boosting_level: ("NONE" | "LOW" | "MEDIUM" | "HIGH" | "VERY_HIGH" | "ONE" | "TWO"),
758
790
  boosting_duration_in_seconds: ::Integer?
759
791
  }?,
760
792
  string_list_configuration: {
761
- boosting_level: ("NONE" | "LOW" | "MEDIUM" | "HIGH" | "VERY_HIGH")
793
+ boosting_level: ("NONE" | "LOW" | "MEDIUM" | "HIGH" | "VERY_HIGH" | "ONE" | "TWO")
762
794
  }?
763
795
  }]?
764
796
  }?,
@@ -886,6 +918,16 @@ module Aws
886
918
  ) -> _DeleteChatControlsConfigurationResponseSuccess
887
919
  | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DeleteChatControlsConfigurationResponseSuccess
888
920
 
921
+ interface _DeleteChatResponseConfigurationResponseSuccess
922
+ include ::Seahorse::Client::_ResponseSuccess[Types::DeleteChatResponseConfigurationResponse]
923
+ end
924
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/QBusiness/Client.html#delete_chat_response_configuration-instance_method
925
+ def delete_chat_response_configuration: (
926
+ application_id: ::String,
927
+ chat_response_configuration_id: ::String
928
+ ) -> _DeleteChatResponseConfigurationResponseSuccess
929
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DeleteChatResponseConfigurationResponseSuccess
930
+
889
931
  interface _DeleteConversationResponseSuccess
890
932
  include ::Seahorse::Client::_ResponseSuccess[Types::DeleteConversationResponse]
891
933
  end
@@ -1035,6 +1077,22 @@ module Aws
1035
1077
  ) -> _GetChatControlsConfigurationResponseSuccess
1036
1078
  | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetChatControlsConfigurationResponseSuccess
1037
1079
 
1080
+ interface _GetChatResponseConfigurationResponseSuccess
1081
+ include ::Seahorse::Client::_ResponseSuccess[Types::GetChatResponseConfigurationResponse]
1082
+ def chat_response_configuration_id: () -> ::String
1083
+ def chat_response_configuration_arn: () -> ::String
1084
+ def display_name: () -> ::String
1085
+ def created_at: () -> ::Time
1086
+ def in_use_configuration: () -> Types::ChatResponseConfigurationDetail
1087
+ def last_update_configuration: () -> Types::ChatResponseConfigurationDetail
1088
+ end
1089
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/QBusiness/Client.html#get_chat_response_configuration-instance_method
1090
+ def get_chat_response_configuration: (
1091
+ application_id: ::String,
1092
+ chat_response_configuration_id: ::String
1093
+ ) -> _GetChatResponseConfigurationResponseSuccess
1094
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetChatResponseConfigurationResponseSuccess
1095
+
1038
1096
  interface _GetDataAccessorResponseSuccess
1039
1097
  include ::Seahorse::Client::_ResponseSuccess[Types::GetDataAccessorResponse]
1040
1098
  def display_name: () -> ::String
@@ -1249,6 +1307,19 @@ module Aws
1249
1307
  ) -> _ListAttachmentsResponseSuccess
1250
1308
  | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListAttachmentsResponseSuccess
1251
1309
 
1310
+ interface _ListChatResponseConfigurationsResponseSuccess
1311
+ include ::Seahorse::Client::_ResponseSuccess[Types::ListChatResponseConfigurationsResponse]
1312
+ def chat_response_configurations: () -> ::Array[Types::ChatResponseConfiguration]
1313
+ def next_token: () -> ::String
1314
+ end
1315
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/QBusiness/Client.html#list_chat_response_configurations-instance_method
1316
+ def list_chat_response_configurations: (
1317
+ application_id: ::String,
1318
+ ?max_results: ::Integer,
1319
+ ?next_token: ::String
1320
+ ) -> _ListChatResponseConfigurationsResponseSuccess
1321
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListChatResponseConfigurationsResponseSuccess
1322
+
1252
1323
  interface _ListConversationsResponseSuccess
1253
1324
  include ::Seahorse::Client::_ResponseSuccess[Types::ListConversationsResponse]
1254
1325
  def next_token: () -> ::String
@@ -1772,6 +1843,30 @@ module Aws
1772
1843
  ) -> _UpdateChatControlsConfigurationResponseSuccess
1773
1844
  | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _UpdateChatControlsConfigurationResponseSuccess
1774
1845
 
1846
+ interface _UpdateChatResponseConfigurationResponseSuccess
1847
+ include ::Seahorse::Client::_ResponseSuccess[Types::UpdateChatResponseConfigurationResponse]
1848
+ end
1849
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/QBusiness/Client.html#update_chat_response_configuration-instance_method
1850
+ def update_chat_response_configuration: (
1851
+ application_id: ::String,
1852
+ chat_response_configuration_id: ::String,
1853
+ ?display_name: ::String,
1854
+ response_configurations: Hash[("ALL"), {
1855
+ instruction_collection: {
1856
+ response_length: ::String?,
1857
+ target_audience: ::String?,
1858
+ perspective: ::String?,
1859
+ output_style: ::String?,
1860
+ identity: ::String?,
1861
+ tone: ::String?,
1862
+ custom_instructions: ::String?,
1863
+ examples: ::String?
1864
+ }?
1865
+ }],
1866
+ ?client_token: ::String
1867
+ ) -> _UpdateChatResponseConfigurationResponseSuccess
1868
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _UpdateChatResponseConfigurationResponseSuccess
1869
+
1775
1870
  interface _UpdateDataAccessorResponseSuccess
1776
1871
  include ::Seahorse::Client::_ResponseSuccess[Types::UpdateDataAccessorResponse]
1777
1872
  end
@@ -2001,7 +2096,7 @@ module Aws
2001
2096
  bucket: ::String,
2002
2097
  key: ::String
2003
2098
  }?
2004
- }
2099
+ }?
2005
2100
  },
2006
2101
  ?auth_configuration: {
2007
2102
  basic_auth_configuration: {
@@ -2034,21 +2129,22 @@ module Aws
2034
2129
  ?configuration: {
2035
2130
  native_index_configuration: {
2036
2131
  index_id: ::String,
2132
+ version: ::Integer?,
2037
2133
  boosting_override: Hash[::String, {
2038
2134
  number_configuration: {
2039
- boosting_level: ("NONE" | "LOW" | "MEDIUM" | "HIGH" | "VERY_HIGH"),
2135
+ boosting_level: ("NONE" | "LOW" | "MEDIUM" | "HIGH" | "VERY_HIGH" | "ONE" | "TWO"),
2040
2136
  boosting_type: ("PRIORITIZE_LARGER_VALUES" | "PRIORITIZE_SMALLER_VALUES")?
2041
2137
  }?,
2042
2138
  string_configuration: {
2043
- boosting_level: ("NONE" | "LOW" | "MEDIUM" | "HIGH" | "VERY_HIGH"),
2044
- attribute_value_boosting: Hash[::String, ("LOW" | "MEDIUM" | "HIGH" | "VERY_HIGH")]?
2139
+ boosting_level: ("NONE" | "LOW" | "MEDIUM" | "HIGH" | "VERY_HIGH" | "ONE" | "TWO"),
2140
+ attribute_value_boosting: Hash[::String, ("LOW" | "MEDIUM" | "HIGH" | "VERY_HIGH" | "ONE" | "TWO" | "THREE" | "FOUR" | "FIVE")]?
2045
2141
  }?,
2046
2142
  date_configuration: {
2047
- boosting_level: ("NONE" | "LOW" | "MEDIUM" | "HIGH" | "VERY_HIGH"),
2143
+ boosting_level: ("NONE" | "LOW" | "MEDIUM" | "HIGH" | "VERY_HIGH" | "ONE" | "TWO"),
2048
2144
  boosting_duration_in_seconds: ::Integer?
2049
2145
  }?,
2050
2146
  string_list_configuration: {
2051
- boosting_level: ("NONE" | "LOW" | "MEDIUM" | "HIGH" | "VERY_HIGH")
2147
+ boosting_level: ("NONE" | "LOW" | "MEDIUM" | "HIGH" | "VERY_HIGH" | "ONE" | "TWO")
2052
2148
  }?
2053
2149
  }]?
2054
2150
  }?,
data/sig/types.rbs CHANGED
@@ -357,6 +357,26 @@ module Aws::QBusiness
357
357
  SENSITIVE: []
358
358
  end
359
359
 
360
+ class ChatResponseConfiguration
361
+ attr_accessor chat_response_configuration_id: ::String
362
+ attr_accessor chat_response_configuration_arn: ::String
363
+ attr_accessor display_name: ::String
364
+ attr_accessor response_configuration_summary: ::String
365
+ attr_accessor status: ("CREATING" | "UPDATING" | "FAILED" | "ACTIVE")
366
+ attr_accessor created_at: ::Time
367
+ attr_accessor updated_at: ::Time
368
+ SENSITIVE: []
369
+ end
370
+
371
+ class ChatResponseConfigurationDetail
372
+ attr_accessor response_configurations: ::Hash[("ALL"), Types::ResponseConfiguration]
373
+ attr_accessor response_configuration_summary: ::String
374
+ attr_accessor status: ("CREATING" | "UPDATING" | "FAILED" | "ACTIVE")
375
+ attr_accessor error: Types::ErrorDetail
376
+ attr_accessor updated_at: ::Time
377
+ SENSITIVE: []
378
+ end
379
+
360
380
  class ChatSyncInput
361
381
  attr_accessor application_id: ::String
362
382
  attr_accessor user_id: ::String
@@ -499,6 +519,21 @@ module Aws::QBusiness
499
519
  SENSITIVE: []
500
520
  end
501
521
 
522
+ class CreateChatResponseConfigurationRequest
523
+ attr_accessor application_id: ::String
524
+ attr_accessor display_name: ::String
525
+ attr_accessor client_token: ::String
526
+ attr_accessor response_configurations: ::Hash[("ALL"), Types::ResponseConfiguration]
527
+ attr_accessor tags: ::Array[Types::Tag]
528
+ SENSITIVE: []
529
+ end
530
+
531
+ class CreateChatResponseConfigurationResponse
532
+ attr_accessor chat_response_configuration_id: ::String
533
+ attr_accessor chat_response_configuration_arn: ::String
534
+ SENSITIVE: []
535
+ end
536
+
502
537
  class CreateDataAccessorRequest
503
538
  attr_accessor application_id: ::String
504
539
  attr_accessor principal: ::String
@@ -733,7 +768,7 @@ module Aws::QBusiness
733
768
  end
734
769
 
735
770
  class DateAttributeBoostingConfiguration
736
- attr_accessor boosting_level: ("NONE" | "LOW" | "MEDIUM" | "HIGH" | "VERY_HIGH")
771
+ attr_accessor boosting_level: ("NONE" | "LOW" | "MEDIUM" | "HIGH" | "VERY_HIGH" | "ONE" | "TWO")
737
772
  attr_accessor boosting_duration_in_seconds: ::Integer
738
773
  SENSITIVE: []
739
774
  end
@@ -765,6 +800,15 @@ module Aws::QBusiness
765
800
  class DeleteChatControlsConfigurationResponse < Aws::EmptyStructure
766
801
  end
767
802
 
803
+ class DeleteChatResponseConfigurationRequest
804
+ attr_accessor application_id: ::String
805
+ attr_accessor chat_response_configuration_id: ::String
806
+ SENSITIVE: []
807
+ end
808
+
809
+ class DeleteChatResponseConfigurationResponse < Aws::EmptyStructure
810
+ end
811
+
768
812
  class DeleteConversationRequest
769
813
  attr_accessor conversation_id: ::String
770
814
  attr_accessor application_id: ::String
@@ -1093,6 +1137,22 @@ module Aws::QBusiness
1093
1137
  SENSITIVE: []
1094
1138
  end
1095
1139
 
1140
+ class GetChatResponseConfigurationRequest
1141
+ attr_accessor application_id: ::String
1142
+ attr_accessor chat_response_configuration_id: ::String
1143
+ SENSITIVE: []
1144
+ end
1145
+
1146
+ class GetChatResponseConfigurationResponse
1147
+ attr_accessor chat_response_configuration_id: ::String
1148
+ attr_accessor chat_response_configuration_arn: ::String
1149
+ attr_accessor display_name: ::String
1150
+ attr_accessor created_at: ::Time
1151
+ attr_accessor in_use_configuration: Types::ChatResponseConfigurationDetail
1152
+ attr_accessor last_update_configuration: Types::ChatResponseConfigurationDetail
1153
+ SENSITIVE: []
1154
+ end
1155
+
1096
1156
  class GetDataAccessorRequest
1097
1157
  attr_accessor application_id: ::String
1098
1158
  attr_accessor data_accessor_id: ::String
@@ -1372,6 +1432,18 @@ module Aws::QBusiness
1372
1432
  SENSITIVE: []
1373
1433
  end
1374
1434
 
1435
+ class InstructionCollection
1436
+ attr_accessor response_length: ::String
1437
+ attr_accessor target_audience: ::String
1438
+ attr_accessor perspective: ::String
1439
+ attr_accessor output_style: ::String
1440
+ attr_accessor identity: ::String
1441
+ attr_accessor tone: ::String
1442
+ attr_accessor custom_instructions: ::String
1443
+ attr_accessor examples: ::String
1444
+ SENSITIVE: []
1445
+ end
1446
+
1375
1447
  class InternalServerException
1376
1448
  attr_accessor message: ::String
1377
1449
  SENSITIVE: []
@@ -1414,6 +1486,19 @@ module Aws::QBusiness
1414
1486
  SENSITIVE: []
1415
1487
  end
1416
1488
 
1489
+ class ListChatResponseConfigurationsRequest
1490
+ attr_accessor application_id: ::String
1491
+ attr_accessor max_results: ::Integer
1492
+ attr_accessor next_token: ::String
1493
+ SENSITIVE: []
1494
+ end
1495
+
1496
+ class ListChatResponseConfigurationsResponse
1497
+ attr_accessor chat_response_configurations: ::Array[Types::ChatResponseConfiguration]
1498
+ attr_accessor next_token: ::String
1499
+ SENSITIVE: []
1500
+ end
1501
+
1417
1502
  class ListConversationsRequest
1418
1503
  attr_accessor application_id: ::String
1419
1504
  attr_accessor user_id: ::String
@@ -1689,6 +1774,7 @@ module Aws::QBusiness
1689
1774
 
1690
1775
  class NativeIndexConfiguration
1691
1776
  attr_accessor index_id: ::String
1777
+ attr_accessor version: ::Integer
1692
1778
  attr_accessor boosting_override: ::Hash[::String, Types::DocumentAttributeBoostingConfiguration]
1693
1779
  SENSITIVE: []
1694
1780
  end
@@ -1697,7 +1783,7 @@ module Aws::QBusiness
1697
1783
  end
1698
1784
 
1699
1785
  class NumberAttributeBoostingConfiguration
1700
- attr_accessor boosting_level: ("NONE" | "LOW" | "MEDIUM" | "HIGH" | "VERY_HIGH")
1786
+ attr_accessor boosting_level: ("NONE" | "LOW" | "MEDIUM" | "HIGH" | "VERY_HIGH" | "ONE" | "TWO")
1701
1787
  attr_accessor boosting_type: ("PRIORITIZE_LARGER_VALUES" | "PRIORITIZE_SMALLER_VALUES")
1702
1788
  SENSITIVE: []
1703
1789
  end
@@ -1856,6 +1942,11 @@ module Aws::QBusiness
1856
1942
  SENSITIVE: []
1857
1943
  end
1858
1944
 
1945
+ class ResponseConfiguration
1946
+ attr_accessor instruction_collection: Types::InstructionCollection
1947
+ SENSITIVE: []
1948
+ end
1949
+
1859
1950
  class Retriever
1860
1951
  attr_accessor application_id: ::String
1861
1952
  attr_accessor retriever_id: ::String
@@ -2008,13 +2099,13 @@ module Aws::QBusiness
2008
2099
  end
2009
2100
 
2010
2101
  class StringAttributeBoostingConfiguration
2011
- attr_accessor boosting_level: ("NONE" | "LOW" | "MEDIUM" | "HIGH" | "VERY_HIGH")
2012
- attr_accessor attribute_value_boosting: ::Hash[::String, ("LOW" | "MEDIUM" | "HIGH" | "VERY_HIGH")]
2102
+ attr_accessor boosting_level: ("NONE" | "LOW" | "MEDIUM" | "HIGH" | "VERY_HIGH" | "ONE" | "TWO")
2103
+ attr_accessor attribute_value_boosting: ::Hash[::String, ("LOW" | "MEDIUM" | "HIGH" | "VERY_HIGH" | "ONE" | "TWO" | "THREE" | "FOUR" | "FIVE")]
2013
2104
  SENSITIVE: []
2014
2105
  end
2015
2106
 
2016
2107
  class StringListAttributeBoostingConfiguration
2017
- attr_accessor boosting_level: ("NONE" | "LOW" | "MEDIUM" | "HIGH" | "VERY_HIGH")
2108
+ attr_accessor boosting_level: ("NONE" | "LOW" | "MEDIUM" | "HIGH" | "VERY_HIGH" | "ONE" | "TWO")
2018
2109
  SENSITIVE: []
2019
2110
  end
2020
2111
 
@@ -2147,6 +2238,18 @@ module Aws::QBusiness
2147
2238
  class UpdateChatControlsConfigurationResponse < Aws::EmptyStructure
2148
2239
  end
2149
2240
 
2241
+ class UpdateChatResponseConfigurationRequest
2242
+ attr_accessor application_id: ::String
2243
+ attr_accessor chat_response_configuration_id: ::String
2244
+ attr_accessor display_name: ::String
2245
+ attr_accessor response_configurations: ::Hash[("ALL"), Types::ResponseConfiguration]
2246
+ attr_accessor client_token: ::String
2247
+ SENSITIVE: []
2248
+ end
2249
+
2250
+ class UpdateChatResponseConfigurationResponse < Aws::EmptyStructure
2251
+ end
2252
+
2150
2253
  class UpdateDataAccessorRequest
2151
2254
  attr_accessor application_id: ::String
2152
2255
  attr_accessor data_accessor_id: ::String
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: aws-sdk-qbusiness
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.41.0
4
+ version: 1.42.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Amazon Web Services