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.
- checksums.yaml +4 -4
- data/CHANGELOG.md +5 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-qbusiness/async_client.rb +1 -1
- data/lib/aws-sdk-qbusiness/client.rb +318 -18
- data/lib/aws-sdk-qbusiness/client_api.rb +181 -1
- data/lib/aws-sdk-qbusiness/types.rb +539 -7
- data/lib/aws-sdk-qbusiness.rb +1 -1
- data/sig/client.rbs +108 -12
- data/sig/types.rbs +108 -5
- metadata +1 -1
@@ -108,6 +108,12 @@ module Aws::QBusiness
|
|
108
108
|
ChatModeConfiguration = Shapes::UnionShape.new(name: 'ChatModeConfiguration')
|
109
109
|
ChatOutput = Shapes::StructureShape.new(name: 'ChatOutput')
|
110
110
|
ChatOutputStream = Shapes::StructureShape.new(name: 'ChatOutputStream')
|
111
|
+
ChatResponseConfiguration = Shapes::StructureShape.new(name: 'ChatResponseConfiguration')
|
112
|
+
ChatResponseConfigurationArn = Shapes::StringShape.new(name: 'ChatResponseConfigurationArn')
|
113
|
+
ChatResponseConfigurationDetail = Shapes::StructureShape.new(name: 'ChatResponseConfigurationDetail')
|
114
|
+
ChatResponseConfigurationId = Shapes::StringShape.new(name: 'ChatResponseConfigurationId')
|
115
|
+
ChatResponseConfigurationStatus = Shapes::StringShape.new(name: 'ChatResponseConfigurationStatus')
|
116
|
+
ChatResponseConfigurations = Shapes::ListShape.new(name: 'ChatResponseConfigurations')
|
111
117
|
ChatSyncInput = Shapes::StructureShape.new(name: 'ChatSyncInput')
|
112
118
|
ChatSyncOutput = Shapes::StructureShape.new(name: 'ChatSyncOutput')
|
113
119
|
CheckDocumentAccessRequest = Shapes::StructureShape.new(name: 'CheckDocumentAccessRequest')
|
@@ -132,6 +138,8 @@ module Aws::QBusiness
|
|
132
138
|
CreateAnonymousWebExperienceUrlResponse = Shapes::StructureShape.new(name: 'CreateAnonymousWebExperienceUrlResponse')
|
133
139
|
CreateApplicationRequest = Shapes::StructureShape.new(name: 'CreateApplicationRequest')
|
134
140
|
CreateApplicationResponse = Shapes::StructureShape.new(name: 'CreateApplicationResponse')
|
141
|
+
CreateChatResponseConfigurationRequest = Shapes::StructureShape.new(name: 'CreateChatResponseConfigurationRequest')
|
142
|
+
CreateChatResponseConfigurationResponse = Shapes::StructureShape.new(name: 'CreateChatResponseConfigurationResponse')
|
135
143
|
CreateDataAccessorRequest = Shapes::StructureShape.new(name: 'CreateDataAccessorRequest')
|
136
144
|
CreateDataAccessorResponse = Shapes::StructureShape.new(name: 'CreateDataAccessorResponse')
|
137
145
|
CreateDataSourceRequest = Shapes::StructureShape.new(name: 'CreateDataSourceRequest')
|
@@ -186,6 +194,8 @@ module Aws::QBusiness
|
|
186
194
|
DeleteAttachmentResponse = Shapes::StructureShape.new(name: 'DeleteAttachmentResponse')
|
187
195
|
DeleteChatControlsConfigurationRequest = Shapes::StructureShape.new(name: 'DeleteChatControlsConfigurationRequest')
|
188
196
|
DeleteChatControlsConfigurationResponse = Shapes::StructureShape.new(name: 'DeleteChatControlsConfigurationResponse')
|
197
|
+
DeleteChatResponseConfigurationRequest = Shapes::StructureShape.new(name: 'DeleteChatResponseConfigurationRequest')
|
198
|
+
DeleteChatResponseConfigurationResponse = Shapes::StructureShape.new(name: 'DeleteChatResponseConfigurationResponse')
|
189
199
|
DeleteConversationRequest = Shapes::StructureShape.new(name: 'DeleteConversationRequest')
|
190
200
|
DeleteConversationResponse = Shapes::StructureShape.new(name: 'DeleteConversationResponse')
|
191
201
|
DeleteDataAccessorRequest = Shapes::StructureShape.new(name: 'DeleteDataAccessorRequest')
|
@@ -209,6 +219,7 @@ module Aws::QBusiness
|
|
209
219
|
Description = Shapes::StringShape.new(name: 'Description')
|
210
220
|
DisassociatePermissionRequest = Shapes::StructureShape.new(name: 'DisassociatePermissionRequest')
|
211
221
|
DisassociatePermissionResponse = Shapes::StructureShape.new(name: 'DisassociatePermissionResponse')
|
222
|
+
DisplayName = Shapes::StringShape.new(name: 'DisplayName')
|
212
223
|
Document = Shapes::StructureShape.new(name: 'Document')
|
213
224
|
DocumentAcl = Shapes::StructureShape.new(name: 'DocumentAcl')
|
214
225
|
DocumentAclCondition = Shapes::StructureShape.new(name: 'DocumentAclCondition')
|
@@ -261,6 +272,8 @@ module Aws::QBusiness
|
|
261
272
|
GetApplicationResponse = Shapes::StructureShape.new(name: 'GetApplicationResponse')
|
262
273
|
GetChatControlsConfigurationRequest = Shapes::StructureShape.new(name: 'GetChatControlsConfigurationRequest')
|
263
274
|
GetChatControlsConfigurationResponse = Shapes::StructureShape.new(name: 'GetChatControlsConfigurationResponse')
|
275
|
+
GetChatResponseConfigurationRequest = Shapes::StructureShape.new(name: 'GetChatResponseConfigurationRequest')
|
276
|
+
GetChatResponseConfigurationResponse = Shapes::StructureShape.new(name: 'GetChatResponseConfigurationResponse')
|
264
277
|
GetDataAccessorRequest = Shapes::StructureShape.new(name: 'GetDataAccessorRequest')
|
265
278
|
GetDataAccessorResponse = Shapes::StructureShape.new(name: 'GetDataAccessorResponse')
|
266
279
|
GetDataSourceRequest = Shapes::StructureShape.new(name: 'GetDataSourceRequest')
|
@@ -316,6 +329,8 @@ module Aws::QBusiness
|
|
316
329
|
InlineDocumentEnrichmentConfiguration = Shapes::StructureShape.new(name: 'InlineDocumentEnrichmentConfiguration')
|
317
330
|
InlineDocumentEnrichmentConfigurations = Shapes::ListShape.new(name: 'InlineDocumentEnrichmentConfigurations')
|
318
331
|
InstanceArn = Shapes::StringShape.new(name: 'InstanceArn')
|
332
|
+
Instruction = Shapes::StringShape.new(name: 'Instruction')
|
333
|
+
InstructionCollection = Shapes::StructureShape.new(name: 'InstructionCollection')
|
319
334
|
Integer = Shapes::IntegerShape.new(name: 'Integer')
|
320
335
|
InternalServerException = Shapes::StructureShape.new(name: 'InternalServerException')
|
321
336
|
KendraIndexConfiguration = Shapes::StructureShape.new(name: 'KendraIndexConfiguration')
|
@@ -327,6 +342,8 @@ module Aws::QBusiness
|
|
327
342
|
ListApplicationsResponse = Shapes::StructureShape.new(name: 'ListApplicationsResponse')
|
328
343
|
ListAttachmentsRequest = Shapes::StructureShape.new(name: 'ListAttachmentsRequest')
|
329
344
|
ListAttachmentsResponse = Shapes::StructureShape.new(name: 'ListAttachmentsResponse')
|
345
|
+
ListChatResponseConfigurationsRequest = Shapes::StructureShape.new(name: 'ListChatResponseConfigurationsRequest')
|
346
|
+
ListChatResponseConfigurationsResponse = Shapes::StructureShape.new(name: 'ListChatResponseConfigurationsResponse')
|
330
347
|
ListConversationsRequest = Shapes::StructureShape.new(name: 'ListConversationsRequest')
|
331
348
|
ListConversationsResponse = Shapes::StructureShape.new(name: 'ListConversationsResponse')
|
332
349
|
ListDataAccessorsRequest = Shapes::StructureShape.new(name: 'ListDataAccessorsRequest')
|
@@ -452,6 +469,10 @@ module Aws::QBusiness
|
|
452
469
|
RelevantContent = Shapes::StructureShape.new(name: 'RelevantContent')
|
453
470
|
RelevantContentList = Shapes::ListShape.new(name: 'RelevantContentList')
|
454
471
|
ResourceNotFoundException = Shapes::StructureShape.new(name: 'ResourceNotFoundException')
|
472
|
+
ResponseConfiguration = Shapes::StructureShape.new(name: 'ResponseConfiguration')
|
473
|
+
ResponseConfigurationSummary = Shapes::StringShape.new(name: 'ResponseConfigurationSummary')
|
474
|
+
ResponseConfigurationType = Shapes::StringShape.new(name: 'ResponseConfigurationType')
|
475
|
+
ResponseConfigurations = Shapes::MapShape.new(name: 'ResponseConfigurations')
|
455
476
|
ResponseScope = Shapes::StringShape.new(name: 'ResponseScope')
|
456
477
|
Retriever = Shapes::StructureShape.new(name: 'Retriever')
|
457
478
|
RetrieverArn = Shapes::StringShape.new(name: 'RetrieverArn')
|
@@ -539,6 +560,8 @@ module Aws::QBusiness
|
|
539
560
|
UpdateApplicationResponse = Shapes::StructureShape.new(name: 'UpdateApplicationResponse')
|
540
561
|
UpdateChatControlsConfigurationRequest = Shapes::StructureShape.new(name: 'UpdateChatControlsConfigurationRequest')
|
541
562
|
UpdateChatControlsConfigurationResponse = Shapes::StructureShape.new(name: 'UpdateChatControlsConfigurationResponse')
|
563
|
+
UpdateChatResponseConfigurationRequest = Shapes::StructureShape.new(name: 'UpdateChatResponseConfigurationRequest')
|
564
|
+
UpdateChatResponseConfigurationResponse = Shapes::StructureShape.new(name: 'UpdateChatResponseConfigurationResponse')
|
542
565
|
UpdateDataAccessorRequest = Shapes::StructureShape.new(name: 'UpdateDataAccessorRequest')
|
543
566
|
UpdateDataAccessorResponse = Shapes::StructureShape.new(name: 'UpdateDataAccessorResponse')
|
544
567
|
UpdateDataSourceRequest = Shapes::StructureShape.new(name: 'UpdateDataSourceRequest')
|
@@ -879,6 +902,24 @@ module Aws::QBusiness
|
|
879
902
|
ChatOutputStream.add_member(:auth_challenge_request_event, Shapes::ShapeRef.new(shape: AuthChallengeRequestEvent, event: true, location_name: "authChallengeRequestEvent"))
|
880
903
|
ChatOutputStream.struct_class = Types::ChatOutputStream
|
881
904
|
|
905
|
+
ChatResponseConfiguration.add_member(:chat_response_configuration_id, Shapes::ShapeRef.new(shape: ChatResponseConfigurationId, required: true, location_name: "chatResponseConfigurationId"))
|
906
|
+
ChatResponseConfiguration.add_member(:chat_response_configuration_arn, Shapes::ShapeRef.new(shape: ChatResponseConfigurationArn, required: true, location_name: "chatResponseConfigurationArn"))
|
907
|
+
ChatResponseConfiguration.add_member(:display_name, Shapes::ShapeRef.new(shape: DisplayName, required: true, location_name: "displayName"))
|
908
|
+
ChatResponseConfiguration.add_member(:response_configuration_summary, Shapes::ShapeRef.new(shape: ResponseConfigurationSummary, location_name: "responseConfigurationSummary"))
|
909
|
+
ChatResponseConfiguration.add_member(:status, Shapes::ShapeRef.new(shape: ChatResponseConfigurationStatus, required: true, location_name: "status"))
|
910
|
+
ChatResponseConfiguration.add_member(:created_at, Shapes::ShapeRef.new(shape: Timestamp, location_name: "createdAt"))
|
911
|
+
ChatResponseConfiguration.add_member(:updated_at, Shapes::ShapeRef.new(shape: Timestamp, location_name: "updatedAt"))
|
912
|
+
ChatResponseConfiguration.struct_class = Types::ChatResponseConfiguration
|
913
|
+
|
914
|
+
ChatResponseConfigurationDetail.add_member(:response_configurations, Shapes::ShapeRef.new(shape: ResponseConfigurations, location_name: "responseConfigurations"))
|
915
|
+
ChatResponseConfigurationDetail.add_member(:response_configuration_summary, Shapes::ShapeRef.new(shape: String, location_name: "responseConfigurationSummary"))
|
916
|
+
ChatResponseConfigurationDetail.add_member(:status, Shapes::ShapeRef.new(shape: ChatResponseConfigurationStatus, location_name: "status"))
|
917
|
+
ChatResponseConfigurationDetail.add_member(:error, Shapes::ShapeRef.new(shape: ErrorDetail, location_name: "error"))
|
918
|
+
ChatResponseConfigurationDetail.add_member(:updated_at, Shapes::ShapeRef.new(shape: Timestamp, location_name: "updatedAt"))
|
919
|
+
ChatResponseConfigurationDetail.struct_class = Types::ChatResponseConfigurationDetail
|
920
|
+
|
921
|
+
ChatResponseConfigurations.member = Shapes::ShapeRef.new(shape: ChatResponseConfiguration)
|
922
|
+
|
882
923
|
ChatSyncInput.add_member(:application_id, Shapes::ShapeRef.new(shape: ApplicationId, required: true, location: "uri", location_name: "applicationId"))
|
883
924
|
ChatSyncInput.add_member(:user_id, Shapes::ShapeRef.new(shape: UserId, location: "querystring", location_name: "userId"))
|
884
925
|
ChatSyncInput.add_member(:user_groups, Shapes::ShapeRef.new(shape: UserGroups, location: "querystring", location_name: "userGroups"))
|
@@ -986,6 +1027,17 @@ module Aws::QBusiness
|
|
986
1027
|
CreateApplicationResponse.add_member(:application_arn, Shapes::ShapeRef.new(shape: ApplicationArn, location_name: "applicationArn"))
|
987
1028
|
CreateApplicationResponse.struct_class = Types::CreateApplicationResponse
|
988
1029
|
|
1030
|
+
CreateChatResponseConfigurationRequest.add_member(:application_id, Shapes::ShapeRef.new(shape: ApplicationId, required: true, location: "uri", location_name: "applicationId"))
|
1031
|
+
CreateChatResponseConfigurationRequest.add_member(:display_name, Shapes::ShapeRef.new(shape: DisplayName, required: true, location_name: "displayName"))
|
1032
|
+
CreateChatResponseConfigurationRequest.add_member(:client_token, Shapes::ShapeRef.new(shape: String, location_name: "clientToken", metadata: {"idempotencyToken" => true}))
|
1033
|
+
CreateChatResponseConfigurationRequest.add_member(:response_configurations, Shapes::ShapeRef.new(shape: ResponseConfigurations, required: true, location_name: "responseConfigurations"))
|
1034
|
+
CreateChatResponseConfigurationRequest.add_member(:tags, Shapes::ShapeRef.new(shape: Tags, location_name: "tags"))
|
1035
|
+
CreateChatResponseConfigurationRequest.struct_class = Types::CreateChatResponseConfigurationRequest
|
1036
|
+
|
1037
|
+
CreateChatResponseConfigurationResponse.add_member(:chat_response_configuration_id, Shapes::ShapeRef.new(shape: ChatResponseConfigurationId, required: true, location_name: "chatResponseConfigurationId"))
|
1038
|
+
CreateChatResponseConfigurationResponse.add_member(:chat_response_configuration_arn, Shapes::ShapeRef.new(shape: ChatResponseConfigurationArn, required: true, location_name: "chatResponseConfigurationArn"))
|
1039
|
+
CreateChatResponseConfigurationResponse.struct_class = Types::CreateChatResponseConfigurationResponse
|
1040
|
+
|
989
1041
|
CreateDataAccessorRequest.add_member(:application_id, Shapes::ShapeRef.new(shape: ApplicationId, required: true, location: "uri", location_name: "applicationId"))
|
990
1042
|
CreateDataAccessorRequest.add_member(:principal, Shapes::ShapeRef.new(shape: PrincipalRoleArn, required: true, location_name: "principal"))
|
991
1043
|
CreateDataAccessorRequest.add_member(:action_configurations, Shapes::ShapeRef.new(shape: ActionConfigurationList, required: true, location_name: "actionConfigurations"))
|
@@ -1104,7 +1156,7 @@ module Aws::QBusiness
|
|
1104
1156
|
|
1105
1157
|
CustomPluginConfiguration.add_member(:description, Shapes::ShapeRef.new(shape: PluginDescription, required: true, location_name: "description"))
|
1106
1158
|
CustomPluginConfiguration.add_member(:api_schema_type, Shapes::ShapeRef.new(shape: APISchemaType, required: true, location_name: "apiSchemaType"))
|
1107
|
-
CustomPluginConfiguration.add_member(:api_schema, Shapes::ShapeRef.new(shape: APISchema,
|
1159
|
+
CustomPluginConfiguration.add_member(:api_schema, Shapes::ShapeRef.new(shape: APISchema, location_name: "apiSchema"))
|
1108
1160
|
CustomPluginConfiguration.struct_class = Types::CustomPluginConfiguration
|
1109
1161
|
|
1110
1162
|
CustomizationConfiguration.add_member(:custom_css_url, Shapes::ShapeRef.new(shape: CustomCSSUrl, location_name: "customCSSUrl"))
|
@@ -1197,6 +1249,12 @@ module Aws::QBusiness
|
|
1197
1249
|
|
1198
1250
|
DeleteChatControlsConfigurationResponse.struct_class = Types::DeleteChatControlsConfigurationResponse
|
1199
1251
|
|
1252
|
+
DeleteChatResponseConfigurationRequest.add_member(:application_id, Shapes::ShapeRef.new(shape: ApplicationId, required: true, location: "uri", location_name: "applicationId"))
|
1253
|
+
DeleteChatResponseConfigurationRequest.add_member(:chat_response_configuration_id, Shapes::ShapeRef.new(shape: ChatResponseConfigurationId, required: true, location: "uri", location_name: "chatResponseConfigurationId"))
|
1254
|
+
DeleteChatResponseConfigurationRequest.struct_class = Types::DeleteChatResponseConfigurationRequest
|
1255
|
+
|
1256
|
+
DeleteChatResponseConfigurationResponse.struct_class = Types::DeleteChatResponseConfigurationResponse
|
1257
|
+
|
1200
1258
|
DeleteConversationRequest.add_member(:conversation_id, Shapes::ShapeRef.new(shape: ConversationId, required: true, location: "uri", location_name: "conversationId"))
|
1201
1259
|
DeleteConversationRequest.add_member(:application_id, Shapes::ShapeRef.new(shape: ApplicationId, required: true, location: "uri", location_name: "applicationId"))
|
1202
1260
|
DeleteConversationRequest.add_member(:user_id, Shapes::ShapeRef.new(shape: UserId, location: "querystring", location_name: "userId"))
|
@@ -1450,6 +1508,18 @@ module Aws::QBusiness
|
|
1450
1508
|
GetChatControlsConfigurationResponse.add_member(:hallucination_reduction_configuration, Shapes::ShapeRef.new(shape: HallucinationReductionConfiguration, location_name: "hallucinationReductionConfiguration"))
|
1451
1509
|
GetChatControlsConfigurationResponse.struct_class = Types::GetChatControlsConfigurationResponse
|
1452
1510
|
|
1511
|
+
GetChatResponseConfigurationRequest.add_member(:application_id, Shapes::ShapeRef.new(shape: ApplicationId, required: true, location: "uri", location_name: "applicationId"))
|
1512
|
+
GetChatResponseConfigurationRequest.add_member(:chat_response_configuration_id, Shapes::ShapeRef.new(shape: ChatResponseConfigurationId, required: true, location: "uri", location_name: "chatResponseConfigurationId"))
|
1513
|
+
GetChatResponseConfigurationRequest.struct_class = Types::GetChatResponseConfigurationRequest
|
1514
|
+
|
1515
|
+
GetChatResponseConfigurationResponse.add_member(:chat_response_configuration_id, Shapes::ShapeRef.new(shape: ChatResponseConfigurationId, location_name: "chatResponseConfigurationId"))
|
1516
|
+
GetChatResponseConfigurationResponse.add_member(:chat_response_configuration_arn, Shapes::ShapeRef.new(shape: ChatResponseConfigurationArn, location_name: "chatResponseConfigurationArn"))
|
1517
|
+
GetChatResponseConfigurationResponse.add_member(:display_name, Shapes::ShapeRef.new(shape: DisplayName, location_name: "displayName"))
|
1518
|
+
GetChatResponseConfigurationResponse.add_member(:created_at, Shapes::ShapeRef.new(shape: Timestamp, location_name: "createdAt"))
|
1519
|
+
GetChatResponseConfigurationResponse.add_member(:in_use_configuration, Shapes::ShapeRef.new(shape: ChatResponseConfigurationDetail, location_name: "inUseConfiguration"))
|
1520
|
+
GetChatResponseConfigurationResponse.add_member(:last_update_configuration, Shapes::ShapeRef.new(shape: ChatResponseConfigurationDetail, location_name: "lastUpdateConfiguration"))
|
1521
|
+
GetChatResponseConfigurationResponse.struct_class = Types::GetChatResponseConfigurationResponse
|
1522
|
+
|
1453
1523
|
GetDataAccessorRequest.add_member(:application_id, Shapes::ShapeRef.new(shape: ApplicationId, required: true, location: "uri", location_name: "applicationId"))
|
1454
1524
|
GetDataAccessorRequest.add_member(:data_accessor_id, Shapes::ShapeRef.new(shape: DataAccessorId, required: true, location: "uri", location_name: "dataAccessorId"))
|
1455
1525
|
GetDataAccessorRequest.struct_class = Types::GetDataAccessorRequest
|
@@ -1667,6 +1737,16 @@ module Aws::QBusiness
|
|
1667
1737
|
|
1668
1738
|
InlineDocumentEnrichmentConfigurations.member = Shapes::ShapeRef.new(shape: InlineDocumentEnrichmentConfiguration)
|
1669
1739
|
|
1740
|
+
InstructionCollection.add_member(:response_length, Shapes::ShapeRef.new(shape: Instruction, location_name: "responseLength"))
|
1741
|
+
InstructionCollection.add_member(:target_audience, Shapes::ShapeRef.new(shape: Instruction, location_name: "targetAudience"))
|
1742
|
+
InstructionCollection.add_member(:perspective, Shapes::ShapeRef.new(shape: Instruction, location_name: "perspective"))
|
1743
|
+
InstructionCollection.add_member(:output_style, Shapes::ShapeRef.new(shape: Instruction, location_name: "outputStyle"))
|
1744
|
+
InstructionCollection.add_member(:identity, Shapes::ShapeRef.new(shape: Instruction, location_name: "identity"))
|
1745
|
+
InstructionCollection.add_member(:tone, Shapes::ShapeRef.new(shape: Instruction, location_name: "tone"))
|
1746
|
+
InstructionCollection.add_member(:custom_instructions, Shapes::ShapeRef.new(shape: Instruction, location_name: "customInstructions"))
|
1747
|
+
InstructionCollection.add_member(:examples, Shapes::ShapeRef.new(shape: Instruction, location_name: "examples"))
|
1748
|
+
InstructionCollection.struct_class = Types::InstructionCollection
|
1749
|
+
|
1670
1750
|
InternalServerException.add_member(:message, Shapes::ShapeRef.new(shape: ErrorMessage, required: true, location_name: "message"))
|
1671
1751
|
InternalServerException.struct_class = Types::InternalServerException
|
1672
1752
|
|
@@ -1695,6 +1775,15 @@ module Aws::QBusiness
|
|
1695
1775
|
ListAttachmentsResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "nextToken"))
|
1696
1776
|
ListAttachmentsResponse.struct_class = Types::ListAttachmentsResponse
|
1697
1777
|
|
1778
|
+
ListChatResponseConfigurationsRequest.add_member(:application_id, Shapes::ShapeRef.new(shape: ApplicationId, required: true, location: "uri", location_name: "applicationId"))
|
1779
|
+
ListChatResponseConfigurationsRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: Integer, location: "querystring", location_name: "maxResults"))
|
1780
|
+
ListChatResponseConfigurationsRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location: "querystring", location_name: "nextToken"))
|
1781
|
+
ListChatResponseConfigurationsRequest.struct_class = Types::ListChatResponseConfigurationsRequest
|
1782
|
+
|
1783
|
+
ListChatResponseConfigurationsResponse.add_member(:chat_response_configurations, Shapes::ShapeRef.new(shape: ChatResponseConfigurations, location_name: "chatResponseConfigurations"))
|
1784
|
+
ListChatResponseConfigurationsResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "nextToken"))
|
1785
|
+
ListChatResponseConfigurationsResponse.struct_class = Types::ListChatResponseConfigurationsResponse
|
1786
|
+
|
1698
1787
|
ListConversationsRequest.add_member(:application_id, Shapes::ShapeRef.new(shape: ApplicationId, required: true, location: "uri", location_name: "applicationId"))
|
1699
1788
|
ListConversationsRequest.add_member(:user_id, Shapes::ShapeRef.new(shape: UserId, location: "querystring", location_name: "userId"))
|
1700
1789
|
ListConversationsRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location: "querystring", location_name: "nextToken"))
|
@@ -1898,6 +1987,7 @@ module Aws::QBusiness
|
|
1898
1987
|
MetadataEvent.struct_class = Types::MetadataEvent
|
1899
1988
|
|
1900
1989
|
NativeIndexConfiguration.add_member(:index_id, Shapes::ShapeRef.new(shape: IndexId, required: true, location_name: "indexId"))
|
1990
|
+
NativeIndexConfiguration.add_member(:version, Shapes::ShapeRef.new(shape: Long, location_name: "version"))
|
1901
1991
|
NativeIndexConfiguration.add_member(:boosting_override, Shapes::ShapeRef.new(shape: DocumentAttributeBoostingOverrideMap, location_name: "boostingOverride"))
|
1902
1992
|
NativeIndexConfiguration.struct_class = Types::NativeIndexConfiguration
|
1903
1993
|
|
@@ -2026,6 +2116,12 @@ module Aws::QBusiness
|
|
2026
2116
|
ResourceNotFoundException.add_member(:resource_type, Shapes::ShapeRef.new(shape: String, required: true, location_name: "resourceType"))
|
2027
2117
|
ResourceNotFoundException.struct_class = Types::ResourceNotFoundException
|
2028
2118
|
|
2119
|
+
ResponseConfiguration.add_member(:instruction_collection, Shapes::ShapeRef.new(shape: InstructionCollection, location_name: "instructionCollection"))
|
2120
|
+
ResponseConfiguration.struct_class = Types::ResponseConfiguration
|
2121
|
+
|
2122
|
+
ResponseConfigurations.key = Shapes::ShapeRef.new(shape: ResponseConfigurationType)
|
2123
|
+
ResponseConfigurations.value = Shapes::ShapeRef.new(shape: ResponseConfiguration)
|
2124
|
+
|
2029
2125
|
Retriever.add_member(:application_id, Shapes::ShapeRef.new(shape: ApplicationId, location_name: "applicationId"))
|
2030
2126
|
Retriever.add_member(:retriever_id, Shapes::ShapeRef.new(shape: RetrieverId, location_name: "retrieverId"))
|
2031
2127
|
Retriever.add_member(:type, Shapes::ShapeRef.new(shape: RetrieverType, location_name: "type"))
|
@@ -2248,6 +2344,15 @@ module Aws::QBusiness
|
|
2248
2344
|
|
2249
2345
|
UpdateChatControlsConfigurationResponse.struct_class = Types::UpdateChatControlsConfigurationResponse
|
2250
2346
|
|
2347
|
+
UpdateChatResponseConfigurationRequest.add_member(:application_id, Shapes::ShapeRef.new(shape: ApplicationId, required: true, location: "uri", location_name: "applicationId"))
|
2348
|
+
UpdateChatResponseConfigurationRequest.add_member(:chat_response_configuration_id, Shapes::ShapeRef.new(shape: ChatResponseConfigurationId, required: true, location: "uri", location_name: "chatResponseConfigurationId"))
|
2349
|
+
UpdateChatResponseConfigurationRequest.add_member(:display_name, Shapes::ShapeRef.new(shape: DisplayName, location_name: "displayName"))
|
2350
|
+
UpdateChatResponseConfigurationRequest.add_member(:response_configurations, Shapes::ShapeRef.new(shape: ResponseConfigurations, required: true, location_name: "responseConfigurations"))
|
2351
|
+
UpdateChatResponseConfigurationRequest.add_member(:client_token, Shapes::ShapeRef.new(shape: String, location_name: "clientToken", metadata: {"idempotencyToken" => true}))
|
2352
|
+
UpdateChatResponseConfigurationRequest.struct_class = Types::UpdateChatResponseConfigurationRequest
|
2353
|
+
|
2354
|
+
UpdateChatResponseConfigurationResponse.struct_class = Types::UpdateChatResponseConfigurationResponse
|
2355
|
+
|
2251
2356
|
UpdateDataAccessorRequest.add_member(:application_id, Shapes::ShapeRef.new(shape: ApplicationId, required: true, location: "uri", location_name: "applicationId"))
|
2252
2357
|
UpdateDataAccessorRequest.add_member(:data_accessor_id, Shapes::ShapeRef.new(shape: DataAccessorId, required: true, location: "uri", location_name: "dataAccessorId"))
|
2253
2358
|
UpdateDataAccessorRequest.add_member(:action_configurations, Shapes::ShapeRef.new(shape: ActionConfigurationList, required: true, location_name: "actionConfigurations"))
|
@@ -2544,6 +2649,21 @@ module Aws::QBusiness
|
|
2544
2649
|
o.errors << Shapes::ShapeRef.new(shape: ServiceQuotaExceededException)
|
2545
2650
|
end)
|
2546
2651
|
|
2652
|
+
api.add_operation(:create_chat_response_configuration, Seahorse::Model::Operation.new.tap do |o|
|
2653
|
+
o.name = "CreateChatResponseConfiguration"
|
2654
|
+
o.http_method = "POST"
|
2655
|
+
o.http_request_uri = "/applications/{applicationId}/chatresponseconfigurations"
|
2656
|
+
o.input = Shapes::ShapeRef.new(shape: CreateChatResponseConfigurationRequest)
|
2657
|
+
o.output = Shapes::ShapeRef.new(shape: CreateChatResponseConfigurationResponse)
|
2658
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
|
2659
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
2660
|
+
o.errors << Shapes::ShapeRef.new(shape: ConflictException)
|
2661
|
+
o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
|
2662
|
+
o.errors << Shapes::ShapeRef.new(shape: ValidationException)
|
2663
|
+
o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
|
2664
|
+
o.errors << Shapes::ShapeRef.new(shape: ServiceQuotaExceededException)
|
2665
|
+
end)
|
2666
|
+
|
2547
2667
|
api.add_operation(:create_data_accessor, Seahorse::Model::Operation.new.tap do |o|
|
2548
2668
|
o.name = "CreateDataAccessor"
|
2549
2669
|
o.http_method = "POST"
|
@@ -2704,6 +2824,20 @@ module Aws::QBusiness
|
|
2704
2824
|
o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
|
2705
2825
|
end)
|
2706
2826
|
|
2827
|
+
api.add_operation(:delete_chat_response_configuration, Seahorse::Model::Operation.new.tap do |o|
|
2828
|
+
o.name = "DeleteChatResponseConfiguration"
|
2829
|
+
o.http_method = "DELETE"
|
2830
|
+
o.http_request_uri = "/applications/{applicationId}/chatresponseconfigurations/{chatResponseConfigurationId}"
|
2831
|
+
o.input = Shapes::ShapeRef.new(shape: DeleteChatResponseConfigurationRequest)
|
2832
|
+
o.output = Shapes::ShapeRef.new(shape: DeleteChatResponseConfigurationResponse)
|
2833
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
|
2834
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
2835
|
+
o.errors << Shapes::ShapeRef.new(shape: ConflictException)
|
2836
|
+
o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
|
2837
|
+
o.errors << Shapes::ShapeRef.new(shape: ValidationException)
|
2838
|
+
o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
|
2839
|
+
end)
|
2840
|
+
|
2707
2841
|
api.add_operation(:delete_conversation, Seahorse::Model::Operation.new.tap do |o|
|
2708
2842
|
o.name = "DeleteConversation"
|
2709
2843
|
o.http_method = "DELETE"
|
@@ -2876,6 +3010,19 @@ module Aws::QBusiness
|
|
2876
3010
|
)
|
2877
3011
|
end)
|
2878
3012
|
|
3013
|
+
api.add_operation(:get_chat_response_configuration, Seahorse::Model::Operation.new.tap do |o|
|
3014
|
+
o.name = "GetChatResponseConfiguration"
|
3015
|
+
o.http_method = "GET"
|
3016
|
+
o.http_request_uri = "/applications/{applicationId}/chatresponseconfigurations/{chatResponseConfigurationId}"
|
3017
|
+
o.input = Shapes::ShapeRef.new(shape: GetChatResponseConfigurationRequest)
|
3018
|
+
o.output = Shapes::ShapeRef.new(shape: GetChatResponseConfigurationResponse)
|
3019
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
|
3020
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
3021
|
+
o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
|
3022
|
+
o.errors << Shapes::ShapeRef.new(shape: ValidationException)
|
3023
|
+
o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
|
3024
|
+
end)
|
3025
|
+
|
2879
3026
|
api.add_operation(:get_data_accessor, Seahorse::Model::Operation.new.tap do |o|
|
2880
3027
|
o.name = "GetDataAccessor"
|
2881
3028
|
o.http_method = "GET"
|
@@ -3048,6 +3195,25 @@ module Aws::QBusiness
|
|
3048
3195
|
)
|
3049
3196
|
end)
|
3050
3197
|
|
3198
|
+
api.add_operation(:list_chat_response_configurations, Seahorse::Model::Operation.new.tap do |o|
|
3199
|
+
o.name = "ListChatResponseConfigurations"
|
3200
|
+
o.http_method = "GET"
|
3201
|
+
o.http_request_uri = "/applications/{applicationId}/chatresponseconfigurations"
|
3202
|
+
o.input = Shapes::ShapeRef.new(shape: ListChatResponseConfigurationsRequest)
|
3203
|
+
o.output = Shapes::ShapeRef.new(shape: ListChatResponseConfigurationsResponse)
|
3204
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
|
3205
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
3206
|
+
o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
|
3207
|
+
o.errors << Shapes::ShapeRef.new(shape: ValidationException)
|
3208
|
+
o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
|
3209
|
+
o[:pager] = Aws::Pager.new(
|
3210
|
+
limit_key: "max_results",
|
3211
|
+
tokens: {
|
3212
|
+
"next_token" => "next_token"
|
3213
|
+
}
|
3214
|
+
)
|
3215
|
+
end)
|
3216
|
+
|
3051
3217
|
api.add_operation(:list_conversations, Seahorse::Model::Operation.new.tap do |o|
|
3052
3218
|
o.name = "ListConversations"
|
3053
3219
|
o.http_method = "GET"
|
@@ -3482,6 +3648,20 @@ module Aws::QBusiness
|
|
3482
3648
|
o.errors << Shapes::ShapeRef.new(shape: ServiceQuotaExceededException)
|
3483
3649
|
end)
|
3484
3650
|
|
3651
|
+
api.add_operation(:update_chat_response_configuration, Seahorse::Model::Operation.new.tap do |o|
|
3652
|
+
o.name = "UpdateChatResponseConfiguration"
|
3653
|
+
o.http_method = "PUT"
|
3654
|
+
o.http_request_uri = "/applications/{applicationId}/chatresponseconfigurations/{chatResponseConfigurationId}"
|
3655
|
+
o.input = Shapes::ShapeRef.new(shape: UpdateChatResponseConfigurationRequest)
|
3656
|
+
o.output = Shapes::ShapeRef.new(shape: UpdateChatResponseConfigurationResponse)
|
3657
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
|
3658
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
3659
|
+
o.errors << Shapes::ShapeRef.new(shape: ConflictException)
|
3660
|
+
o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
|
3661
|
+
o.errors << Shapes::ShapeRef.new(shape: ValidationException)
|
3662
|
+
o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
|
3663
|
+
end)
|
3664
|
+
|
3485
3665
|
api.add_operation(:update_data_accessor, Seahorse::Model::Operation.new.tap do |o|
|
3486
3666
|
o.name = "UpdateDataAccessor"
|
3487
3667
|
o.http_method = "PUT"
|