aws-sdk-qbusiness 1.22.0 → 1.23.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 +6 -2
- data/lib/aws-sdk-qbusiness/client.rb +271 -33
- data/lib/aws-sdk-qbusiness/client_api.rb +140 -7
- data/lib/aws-sdk-qbusiness/errors.rb +32 -0
- data/lib/aws-sdk-qbusiness/event_streams.rb +3 -1
- data/lib/aws-sdk-qbusiness/types.rb +450 -40
- data/lib/aws-sdk-qbusiness.rb +1 -1
- data/sig/client.rbs +63 -5
- data/sig/errors.rbs +6 -0
- data/sig/types.rbs +101 -4
- metadata +2 -2
data/lib/aws-sdk-qbusiness.rb
CHANGED
data/sig/client.rbs
CHANGED
@@ -204,6 +204,11 @@ module Aws
|
|
204
204
|
s3_bucket_name: ::String?,
|
205
205
|
role_arn: ::String?
|
206
206
|
}?
|
207
|
+
}?,
|
208
|
+
media_extraction_configuration: {
|
209
|
+
image_extraction_configuration: {
|
210
|
+
image_extraction_status: ("ENABLED" | "DISABLED")
|
211
|
+
}?
|
207
212
|
}?
|
208
213
|
},
|
209
214
|
],
|
@@ -247,8 +252,14 @@ module Aws
|
|
247
252
|
?user_message: ::String,
|
248
253
|
?attachments: Array[
|
249
254
|
{
|
250
|
-
|
251
|
-
|
255
|
+
data: ::String?,
|
256
|
+
name: ::String?,
|
257
|
+
copy_from: {
|
258
|
+
conversation: {
|
259
|
+
conversation_id: ::String,
|
260
|
+
attachment_id: ::String
|
261
|
+
}?
|
262
|
+
}?
|
252
263
|
},
|
253
264
|
],
|
254
265
|
?action_execution: {
|
@@ -464,6 +475,11 @@ module Aws
|
|
464
475
|
s3_bucket_name: ::String?,
|
465
476
|
role_arn: ::String?
|
466
477
|
}?
|
478
|
+
},
|
479
|
+
?media_extraction_configuration: {
|
480
|
+
image_extraction_configuration: {
|
481
|
+
image_extraction_status: ("ENABLED" | "DISABLED")
|
482
|
+
}?
|
467
483
|
}
|
468
484
|
) -> _CreateDataSourceResponseSuccess
|
469
485
|
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _CreateDataSourceResponseSuccess
|
@@ -477,8 +493,8 @@ module Aws
|
|
477
493
|
def create_index: (
|
478
494
|
application_id: ::String,
|
479
495
|
display_name: ::String,
|
480
|
-
?type: ("ENTERPRISE" | "STARTER"),
|
481
496
|
?description: ::String,
|
497
|
+
?type: ("ENTERPRISE" | "STARTER"),
|
482
498
|
?tags: Array[
|
483
499
|
{
|
484
500
|
key: ::String,
|
@@ -630,6 +646,9 @@ module Aws
|
|
630
646
|
secrets_arn: ::String,
|
631
647
|
secrets_role: ::String
|
632
648
|
}?
|
649
|
+
},
|
650
|
+
?browser_extension_configuration: {
|
651
|
+
enabled_browser_extensions: Array[("FIREFOX" | "CHROME")]
|
633
652
|
}
|
634
653
|
) -> _CreateWebExperienceResponseSuccess
|
635
654
|
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _CreateWebExperienceResponseSuccess
|
@@ -795,6 +814,7 @@ module Aws
|
|
795
814
|
def sync_schedule: () -> ::String
|
796
815
|
def role_arn: () -> ::String
|
797
816
|
def document_enrichment_configuration: () -> Types::DocumentEnrichmentConfiguration
|
817
|
+
def media_extraction_configuration: () -> Types::MediaExtractionConfiguration
|
798
818
|
end
|
799
819
|
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/QBusiness/Client.html#get_data_source-instance_method
|
800
820
|
def get_data_source: (
|
@@ -823,9 +843,9 @@ module Aws
|
|
823
843
|
def application_id: () -> ::String
|
824
844
|
def index_id: () -> ::String
|
825
845
|
def display_name: () -> ::String
|
826
|
-
def type: () -> ("ENTERPRISE" | "STARTER")
|
827
846
|
def index_arn: () -> ::String
|
828
847
|
def status: () -> ("CREATING" | "ACTIVE" | "DELETING" | "FAILED" | "UPDATING")
|
848
|
+
def type: () -> ("ENTERPRISE" | "STARTER")
|
829
849
|
def description: () -> ::String
|
830
850
|
def created_at: () -> ::Time
|
831
851
|
def updated_at: () -> ::Time
|
@@ -840,6 +860,20 @@ module Aws
|
|
840
860
|
) -> _GetIndexResponseSuccess
|
841
861
|
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetIndexResponseSuccess
|
842
862
|
|
863
|
+
interface _GetMediaResponseSuccess
|
864
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::GetMediaResponse]
|
865
|
+
def media_bytes: () -> ::String
|
866
|
+
def media_mime_type: () -> ::String
|
867
|
+
end
|
868
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/QBusiness/Client.html#get_media-instance_method
|
869
|
+
def get_media: (
|
870
|
+
application_id: ::String,
|
871
|
+
conversation_id: ::String,
|
872
|
+
message_id: ::String,
|
873
|
+
media_id: ::String
|
874
|
+
) -> _GetMediaResponseSuccess
|
875
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetMediaResponseSuccess
|
876
|
+
|
843
877
|
interface _GetPluginResponseSuccess
|
844
878
|
include ::Seahorse::Client::_ResponseSuccess[Types::GetPluginResponse]
|
845
879
|
def application_id: () -> ::String
|
@@ -910,6 +944,7 @@ module Aws
|
|
910
944
|
def role_arn: () -> ::String
|
911
945
|
def identity_provider_configuration: () -> Types::IdentityProviderConfiguration
|
912
946
|
def authentication_configuration: () -> Types::WebExperienceAuthConfiguration
|
947
|
+
def browser_extension_configuration: () -> Types::BrowserExtensionConfiguration
|
913
948
|
end
|
914
949
|
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/QBusiness/Client.html#get_web_experience-instance_method
|
915
950
|
def get_web_experience: (
|
@@ -930,6 +965,21 @@ module Aws
|
|
930
965
|
) -> _ListApplicationsResponseSuccess
|
931
966
|
| (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListApplicationsResponseSuccess
|
932
967
|
|
968
|
+
interface _ListAttachmentsResponseSuccess
|
969
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::ListAttachmentsResponse]
|
970
|
+
def attachments: () -> ::Array[Types::Attachment]
|
971
|
+
def next_token: () -> ::String
|
972
|
+
end
|
973
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/QBusiness/Client.html#list_attachments-instance_method
|
974
|
+
def list_attachments: (
|
975
|
+
application_id: ::String,
|
976
|
+
?conversation_id: ::String,
|
977
|
+
?user_id: ::String,
|
978
|
+
?next_token: ::String,
|
979
|
+
?max_results: ::Integer
|
980
|
+
) -> _ListAttachmentsResponseSuccess
|
981
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListAttachmentsResponseSuccess
|
982
|
+
|
933
983
|
interface _ListConversationsResponseSuccess
|
934
984
|
include ::Seahorse::Client::_ResponseSuccess[Types::ListConversationsResponse]
|
935
985
|
def next_token: () -> ::String
|
@@ -1365,6 +1415,11 @@ module Aws
|
|
1365
1415
|
s3_bucket_name: ::String?,
|
1366
1416
|
role_arn: ::String?
|
1367
1417
|
}?
|
1418
|
+
},
|
1419
|
+
?media_extraction_configuration: {
|
1420
|
+
image_extraction_configuration: {
|
1421
|
+
image_extraction_status: ("ENABLED" | "DISABLED")
|
1422
|
+
}?
|
1368
1423
|
}
|
1369
1424
|
) -> _UpdateDataSourceResponseSuccess
|
1370
1425
|
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _UpdateDataSourceResponseSuccess
|
@@ -1520,7 +1575,10 @@ module Aws
|
|
1520
1575
|
secrets_role: ::String
|
1521
1576
|
}?
|
1522
1577
|
},
|
1523
|
-
?origins: Array[::String]
|
1578
|
+
?origins: Array[::String],
|
1579
|
+
?browser_extension_configuration: {
|
1580
|
+
enabled_browser_extensions: Array[("FIREFOX" | "CHROME")]
|
1581
|
+
}
|
1524
1582
|
) -> _UpdateWebExperienceResponseSuccess
|
1525
1583
|
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _UpdateWebExperienceResponseSuccess
|
1526
1584
|
end
|
data/sig/errors.rbs
CHANGED
@@ -19,12 +19,18 @@ module Aws
|
|
19
19
|
def resource_id: () -> ::String
|
20
20
|
def resource_type: () -> ::String
|
21
21
|
end
|
22
|
+
class ExternalResourceException < ::Aws::Errors::ServiceError
|
23
|
+
def message: () -> ::String
|
24
|
+
end
|
22
25
|
class InternalServerException < ::Aws::Errors::ServiceError
|
23
26
|
def message: () -> ::String
|
24
27
|
end
|
25
28
|
class LicenseNotFoundException < ::Aws::Errors::ServiceError
|
26
29
|
def message: () -> ::String
|
27
30
|
end
|
31
|
+
class MediaTooLargeException < ::Aws::Errors::ServiceError
|
32
|
+
def message: () -> ::String
|
33
|
+
end
|
28
34
|
class ResourceNotFoundException < ::Aws::Errors::ServiceError
|
29
35
|
def message: () -> ::String
|
30
36
|
def resource_id: () -> ::String
|
data/sig/types.rbs
CHANGED
@@ -118,9 +118,24 @@ module Aws::QBusiness
|
|
118
118
|
SENSITIVE: []
|
119
119
|
end
|
120
120
|
|
121
|
-
class
|
121
|
+
class Attachment
|
122
|
+
attr_accessor attachment_id: ::String
|
123
|
+
attr_accessor conversation_id: ::String
|
122
124
|
attr_accessor name: ::String
|
125
|
+
attr_accessor copy_from: Types::CopyFromSource
|
126
|
+
attr_accessor file_type: ::String
|
127
|
+
attr_accessor file_size: ::Integer
|
128
|
+
attr_accessor md5chksum: ::String
|
129
|
+
attr_accessor created_at: ::Time
|
130
|
+
attr_accessor status: ("FAILED" | "SUCCESS")
|
131
|
+
attr_accessor error: Types::ErrorDetail
|
132
|
+
SENSITIVE: []
|
133
|
+
end
|
134
|
+
|
135
|
+
class AttachmentInput
|
123
136
|
attr_accessor data: ::String
|
137
|
+
attr_accessor name: ::String
|
138
|
+
attr_accessor copy_from: Types::CopyFromSource
|
124
139
|
SENSITIVE: []
|
125
140
|
end
|
126
141
|
|
@@ -132,8 +147,10 @@ module Aws::QBusiness
|
|
132
147
|
|
133
148
|
class AttachmentOutput
|
134
149
|
attr_accessor name: ::String
|
135
|
-
attr_accessor status: ("FAILED" | "
|
150
|
+
attr_accessor status: ("FAILED" | "SUCCESS")
|
136
151
|
attr_accessor error: Types::ErrorDetail
|
152
|
+
attr_accessor attachment_id: ::String
|
153
|
+
attr_accessor conversation_id: ::String
|
137
154
|
SENSITIVE: []
|
138
155
|
end
|
139
156
|
|
@@ -230,6 +247,11 @@ module Aws::QBusiness
|
|
230
247
|
SENSITIVE: []
|
231
248
|
end
|
232
249
|
|
250
|
+
class BrowserExtensionConfiguration
|
251
|
+
attr_accessor enabled_browser_extensions: ::Array[("FIREFOX" | "CHROME")]
|
252
|
+
SENSITIVE: []
|
253
|
+
end
|
254
|
+
|
233
255
|
class ChatInput
|
234
256
|
attr_accessor application_id: ::String
|
235
257
|
attr_accessor user_id: ::String
|
@@ -318,6 +340,23 @@ module Aws::QBusiness
|
|
318
340
|
SENSITIVE: []
|
319
341
|
end
|
320
342
|
|
343
|
+
class ConversationSource
|
344
|
+
attr_accessor conversation_id: ::String
|
345
|
+
attr_accessor attachment_id: ::String
|
346
|
+
SENSITIVE: []
|
347
|
+
end
|
348
|
+
|
349
|
+
class CopyFromSource
|
350
|
+
attr_accessor conversation: Types::ConversationSource
|
351
|
+
attr_accessor unknown: untyped
|
352
|
+
SENSITIVE: []
|
353
|
+
|
354
|
+
class Conversation < CopyFromSource
|
355
|
+
end
|
356
|
+
class Unknown < CopyFromSource
|
357
|
+
end
|
358
|
+
end
|
359
|
+
|
321
360
|
class CreateApplicationRequest
|
322
361
|
attr_accessor display_name: ::String
|
323
362
|
attr_accessor role_arn: ::String
|
@@ -353,6 +392,7 @@ module Aws::QBusiness
|
|
353
392
|
attr_accessor role_arn: ::String
|
354
393
|
attr_accessor client_token: ::String
|
355
394
|
attr_accessor document_enrichment_configuration: Types::DocumentEnrichmentConfiguration
|
395
|
+
attr_accessor media_extraction_configuration: Types::MediaExtractionConfiguration
|
356
396
|
SENSITIVE: []
|
357
397
|
end
|
358
398
|
|
@@ -365,8 +405,8 @@ module Aws::QBusiness
|
|
365
405
|
class CreateIndexRequest
|
366
406
|
attr_accessor application_id: ::String
|
367
407
|
attr_accessor display_name: ::String
|
368
|
-
attr_accessor type: ("ENTERPRISE" | "STARTER")
|
369
408
|
attr_accessor description: ::String
|
409
|
+
attr_accessor type: ("ENTERPRISE" | "STARTER")
|
370
410
|
attr_accessor tags: ::Array[Types::Tag]
|
371
411
|
attr_accessor capacity_configuration: Types::IndexCapacityConfiguration
|
372
412
|
attr_accessor client_token: ::String
|
@@ -437,6 +477,7 @@ module Aws::QBusiness
|
|
437
477
|
attr_accessor tags: ::Array[Types::Tag]
|
438
478
|
attr_accessor client_token: ::String
|
439
479
|
attr_accessor identity_provider_configuration: Types::IdentityProviderConfiguration
|
480
|
+
attr_accessor browser_extension_configuration: Types::BrowserExtensionConfiguration
|
440
481
|
SENSITIVE: []
|
441
482
|
end
|
442
483
|
|
@@ -605,6 +646,7 @@ module Aws::QBusiness
|
|
605
646
|
attr_accessor title: ::String
|
606
647
|
attr_accessor access_configuration: Types::AccessConfiguration
|
607
648
|
attr_accessor document_enrichment_configuration: Types::DocumentEnrichmentConfiguration
|
649
|
+
attr_accessor media_extraction_configuration: Types::MediaExtractionConfiguration
|
608
650
|
SENSITIVE: []
|
609
651
|
end
|
610
652
|
|
@@ -727,6 +769,11 @@ module Aws::QBusiness
|
|
727
769
|
SENSITIVE: []
|
728
770
|
end
|
729
771
|
|
772
|
+
class ExternalResourceException
|
773
|
+
attr_accessor message: ::String
|
774
|
+
SENSITIVE: []
|
775
|
+
end
|
776
|
+
|
730
777
|
class FailedAttachmentEvent
|
731
778
|
attr_accessor conversation_id: ::String
|
732
779
|
attr_accessor user_message_id: ::String
|
@@ -810,6 +857,7 @@ module Aws::QBusiness
|
|
810
857
|
attr_accessor role_arn: ::String
|
811
858
|
attr_accessor error: Types::ErrorDetail
|
812
859
|
attr_accessor document_enrichment_configuration: Types::DocumentEnrichmentConfiguration
|
860
|
+
attr_accessor media_extraction_configuration: Types::MediaExtractionConfiguration
|
813
861
|
SENSITIVE: []
|
814
862
|
end
|
815
863
|
|
@@ -837,9 +885,9 @@ module Aws::QBusiness
|
|
837
885
|
attr_accessor application_id: ::String
|
838
886
|
attr_accessor index_id: ::String
|
839
887
|
attr_accessor display_name: ::String
|
840
|
-
attr_accessor type: ("ENTERPRISE" | "STARTER")
|
841
888
|
attr_accessor index_arn: ::String
|
842
889
|
attr_accessor status: ("CREATING" | "ACTIVE" | "DELETING" | "FAILED" | "UPDATING")
|
890
|
+
attr_accessor type: ("ENTERPRISE" | "STARTER")
|
843
891
|
attr_accessor description: ::String
|
844
892
|
attr_accessor created_at: ::Time
|
845
893
|
attr_accessor updated_at: ::Time
|
@@ -850,6 +898,20 @@ module Aws::QBusiness
|
|
850
898
|
SENSITIVE: []
|
851
899
|
end
|
852
900
|
|
901
|
+
class GetMediaRequest
|
902
|
+
attr_accessor application_id: ::String
|
903
|
+
attr_accessor conversation_id: ::String
|
904
|
+
attr_accessor message_id: ::String
|
905
|
+
attr_accessor media_id: ::String
|
906
|
+
SENSITIVE: []
|
907
|
+
end
|
908
|
+
|
909
|
+
class GetMediaResponse
|
910
|
+
attr_accessor media_bytes: ::String
|
911
|
+
attr_accessor media_mime_type: ::String
|
912
|
+
SENSITIVE: []
|
913
|
+
end
|
914
|
+
|
853
915
|
class GetPluginRequest
|
854
916
|
attr_accessor application_id: ::String
|
855
917
|
attr_accessor plugin_id: ::String
|
@@ -926,6 +988,7 @@ module Aws::QBusiness
|
|
926
988
|
attr_accessor identity_provider_configuration: Types::IdentityProviderConfiguration
|
927
989
|
attr_accessor authentication_configuration: Types::WebExperienceAuthConfiguration
|
928
990
|
attr_accessor error: Types::ErrorDetail
|
991
|
+
attr_accessor browser_extension_configuration: Types::BrowserExtensionConfiguration
|
929
992
|
SENSITIVE: []
|
930
993
|
end
|
931
994
|
|
@@ -970,6 +1033,11 @@ module Aws::QBusiness
|
|
970
1033
|
end
|
971
1034
|
end
|
972
1035
|
|
1036
|
+
class ImageExtractionConfiguration
|
1037
|
+
attr_accessor image_extraction_status: ("ENABLED" | "DISABLED")
|
1038
|
+
SENSITIVE: []
|
1039
|
+
end
|
1040
|
+
|
973
1041
|
class Index
|
974
1042
|
attr_accessor display_name: ::String
|
975
1043
|
attr_accessor index_id: ::String
|
@@ -1023,6 +1091,21 @@ module Aws::QBusiness
|
|
1023
1091
|
SENSITIVE: []
|
1024
1092
|
end
|
1025
1093
|
|
1094
|
+
class ListAttachmentsRequest
|
1095
|
+
attr_accessor application_id: ::String
|
1096
|
+
attr_accessor conversation_id: ::String
|
1097
|
+
attr_accessor user_id: ::String
|
1098
|
+
attr_accessor next_token: ::String
|
1099
|
+
attr_accessor max_results: ::Integer
|
1100
|
+
SENSITIVE: []
|
1101
|
+
end
|
1102
|
+
|
1103
|
+
class ListAttachmentsResponse
|
1104
|
+
attr_accessor attachments: ::Array[Types::Attachment]
|
1105
|
+
attr_accessor next_token: ::String
|
1106
|
+
SENSITIVE: []
|
1107
|
+
end
|
1108
|
+
|
1026
1109
|
class ListConversationsRequest
|
1027
1110
|
attr_accessor application_id: ::String
|
1028
1111
|
attr_accessor user_id: ::String
|
@@ -1177,6 +1260,16 @@ module Aws::QBusiness
|
|
1177
1260
|
SENSITIVE: []
|
1178
1261
|
end
|
1179
1262
|
|
1263
|
+
class MediaExtractionConfiguration
|
1264
|
+
attr_accessor image_extraction_configuration: Types::ImageExtractionConfiguration
|
1265
|
+
SENSITIVE: []
|
1266
|
+
end
|
1267
|
+
|
1268
|
+
class MediaTooLargeException
|
1269
|
+
attr_accessor message: ::String
|
1270
|
+
SENSITIVE: []
|
1271
|
+
end
|
1272
|
+
|
1180
1273
|
class MemberGroup
|
1181
1274
|
attr_accessor group_name: ::String
|
1182
1275
|
attr_accessor type: ("INDEX" | "DATASOURCE")
|
@@ -1508,6 +1601,8 @@ module Aws::QBusiness
|
|
1508
1601
|
attr_accessor begin_offset: ::Integer
|
1509
1602
|
attr_accessor end_offset: ::Integer
|
1510
1603
|
attr_accessor snippet_excerpt: Types::SnippetExcerpt
|
1604
|
+
attr_accessor media_id: ::String
|
1605
|
+
attr_accessor media_mime_type: ::String
|
1511
1606
|
SENSITIVE: []
|
1512
1607
|
end
|
1513
1608
|
|
@@ -1574,6 +1669,7 @@ module Aws::QBusiness
|
|
1574
1669
|
attr_accessor sync_schedule: ::String
|
1575
1670
|
attr_accessor role_arn: ::String
|
1576
1671
|
attr_accessor document_enrichment_configuration: Types::DocumentEnrichmentConfiguration
|
1672
|
+
attr_accessor media_extraction_configuration: Types::MediaExtractionConfiguration
|
1577
1673
|
SENSITIVE: []
|
1578
1674
|
end
|
1579
1675
|
|
@@ -1645,6 +1741,7 @@ module Aws::QBusiness
|
|
1645
1741
|
attr_accessor sample_prompts_control_mode: ("ENABLED" | "DISABLED")
|
1646
1742
|
attr_accessor identity_provider_configuration: Types::IdentityProviderConfiguration
|
1647
1743
|
attr_accessor origins: ::Array[::String]
|
1744
|
+
attr_accessor browser_extension_configuration: Types::BrowserExtensionConfiguration
|
1648
1745
|
SENSITIVE: []
|
1649
1746
|
end
|
1650
1747
|
|
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.23.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-
|
11
|
+
date: 2024-12-02 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: aws-sdk-core
|