aws-sdk-qbusiness 1.21.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 +10 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-qbusiness/async_client.rb +6 -2
- data/lib/aws-sdk-qbusiness/client.rb +290 -24
- data/lib/aws-sdk-qbusiness/client_api.rb +142 -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 +466 -42
- data/lib/aws-sdk-qbusiness.rb +1 -1
- data/sig/client.rbs +70 -7
- data/sig/errors.rbs +6 -0
- data/sig/types.rbs +103 -4
- metadata +2 -2
@@ -44,8 +44,11 @@ module Aws::QBusiness
|
|
44
44
|
Applications = Shapes::ListShape.new(name: 'Applications')
|
45
45
|
AppliedAttachmentsConfiguration = Shapes::StructureShape.new(name: 'AppliedAttachmentsConfiguration')
|
46
46
|
AppliedCreatorModeConfiguration = Shapes::StructureShape.new(name: 'AppliedCreatorModeConfiguration')
|
47
|
+
Attachment = Shapes::StructureShape.new(name: 'Attachment')
|
48
|
+
AttachmentId = Shapes::StringShape.new(name: 'AttachmentId')
|
47
49
|
AttachmentInput = Shapes::StructureShape.new(name: 'AttachmentInput')
|
48
50
|
AttachmentInputEvent = Shapes::StructureShape.new(name: 'AttachmentInputEvent')
|
51
|
+
AttachmentList = Shapes::ListShape.new(name: 'AttachmentList')
|
49
52
|
AttachmentName = Shapes::StringShape.new(name: 'AttachmentName')
|
50
53
|
AttachmentOutput = Shapes::StructureShape.new(name: 'AttachmentOutput')
|
51
54
|
AttachmentStatus = Shapes::StringShape.new(name: 'AttachmentStatus')
|
@@ -78,6 +81,9 @@ module Aws::QBusiness
|
|
78
81
|
BlockedPhrasesConfigurationUpdate = Shapes::StructureShape.new(name: 'BlockedPhrasesConfigurationUpdate')
|
79
82
|
Boolean = Shapes::BooleanShape.new(name: 'Boolean')
|
80
83
|
BoostingDurationInSeconds = Shapes::IntegerShape.new(name: 'BoostingDurationInSeconds')
|
84
|
+
BrowserExtension = Shapes::StringShape.new(name: 'BrowserExtension')
|
85
|
+
BrowserExtensionConfiguration = Shapes::StructureShape.new(name: 'BrowserExtensionConfiguration')
|
86
|
+
BrowserExtensionList = Shapes::ListShape.new(name: 'BrowserExtensionList')
|
81
87
|
ChatInput = Shapes::StructureShape.new(name: 'ChatInput')
|
82
88
|
ChatInputStream = Shapes::StructureShape.new(name: 'ChatInputStream')
|
83
89
|
ChatMode = Shapes::StringShape.new(name: 'ChatMode')
|
@@ -96,8 +102,10 @@ module Aws::QBusiness
|
|
96
102
|
ContentType = Shapes::StringShape.new(name: 'ContentType')
|
97
103
|
Conversation = Shapes::StructureShape.new(name: 'Conversation')
|
98
104
|
ConversationId = Shapes::StringShape.new(name: 'ConversationId')
|
105
|
+
ConversationSource = Shapes::StructureShape.new(name: 'ConversationSource')
|
99
106
|
ConversationTitle = Shapes::StringShape.new(name: 'ConversationTitle')
|
100
107
|
Conversations = Shapes::ListShape.new(name: 'Conversations')
|
108
|
+
CopyFromSource = Shapes::UnionShape.new(name: 'CopyFromSource')
|
101
109
|
CreateApplicationRequest = Shapes::StructureShape.new(name: 'CreateApplicationRequest')
|
102
110
|
CreateApplicationResponse = Shapes::StructureShape.new(name: 'CreateApplicationResponse')
|
103
111
|
CreateDataSourceRequest = Shapes::StructureShape.new(name: 'CreateDataSourceRequest')
|
@@ -188,6 +196,7 @@ module Aws::QBusiness
|
|
188
196
|
ExampleChatMessage = Shapes::StringShape.new(name: 'ExampleChatMessage')
|
189
197
|
ExampleChatMessages = Shapes::ListShape.new(name: 'ExampleChatMessages')
|
190
198
|
ExecutionId = Shapes::StringShape.new(name: 'ExecutionId')
|
199
|
+
ExternalResourceException = Shapes::StructureShape.new(name: 'ExternalResourceException')
|
191
200
|
FailedAttachmentEvent = Shapes::StructureShape.new(name: 'FailedAttachmentEvent')
|
192
201
|
FailedDocument = Shapes::StructureShape.new(name: 'FailedDocument')
|
193
202
|
FailedDocuments = Shapes::ListShape.new(name: 'FailedDocuments')
|
@@ -201,6 +210,8 @@ module Aws::QBusiness
|
|
201
210
|
GetGroupResponse = Shapes::StructureShape.new(name: 'GetGroupResponse')
|
202
211
|
GetIndexRequest = Shapes::StructureShape.new(name: 'GetIndexRequest')
|
203
212
|
GetIndexResponse = Shapes::StructureShape.new(name: 'GetIndexResponse')
|
213
|
+
GetMediaRequest = Shapes::StructureShape.new(name: 'GetMediaRequest')
|
214
|
+
GetMediaResponse = Shapes::StructureShape.new(name: 'GetMediaResponse')
|
204
215
|
GetPluginRequest = Shapes::StructureShape.new(name: 'GetPluginRequest')
|
205
216
|
GetPluginResponse = Shapes::StructureShape.new(name: 'GetPluginResponse')
|
206
217
|
GetRetrieverRequest = Shapes::StructureShape.new(name: 'GetRetrieverRequest')
|
@@ -217,10 +228,12 @@ module Aws::QBusiness
|
|
217
228
|
GroupSummary = Shapes::StructureShape.new(name: 'GroupSummary')
|
218
229
|
GroupSummaryList = Shapes::ListShape.new(name: 'GroupSummaryList')
|
219
230
|
HookConfiguration = Shapes::StructureShape.new(name: 'HookConfiguration')
|
220
|
-
|
231
|
+
IAMIdentityProviderArn = Shapes::StringShape.new(name: 'IAMIdentityProviderArn')
|
221
232
|
IdcApplicationArn = Shapes::StringShape.new(name: 'IdcApplicationArn')
|
222
233
|
IdentityProviderConfiguration = Shapes::UnionShape.new(name: 'IdentityProviderConfiguration')
|
223
234
|
IdentityType = Shapes::StringShape.new(name: 'IdentityType')
|
235
|
+
ImageExtractionConfiguration = Shapes::StructureShape.new(name: 'ImageExtractionConfiguration')
|
236
|
+
ImageExtractionStatus = Shapes::StringShape.new(name: 'ImageExtractionStatus')
|
224
237
|
Index = Shapes::StructureShape.new(name: 'Index')
|
225
238
|
IndexArn = Shapes::StringShape.new(name: 'IndexArn')
|
226
239
|
IndexCapacityConfiguration = Shapes::StructureShape.new(name: 'IndexCapacityConfiguration')
|
@@ -245,6 +258,8 @@ module Aws::QBusiness
|
|
245
258
|
LicenseNotFoundException = Shapes::StructureShape.new(name: 'LicenseNotFoundException')
|
246
259
|
ListApplicationsRequest = Shapes::StructureShape.new(name: 'ListApplicationsRequest')
|
247
260
|
ListApplicationsResponse = Shapes::StructureShape.new(name: 'ListApplicationsResponse')
|
261
|
+
ListAttachmentsRequest = Shapes::StructureShape.new(name: 'ListAttachmentsRequest')
|
262
|
+
ListAttachmentsResponse = Shapes::StructureShape.new(name: 'ListAttachmentsResponse')
|
248
263
|
ListConversationsRequest = Shapes::StructureShape.new(name: 'ListConversationsRequest')
|
249
264
|
ListConversationsResponse = Shapes::StructureShape.new(name: 'ListConversationsResponse')
|
250
265
|
ListDataSourceSyncJobsRequest = Shapes::StructureShape.new(name: 'ListDataSourceSyncJobsRequest')
|
@@ -270,6 +285,7 @@ module Aws::QBusiness
|
|
270
285
|
Long = Shapes::IntegerShape.new(name: 'Long')
|
271
286
|
MaxResultsIntegerForGetTopicConfigurations = Shapes::IntegerShape.new(name: 'MaxResultsIntegerForGetTopicConfigurations')
|
272
287
|
MaxResultsIntegerForListApplications = Shapes::IntegerShape.new(name: 'MaxResultsIntegerForListApplications')
|
288
|
+
MaxResultsIntegerForListAttachments = Shapes::IntegerShape.new(name: 'MaxResultsIntegerForListAttachments')
|
273
289
|
MaxResultsIntegerForListConversations = Shapes::IntegerShape.new(name: 'MaxResultsIntegerForListConversations')
|
274
290
|
MaxResultsIntegerForListDataSources = Shapes::IntegerShape.new(name: 'MaxResultsIntegerForListDataSources')
|
275
291
|
MaxResultsIntegerForListDataSourcesSyncJobs = Shapes::IntegerShape.new(name: 'MaxResultsIntegerForListDataSourcesSyncJobs')
|
@@ -280,6 +296,9 @@ module Aws::QBusiness
|
|
280
296
|
MaxResultsIntegerForListPlugins = Shapes::IntegerShape.new(name: 'MaxResultsIntegerForListPlugins')
|
281
297
|
MaxResultsIntegerForListRetrieversRequest = Shapes::IntegerShape.new(name: 'MaxResultsIntegerForListRetrieversRequest')
|
282
298
|
MaxResultsIntegerForListWebExperiencesRequest = Shapes::IntegerShape.new(name: 'MaxResultsIntegerForListWebExperiencesRequest')
|
299
|
+
MediaExtractionConfiguration = Shapes::StructureShape.new(name: 'MediaExtractionConfiguration')
|
300
|
+
MediaId = Shapes::StringShape.new(name: 'MediaId')
|
301
|
+
MediaTooLargeException = Shapes::StructureShape.new(name: 'MediaTooLargeException')
|
283
302
|
MemberGroup = Shapes::StructureShape.new(name: 'MemberGroup')
|
284
303
|
MemberGroups = Shapes::ListShape.new(name: 'MemberGroups')
|
285
304
|
MemberRelation = Shapes::StringShape.new(name: 'MemberRelation')
|
@@ -359,6 +378,7 @@ module Aws::QBusiness
|
|
359
378
|
SnippetExcerpt = Shapes::StructureShape.new(name: 'SnippetExcerpt')
|
360
379
|
SnippetExcerptText = Shapes::StringShape.new(name: 'SnippetExcerptText')
|
361
380
|
SourceAttribution = Shapes::StructureShape.new(name: 'SourceAttribution')
|
381
|
+
SourceAttributionMediaId = Shapes::StringShape.new(name: 'SourceAttributionMediaId')
|
362
382
|
SourceAttributions = Shapes::ListShape.new(name: 'SourceAttributions')
|
363
383
|
StartDataSourceSyncJobRequest = Shapes::StructureShape.new(name: 'StartDataSourceSyncJobRequest')
|
364
384
|
StartDataSourceSyncJobResponse = Shapes::StructureShape.new(name: 'StartDataSourceSyncJobResponse')
|
@@ -525,16 +545,33 @@ module Aws::QBusiness
|
|
525
545
|
AppliedCreatorModeConfiguration.add_member(:creator_mode_control, Shapes::ShapeRef.new(shape: CreatorModeControl, required: true, location_name: "creatorModeControl"))
|
526
546
|
AppliedCreatorModeConfiguration.struct_class = Types::AppliedCreatorModeConfiguration
|
527
547
|
|
528
|
-
|
529
|
-
|
548
|
+
Attachment.add_member(:attachment_id, Shapes::ShapeRef.new(shape: AttachmentId, location_name: "attachmentId"))
|
549
|
+
Attachment.add_member(:conversation_id, Shapes::ShapeRef.new(shape: ConversationId, location_name: "conversationId"))
|
550
|
+
Attachment.add_member(:name, Shapes::ShapeRef.new(shape: AttachmentName, location_name: "name"))
|
551
|
+
Attachment.add_member(:copy_from, Shapes::ShapeRef.new(shape: CopyFromSource, location_name: "copyFrom"))
|
552
|
+
Attachment.add_member(:file_type, Shapes::ShapeRef.new(shape: String, location_name: "fileType"))
|
553
|
+
Attachment.add_member(:file_size, Shapes::ShapeRef.new(shape: Integer, location_name: "fileSize"))
|
554
|
+
Attachment.add_member(:md5chksum, Shapes::ShapeRef.new(shape: String, location_name: "md5chksum"))
|
555
|
+
Attachment.add_member(:created_at, Shapes::ShapeRef.new(shape: Timestamp, location_name: "createdAt"))
|
556
|
+
Attachment.add_member(:status, Shapes::ShapeRef.new(shape: AttachmentStatus, location_name: "status"))
|
557
|
+
Attachment.add_member(:error, Shapes::ShapeRef.new(shape: ErrorDetail, location_name: "error"))
|
558
|
+
Attachment.struct_class = Types::Attachment
|
559
|
+
|
560
|
+
AttachmentInput.add_member(:data, Shapes::ShapeRef.new(shape: Blob, location_name: "data"))
|
561
|
+
AttachmentInput.add_member(:name, Shapes::ShapeRef.new(shape: AttachmentName, location_name: "name"))
|
562
|
+
AttachmentInput.add_member(:copy_from, Shapes::ShapeRef.new(shape: CopyFromSource, location_name: "copyFrom"))
|
530
563
|
AttachmentInput.struct_class = Types::AttachmentInput
|
531
564
|
|
532
565
|
AttachmentInputEvent.add_member(:attachment, Shapes::ShapeRef.new(shape: AttachmentInput, location_name: "attachment"))
|
533
566
|
AttachmentInputEvent.struct_class = Types::AttachmentInputEvent
|
534
567
|
|
568
|
+
AttachmentList.member = Shapes::ShapeRef.new(shape: Attachment)
|
569
|
+
|
535
570
|
AttachmentOutput.add_member(:name, Shapes::ShapeRef.new(shape: AttachmentName, location_name: "name"))
|
536
571
|
AttachmentOutput.add_member(:status, Shapes::ShapeRef.new(shape: AttachmentStatus, location_name: "status"))
|
537
572
|
AttachmentOutput.add_member(:error, Shapes::ShapeRef.new(shape: ErrorDetail, location_name: "error"))
|
573
|
+
AttachmentOutput.add_member(:attachment_id, Shapes::ShapeRef.new(shape: AttachmentId, location_name: "attachmentId"))
|
574
|
+
AttachmentOutput.add_member(:conversation_id, Shapes::ShapeRef.new(shape: ConversationId, location_name: "conversationId"))
|
538
575
|
AttachmentOutput.struct_class = Types::AttachmentOutput
|
539
576
|
|
540
577
|
AttachmentsConfiguration.add_member(:attachments_control_mode, Shapes::ShapeRef.new(shape: AttachmentsControlMode, required: true, location_name: "attachmentsControlMode"))
|
@@ -611,6 +648,11 @@ module Aws::QBusiness
|
|
611
648
|
BlockedPhrasesConfigurationUpdate.add_member(:system_message_override, Shapes::ShapeRef.new(shape: SystemMessageOverride, location_name: "systemMessageOverride"))
|
612
649
|
BlockedPhrasesConfigurationUpdate.struct_class = Types::BlockedPhrasesConfigurationUpdate
|
613
650
|
|
651
|
+
BrowserExtensionConfiguration.add_member(:enabled_browser_extensions, Shapes::ShapeRef.new(shape: BrowserExtensionList, required: true, location_name: "enabledBrowserExtensions"))
|
652
|
+
BrowserExtensionConfiguration.struct_class = Types::BrowserExtensionConfiguration
|
653
|
+
|
654
|
+
BrowserExtensionList.member = Shapes::ShapeRef.new(shape: BrowserExtension)
|
655
|
+
|
614
656
|
ChatInput.add_member(:application_id, Shapes::ShapeRef.new(shape: ApplicationId, required: true, location: "uri", location_name: "applicationId"))
|
615
657
|
ChatInput.add_member(:user_id, Shapes::ShapeRef.new(shape: UserId, location: "querystring", location_name: "userId"))
|
616
658
|
ChatInput.add_member(:user_groups, Shapes::ShapeRef.new(shape: UserGroups, location: "querystring", location_name: "userGroups"))
|
@@ -696,12 +738,22 @@ module Aws::QBusiness
|
|
696
738
|
Conversation.add_member(:start_time, Shapes::ShapeRef.new(shape: Timestamp, location_name: "startTime"))
|
697
739
|
Conversation.struct_class = Types::Conversation
|
698
740
|
|
741
|
+
ConversationSource.add_member(:conversation_id, Shapes::ShapeRef.new(shape: ConversationId, required: true, location_name: "conversationId"))
|
742
|
+
ConversationSource.add_member(:attachment_id, Shapes::ShapeRef.new(shape: AttachmentId, required: true, location_name: "attachmentId"))
|
743
|
+
ConversationSource.struct_class = Types::ConversationSource
|
744
|
+
|
699
745
|
Conversations.member = Shapes::ShapeRef.new(shape: Conversation)
|
700
746
|
|
747
|
+
CopyFromSource.add_member(:conversation, Shapes::ShapeRef.new(shape: ConversationSource, location_name: "conversation"))
|
748
|
+
CopyFromSource.add_member(:unknown, Shapes::ShapeRef.new(shape: nil, location_name: 'unknown'))
|
749
|
+
CopyFromSource.add_member_subclass(:conversation, Types::CopyFromSource::Conversation)
|
750
|
+
CopyFromSource.add_member_subclass(:unknown, Types::CopyFromSource::Unknown)
|
751
|
+
CopyFromSource.struct_class = Types::CopyFromSource
|
752
|
+
|
701
753
|
CreateApplicationRequest.add_member(:display_name, Shapes::ShapeRef.new(shape: ApplicationName, required: true, location_name: "displayName"))
|
702
754
|
CreateApplicationRequest.add_member(:role_arn, Shapes::ShapeRef.new(shape: RoleArn, location_name: "roleArn"))
|
703
755
|
CreateApplicationRequest.add_member(:identity_type, Shapes::ShapeRef.new(shape: IdentityType, location_name: "identityType"))
|
704
|
-
CreateApplicationRequest.add_member(:iam_identity_provider_arn, Shapes::ShapeRef.new(shape:
|
756
|
+
CreateApplicationRequest.add_member(:iam_identity_provider_arn, Shapes::ShapeRef.new(shape: IAMIdentityProviderArn, location_name: "iamIdentityProviderArn"))
|
705
757
|
CreateApplicationRequest.add_member(:identity_center_instance_arn, Shapes::ShapeRef.new(shape: InstanceArn, location_name: "identityCenterInstanceArn"))
|
706
758
|
CreateApplicationRequest.add_member(:client_ids_for_oidc, Shapes::ShapeRef.new(shape: ClientIdsForOIDC, location_name: "clientIdsForOIDC"))
|
707
759
|
CreateApplicationRequest.add_member(:description, Shapes::ShapeRef.new(shape: Description, location_name: "description"))
|
@@ -728,6 +780,7 @@ module Aws::QBusiness
|
|
728
780
|
CreateDataSourceRequest.add_member(:role_arn, Shapes::ShapeRef.new(shape: RoleArn, location_name: "roleArn"))
|
729
781
|
CreateDataSourceRequest.add_member(:client_token, Shapes::ShapeRef.new(shape: ClientToken, location_name: "clientToken", metadata: {"idempotencyToken"=>true}))
|
730
782
|
CreateDataSourceRequest.add_member(:document_enrichment_configuration, Shapes::ShapeRef.new(shape: DocumentEnrichmentConfiguration, location_name: "documentEnrichmentConfiguration"))
|
783
|
+
CreateDataSourceRequest.add_member(:media_extraction_configuration, Shapes::ShapeRef.new(shape: MediaExtractionConfiguration, location_name: "mediaExtractionConfiguration"))
|
731
784
|
CreateDataSourceRequest.struct_class = Types::CreateDataSourceRequest
|
732
785
|
|
733
786
|
CreateDataSourceResponse.add_member(:data_source_id, Shapes::ShapeRef.new(shape: DataSourceId, location_name: "dataSourceId"))
|
@@ -736,8 +789,8 @@ module Aws::QBusiness
|
|
736
789
|
|
737
790
|
CreateIndexRequest.add_member(:application_id, Shapes::ShapeRef.new(shape: ApplicationId, required: true, location: "uri", location_name: "applicationId"))
|
738
791
|
CreateIndexRequest.add_member(:display_name, Shapes::ShapeRef.new(shape: IndexName, required: true, location_name: "displayName"))
|
739
|
-
CreateIndexRequest.add_member(:type, Shapes::ShapeRef.new(shape: IndexType, location_name: "type"))
|
740
792
|
CreateIndexRequest.add_member(:description, Shapes::ShapeRef.new(shape: Description, location_name: "description"))
|
793
|
+
CreateIndexRequest.add_member(:type, Shapes::ShapeRef.new(shape: IndexType, location_name: "type"))
|
741
794
|
CreateIndexRequest.add_member(:tags, Shapes::ShapeRef.new(shape: Tags, location_name: "tags"))
|
742
795
|
CreateIndexRequest.add_member(:capacity_configuration, Shapes::ShapeRef.new(shape: IndexCapacityConfiguration, location_name: "capacityConfiguration"))
|
743
796
|
CreateIndexRequest.add_member(:client_token, Shapes::ShapeRef.new(shape: ClientToken, location_name: "clientToken", metadata: {"idempotencyToken"=>true}))
|
@@ -795,6 +848,7 @@ module Aws::QBusiness
|
|
795
848
|
CreateWebExperienceRequest.add_member(:tags, Shapes::ShapeRef.new(shape: Tags, location_name: "tags"))
|
796
849
|
CreateWebExperienceRequest.add_member(:client_token, Shapes::ShapeRef.new(shape: ClientToken, location_name: "clientToken", metadata: {"idempotencyToken"=>true}))
|
797
850
|
CreateWebExperienceRequest.add_member(:identity_provider_configuration, Shapes::ShapeRef.new(shape: IdentityProviderConfiguration, location_name: "identityProviderConfiguration"))
|
851
|
+
CreateWebExperienceRequest.add_member(:browser_extension_configuration, Shapes::ShapeRef.new(shape: BrowserExtensionConfiguration, location_name: "browserExtensionConfiguration"))
|
798
852
|
CreateWebExperienceRequest.struct_class = Types::CreateWebExperienceRequest
|
799
853
|
|
800
854
|
CreateWebExperienceResponse.add_member(:web_experience_id, Shapes::ShapeRef.new(shape: WebExperienceId, location_name: "webExperienceId"))
|
@@ -921,6 +975,7 @@ module Aws::QBusiness
|
|
921
975
|
Document.add_member(:title, Shapes::ShapeRef.new(shape: Title, location_name: "title"))
|
922
976
|
Document.add_member(:access_configuration, Shapes::ShapeRef.new(shape: AccessConfiguration, location_name: "accessConfiguration"))
|
923
977
|
Document.add_member(:document_enrichment_configuration, Shapes::ShapeRef.new(shape: DocumentEnrichmentConfiguration, location_name: "documentEnrichmentConfiguration"))
|
978
|
+
Document.add_member(:media_extraction_configuration, Shapes::ShapeRef.new(shape: MediaExtractionConfiguration, location_name: "mediaExtractionConfiguration"))
|
924
979
|
Document.struct_class = Types::Document
|
925
980
|
|
926
981
|
DocumentAttribute.add_member(:name, Shapes::ShapeRef.new(shape: DocumentAttributeKey, required: true, location_name: "name"))
|
@@ -1016,6 +1071,9 @@ module Aws::QBusiness
|
|
1016
1071
|
|
1017
1072
|
ExampleChatMessages.member = Shapes::ShapeRef.new(shape: ExampleChatMessage)
|
1018
1073
|
|
1074
|
+
ExternalResourceException.add_member(:message, Shapes::ShapeRef.new(shape: ErrorMessage, required: true, location_name: "message"))
|
1075
|
+
ExternalResourceException.struct_class = Types::ExternalResourceException
|
1076
|
+
|
1019
1077
|
FailedAttachmentEvent.add_member(:conversation_id, Shapes::ShapeRef.new(shape: ConversationId, location_name: "conversationId"))
|
1020
1078
|
FailedAttachmentEvent.add_member(:user_message_id, Shapes::ShapeRef.new(shape: MessageId, location_name: "userMessageId"))
|
1021
1079
|
FailedAttachmentEvent.add_member(:system_message_id, Shapes::ShapeRef.new(shape: MessageId, location_name: "systemMessageId"))
|
@@ -1036,7 +1094,7 @@ module Aws::QBusiness
|
|
1036
1094
|
GetApplicationResponse.add_member(:application_id, Shapes::ShapeRef.new(shape: ApplicationId, location_name: "applicationId"))
|
1037
1095
|
GetApplicationResponse.add_member(:application_arn, Shapes::ShapeRef.new(shape: ApplicationArn, location_name: "applicationArn"))
|
1038
1096
|
GetApplicationResponse.add_member(:identity_type, Shapes::ShapeRef.new(shape: IdentityType, location_name: "identityType"))
|
1039
|
-
GetApplicationResponse.add_member(:iam_identity_provider_arn, Shapes::ShapeRef.new(shape:
|
1097
|
+
GetApplicationResponse.add_member(:iam_identity_provider_arn, Shapes::ShapeRef.new(shape: IAMIdentityProviderArn, location_name: "iamIdentityProviderArn"))
|
1040
1098
|
GetApplicationResponse.add_member(:identity_center_application_arn, Shapes::ShapeRef.new(shape: IdcApplicationArn, location_name: "identityCenterApplicationArn"))
|
1041
1099
|
GetApplicationResponse.add_member(:role_arn, Shapes::ShapeRef.new(shape: RoleArn, location_name: "roleArn"))
|
1042
1100
|
GetApplicationResponse.add_member(:status, Shapes::ShapeRef.new(shape: ApplicationStatus, location_name: "status"))
|
@@ -1085,6 +1143,7 @@ module Aws::QBusiness
|
|
1085
1143
|
GetDataSourceResponse.add_member(:role_arn, Shapes::ShapeRef.new(shape: RoleArn, location_name: "roleArn"))
|
1086
1144
|
GetDataSourceResponse.add_member(:error, Shapes::ShapeRef.new(shape: ErrorDetail, location_name: "error"))
|
1087
1145
|
GetDataSourceResponse.add_member(:document_enrichment_configuration, Shapes::ShapeRef.new(shape: DocumentEnrichmentConfiguration, location_name: "documentEnrichmentConfiguration"))
|
1146
|
+
GetDataSourceResponse.add_member(:media_extraction_configuration, Shapes::ShapeRef.new(shape: MediaExtractionConfiguration, location_name: "mediaExtractionConfiguration"))
|
1088
1147
|
GetDataSourceResponse.struct_class = Types::GetDataSourceResponse
|
1089
1148
|
|
1090
1149
|
GetGroupRequest.add_member(:application_id, Shapes::ShapeRef.new(shape: ApplicationId, required: true, location: "uri", location_name: "applicationId"))
|
@@ -1104,9 +1163,9 @@ module Aws::QBusiness
|
|
1104
1163
|
GetIndexResponse.add_member(:application_id, Shapes::ShapeRef.new(shape: ApplicationId, location_name: "applicationId"))
|
1105
1164
|
GetIndexResponse.add_member(:index_id, Shapes::ShapeRef.new(shape: IndexId, location_name: "indexId"))
|
1106
1165
|
GetIndexResponse.add_member(:display_name, Shapes::ShapeRef.new(shape: IndexName, location_name: "displayName"))
|
1107
|
-
GetIndexResponse.add_member(:type, Shapes::ShapeRef.new(shape: IndexType, location_name: "type"))
|
1108
1166
|
GetIndexResponse.add_member(:index_arn, Shapes::ShapeRef.new(shape: IndexArn, location_name: "indexArn"))
|
1109
1167
|
GetIndexResponse.add_member(:status, Shapes::ShapeRef.new(shape: IndexStatus, location_name: "status"))
|
1168
|
+
GetIndexResponse.add_member(:type, Shapes::ShapeRef.new(shape: IndexType, location_name: "type"))
|
1110
1169
|
GetIndexResponse.add_member(:description, Shapes::ShapeRef.new(shape: Description, location_name: "description"))
|
1111
1170
|
GetIndexResponse.add_member(:created_at, Shapes::ShapeRef.new(shape: Timestamp, location_name: "createdAt"))
|
1112
1171
|
GetIndexResponse.add_member(:updated_at, Shapes::ShapeRef.new(shape: Timestamp, location_name: "updatedAt"))
|
@@ -1116,6 +1175,16 @@ module Aws::QBusiness
|
|
1116
1175
|
GetIndexResponse.add_member(:index_statistics, Shapes::ShapeRef.new(shape: IndexStatistics, location_name: "indexStatistics"))
|
1117
1176
|
GetIndexResponse.struct_class = Types::GetIndexResponse
|
1118
1177
|
|
1178
|
+
GetMediaRequest.add_member(:application_id, Shapes::ShapeRef.new(shape: ApplicationId, required: true, location: "uri", location_name: "applicationId"))
|
1179
|
+
GetMediaRequest.add_member(:conversation_id, Shapes::ShapeRef.new(shape: ConversationId, required: true, location: "uri", location_name: "conversationId"))
|
1180
|
+
GetMediaRequest.add_member(:message_id, Shapes::ShapeRef.new(shape: MessageId, required: true, location: "uri", location_name: "messageId"))
|
1181
|
+
GetMediaRequest.add_member(:media_id, Shapes::ShapeRef.new(shape: MediaId, required: true, location: "uri", location_name: "mediaId"))
|
1182
|
+
GetMediaRequest.struct_class = Types::GetMediaRequest
|
1183
|
+
|
1184
|
+
GetMediaResponse.add_member(:media_bytes, Shapes::ShapeRef.new(shape: Blob, location_name: "mediaBytes"))
|
1185
|
+
GetMediaResponse.add_member(:media_mime_type, Shapes::ShapeRef.new(shape: String, location_name: "mediaMimeType"))
|
1186
|
+
GetMediaResponse.struct_class = Types::GetMediaResponse
|
1187
|
+
|
1119
1188
|
GetPluginRequest.add_member(:application_id, Shapes::ShapeRef.new(shape: ApplicationId, required: true, location: "uri", location_name: "applicationId"))
|
1120
1189
|
GetPluginRequest.add_member(:plugin_id, Shapes::ShapeRef.new(shape: PluginId, required: true, location: "uri", location_name: "pluginId"))
|
1121
1190
|
GetPluginRequest.struct_class = Types::GetPluginRequest
|
@@ -1177,10 +1246,12 @@ module Aws::QBusiness
|
|
1177
1246
|
GetWebExperienceResponse.add_member(:identity_provider_configuration, Shapes::ShapeRef.new(shape: IdentityProviderConfiguration, location_name: "identityProviderConfiguration"))
|
1178
1247
|
GetWebExperienceResponse.add_member(:authentication_configuration, Shapes::ShapeRef.new(shape: WebExperienceAuthConfiguration, deprecated: true, location_name: "authenticationConfiguration", metadata: {"deprecatedMessage"=>"Property associated with legacy SAML IdP flow. Deprecated in favor of using AWS IAM Identity Center for user management."}))
|
1179
1248
|
GetWebExperienceResponse.add_member(:error, Shapes::ShapeRef.new(shape: ErrorDetail, location_name: "error"))
|
1249
|
+
GetWebExperienceResponse.add_member(:browser_extension_configuration, Shapes::ShapeRef.new(shape: BrowserExtensionConfiguration, location_name: "browserExtensionConfiguration"))
|
1180
1250
|
GetWebExperienceResponse.struct_class = Types::GetWebExperienceResponse
|
1181
1251
|
|
1182
1252
|
GroupMembers.add_member(:member_groups, Shapes::ShapeRef.new(shape: MemberGroups, location_name: "memberGroups"))
|
1183
1253
|
GroupMembers.add_member(:member_users, Shapes::ShapeRef.new(shape: MemberUsers, location_name: "memberUsers"))
|
1254
|
+
GroupMembers.add_member(:s3_path_for_group_members, Shapes::ShapeRef.new(shape: S3, location_name: "s3PathForGroupMembers"))
|
1184
1255
|
GroupMembers.struct_class = Types::GroupMembers
|
1185
1256
|
|
1186
1257
|
GroupStatusDetail.add_member(:status, Shapes::ShapeRef.new(shape: GroupStatus, location_name: "status"))
|
@@ -1209,6 +1280,9 @@ module Aws::QBusiness
|
|
1209
1280
|
IdentityProviderConfiguration.add_member_subclass(:unknown, Types::IdentityProviderConfiguration::Unknown)
|
1210
1281
|
IdentityProviderConfiguration.struct_class = Types::IdentityProviderConfiguration
|
1211
1282
|
|
1283
|
+
ImageExtractionConfiguration.add_member(:image_extraction_status, Shapes::ShapeRef.new(shape: ImageExtractionStatus, required: true, location_name: "imageExtractionStatus"))
|
1284
|
+
ImageExtractionConfiguration.struct_class = Types::ImageExtractionConfiguration
|
1285
|
+
|
1212
1286
|
Index.add_member(:display_name, Shapes::ShapeRef.new(shape: IndexName, location_name: "displayName"))
|
1213
1287
|
Index.add_member(:index_id, Shapes::ShapeRef.new(shape: IndexId, location_name: "indexId"))
|
1214
1288
|
Index.add_member(:created_at, Shapes::ShapeRef.new(shape: Timestamp, location_name: "createdAt"))
|
@@ -1248,6 +1322,17 @@ module Aws::QBusiness
|
|
1248
1322
|
ListApplicationsResponse.add_member(:applications, Shapes::ShapeRef.new(shape: Applications, location_name: "applications"))
|
1249
1323
|
ListApplicationsResponse.struct_class = Types::ListApplicationsResponse
|
1250
1324
|
|
1325
|
+
ListAttachmentsRequest.add_member(:application_id, Shapes::ShapeRef.new(shape: ApplicationId, required: true, location: "uri", location_name: "applicationId"))
|
1326
|
+
ListAttachmentsRequest.add_member(:conversation_id, Shapes::ShapeRef.new(shape: ConversationId, location: "querystring", location_name: "conversationId"))
|
1327
|
+
ListAttachmentsRequest.add_member(:user_id, Shapes::ShapeRef.new(shape: UserId, location: "querystring", location_name: "userId"))
|
1328
|
+
ListAttachmentsRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location: "querystring", location_name: "nextToken"))
|
1329
|
+
ListAttachmentsRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: MaxResultsIntegerForListAttachments, location: "querystring", location_name: "maxResults"))
|
1330
|
+
ListAttachmentsRequest.struct_class = Types::ListAttachmentsRequest
|
1331
|
+
|
1332
|
+
ListAttachmentsResponse.add_member(:attachments, Shapes::ShapeRef.new(shape: AttachmentList, location_name: "attachments"))
|
1333
|
+
ListAttachmentsResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "nextToken"))
|
1334
|
+
ListAttachmentsResponse.struct_class = Types::ListAttachmentsResponse
|
1335
|
+
|
1251
1336
|
ListConversationsRequest.add_member(:application_id, Shapes::ShapeRef.new(shape: ApplicationId, required: true, location: "uri", location_name: "applicationId"))
|
1252
1337
|
ListConversationsRequest.add_member(:user_id, Shapes::ShapeRef.new(shape: UserId, location: "querystring", location_name: "userId"))
|
1253
1338
|
ListConversationsRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location: "querystring", location_name: "nextToken"))
|
@@ -1358,6 +1443,12 @@ module Aws::QBusiness
|
|
1358
1443
|
ListWebExperiencesResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "nextToken"))
|
1359
1444
|
ListWebExperiencesResponse.struct_class = Types::ListWebExperiencesResponse
|
1360
1445
|
|
1446
|
+
MediaExtractionConfiguration.add_member(:image_extraction_configuration, Shapes::ShapeRef.new(shape: ImageExtractionConfiguration, location_name: "imageExtractionConfiguration"))
|
1447
|
+
MediaExtractionConfiguration.struct_class = Types::MediaExtractionConfiguration
|
1448
|
+
|
1449
|
+
MediaTooLargeException.add_member(:message, Shapes::ShapeRef.new(shape: ErrorMessage, required: true, location_name: "message"))
|
1450
|
+
MediaTooLargeException.struct_class = Types::MediaTooLargeException
|
1451
|
+
|
1361
1452
|
MemberGroup.add_member(:group_name, Shapes::ShapeRef.new(shape: GroupName, required: true, location_name: "groupName"))
|
1362
1453
|
MemberGroup.add_member(:type, Shapes::ShapeRef.new(shape: MembershipType, location_name: "type"))
|
1363
1454
|
MemberGroup.struct_class = Types::MemberGroup
|
@@ -1475,6 +1566,7 @@ module Aws::QBusiness
|
|
1475
1566
|
PutGroupRequest.add_member(:data_source_id, Shapes::ShapeRef.new(shape: DataSourceId, location_name: "dataSourceId"))
|
1476
1567
|
PutGroupRequest.add_member(:type, Shapes::ShapeRef.new(shape: MembershipType, required: true, location_name: "type"))
|
1477
1568
|
PutGroupRequest.add_member(:group_members, Shapes::ShapeRef.new(shape: GroupMembers, required: true, location_name: "groupMembers"))
|
1569
|
+
PutGroupRequest.add_member(:role_arn, Shapes::ShapeRef.new(shape: RoleArn, location_name: "roleArn"))
|
1478
1570
|
PutGroupRequest.struct_class = Types::PutGroupRequest
|
1479
1571
|
|
1480
1572
|
PutGroupResponse.struct_class = Types::PutGroupResponse
|
@@ -1610,6 +1702,8 @@ module Aws::QBusiness
|
|
1610
1702
|
TextSegment.add_member(:begin_offset, Shapes::ShapeRef.new(shape: Integer, location_name: "beginOffset"))
|
1611
1703
|
TextSegment.add_member(:end_offset, Shapes::ShapeRef.new(shape: Integer, location_name: "endOffset"))
|
1612
1704
|
TextSegment.add_member(:snippet_excerpt, Shapes::ShapeRef.new(shape: SnippetExcerpt, location_name: "snippetExcerpt"))
|
1705
|
+
TextSegment.add_member(:media_id, Shapes::ShapeRef.new(shape: SourceAttributionMediaId, location_name: "mediaId"))
|
1706
|
+
TextSegment.add_member(:media_mime_type, Shapes::ShapeRef.new(shape: String, location_name: "mediaMimeType"))
|
1613
1707
|
TextSegment.struct_class = Types::TextSegment
|
1614
1708
|
|
1615
1709
|
TextSegmentList.member = Shapes::ShapeRef.new(shape: TextSegment)
|
@@ -1665,6 +1759,7 @@ module Aws::QBusiness
|
|
1665
1759
|
UpdateDataSourceRequest.add_member(:sync_schedule, Shapes::ShapeRef.new(shape: SyncSchedule, location_name: "syncSchedule"))
|
1666
1760
|
UpdateDataSourceRequest.add_member(:role_arn, Shapes::ShapeRef.new(shape: RoleArn, location_name: "roleArn"))
|
1667
1761
|
UpdateDataSourceRequest.add_member(:document_enrichment_configuration, Shapes::ShapeRef.new(shape: DocumentEnrichmentConfiguration, location_name: "documentEnrichmentConfiguration"))
|
1762
|
+
UpdateDataSourceRequest.add_member(:media_extraction_configuration, Shapes::ShapeRef.new(shape: MediaExtractionConfiguration, location_name: "mediaExtractionConfiguration"))
|
1668
1763
|
UpdateDataSourceRequest.struct_class = Types::UpdateDataSourceRequest
|
1669
1764
|
|
1670
1765
|
UpdateDataSourceResponse.struct_class = Types::UpdateDataSourceResponse
|
@@ -1720,6 +1815,7 @@ module Aws::QBusiness
|
|
1720
1815
|
UpdateWebExperienceRequest.add_member(:sample_prompts_control_mode, Shapes::ShapeRef.new(shape: WebExperienceSamplePromptsControlMode, location_name: "samplePromptsControlMode"))
|
1721
1816
|
UpdateWebExperienceRequest.add_member(:identity_provider_configuration, Shapes::ShapeRef.new(shape: IdentityProviderConfiguration, location_name: "identityProviderConfiguration"))
|
1722
1817
|
UpdateWebExperienceRequest.add_member(:origins, Shapes::ShapeRef.new(shape: WebExperienceOrigins, location_name: "origins"))
|
1818
|
+
UpdateWebExperienceRequest.add_member(:browser_extension_configuration, Shapes::ShapeRef.new(shape: BrowserExtensionConfiguration, location_name: "browserExtensionConfiguration"))
|
1723
1819
|
UpdateWebExperienceRequest.struct_class = Types::UpdateWebExperienceRequest
|
1724
1820
|
|
1725
1821
|
UpdateWebExperienceResponse.struct_class = Types::UpdateWebExperienceResponse
|
@@ -1826,6 +1922,7 @@ module Aws::QBusiness
|
|
1826
1922
|
o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
|
1827
1923
|
o.errors << Shapes::ShapeRef.new(shape: LicenseNotFoundException)
|
1828
1924
|
o.errors << Shapes::ShapeRef.new(shape: ConflictException)
|
1925
|
+
o.errors << Shapes::ShapeRef.new(shape: ExternalResourceException)
|
1829
1926
|
o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
|
1830
1927
|
o.errors << Shapes::ShapeRef.new(shape: ValidationException)
|
1831
1928
|
o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
|
@@ -1842,6 +1939,7 @@ module Aws::QBusiness
|
|
1842
1939
|
o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
|
1843
1940
|
o.errors << Shapes::ShapeRef.new(shape: LicenseNotFoundException)
|
1844
1941
|
o.errors << Shapes::ShapeRef.new(shape: ConflictException)
|
1942
|
+
o.errors << Shapes::ShapeRef.new(shape: ExternalResourceException)
|
1845
1943
|
o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
|
1846
1944
|
o.errors << Shapes::ShapeRef.new(shape: ValidationException)
|
1847
1945
|
o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
|
@@ -2163,6 +2261,21 @@ module Aws::QBusiness
|
|
2163
2261
|
o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
|
2164
2262
|
end)
|
2165
2263
|
|
2264
|
+
api.add_operation(:get_media, Seahorse::Model::Operation.new.tap do |o|
|
2265
|
+
o.name = "GetMedia"
|
2266
|
+
o.http_method = "GET"
|
2267
|
+
o.http_request_uri = "/applications/{applicationId}/conversations/{conversationId}/messages/{messageId}/media/{mediaId}"
|
2268
|
+
o.input = Shapes::ShapeRef.new(shape: GetMediaRequest)
|
2269
|
+
o.output = Shapes::ShapeRef.new(shape: GetMediaResponse)
|
2270
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
2271
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
|
2272
|
+
o.errors << Shapes::ShapeRef.new(shape: LicenseNotFoundException)
|
2273
|
+
o.errors << Shapes::ShapeRef.new(shape: MediaTooLargeException)
|
2274
|
+
o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
|
2275
|
+
o.errors << Shapes::ShapeRef.new(shape: ValidationException)
|
2276
|
+
o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
|
2277
|
+
end)
|
2278
|
+
|
2166
2279
|
api.add_operation(:get_plugin, Seahorse::Model::Operation.new.tap do |o|
|
2167
2280
|
o.name = "GetPlugin"
|
2168
2281
|
o.http_method = "GET"
|
@@ -2234,6 +2347,26 @@ module Aws::QBusiness
|
|
2234
2347
|
)
|
2235
2348
|
end)
|
2236
2349
|
|
2350
|
+
api.add_operation(:list_attachments, Seahorse::Model::Operation.new.tap do |o|
|
2351
|
+
o.name = "ListAttachments"
|
2352
|
+
o.http_method = "GET"
|
2353
|
+
o.http_request_uri = "/applications/{applicationId}/attachments"
|
2354
|
+
o.input = Shapes::ShapeRef.new(shape: ListAttachmentsRequest)
|
2355
|
+
o.output = Shapes::ShapeRef.new(shape: ListAttachmentsResponse)
|
2356
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
2357
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
|
2358
|
+
o.errors << Shapes::ShapeRef.new(shape: LicenseNotFoundException)
|
2359
|
+
o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
|
2360
|
+
o.errors << Shapes::ShapeRef.new(shape: ValidationException)
|
2361
|
+
o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
|
2362
|
+
o[:pager] = Aws::Pager.new(
|
2363
|
+
limit_key: "max_results",
|
2364
|
+
tokens: {
|
2365
|
+
"next_token" => "next_token"
|
2366
|
+
}
|
2367
|
+
)
|
2368
|
+
end)
|
2369
|
+
|
2237
2370
|
api.add_operation(:list_conversations, Seahorse::Model::Operation.new.tap do |o|
|
2238
2371
|
o.name = "ListConversations"
|
2239
2372
|
o.http_method = "GET"
|
@@ -2262,6 +2395,7 @@ module Aws::QBusiness
|
|
2262
2395
|
o.output = Shapes::ShapeRef.new(shape: ListDataSourceSyncJobsResponse)
|
2263
2396
|
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
2264
2397
|
o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
|
2398
|
+
o.errors << Shapes::ShapeRef.new(shape: ConflictException)
|
2265
2399
|
o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
|
2266
2400
|
o.errors << Shapes::ShapeRef.new(shape: ValidationException)
|
2267
2401
|
o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
|
@@ -2491,6 +2625,7 @@ module Aws::QBusiness
|
|
2491
2625
|
o.output = Shapes::ShapeRef.new(shape: StopDataSourceSyncJobResponse)
|
2492
2626
|
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
2493
2627
|
o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
|
2628
|
+
o.errors << Shapes::ShapeRef.new(shape: ConflictException)
|
2494
2629
|
o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
|
2495
2630
|
o.errors << Shapes::ShapeRef.new(shape: ValidationException)
|
2496
2631
|
o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
|
@@ -29,8 +29,10 @@ module Aws::QBusiness
|
|
29
29
|
# ## Error Classes
|
30
30
|
# * {AccessDeniedException}
|
31
31
|
# * {ConflictException}
|
32
|
+
# * {ExternalResourceException}
|
32
33
|
# * {InternalServerException}
|
33
34
|
# * {LicenseNotFoundException}
|
35
|
+
# * {MediaTooLargeException}
|
34
36
|
# * {ResourceNotFoundException}
|
35
37
|
# * {ServiceQuotaExceededException}
|
36
38
|
# * {ThrottlingException}
|
@@ -82,6 +84,21 @@ module Aws::QBusiness
|
|
82
84
|
end
|
83
85
|
end
|
84
86
|
|
87
|
+
class ExternalResourceException < ServiceError
|
88
|
+
|
89
|
+
# @param [Seahorse::Client::RequestContext] context
|
90
|
+
# @param [String] message
|
91
|
+
# @param [Aws::QBusiness::Types::ExternalResourceException] data
|
92
|
+
def initialize(context, message, data = Aws::EmptyStructure.new)
|
93
|
+
super(context, message, data)
|
94
|
+
end
|
95
|
+
|
96
|
+
# @return [String]
|
97
|
+
def message
|
98
|
+
@message || @data[:message]
|
99
|
+
end
|
100
|
+
end
|
101
|
+
|
85
102
|
class InternalServerException < ServiceError
|
86
103
|
|
87
104
|
# @param [Seahorse::Client::RequestContext] context
|
@@ -112,6 +129,21 @@ module Aws::QBusiness
|
|
112
129
|
end
|
113
130
|
end
|
114
131
|
|
132
|
+
class MediaTooLargeException < ServiceError
|
133
|
+
|
134
|
+
# @param [Seahorse::Client::RequestContext] context
|
135
|
+
# @param [String] message
|
136
|
+
# @param [Aws::QBusiness::Types::MediaTooLargeException] data
|
137
|
+
def initialize(context, message, data = Aws::EmptyStructure.new)
|
138
|
+
super(context, message, data)
|
139
|
+
end
|
140
|
+
|
141
|
+
# @return [String]
|
142
|
+
def message
|
143
|
+
@message || @data[:message]
|
144
|
+
end
|
145
|
+
end
|
146
|
+
|
115
147
|
class ResourceNotFoundException < ServiceError
|
116
148
|
|
117
149
|
# @param [Seahorse::Client::RequestContext] context
|
@@ -66,7 +66,9 @@ module Aws::QBusiness
|
|
66
66
|
end
|
67
67
|
|
68
68
|
# @option params [Types::AttachmentInput] :attachment
|
69
|
-
#
|
69
|
+
# This is either a file directly uploaded into a web experience chat or
|
70
|
+
# a reference to an existing attachment that is part of a web experience
|
71
|
+
# chat.
|
70
72
|
#
|
71
73
|
def signal_attachment_event_event(params = {})
|
72
74
|
@event_emitter.emit(:attachment_event, params)
|