aws-sdk-qbusiness 1.2.0 → 1.4.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/client.rb +374 -273
- data/lib/aws-sdk-qbusiness/client_api.rb +36 -5
- data/lib/aws-sdk-qbusiness/types.rb +709 -457
- data/lib/aws-sdk-qbusiness.rb +1 -1
- data/sig/client.rbs +19 -5
- data/sig/types.rbs +34 -0
- metadata +4 -4
@@ -37,6 +37,7 @@ module Aws::QBusiness
|
|
37
37
|
ApplicationStatus = Shapes::StringShape.new(name: 'ApplicationStatus')
|
38
38
|
Applications = Shapes::ListShape.new(name: 'Applications')
|
39
39
|
AppliedAttachmentsConfiguration = Shapes::StructureShape.new(name: 'AppliedAttachmentsConfiguration')
|
40
|
+
AppliedCreatorModeConfiguration = Shapes::StructureShape.new(name: 'AppliedCreatorModeConfiguration')
|
40
41
|
AttachmentInput = Shapes::StructureShape.new(name: 'AttachmentInput')
|
41
42
|
AttachmentName = Shapes::StringShape.new(name: 'AttachmentName')
|
42
43
|
AttachmentOutput = Shapes::StructureShape.new(name: 'AttachmentOutput')
|
@@ -61,6 +62,8 @@ module Aws::QBusiness
|
|
61
62
|
BlockedPhrasesConfigurationUpdate = Shapes::StructureShape.new(name: 'BlockedPhrasesConfigurationUpdate')
|
62
63
|
Boolean = Shapes::BooleanShape.new(name: 'Boolean')
|
63
64
|
BoostingDurationInSeconds = Shapes::IntegerShape.new(name: 'BoostingDurationInSeconds')
|
65
|
+
ChatMode = Shapes::StringShape.new(name: 'ChatMode')
|
66
|
+
ChatModeConfiguration = Shapes::UnionShape.new(name: 'ChatModeConfiguration')
|
64
67
|
ChatSyncInput = Shapes::StructureShape.new(name: 'ChatSyncInput')
|
65
68
|
ChatSyncOutput = Shapes::StructureShape.new(name: 'ChatSyncOutput')
|
66
69
|
ClientToken = Shapes::StringShape.new(name: 'ClientToken')
|
@@ -87,6 +90,8 @@ module Aws::QBusiness
|
|
87
90
|
CreateUserResponse = Shapes::StructureShape.new(name: 'CreateUserResponse')
|
88
91
|
CreateWebExperienceRequest = Shapes::StructureShape.new(name: 'CreateWebExperienceRequest')
|
89
92
|
CreateWebExperienceResponse = Shapes::StructureShape.new(name: 'CreateWebExperienceResponse')
|
93
|
+
CreatorModeConfiguration = Shapes::StructureShape.new(name: 'CreatorModeConfiguration')
|
94
|
+
CreatorModeControl = Shapes::StringShape.new(name: 'CreatorModeControl')
|
90
95
|
DataSource = Shapes::StructureShape.new(name: 'DataSource')
|
91
96
|
DataSourceArn = Shapes::StringShape.new(name: 'DataSourceArn')
|
92
97
|
DataSourceConfiguration = Shapes::DocumentShape.new(name: 'DataSourceConfiguration', document: true)
|
@@ -185,6 +190,7 @@ module Aws::QBusiness
|
|
185
190
|
GroupSummary = Shapes::StructureShape.new(name: 'GroupSummary')
|
186
191
|
GroupSummaryList = Shapes::ListShape.new(name: 'GroupSummaryList')
|
187
192
|
HookConfiguration = Shapes::StructureShape.new(name: 'HookConfiguration')
|
193
|
+
IdcApplicationArn = Shapes::StringShape.new(name: 'IdcApplicationArn')
|
188
194
|
Index = Shapes::StructureShape.new(name: 'Index')
|
189
195
|
IndexArn = Shapes::StringShape.new(name: 'IndexArn')
|
190
196
|
IndexCapacityConfiguration = Shapes::StructureShape.new(name: 'IndexCapacityConfiguration')
|
@@ -198,6 +204,7 @@ module Aws::QBusiness
|
|
198
204
|
Indices = Shapes::ListShape.new(name: 'Indices')
|
199
205
|
InlineDocumentEnrichmentConfiguration = Shapes::StructureShape.new(name: 'InlineDocumentEnrichmentConfiguration')
|
200
206
|
InlineDocumentEnrichmentConfigurations = Shapes::ListShape.new(name: 'InlineDocumentEnrichmentConfigurations')
|
207
|
+
InstanceArn = Shapes::StringShape.new(name: 'InstanceArn')
|
201
208
|
Integer = Shapes::IntegerShape.new(name: 'Integer')
|
202
209
|
InternalServerException = Shapes::StructureShape.new(name: 'InternalServerException')
|
203
210
|
KendraIndexConfiguration = Shapes::StructureShape.new(name: 'KendraIndexConfiguration')
|
@@ -266,6 +273,7 @@ module Aws::QBusiness
|
|
266
273
|
Plugin = Shapes::StructureShape.new(name: 'Plugin')
|
267
274
|
PluginArn = Shapes::StringShape.new(name: 'PluginArn')
|
268
275
|
PluginAuthConfiguration = Shapes::UnionShape.new(name: 'PluginAuthConfiguration')
|
276
|
+
PluginConfiguration = Shapes::StructureShape.new(name: 'PluginConfiguration')
|
269
277
|
PluginId = Shapes::StringShape.new(name: 'PluginId')
|
270
278
|
PluginName = Shapes::StringShape.new(name: 'PluginName')
|
271
279
|
PluginState = Shapes::StringShape.new(name: 'PluginState')
|
@@ -438,6 +446,9 @@ module Aws::QBusiness
|
|
438
446
|
AppliedAttachmentsConfiguration.add_member(:attachments_control_mode, Shapes::ShapeRef.new(shape: AttachmentsControlMode, location_name: "attachmentsControlMode"))
|
439
447
|
AppliedAttachmentsConfiguration.struct_class = Types::AppliedAttachmentsConfiguration
|
440
448
|
|
449
|
+
AppliedCreatorModeConfiguration.add_member(:creator_mode_control, Shapes::ShapeRef.new(shape: CreatorModeControl, required: true, location_name: "creatorModeControl"))
|
450
|
+
AppliedCreatorModeConfiguration.struct_class = Types::AppliedCreatorModeConfiguration
|
451
|
+
|
441
452
|
AttachmentInput.add_member(:data, Shapes::ShapeRef.new(shape: Blob, required: true, location_name: "data"))
|
442
453
|
AttachmentInput.add_member(:name, Shapes::ShapeRef.new(shape: AttachmentName, required: true, location_name: "name"))
|
443
454
|
AttachmentInput.struct_class = Types::AttachmentInput
|
@@ -502,15 +513,23 @@ module Aws::QBusiness
|
|
502
513
|
BlockedPhrasesConfigurationUpdate.add_member(:system_message_override, Shapes::ShapeRef.new(shape: SystemMessageOverride, location_name: "systemMessageOverride"))
|
503
514
|
BlockedPhrasesConfigurationUpdate.struct_class = Types::BlockedPhrasesConfigurationUpdate
|
504
515
|
|
516
|
+
ChatModeConfiguration.add_member(:plugin_configuration, Shapes::ShapeRef.new(shape: PluginConfiguration, location_name: "pluginConfiguration"))
|
517
|
+
ChatModeConfiguration.add_member(:unknown, Shapes::ShapeRef.new(shape: nil, location_name: 'unknown'))
|
518
|
+
ChatModeConfiguration.add_member_subclass(:plugin_configuration, Types::ChatModeConfiguration::PluginConfiguration)
|
519
|
+
ChatModeConfiguration.add_member_subclass(:unknown, Types::ChatModeConfiguration::Unknown)
|
520
|
+
ChatModeConfiguration.struct_class = Types::ChatModeConfiguration
|
521
|
+
|
505
522
|
ChatSyncInput.add_member(:action_execution, Shapes::ShapeRef.new(shape: ActionExecution, location_name: "actionExecution"))
|
506
523
|
ChatSyncInput.add_member(:application_id, Shapes::ShapeRef.new(shape: ApplicationId, required: true, location: "uri", location_name: "applicationId"))
|
507
524
|
ChatSyncInput.add_member(:attachments, Shapes::ShapeRef.new(shape: AttachmentsInput, location_name: "attachments"))
|
508
525
|
ChatSyncInput.add_member(:attribute_filter, Shapes::ShapeRef.new(shape: AttributeFilter, location_name: "attributeFilter"))
|
526
|
+
ChatSyncInput.add_member(:chat_mode, Shapes::ShapeRef.new(shape: ChatMode, location_name: "chatMode"))
|
527
|
+
ChatSyncInput.add_member(:chat_mode_configuration, Shapes::ShapeRef.new(shape: ChatModeConfiguration, location_name: "chatModeConfiguration"))
|
509
528
|
ChatSyncInput.add_member(:client_token, Shapes::ShapeRef.new(shape: ClientToken, location_name: "clientToken", metadata: {"idempotencyToken"=>true}))
|
510
529
|
ChatSyncInput.add_member(:conversation_id, Shapes::ShapeRef.new(shape: ConversationId, location_name: "conversationId"))
|
511
530
|
ChatSyncInput.add_member(:parent_message_id, Shapes::ShapeRef.new(shape: MessageId, location_name: "parentMessageId"))
|
512
531
|
ChatSyncInput.add_member(:user_groups, Shapes::ShapeRef.new(shape: UserGroups, location: "querystring", location_name: "userGroups"))
|
513
|
-
ChatSyncInput.add_member(:user_id, Shapes::ShapeRef.new(shape: UserId,
|
532
|
+
ChatSyncInput.add_member(:user_id, Shapes::ShapeRef.new(shape: UserId, location: "querystring", location_name: "userId"))
|
514
533
|
ChatSyncInput.add_member(:user_message, Shapes::ShapeRef.new(shape: UserMessage, location_name: "userMessage"))
|
515
534
|
ChatSyncInput.struct_class = Types::ChatSyncInput
|
516
535
|
|
@@ -546,6 +565,7 @@ module Aws::QBusiness
|
|
546
565
|
CreateApplicationRequest.add_member(:description, Shapes::ShapeRef.new(shape: Description, location_name: "description"))
|
547
566
|
CreateApplicationRequest.add_member(:display_name, Shapes::ShapeRef.new(shape: ApplicationName, required: true, location_name: "displayName"))
|
548
567
|
CreateApplicationRequest.add_member(:encryption_configuration, Shapes::ShapeRef.new(shape: EncryptionConfiguration, location_name: "encryptionConfiguration"))
|
568
|
+
CreateApplicationRequest.add_member(:identity_center_instance_arn, Shapes::ShapeRef.new(shape: InstanceArn, location_name: "identityCenterInstanceArn"))
|
549
569
|
CreateApplicationRequest.add_member(:role_arn, Shapes::ShapeRef.new(shape: RoleArn, required: true, location_name: "roleArn"))
|
550
570
|
CreateApplicationRequest.add_member(:tags, Shapes::ShapeRef.new(shape: Tags, location_name: "tags"))
|
551
571
|
CreateApplicationRequest.struct_class = Types::CreateApplicationRequest
|
@@ -621,6 +641,7 @@ module Aws::QBusiness
|
|
621
641
|
|
622
642
|
CreateWebExperienceRequest.add_member(:application_id, Shapes::ShapeRef.new(shape: ApplicationId, required: true, location: "uri", location_name: "applicationId"))
|
623
643
|
CreateWebExperienceRequest.add_member(:client_token, Shapes::ShapeRef.new(shape: ClientToken, location_name: "clientToken", metadata: {"idempotencyToken"=>true}))
|
644
|
+
CreateWebExperienceRequest.add_member(:role_arn, Shapes::ShapeRef.new(shape: RoleArn, location_name: "roleArn"))
|
624
645
|
CreateWebExperienceRequest.add_member(:sample_prompts_control_mode, Shapes::ShapeRef.new(shape: WebExperienceSamplePromptsControlMode, location_name: "samplePromptsControlMode"))
|
625
646
|
CreateWebExperienceRequest.add_member(:subtitle, Shapes::ShapeRef.new(shape: WebExperienceSubtitle, location_name: "subtitle"))
|
626
647
|
CreateWebExperienceRequest.add_member(:tags, Shapes::ShapeRef.new(shape: Tags, location_name: "tags"))
|
@@ -632,6 +653,9 @@ module Aws::QBusiness
|
|
632
653
|
CreateWebExperienceResponse.add_member(:web_experience_id, Shapes::ShapeRef.new(shape: WebExperienceId, location_name: "webExperienceId"))
|
633
654
|
CreateWebExperienceResponse.struct_class = Types::CreateWebExperienceResponse
|
634
655
|
|
656
|
+
CreatorModeConfiguration.add_member(:creator_mode_control, Shapes::ShapeRef.new(shape: CreatorModeControl, required: true, location_name: "creatorModeControl"))
|
657
|
+
CreatorModeConfiguration.struct_class = Types::CreatorModeConfiguration
|
658
|
+
|
635
659
|
DataSource.add_member(:created_at, Shapes::ShapeRef.new(shape: Timestamp, location_name: "createdAt"))
|
636
660
|
DataSource.add_member(:data_source_id, Shapes::ShapeRef.new(shape: DataSourceId, location_name: "dataSourceId"))
|
637
661
|
DataSource.add_member(:display_name, Shapes::ShapeRef.new(shape: DataSourceName, location_name: "displayName"))
|
@@ -682,7 +706,7 @@ module Aws::QBusiness
|
|
682
706
|
|
683
707
|
DeleteConversationRequest.add_member(:application_id, Shapes::ShapeRef.new(shape: ApplicationId, required: true, location: "uri", location_name: "applicationId"))
|
684
708
|
DeleteConversationRequest.add_member(:conversation_id, Shapes::ShapeRef.new(shape: ConversationId, required: true, location: "uri", location_name: "conversationId"))
|
685
|
-
DeleteConversationRequest.add_member(:user_id, Shapes::ShapeRef.new(shape: UserId,
|
709
|
+
DeleteConversationRequest.add_member(:user_id, Shapes::ShapeRef.new(shape: UserId, location: "querystring", location_name: "userId"))
|
686
710
|
DeleteConversationRequest.struct_class = Types::DeleteConversationRequest
|
687
711
|
|
688
712
|
DeleteConversationResponse.struct_class = Types::DeleteConversationResponse
|
@@ -855,6 +879,7 @@ module Aws::QBusiness
|
|
855
879
|
GetApplicationResponse.add_member(:display_name, Shapes::ShapeRef.new(shape: ApplicationName, location_name: "displayName"))
|
856
880
|
GetApplicationResponse.add_member(:encryption_configuration, Shapes::ShapeRef.new(shape: EncryptionConfiguration, location_name: "encryptionConfiguration"))
|
857
881
|
GetApplicationResponse.add_member(:error, Shapes::ShapeRef.new(shape: ErrorDetail, location_name: "error"))
|
882
|
+
GetApplicationResponse.add_member(:identity_center_application_arn, Shapes::ShapeRef.new(shape: IdcApplicationArn, location_name: "identityCenterApplicationArn"))
|
858
883
|
GetApplicationResponse.add_member(:role_arn, Shapes::ShapeRef.new(shape: RoleArn, location_name: "roleArn"))
|
859
884
|
GetApplicationResponse.add_member(:status, Shapes::ShapeRef.new(shape: ApplicationStatus, location_name: "status"))
|
860
885
|
GetApplicationResponse.add_member(:updated_at, Shapes::ShapeRef.new(shape: Timestamp, location_name: "updatedAt"))
|
@@ -866,6 +891,7 @@ module Aws::QBusiness
|
|
866
891
|
GetChatControlsConfigurationRequest.struct_class = Types::GetChatControlsConfigurationRequest
|
867
892
|
|
868
893
|
GetChatControlsConfigurationResponse.add_member(:blocked_phrases, Shapes::ShapeRef.new(shape: BlockedPhrasesConfiguration, location_name: "blockedPhrases"))
|
894
|
+
GetChatControlsConfigurationResponse.add_member(:creator_mode_configuration, Shapes::ShapeRef.new(shape: AppliedCreatorModeConfiguration, location_name: "creatorModeConfiguration"))
|
869
895
|
GetChatControlsConfigurationResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "nextToken"))
|
870
896
|
GetChatControlsConfigurationResponse.add_member(:response_scope, Shapes::ShapeRef.new(shape: ResponseScope, location_name: "responseScope"))
|
871
897
|
GetChatControlsConfigurationResponse.add_member(:topic_configurations, Shapes::ShapeRef.new(shape: TopicConfigurations, location_name: "topicConfigurations"))
|
@@ -970,6 +996,7 @@ module Aws::QBusiness
|
|
970
996
|
GetWebExperienceResponse.add_member(:created_at, Shapes::ShapeRef.new(shape: Timestamp, location_name: "createdAt"))
|
971
997
|
GetWebExperienceResponse.add_member(:default_endpoint, Shapes::ShapeRef.new(shape: Url, location_name: "defaultEndpoint"))
|
972
998
|
GetWebExperienceResponse.add_member(:error, Shapes::ShapeRef.new(shape: ErrorDetail, location_name: "error"))
|
999
|
+
GetWebExperienceResponse.add_member(:role_arn, Shapes::ShapeRef.new(shape: RoleArn, location_name: "roleArn"))
|
973
1000
|
GetWebExperienceResponse.add_member(:sample_prompts_control_mode, Shapes::ShapeRef.new(shape: WebExperienceSamplePromptsControlMode, location_name: "samplePromptsControlMode"))
|
974
1001
|
GetWebExperienceResponse.add_member(:status, Shapes::ShapeRef.new(shape: WebExperienceStatus, location_name: "status"))
|
975
1002
|
GetWebExperienceResponse.add_member(:subtitle, Shapes::ShapeRef.new(shape: WebExperienceSubtitle, location_name: "subtitle"))
|
@@ -1044,7 +1071,7 @@ module Aws::QBusiness
|
|
1044
1071
|
ListConversationsRequest.add_member(:application_id, Shapes::ShapeRef.new(shape: ApplicationId, required: true, location: "uri", location_name: "applicationId"))
|
1045
1072
|
ListConversationsRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: MaxResultsIntegerForListConversations, location: "querystring", location_name: "maxResults"))
|
1046
1073
|
ListConversationsRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location: "querystring", location_name: "nextToken"))
|
1047
|
-
ListConversationsRequest.add_member(:user_id, Shapes::ShapeRef.new(shape: UserId,
|
1074
|
+
ListConversationsRequest.add_member(:user_id, Shapes::ShapeRef.new(shape: UserId, location: "querystring", location_name: "userId"))
|
1048
1075
|
ListConversationsRequest.struct_class = Types::ListConversationsRequest
|
1049
1076
|
|
1050
1077
|
ListConversationsResponse.add_member(:conversations, Shapes::ShapeRef.new(shape: Conversations, location_name: "conversations"))
|
@@ -1111,7 +1138,7 @@ module Aws::QBusiness
|
|
1111
1138
|
ListMessagesRequest.add_member(:conversation_id, Shapes::ShapeRef.new(shape: ConversationId, required: true, location: "uri", location_name: "conversationId"))
|
1112
1139
|
ListMessagesRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: MaxResultsIntegerForListMessages, location: "querystring", location_name: "maxResults"))
|
1113
1140
|
ListMessagesRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location: "querystring", location_name: "nextToken"))
|
1114
|
-
ListMessagesRequest.add_member(:user_id, Shapes::ShapeRef.new(shape: UserId,
|
1141
|
+
ListMessagesRequest.add_member(:user_id, Shapes::ShapeRef.new(shape: UserId, location: "querystring", location_name: "userId"))
|
1115
1142
|
ListMessagesRequest.struct_class = Types::ListMessagesRequest
|
1116
1143
|
|
1117
1144
|
ListMessagesResponse.add_member(:messages, Shapes::ShapeRef.new(shape: Messages, location_name: "messages"))
|
@@ -1210,6 +1237,9 @@ module Aws::QBusiness
|
|
1210
1237
|
PluginAuthConfiguration.add_member_subclass(:unknown, Types::PluginAuthConfiguration::Unknown)
|
1211
1238
|
PluginAuthConfiguration.struct_class = Types::PluginAuthConfiguration
|
1212
1239
|
|
1240
|
+
PluginConfiguration.add_member(:plugin_id, Shapes::ShapeRef.new(shape: PluginId, required: true, location_name: "pluginId"))
|
1241
|
+
PluginConfiguration.struct_class = Types::PluginConfiguration
|
1242
|
+
|
1213
1243
|
Plugins.member = Shapes::ShapeRef.new(shape: Plugin)
|
1214
1244
|
|
1215
1245
|
Principal.add_member(:group, Shapes::ShapeRef.new(shape: PrincipalGroup, location_name: "group"))
|
@@ -1237,7 +1267,7 @@ module Aws::QBusiness
|
|
1237
1267
|
PutFeedbackRequest.add_member(:message_copied_at, Shapes::ShapeRef.new(shape: Timestamp, location_name: "messageCopiedAt"))
|
1238
1268
|
PutFeedbackRequest.add_member(:message_id, Shapes::ShapeRef.new(shape: SystemMessageId, required: true, location: "uri", location_name: "messageId"))
|
1239
1269
|
PutFeedbackRequest.add_member(:message_usefulness, Shapes::ShapeRef.new(shape: MessageUsefulnessFeedback, location_name: "messageUsefulness"))
|
1240
|
-
PutFeedbackRequest.add_member(:user_id, Shapes::ShapeRef.new(shape: UserId,
|
1270
|
+
PutFeedbackRequest.add_member(:user_id, Shapes::ShapeRef.new(shape: UserId, location: "querystring", location_name: "userId"))
|
1241
1271
|
PutFeedbackRequest.struct_class = Types::PutFeedbackRequest
|
1242
1272
|
|
1243
1273
|
PutGroupRequest.add_member(:application_id, Shapes::ShapeRef.new(shape: ApplicationId, required: true, location: "uri", location_name: "applicationId"))
|
@@ -1395,6 +1425,7 @@ module Aws::QBusiness
|
|
1395
1425
|
UpdateChatControlsConfigurationRequest.add_member(:application_id, Shapes::ShapeRef.new(shape: ApplicationId, required: true, location: "uri", location_name: "applicationId"))
|
1396
1426
|
UpdateChatControlsConfigurationRequest.add_member(:blocked_phrases_configuration_update, Shapes::ShapeRef.new(shape: BlockedPhrasesConfigurationUpdate, location_name: "blockedPhrasesConfigurationUpdate"))
|
1397
1427
|
UpdateChatControlsConfigurationRequest.add_member(:client_token, Shapes::ShapeRef.new(shape: ClientToken, location_name: "clientToken", metadata: {"idempotencyToken"=>true}))
|
1428
|
+
UpdateChatControlsConfigurationRequest.add_member(:creator_mode_configuration, Shapes::ShapeRef.new(shape: CreatorModeConfiguration, location_name: "creatorModeConfiguration"))
|
1398
1429
|
UpdateChatControlsConfigurationRequest.add_member(:response_scope, Shapes::ShapeRef.new(shape: ResponseScope, location_name: "responseScope"))
|
1399
1430
|
UpdateChatControlsConfigurationRequest.add_member(:topic_configurations_to_create_or_update, Shapes::ShapeRef.new(shape: TopicConfigurations, location_name: "topicConfigurationsToCreateOrUpdate"))
|
1400
1431
|
UpdateChatControlsConfigurationRequest.add_member(:topic_configurations_to_delete, Shapes::ShapeRef.new(shape: TopicConfigurations, location_name: "topicConfigurationsToDelete"))
|