aws-sdk-qbusiness 1.4.0 → 1.5.0

Sign up to get free protection for your applications and to get access to all the features.
data/sig/client.rbs CHANGED
@@ -32,11 +32,14 @@ module Aws
32
32
  ?endpoint_cache_max_threads: Integer,
33
33
  ?endpoint_cache_poll_interval: Integer,
34
34
  ?endpoint_discovery: bool,
35
+ ?event_stream_handler: Proc,
35
36
  ?ignore_configured_endpoint_urls: bool,
37
+ ?input_event_stream_handler: Proc,
36
38
  ?log_formatter: untyped,
37
39
  ?log_level: Symbol,
38
40
  ?logger: untyped,
39
41
  ?max_attempts: Integer,
42
+ ?output_event_stream_handler: Proc,
40
43
  ?profile: String,
41
44
  ?request_min_compression_size_bytes: Integer,
42
45
  ?retry_backoff: Proc,
@@ -79,13 +82,13 @@ module Aws
79
82
  # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/QBusiness/Client.html#batch_delete_document-instance_method
80
83
  def batch_delete_document: (
81
84
  application_id: ::String,
82
- ?data_source_sync_id: ::String,
85
+ index_id: ::String,
83
86
  documents: Array[
84
87
  {
85
88
  document_id: ::String
86
89
  },
87
90
  ],
88
- index_id: ::String
91
+ ?data_source_sync_id: ::String
89
92
  ) -> _BatchDeleteDocumentResponseSuccess
90
93
  | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _BatchDeleteDocumentResponseSuccess
91
94
 
@@ -96,39 +99,18 @@ module Aws
96
99
  # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/QBusiness/Client.html#batch_put_document-instance_method
97
100
  def batch_put_document: (
98
101
  application_id: ::String,
99
- ?data_source_sync_id: ::String,
102
+ index_id: ::String,
100
103
  documents: Array[
101
104
  {
102
- access_configuration: {
103
- access_controls: Array[
104
- {
105
- member_relation: ("AND" | "OR")?,
106
- principals: Array[
107
- {
108
- group: {
109
- access: ("ALLOW" | "DENY"),
110
- membership_type: ("INDEX" | "DATASOURCE")?,
111
- name: ::String?
112
- }?,
113
- user: {
114
- access: ("ALLOW" | "DENY"),
115
- id: ::String?,
116
- membership_type: ("INDEX" | "DATASOURCE")?
117
- }?
118
- },
119
- ]
120
- },
121
- ],
122
- member_relation: ("AND" | "OR")?
123
- }?,
105
+ id: ::String,
124
106
  attributes: Array[
125
107
  {
126
108
  name: ::String,
127
109
  value: {
128
- date_value: ::Time?,
129
- long_value: ::Integer?,
110
+ string_value: ::String?,
130
111
  string_list_value: Array[::String]?,
131
- string_value: ::String?
112
+ long_value: ::Integer?,
113
+ date_value: ::Time?
132
114
  }
133
115
  },
134
116
  ]?,
@@ -140,6 +122,29 @@ module Aws
140
122
  }?
141
123
  }?,
142
124
  content_type: ("PDF" | "HTML" | "MS_WORD" | "PLAIN_TEXT" | "PPT" | "RTF" | "XML" | "XSLT" | "MS_EXCEL" | "CSV" | "JSON" | "MD")?,
125
+ title: ::String?,
126
+ access_configuration: {
127
+ access_controls: Array[
128
+ {
129
+ principals: Array[
130
+ {
131
+ user: {
132
+ id: ::String?,
133
+ access: ("ALLOW" | "DENY"),
134
+ membership_type: ("INDEX" | "DATASOURCE")?
135
+ }?,
136
+ group: {
137
+ name: ::String?,
138
+ access: ("ALLOW" | "DENY"),
139
+ membership_type: ("INDEX" | "DATASOURCE")?
140
+ }?
141
+ },
142
+ ],
143
+ member_relation: ("AND" | "OR")?
144
+ },
145
+ ],
146
+ member_relation: ("AND" | "OR")?
147
+ }?,
143
148
  document_enrichment_configuration: {
144
149
  inline_configurations: Array[
145
150
  {
@@ -147,163 +152,186 @@ module Aws
147
152
  key: ::String,
148
153
  operator: ("GREATER_THAN" | "GREATER_THAN_OR_EQUALS" | "LESS_THAN" | "LESS_THAN_OR_EQUALS" | "EQUALS" | "NOT_EQUALS" | "CONTAINS" | "NOT_CONTAINS" | "EXISTS" | "NOT_EXISTS" | "BEGINS_WITH"),
149
154
  value: {
150
- date_value: ::Time?,
151
- long_value: ::Integer?,
155
+ string_value: ::String?,
152
156
  string_list_value: Array[::String]?,
153
- string_value: ::String?
157
+ long_value: ::Integer?,
158
+ date_value: ::Time?
154
159
  }?
155
160
  }?,
156
- document_content_operator: ("DELETE")?,
157
161
  target: {
158
- attribute_value_operator: ("DELETE")?,
159
162
  key: ::String,
160
163
  value: {
161
- date_value: ::Time?,
162
- long_value: ::Integer?,
164
+ string_value: ::String?,
163
165
  string_list_value: Array[::String]?,
164
- string_value: ::String?
165
- }?
166
- }?
166
+ long_value: ::Integer?,
167
+ date_value: ::Time?
168
+ }?,
169
+ attribute_value_operator: ("DELETE")?
170
+ }?,
171
+ document_content_operator: ("DELETE")?
167
172
  },
168
173
  ]?,
169
- post_extraction_hook_configuration: {
174
+ pre_extraction_hook_configuration: {
170
175
  invocation_condition: {
171
176
  key: ::String,
172
177
  operator: ("GREATER_THAN" | "GREATER_THAN_OR_EQUALS" | "LESS_THAN" | "LESS_THAN_OR_EQUALS" | "EQUALS" | "NOT_EQUALS" | "CONTAINS" | "NOT_CONTAINS" | "EXISTS" | "NOT_EXISTS" | "BEGINS_WITH"),
173
178
  value: {
174
- date_value: ::Time?,
175
- long_value: ::Integer?,
179
+ string_value: ::String?,
176
180
  string_list_value: Array[::String]?,
177
- string_value: ::String?
181
+ long_value: ::Integer?,
182
+ date_value: ::Time?
178
183
  }?
179
184
  }?,
180
185
  lambda_arn: ::String?,
181
- role_arn: ::String?,
182
- s3_bucket_name: ::String?
186
+ s3_bucket_name: ::String?,
187
+ role_arn: ::String?
183
188
  }?,
184
- pre_extraction_hook_configuration: {
189
+ post_extraction_hook_configuration: {
185
190
  invocation_condition: {
186
191
  key: ::String,
187
192
  operator: ("GREATER_THAN" | "GREATER_THAN_OR_EQUALS" | "LESS_THAN" | "LESS_THAN_OR_EQUALS" | "EQUALS" | "NOT_EQUALS" | "CONTAINS" | "NOT_CONTAINS" | "EXISTS" | "NOT_EXISTS" | "BEGINS_WITH"),
188
193
  value: {
189
- date_value: ::Time?,
190
- long_value: ::Integer?,
194
+ string_value: ::String?,
191
195
  string_list_value: Array[::String]?,
192
- string_value: ::String?
196
+ long_value: ::Integer?,
197
+ date_value: ::Time?
193
198
  }?
194
199
  }?,
195
200
  lambda_arn: ::String?,
196
- role_arn: ::String?,
197
- s3_bucket_name: ::String?
201
+ s3_bucket_name: ::String?,
202
+ role_arn: ::String?
198
203
  }?
199
- }?,
200
- id: ::String,
201
- title: ::String?
204
+ }?
202
205
  },
203
206
  ],
204
- index_id: ::String,
205
- ?role_arn: ::String
207
+ ?role_arn: ::String,
208
+ ?data_source_sync_id: ::String
206
209
  ) -> _BatchPutDocumentResponseSuccess
207
210
  | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _BatchPutDocumentResponseSuccess
208
211
 
212
+ interface _ChatResponseSuccess
213
+ include ::Seahorse::Client::_ResponseSuccess[Types::ChatOutput]
214
+ def output_stream: () -> Types::ChatOutputStream
215
+ end
216
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/QBusiness/Client.html#chat-instance_method
217
+ def chat: (
218
+ application_id: ::String,
219
+ ?user_id: ::String,
220
+ ?user_groups: Array[::String],
221
+ ?conversation_id: ::String,
222
+ ?parent_message_id: ::String,
223
+ ?client_token: ::String,
224
+ input_event_stream_hander: untyped
225
+ ) ?{ (*untyped) -> void } -> _ChatResponseSuccess
226
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) ?{ (*untyped) -> void } -> _ChatResponseSuccess
227
+
209
228
  interface _ChatSyncResponseSuccess
210
229
  include ::Seahorse::Client::_ResponseSuccess[Types::ChatSyncOutput]
211
- def action_review: () -> Types::ActionReview
212
230
  def conversation_id: () -> ::String
213
- def failed_attachments: () -> ::Array[Types::AttachmentOutput]
214
- def source_attributions: () -> ::Array[Types::SourceAttribution]
215
231
  def system_message: () -> ::String
216
232
  def system_message_id: () -> ::String
217
233
  def user_message_id: () -> ::String
234
+ def action_review: () -> Types::ActionReview
235
+ def auth_challenge_request: () -> Types::AuthChallengeRequest
236
+ def source_attributions: () -> ::Array[Types::SourceAttribution]
237
+ def failed_attachments: () -> ::Array[Types::AttachmentOutput]
218
238
  end
219
239
  # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/QBusiness/Client.html#chat_sync-instance_method
220
240
  def chat_sync: (
241
+ application_id: ::String,
242
+ ?user_id: ::String,
243
+ ?user_groups: Array[::String],
244
+ ?user_message: ::String,
245
+ ?attachments: Array[
246
+ {
247
+ name: ::String,
248
+ data: ::String
249
+ },
250
+ ],
221
251
  ?action_execution: {
252
+ plugin_id: ::String,
222
253
  payload: Hash[::String, {
223
254
  value: {
224
255
  }
225
256
  }],
226
- payload_field_name_separator: ::String,
227
- plugin_id: ::String
257
+ payload_field_name_separator: ::String
228
258
  },
229
- application_id: ::String,
230
- ?attachments: Array[
231
- {
232
- data: ::String,
233
- name: ::String
234
- },
235
- ],
259
+ ?auth_challenge_response: {
260
+ response_map: Hash[::String, ::String]
261
+ },
262
+ ?conversation_id: ::String,
263
+ ?parent_message_id: ::String,
236
264
  ?attribute_filter: {
237
265
  and_all_filters: Array[
238
266
  untyped,
239
267
  ]?,
240
- contains_all: {
268
+ or_all_filters: Array[
269
+ untyped,
270
+ ]?,
271
+ not_filter: untyped?,
272
+ equals_to: {
241
273
  name: ::String,
242
274
  value: {
243
- date_value: ::Time?,
244
- long_value: ::Integer?,
275
+ string_value: ::String?,
245
276
  string_list_value: Array[::String]?,
246
- string_value: ::String?
277
+ long_value: ::Integer?,
278
+ date_value: ::Time?
247
279
  }
248
280
  }?,
249
- contains_any: {
281
+ contains_all: {
250
282
  name: ::String,
251
283
  value: {
252
- date_value: ::Time?,
253
- long_value: ::Integer?,
284
+ string_value: ::String?,
254
285
  string_list_value: Array[::String]?,
255
- string_value: ::String?
286
+ long_value: ::Integer?,
287
+ date_value: ::Time?
256
288
  }
257
289
  }?,
258
- equals_to: {
290
+ contains_any: {
259
291
  name: ::String,
260
292
  value: {
261
- date_value: ::Time?,
262
- long_value: ::Integer?,
293
+ string_value: ::String?,
263
294
  string_list_value: Array[::String]?,
264
- string_value: ::String?
295
+ long_value: ::Integer?,
296
+ date_value: ::Time?
265
297
  }
266
298
  }?,
267
299
  greater_than: {
268
300
  name: ::String,
269
301
  value: {
270
- date_value: ::Time?,
271
- long_value: ::Integer?,
302
+ string_value: ::String?,
272
303
  string_list_value: Array[::String]?,
273
- string_value: ::String?
304
+ long_value: ::Integer?,
305
+ date_value: ::Time?
274
306
  }
275
307
  }?,
276
308
  greater_than_or_equals: {
277
309
  name: ::String,
278
310
  value: {
279
- date_value: ::Time?,
280
- long_value: ::Integer?,
311
+ string_value: ::String?,
281
312
  string_list_value: Array[::String]?,
282
- string_value: ::String?
313
+ long_value: ::Integer?,
314
+ date_value: ::Time?
283
315
  }
284
316
  }?,
285
317
  less_than: {
286
318
  name: ::String,
287
319
  value: {
288
- date_value: ::Time?,
289
- long_value: ::Integer?,
320
+ string_value: ::String?,
290
321
  string_list_value: Array[::String]?,
291
- string_value: ::String?
322
+ long_value: ::Integer?,
323
+ date_value: ::Time?
292
324
  }
293
325
  }?,
294
326
  less_than_or_equals: {
295
327
  name: ::String,
296
328
  value: {
297
- date_value: ::Time?,
298
- long_value: ::Integer?,
329
+ string_value: ::String?,
299
330
  string_list_value: Array[::String]?,
300
- string_value: ::String?
331
+ long_value: ::Integer?,
332
+ date_value: ::Time?
301
333
  }
302
- }?,
303
- not_filter: untyped?,
304
- or_all_filters: Array[
305
- untyped,
306
- ]?
334
+ }?
307
335
  },
308
336
  ?chat_mode: ("RETRIEVAL_MODE" | "CREATOR_MODE" | "PLUGIN_MODE"),
309
337
  ?chat_mode_configuration: {
@@ -311,55 +339,63 @@ module Aws
311
339
  plugin_id: ::String
312
340
  }?
313
341
  },
314
- ?client_token: ::String,
315
- ?conversation_id: ::String,
316
- ?parent_message_id: ::String,
317
- ?user_groups: Array[::String],
318
- ?user_id: ::String,
319
- ?user_message: ::String
342
+ ?client_token: ::String
320
343
  ) -> _ChatSyncResponseSuccess
321
344
  | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ChatSyncResponseSuccess
322
345
 
323
346
  interface _CreateApplicationResponseSuccess
324
347
  include ::Seahorse::Client::_ResponseSuccess[Types::CreateApplicationResponse]
325
- def application_arn: () -> ::String
326
348
  def application_id: () -> ::String
349
+ def application_arn: () -> ::String
327
350
  end
328
351
  # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/QBusiness/Client.html#create_application-instance_method
329
352
  def create_application: (
330
- ?attachments_configuration: {
331
- attachments_control_mode: ("ENABLED" | "DISABLED")
332
- },
333
- ?client_token: ::String,
334
- ?description: ::String,
335
353
  display_name: ::String,
354
+ ?role_arn: ::String,
355
+ ?identity_center_instance_arn: ::String,
356
+ ?description: ::String,
336
357
  ?encryption_configuration: {
337
358
  kms_key_id: ::String?
338
359
  },
339
- ?identity_center_instance_arn: ::String,
340
- role_arn: ::String,
341
360
  ?tags: Array[
342
361
  {
343
362
  key: ::String,
344
363
  value: ::String
345
364
  },
346
- ]
365
+ ],
366
+ ?client_token: ::String,
367
+ ?attachments_configuration: {
368
+ attachments_control_mode: ("ENABLED" | "DISABLED")
369
+ }
347
370
  ) -> _CreateApplicationResponseSuccess
348
371
  | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _CreateApplicationResponseSuccess
349
372
 
350
373
  interface _CreateDataSourceResponseSuccess
351
374
  include ::Seahorse::Client::_ResponseSuccess[Types::CreateDataSourceResponse]
352
- def data_source_arn: () -> ::String
353
375
  def data_source_id: () -> ::String
376
+ def data_source_arn: () -> ::String
354
377
  end
355
378
  # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/QBusiness/Client.html#create_data_source-instance_method
356
379
  def create_data_source: (
357
380
  application_id: ::String,
358
- ?client_token: ::String,
381
+ index_id: ::String,
382
+ display_name: ::String,
359
383
  configuration: {
360
384
  },
385
+ ?vpc_configuration: {
386
+ subnet_ids: Array[::String],
387
+ security_group_ids: Array[::String]
388
+ },
361
389
  ?description: ::String,
362
- display_name: ::String,
390
+ ?tags: Array[
391
+ {
392
+ key: ::String,
393
+ value: ::String
394
+ },
395
+ ],
396
+ ?sync_schedule: ::String,
397
+ ?role_arn: ::String,
398
+ ?client_token: ::String,
363
399
  ?document_enrichment_configuration: {
364
400
  inline_configurations: Array[
365
401
  {
@@ -367,169 +403,171 @@ module Aws
367
403
  key: ::String,
368
404
  operator: ("GREATER_THAN" | "GREATER_THAN_OR_EQUALS" | "LESS_THAN" | "LESS_THAN_OR_EQUALS" | "EQUALS" | "NOT_EQUALS" | "CONTAINS" | "NOT_CONTAINS" | "EXISTS" | "NOT_EXISTS" | "BEGINS_WITH"),
369
405
  value: {
370
- date_value: ::Time?,
371
- long_value: ::Integer?,
406
+ string_value: ::String?,
372
407
  string_list_value: Array[::String]?,
373
- string_value: ::String?
408
+ long_value: ::Integer?,
409
+ date_value: ::Time?
374
410
  }?
375
411
  }?,
376
- document_content_operator: ("DELETE")?,
377
412
  target: {
378
- attribute_value_operator: ("DELETE")?,
379
413
  key: ::String,
380
414
  value: {
381
- date_value: ::Time?,
382
- long_value: ::Integer?,
415
+ string_value: ::String?,
383
416
  string_list_value: Array[::String]?,
384
- string_value: ::String?
385
- }?
386
- }?
417
+ long_value: ::Integer?,
418
+ date_value: ::Time?
419
+ }?,
420
+ attribute_value_operator: ("DELETE")?
421
+ }?,
422
+ document_content_operator: ("DELETE")?
387
423
  },
388
424
  ]?,
389
- post_extraction_hook_configuration: {
425
+ pre_extraction_hook_configuration: {
390
426
  invocation_condition: {
391
427
  key: ::String,
392
428
  operator: ("GREATER_THAN" | "GREATER_THAN_OR_EQUALS" | "LESS_THAN" | "LESS_THAN_OR_EQUALS" | "EQUALS" | "NOT_EQUALS" | "CONTAINS" | "NOT_CONTAINS" | "EXISTS" | "NOT_EXISTS" | "BEGINS_WITH"),
393
429
  value: {
394
- date_value: ::Time?,
395
- long_value: ::Integer?,
430
+ string_value: ::String?,
396
431
  string_list_value: Array[::String]?,
397
- string_value: ::String?
432
+ long_value: ::Integer?,
433
+ date_value: ::Time?
398
434
  }?
399
435
  }?,
400
436
  lambda_arn: ::String?,
401
- role_arn: ::String?,
402
- s3_bucket_name: ::String?
437
+ s3_bucket_name: ::String?,
438
+ role_arn: ::String?
403
439
  }?,
404
- pre_extraction_hook_configuration: {
440
+ post_extraction_hook_configuration: {
405
441
  invocation_condition: {
406
442
  key: ::String,
407
443
  operator: ("GREATER_THAN" | "GREATER_THAN_OR_EQUALS" | "LESS_THAN" | "LESS_THAN_OR_EQUALS" | "EQUALS" | "NOT_EQUALS" | "CONTAINS" | "NOT_CONTAINS" | "EXISTS" | "NOT_EXISTS" | "BEGINS_WITH"),
408
444
  value: {
409
- date_value: ::Time?,
410
- long_value: ::Integer?,
445
+ string_value: ::String?,
411
446
  string_list_value: Array[::String]?,
412
- string_value: ::String?
447
+ long_value: ::Integer?,
448
+ date_value: ::Time?
413
449
  }?
414
450
  }?,
415
451
  lambda_arn: ::String?,
416
- role_arn: ::String?,
417
- s3_bucket_name: ::String?
452
+ s3_bucket_name: ::String?,
453
+ role_arn: ::String?
418
454
  }?
419
- },
420
- index_id: ::String,
421
- ?role_arn: ::String,
422
- ?sync_schedule: ::String,
423
- ?tags: Array[
424
- {
425
- key: ::String,
426
- value: ::String
427
- },
428
- ],
429
- ?vpc_configuration: {
430
- security_group_ids: Array[::String],
431
- subnet_ids: Array[::String]
432
455
  }
433
456
  ) -> _CreateDataSourceResponseSuccess
434
457
  | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _CreateDataSourceResponseSuccess
435
458
 
436
459
  interface _CreateIndexResponseSuccess
437
460
  include ::Seahorse::Client::_ResponseSuccess[Types::CreateIndexResponse]
438
- def index_arn: () -> ::String
439
461
  def index_id: () -> ::String
462
+ def index_arn: () -> ::String
440
463
  end
441
464
  # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/QBusiness/Client.html#create_index-instance_method
442
465
  def create_index: (
443
466
  application_id: ::String,
444
- ?capacity_configuration: {
445
- units: ::Integer?
446
- },
447
- ?client_token: ::String,
448
- ?description: ::String,
449
467
  display_name: ::String,
468
+ ?type: ("ENTERPRISE" | "STARTER"),
469
+ ?description: ::String,
450
470
  ?tags: Array[
451
471
  {
452
472
  key: ::String,
453
473
  value: ::String
454
474
  },
455
- ]
475
+ ],
476
+ ?capacity_configuration: {
477
+ units: ::Integer?
478
+ },
479
+ ?client_token: ::String
456
480
  ) -> _CreateIndexResponseSuccess
457
481
  | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _CreateIndexResponseSuccess
458
482
 
459
483
  interface _CreatePluginResponseSuccess
460
484
  include ::Seahorse::Client::_ResponseSuccess[Types::CreatePluginResponse]
461
- def plugin_arn: () -> ::String
462
485
  def plugin_id: () -> ::String
486
+ def plugin_arn: () -> ::String
487
+ def build_status: () -> ("READY" | "CREATE_IN_PROGRESS" | "CREATE_FAILED" | "UPDATE_IN_PROGRESS" | "UPDATE_FAILED" | "DELETE_IN_PROGRESS" | "DELETE_FAILED")
463
488
  end
464
489
  # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/QBusiness/Client.html#create_plugin-instance_method
465
490
  def create_plugin: (
466
491
  application_id: ::String,
492
+ display_name: ::String,
493
+ type: ("SERVICE_NOW" | "SALESFORCE" | "JIRA" | "ZENDESK" | "CUSTOM"),
467
494
  auth_configuration: {
468
495
  basic_auth_configuration: {
469
- role_arn: ::String,
470
- secret_arn: ::String
496
+ secret_arn: ::String,
497
+ role_arn: ::String
471
498
  }?,
472
499
  o_auth_2_client_credential_configuration: {
473
- role_arn: ::String,
474
- secret_arn: ::String
500
+ secret_arn: ::String,
501
+ role_arn: ::String
502
+ }?,
503
+ no_auth_configuration: {
475
504
  }?
476
505
  },
477
- ?client_token: ::String,
478
- display_name: ::String,
479
- server_url: ::String,
506
+ ?server_url: ::String,
507
+ ?custom_plugin_configuration: {
508
+ description: ::String,
509
+ api_schema_type: ("OPEN_API_V3"),
510
+ api_schema: {
511
+ payload: ::String?,
512
+ s3: {
513
+ bucket: ::String,
514
+ key: ::String
515
+ }?
516
+ }
517
+ },
480
518
  ?tags: Array[
481
519
  {
482
520
  key: ::String,
483
521
  value: ::String
484
522
  },
485
523
  ],
486
- type: ("SERVICE_NOW" | "SALESFORCE" | "JIRA" | "ZENDESK")
524
+ ?client_token: ::String
487
525
  ) -> _CreatePluginResponseSuccess
488
526
  | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _CreatePluginResponseSuccess
489
527
 
490
528
  interface _CreateRetrieverResponseSuccess
491
529
  include ::Seahorse::Client::_ResponseSuccess[Types::CreateRetrieverResponse]
492
- def retriever_arn: () -> ::String
493
530
  def retriever_id: () -> ::String
531
+ def retriever_arn: () -> ::String
494
532
  end
495
533
  # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/QBusiness/Client.html#create_retriever-instance_method
496
534
  def create_retriever: (
497
535
  application_id: ::String,
498
- ?client_token: ::String,
536
+ type: ("NATIVE_INDEX" | "KENDRA_INDEX"),
537
+ display_name: ::String,
499
538
  configuration: {
500
- kendra_index_configuration: {
501
- index_id: ::String
502
- }?,
503
539
  native_index_configuration: {
540
+ index_id: ::String,
504
541
  boosting_override: Hash[::String, {
505
- date_configuration: {
506
- boosting_duration_in_seconds: ::Integer?,
507
- boosting_level: ("NONE" | "LOW" | "MEDIUM" | "HIGH" | "VERY_HIGH")
508
- }?,
509
542
  number_configuration: {
510
543
  boosting_level: ("NONE" | "LOW" | "MEDIUM" | "HIGH" | "VERY_HIGH"),
511
544
  boosting_type: ("PRIORITIZE_LARGER_VALUES" | "PRIORITIZE_SMALLER_VALUES")?
512
545
  }?,
513
546
  string_configuration: {
514
- attribute_value_boosting: Hash[::String, ("LOW" | "MEDIUM" | "HIGH" | "VERY_HIGH")]?,
515
- boosting_level: ("NONE" | "LOW" | "MEDIUM" | "HIGH" | "VERY_HIGH")
547
+ boosting_level: ("NONE" | "LOW" | "MEDIUM" | "HIGH" | "VERY_HIGH"),
548
+ attribute_value_boosting: Hash[::String, ("LOW" | "MEDIUM" | "HIGH" | "VERY_HIGH")]?
549
+ }?,
550
+ date_configuration: {
551
+ boosting_level: ("NONE" | "LOW" | "MEDIUM" | "HIGH" | "VERY_HIGH"),
552
+ boosting_duration_in_seconds: ::Integer?
516
553
  }?,
517
554
  string_list_configuration: {
518
555
  boosting_level: ("NONE" | "LOW" | "MEDIUM" | "HIGH" | "VERY_HIGH")
519
556
  }?
520
- }]?,
557
+ }]?
558
+ }?,
559
+ kendra_index_configuration: {
521
560
  index_id: ::String
522
561
  }?
523
562
  },
524
- display_name: ::String,
525
563
  ?role_arn: ::String,
564
+ ?client_token: ::String,
526
565
  ?tags: Array[
527
566
  {
528
567
  key: ::String,
529
568
  value: ::String
530
569
  },
531
- ],
532
- type: ("NATIVE_INDEX" | "KENDRA_INDEX")
570
+ ]
533
571
  ) -> _CreateRetrieverResponseSuccess
534
572
  | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _CreateRetrieverResponseSuccess
535
573
 
@@ -539,38 +577,38 @@ module Aws
539
577
  # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/QBusiness/Client.html#create_user-instance_method
540
578
  def create_user: (
541
579
  application_id: ::String,
542
- ?client_token: ::String,
580
+ user_id: ::String,
543
581
  ?user_aliases: Array[
544
582
  {
545
- data_source_id: ::String?,
546
583
  index_id: ::String?,
584
+ data_source_id: ::String?,
547
585
  user_id: ::String
548
586
  },
549
587
  ],
550
- user_id: ::String
588
+ ?client_token: ::String
551
589
  ) -> _CreateUserResponseSuccess
552
590
  | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _CreateUserResponseSuccess
553
591
 
554
592
  interface _CreateWebExperienceResponseSuccess
555
593
  include ::Seahorse::Client::_ResponseSuccess[Types::CreateWebExperienceResponse]
556
- def web_experience_arn: () -> ::String
557
594
  def web_experience_id: () -> ::String
595
+ def web_experience_arn: () -> ::String
558
596
  end
559
597
  # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/QBusiness/Client.html#create_web_experience-instance_method
560
598
  def create_web_experience: (
561
599
  application_id: ::String,
562
- ?client_token: ::String,
563
- ?role_arn: ::String,
564
- ?sample_prompts_control_mode: ("ENABLED" | "DISABLED"),
600
+ ?title: ::String,
565
601
  ?subtitle: ::String,
602
+ ?welcome_message: ::String,
603
+ ?sample_prompts_control_mode: ("ENABLED" | "DISABLED"),
604
+ ?role_arn: ::String,
566
605
  ?tags: Array[
567
606
  {
568
607
  key: ::String,
569
608
  value: ::String
570
609
  },
571
610
  ],
572
- ?title: ::String,
573
- ?welcome_message: ::String
611
+ ?client_token: ::String
574
612
  ) -> _CreateWebExperienceResponseSuccess
575
613
  | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _CreateWebExperienceResponseSuccess
576
614
 
@@ -597,8 +635,8 @@ module Aws
597
635
  end
598
636
  # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/QBusiness/Client.html#delete_conversation-instance_method
599
637
  def delete_conversation: (
600
- application_id: ::String,
601
638
  conversation_id: ::String,
639
+ application_id: ::String,
602
640
  ?user_id: ::String
603
641
  ) -> _DeleteConversationResponseSuccess
604
642
  | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DeleteConversationResponseSuccess
@@ -609,8 +647,8 @@ module Aws
609
647
  # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/QBusiness/Client.html#delete_data_source-instance_method
610
648
  def delete_data_source: (
611
649
  application_id: ::String,
612
- data_source_id: ::String,
613
- index_id: ::String
650
+ index_id: ::String,
651
+ data_source_id: ::String
614
652
  ) -> _DeleteDataSourceResponseSuccess
615
653
  | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DeleteDataSourceResponseSuccess
616
654
 
@@ -620,9 +658,9 @@ module Aws
620
658
  # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/QBusiness/Client.html#delete_group-instance_method
621
659
  def delete_group: (
622
660
  application_id: ::String,
623
- ?data_source_id: ::String,
661
+ index_id: ::String,
624
662
  group_name: ::String,
625
- index_id: ::String
663
+ ?data_source_id: ::String
626
664
  ) -> _DeleteGroupResponseSuccess
627
665
  | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DeleteGroupResponseSuccess
628
666
 
@@ -678,17 +716,17 @@ module Aws
678
716
 
679
717
  interface _GetApplicationResponseSuccess
680
718
  include ::Seahorse::Client::_ResponseSuccess[Types::GetApplicationResponse]
681
- def application_arn: () -> ::String
682
- def application_id: () -> ::String
683
- def attachments_configuration: () -> Types::AppliedAttachmentsConfiguration
684
- def created_at: () -> ::Time
685
- def description: () -> ::String
686
719
  def display_name: () -> ::String
687
- def encryption_configuration: () -> Types::EncryptionConfiguration
720
+ def application_id: () -> ::String
721
+ def application_arn: () -> ::String
688
722
  def identity_center_application_arn: () -> ::String
689
723
  def role_arn: () -> ::String
690
724
  def status: () -> ("CREATING" | "ACTIVE" | "DELETING" | "FAILED" | "UPDATING")
725
+ def description: () -> ::String
726
+ def encryption_configuration: () -> Types::EncryptionConfiguration
727
+ def created_at: () -> ::Time
691
728
  def updated_at: () -> ::Time
729
+ def attachments_configuration: () -> Types::AppliedAttachmentsConfiguration
692
730
  end
693
731
  # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/QBusiness/Client.html#get_application-instance_method
694
732
  def get_application: (
@@ -698,11 +736,11 @@ module Aws
698
736
 
699
737
  interface _GetChatControlsConfigurationResponseSuccess
700
738
  include ::Seahorse::Client::_ResponseSuccess[Types::GetChatControlsConfigurationResponse]
739
+ def response_scope: () -> ("ENTERPRISE_CONTENT_ONLY" | "EXTENDED_KNOWLEDGE_ENABLED")
701
740
  def blocked_phrases: () -> Types::BlockedPhrasesConfiguration
741
+ def topic_configurations: () -> ::Array[Types::TopicConfiguration]
702
742
  def creator_mode_configuration: () -> Types::AppliedCreatorModeConfiguration
703
743
  def next_token: () -> ::String
704
- def response_scope: () -> ("ENTERPRISE_CONTENT_ONLY" | "EXTENDED_KNOWLEDGE_ENABLED")
705
- def topic_configurations: () -> ::Array[Types::TopicConfiguration]
706
744
  end
707
745
  # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/QBusiness/Client.html#get_chat_controls_configuration-instance_method
708
746
  def get_chat_controls_configuration: (
@@ -715,26 +753,26 @@ module Aws
715
753
  interface _GetDataSourceResponseSuccess
716
754
  include ::Seahorse::Client::_ResponseSuccess[Types::GetDataSourceResponse]
717
755
  def application_id: () -> ::String
756
+ def index_id: () -> ::String
757
+ def data_source_id: () -> ::String
758
+ def data_source_arn: () -> ::String
759
+ def display_name: () -> ::String
760
+ def type: () -> ::String
718
761
  def configuration: () -> untyped
762
+ def vpc_configuration: () -> Types::DataSourceVpcConfiguration
719
763
  def created_at: () -> ::Time
720
- def data_source_arn: () -> ::String
721
- def data_source_id: () -> ::String
764
+ def updated_at: () -> ::Time
722
765
  def description: () -> ::String
723
- def display_name: () -> ::String
724
- def document_enrichment_configuration: () -> Types::DocumentEnrichmentConfiguration
725
- def index_id: () -> ::String
726
- def role_arn: () -> ::String
727
766
  def status: () -> ("PENDING_CREATION" | "CREATING" | "ACTIVE" | "DELETING" | "FAILED" | "UPDATING")
728
767
  def sync_schedule: () -> ::String
729
- def type: () -> ::String
730
- def updated_at: () -> ::Time
731
- def vpc_configuration: () -> Types::DataSourceVpcConfiguration
768
+ def role_arn: () -> ::String
769
+ def document_enrichment_configuration: () -> Types::DocumentEnrichmentConfiguration
732
770
  end
733
771
  # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/QBusiness/Client.html#get_data_source-instance_method
734
772
  def get_data_source: (
735
773
  application_id: ::String,
736
- data_source_id: ::String,
737
- index_id: ::String
774
+ index_id: ::String,
775
+ data_source_id: ::String
738
776
  ) -> _GetDataSourceResponseSuccess
739
777
  | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetDataSourceResponseSuccess
740
778
 
@@ -746,25 +784,26 @@ module Aws
746
784
  # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/QBusiness/Client.html#get_group-instance_method
747
785
  def get_group: (
748
786
  application_id: ::String,
749
- ?data_source_id: ::String,
787
+ index_id: ::String,
750
788
  group_name: ::String,
751
- index_id: ::String
789
+ ?data_source_id: ::String
752
790
  ) -> _GetGroupResponseSuccess
753
791
  | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetGroupResponseSuccess
754
792
 
755
793
  interface _GetIndexResponseSuccess
756
794
  include ::Seahorse::Client::_ResponseSuccess[Types::GetIndexResponse]
757
795
  def application_id: () -> ::String
758
- def capacity_configuration: () -> Types::IndexCapacityConfiguration
759
- def created_at: () -> ::Time
760
- def description: () -> ::String
796
+ def index_id: () -> ::String
761
797
  def display_name: () -> ::String
762
- def document_attribute_configurations: () -> ::Array[Types::DocumentAttributeConfiguration]
798
+ def type: () -> ("ENTERPRISE" | "STARTER")
763
799
  def index_arn: () -> ::String
764
- def index_id: () -> ::String
765
- def index_statistics: () -> Types::IndexStatistics
766
800
  def status: () -> ("CREATING" | "ACTIVE" | "DELETING" | "FAILED" | "UPDATING")
801
+ def description: () -> ::String
802
+ def created_at: () -> ::Time
767
803
  def updated_at: () -> ::Time
804
+ def capacity_configuration: () -> Types::IndexCapacityConfiguration
805
+ def document_attribute_configurations: () -> ::Array[Types::DocumentAttributeConfiguration]
806
+ def index_statistics: () -> Types::IndexStatistics
768
807
  end
769
808
  # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/QBusiness/Client.html#get_index-instance_method
770
809
  def get_index: (
@@ -776,14 +815,16 @@ module Aws
776
815
  interface _GetPluginResponseSuccess
777
816
  include ::Seahorse::Client::_ResponseSuccess[Types::GetPluginResponse]
778
817
  def application_id: () -> ::String
779
- def auth_configuration: () -> Types::PluginAuthConfiguration
780
- def created_at: () -> ::Time
781
- def display_name: () -> ::String
782
- def plugin_arn: () -> ::String
783
818
  def plugin_id: () -> ::String
819
+ def display_name: () -> ::String
820
+ def type: () -> ("SERVICE_NOW" | "SALESFORCE" | "JIRA" | "ZENDESK" | "CUSTOM")
784
821
  def server_url: () -> ::String
822
+ def auth_configuration: () -> Types::PluginAuthConfiguration
823
+ def custom_plugin_configuration: () -> Types::CustomPluginConfiguration
824
+ def build_status: () -> ("READY" | "CREATE_IN_PROGRESS" | "CREATE_FAILED" | "UPDATE_IN_PROGRESS" | "UPDATE_FAILED" | "DELETE_IN_PROGRESS" | "DELETE_FAILED")
825
+ def plugin_arn: () -> ::String
785
826
  def state: () -> ("ENABLED" | "DISABLED")
786
- def type: () -> ("SERVICE_NOW" | "SALESFORCE" | "JIRA" | "ZENDESK")
827
+ def created_at: () -> ::Time
787
828
  def updated_at: () -> ::Time
788
829
  end
789
830
  # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/QBusiness/Client.html#get_plugin-instance_method
@@ -796,14 +837,14 @@ module Aws
796
837
  interface _GetRetrieverResponseSuccess
797
838
  include ::Seahorse::Client::_ResponseSuccess[Types::GetRetrieverResponse]
798
839
  def application_id: () -> ::String
799
- def configuration: () -> Types::RetrieverConfiguration
800
- def created_at: () -> ::Time
801
- def display_name: () -> ::String
802
- def retriever_arn: () -> ::String
803
840
  def retriever_id: () -> ::String
804
- def role_arn: () -> ::String
805
- def status: () -> ("CREATING" | "ACTIVE" | "FAILED")
841
+ def retriever_arn: () -> ::String
806
842
  def type: () -> ("NATIVE_INDEX" | "KENDRA_INDEX")
843
+ def status: () -> ("CREATING" | "ACTIVE" | "FAILED")
844
+ def display_name: () -> ::String
845
+ def configuration: () -> Types::RetrieverConfiguration
846
+ def role_arn: () -> ::String
847
+ def created_at: () -> ::Time
807
848
  def updated_at: () -> ::Time
808
849
  end
809
850
  # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/QBusiness/Client.html#get_retriever-instance_method
@@ -827,18 +868,18 @@ module Aws
827
868
  interface _GetWebExperienceResponseSuccess
828
869
  include ::Seahorse::Client::_ResponseSuccess[Types::GetWebExperienceResponse]
829
870
  def application_id: () -> ::String
830
- def authentication_configuration: () -> Types::WebExperienceAuthConfiguration
831
- def created_at: () -> ::Time
871
+ def web_experience_id: () -> ::String
872
+ def web_experience_arn: () -> ::String
832
873
  def default_endpoint: () -> ::String
833
- def role_arn: () -> ::String
834
- def sample_prompts_control_mode: () -> ("ENABLED" | "DISABLED")
835
874
  def status: () -> ("CREATING" | "ACTIVE" | "DELETING" | "FAILED" | "PENDING_AUTH_CONFIG")
836
- def subtitle: () -> ::String
837
- def title: () -> ::String
875
+ def created_at: () -> ::Time
838
876
  def updated_at: () -> ::Time
839
- def web_experience_arn: () -> ::String
840
- def web_experience_id: () -> ::String
877
+ def title: () -> ::String
878
+ def subtitle: () -> ::String
841
879
  def welcome_message: () -> ::String
880
+ def sample_prompts_control_mode: () -> ("ENABLED" | "DISABLED")
881
+ def role_arn: () -> ::String
882
+ def authentication_configuration: () -> Types::WebExperienceAuthConfiguration
842
883
  end
843
884
  # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/QBusiness/Client.html#get_web_experience-instance_method
844
885
  def get_web_experience: (
@@ -849,27 +890,27 @@ module Aws
849
890
 
850
891
  interface _ListApplicationsResponseSuccess
851
892
  include ::Seahorse::Client::_ResponseSuccess[Types::ListApplicationsResponse]
852
- def applications: () -> ::Array[Types::Application]
853
893
  def next_token: () -> ::String
894
+ def applications: () -> ::Array[Types::Application]
854
895
  end
855
896
  # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/QBusiness/Client.html#list_applications-instance_method
856
897
  def list_applications: (
857
- ?max_results: ::Integer,
858
- ?next_token: ::String
898
+ ?next_token: ::String,
899
+ ?max_results: ::Integer
859
900
  ) -> _ListApplicationsResponseSuccess
860
901
  | (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListApplicationsResponseSuccess
861
902
 
862
903
  interface _ListConversationsResponseSuccess
863
904
  include ::Seahorse::Client::_ResponseSuccess[Types::ListConversationsResponse]
864
- def conversations: () -> ::Array[Types::Conversation]
865
905
  def next_token: () -> ::String
906
+ def conversations: () -> ::Array[Types::Conversation]
866
907
  end
867
908
  # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/QBusiness/Client.html#list_conversations-instance_method
868
909
  def list_conversations: (
869
910
  application_id: ::String,
870
- ?max_results: ::Integer,
911
+ ?user_id: ::String,
871
912
  ?next_token: ::String,
872
- ?user_id: ::String
913
+ ?max_results: ::Integer
873
914
  ) -> _ListConversationsResponseSuccess
874
915
  | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListConversationsResponseSuccess
875
916
 
@@ -880,13 +921,13 @@ module Aws
880
921
  end
881
922
  # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/QBusiness/Client.html#list_data_source_sync_jobs-instance_method
882
923
  def list_data_source_sync_jobs: (
883
- application_id: ::String,
884
924
  data_source_id: ::String,
885
- ?end_time: ::Time,
925
+ application_id: ::String,
886
926
  index_id: ::String,
887
- ?max_results: ::Integer,
888
927
  ?next_token: ::String,
928
+ ?max_results: ::Integer,
889
929
  ?start_time: ::Time,
930
+ ?end_time: ::Time,
890
931
  ?status_filter: ("FAILED" | "SUCCEEDED" | "SYNCING" | "INCOMPLETE" | "STOPPING" | "ABORTED" | "SYNCING_INDEXING")
891
932
  ) -> _ListDataSourceSyncJobsResponseSuccess
892
933
  | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListDataSourceSyncJobsResponseSuccess
@@ -900,8 +941,8 @@ module Aws
900
941
  def list_data_sources: (
901
942
  application_id: ::String,
902
943
  index_id: ::String,
903
- ?max_results: ::Integer,
904
- ?next_token: ::String
944
+ ?next_token: ::String,
945
+ ?max_results: ::Integer
905
946
  ) -> _ListDataSourcesResponseSuccess
906
947
  | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListDataSourcesResponseSuccess
907
948
 
@@ -913,39 +954,39 @@ module Aws
913
954
  # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/QBusiness/Client.html#list_documents-instance_method
914
955
  def list_documents: (
915
956
  application_id: ::String,
916
- ?data_source_ids: Array[::String],
917
957
  index_id: ::String,
918
- ?max_results: ::Integer,
919
- ?next_token: ::String
958
+ ?data_source_ids: Array[::String],
959
+ ?next_token: ::String,
960
+ ?max_results: ::Integer
920
961
  ) -> _ListDocumentsResponseSuccess
921
962
  | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListDocumentsResponseSuccess
922
963
 
923
964
  interface _ListGroupsResponseSuccess
924
965
  include ::Seahorse::Client::_ResponseSuccess[Types::ListGroupsResponse]
925
- def items: () -> ::Array[Types::GroupSummary]
926
966
  def next_token: () -> ::String
967
+ def items: () -> ::Array[Types::GroupSummary]
927
968
  end
928
969
  # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/QBusiness/Client.html#list_groups-instance_method
929
970
  def list_groups: (
930
971
  application_id: ::String,
931
- ?data_source_id: ::String,
932
972
  index_id: ::String,
933
- ?max_results: ::Integer,
973
+ updated_earlier_than: ::Time,
974
+ ?data_source_id: ::String,
934
975
  ?next_token: ::String,
935
- updated_earlier_than: ::Time
976
+ ?max_results: ::Integer
936
977
  ) -> _ListGroupsResponseSuccess
937
978
  | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListGroupsResponseSuccess
938
979
 
939
980
  interface _ListIndicesResponseSuccess
940
981
  include ::Seahorse::Client::_ResponseSuccess[Types::ListIndicesResponse]
941
- def indices: () -> ::Array[Types::Index]
942
982
  def next_token: () -> ::String
983
+ def indices: () -> ::Array[Types::Index]
943
984
  end
944
985
  # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/QBusiness/Client.html#list_indices-instance_method
945
986
  def list_indices: (
946
987
  application_id: ::String,
947
- ?max_results: ::Integer,
948
- ?next_token: ::String
988
+ ?next_token: ::String,
989
+ ?max_results: ::Integer
949
990
  ) -> _ListIndicesResponseSuccess
950
991
  | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListIndicesResponseSuccess
951
992
 
@@ -956,11 +997,11 @@ module Aws
956
997
  end
957
998
  # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/QBusiness/Client.html#list_messages-instance_method
958
999
  def list_messages: (
959
- application_id: ::String,
960
1000
  conversation_id: ::String,
961
- ?max_results: ::Integer,
1001
+ application_id: ::String,
1002
+ ?user_id: ::String,
962
1003
  ?next_token: ::String,
963
- ?user_id: ::String
1004
+ ?max_results: ::Integer
964
1005
  ) -> _ListMessagesResponseSuccess
965
1006
  | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListMessagesResponseSuccess
966
1007
 
@@ -972,21 +1013,21 @@ module Aws
972
1013
  # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/QBusiness/Client.html#list_plugins-instance_method
973
1014
  def list_plugins: (
974
1015
  application_id: ::String,
975
- ?max_results: ::Integer,
976
- ?next_token: ::String
1016
+ ?next_token: ::String,
1017
+ ?max_results: ::Integer
977
1018
  ) -> _ListPluginsResponseSuccess
978
1019
  | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListPluginsResponseSuccess
979
1020
 
980
1021
  interface _ListRetrieversResponseSuccess
981
1022
  include ::Seahorse::Client::_ResponseSuccess[Types::ListRetrieversResponse]
982
- def next_token: () -> ::String
983
1023
  def retrievers: () -> ::Array[Types::Retriever]
1024
+ def next_token: () -> ::String
984
1025
  end
985
1026
  # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/QBusiness/Client.html#list_retrievers-instance_method
986
1027
  def list_retrievers: (
987
1028
  application_id: ::String,
988
- ?max_results: ::Integer,
989
- ?next_token: ::String
1029
+ ?next_token: ::String,
1030
+ ?max_results: ::Integer
990
1031
  ) -> _ListRetrieversResponseSuccess
991
1032
  | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListRetrieversResponseSuccess
992
1033
 
@@ -1002,30 +1043,30 @@ module Aws
1002
1043
 
1003
1044
  interface _ListWebExperiencesResponseSuccess
1004
1045
  include ::Seahorse::Client::_ResponseSuccess[Types::ListWebExperiencesResponse]
1005
- def next_token: () -> ::String
1006
1046
  def web_experiences: () -> ::Array[Types::WebExperience]
1047
+ def next_token: () -> ::String
1007
1048
  end
1008
1049
  # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/QBusiness/Client.html#list_web_experiences-instance_method
1009
1050
  def list_web_experiences: (
1010
1051
  application_id: ::String,
1011
- ?max_results: ::Integer,
1012
- ?next_token: ::String
1052
+ ?next_token: ::String,
1053
+ ?max_results: ::Integer
1013
1054
  ) -> _ListWebExperiencesResponseSuccess
1014
1055
  | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListWebExperiencesResponseSuccess
1015
1056
 
1016
1057
  # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/QBusiness/Client.html#put_feedback-instance_method
1017
1058
  def put_feedback: (
1018
1059
  application_id: ::String,
1060
+ ?user_id: ::String,
1019
1061
  conversation_id: ::String,
1020
- ?message_copied_at: ::Time,
1021
1062
  message_id: ::String,
1063
+ ?message_copied_at: ::Time,
1022
1064
  ?message_usefulness: {
1023
- comment: ::String?,
1065
+ usefulness: ("USEFUL" | "NOT_USEFUL"),
1024
1066
  reason: ("NOT_FACTUALLY_CORRECT" | "HARMFUL_OR_UNSAFE" | "INCORRECT_OR_MISSING_SOURCES" | "NOT_HELPFUL" | "FACTUALLY_CORRECT" | "COMPLETE" | "RELEVANT_SOURCES" | "HELPFUL" | "NOT_BASED_ON_DOCUMENTS" | "NOT_COMPLETE" | "NOT_CONCISE" | "OTHER")?,
1025
- submitted_at: ::Time,
1026
- usefulness: ("USEFUL" | "NOT_USEFUL")
1027
- },
1028
- ?user_id: ::String
1067
+ comment: ::String?,
1068
+ submitted_at: ::Time
1069
+ }
1029
1070
  ) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
1030
1071
  | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
1031
1072
 
@@ -1035,7 +1076,10 @@ module Aws
1035
1076
  # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/QBusiness/Client.html#put_group-instance_method
1036
1077
  def put_group: (
1037
1078
  application_id: ::String,
1079
+ index_id: ::String,
1080
+ group_name: ::String,
1038
1081
  ?data_source_id: ::String,
1082
+ type: ("INDEX" | "DATASOURCE"),
1039
1083
  group_members: {
1040
1084
  member_groups: Array[
1041
1085
  {
@@ -1045,14 +1089,11 @@ module Aws
1045
1089
  ]?,
1046
1090
  member_users: Array[
1047
1091
  {
1048
- type: ("INDEX" | "DATASOURCE")?,
1049
- user_id: ::String
1092
+ user_id: ::String,
1093
+ type: ("INDEX" | "DATASOURCE")?
1050
1094
  },
1051
1095
  ]?
1052
- },
1053
- group_name: ::String,
1054
- index_id: ::String,
1055
- type: ("INDEX" | "DATASOURCE")
1096
+ }
1056
1097
  ) -> _PutGroupResponseSuccess
1057
1098
  | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _PutGroupResponseSuccess
1058
1099
 
@@ -1062,8 +1103,8 @@ module Aws
1062
1103
  end
1063
1104
  # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/QBusiness/Client.html#start_data_source_sync_job-instance_method
1064
1105
  def start_data_source_sync_job: (
1065
- application_id: ::String,
1066
1106
  data_source_id: ::String,
1107
+ application_id: ::String,
1067
1108
  index_id: ::String
1068
1109
  ) -> _StartDataSourceSyncJobResponseSuccess
1069
1110
  | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _StartDataSourceSyncJobResponseSuccess
@@ -1073,8 +1114,8 @@ module Aws
1073
1114
  end
1074
1115
  # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/QBusiness/Client.html#stop_data_source_sync_job-instance_method
1075
1116
  def stop_data_source_sync_job: (
1076
- application_id: ::String,
1077
1117
  data_source_id: ::String,
1118
+ application_id: ::String,
1078
1119
  index_id: ::String
1079
1120
  ) -> _StopDataSourceSyncJobResponseSuccess
1080
1121
  | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _StopDataSourceSyncJobResponseSuccess
@@ -1110,12 +1151,13 @@ module Aws
1110
1151
  # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/QBusiness/Client.html#update_application-instance_method
1111
1152
  def update_application: (
1112
1153
  application_id: ::String,
1154
+ ?identity_center_instance_arn: ::String,
1155
+ ?display_name: ::String,
1156
+ ?description: ::String,
1157
+ ?role_arn: ::String,
1113
1158
  ?attachments_configuration: {
1114
1159
  attachments_control_mode: ("ENABLED" | "DISABLED")
1115
- },
1116
- ?description: ::String,
1117
- ?display_name: ::String,
1118
- ?role_arn: ::String
1160
+ }
1119
1161
  ) -> _UpdateApplicationResponseSuccess
1120
1162
  | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _UpdateApplicationResponseSuccess
1121
1163
 
@@ -1125,31 +1167,29 @@ module Aws
1125
1167
  # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/QBusiness/Client.html#update_chat_controls_configuration-instance_method
1126
1168
  def update_chat_controls_configuration: (
1127
1169
  application_id: ::String,
1170
+ ?client_token: ::String,
1171
+ ?response_scope: ("ENTERPRISE_CONTENT_ONLY" | "EXTENDED_KNOWLEDGE_ENABLED"),
1128
1172
  ?blocked_phrases_configuration_update: {
1129
1173
  blocked_phrases_to_create_or_update: Array[::String]?,
1130
1174
  blocked_phrases_to_delete: Array[::String]?,
1131
1175
  system_message_override: ::String?
1132
1176
  },
1133
- ?client_token: ::String,
1134
- ?creator_mode_configuration: {
1135
- creator_mode_control: ("ENABLED" | "DISABLED")
1136
- },
1137
- ?response_scope: ("ENTERPRISE_CONTENT_ONLY" | "EXTENDED_KNOWLEDGE_ENABLED"),
1138
1177
  ?topic_configurations_to_create_or_update: Array[
1139
1178
  {
1179
+ name: ::String,
1140
1180
  description: ::String?,
1141
1181
  example_chat_messages: Array[::String]?,
1142
- name: ::String,
1143
1182
  rules: Array[
1144
1183
  {
1145
- excluded_users_and_groups: {
1146
- user_groups: Array[::String]?,
1147
- user_ids: Array[::String]?
1148
- }?,
1149
1184
  included_users_and_groups: {
1150
- user_groups: Array[::String]?,
1151
- user_ids: Array[::String]?
1185
+ user_ids: Array[::String]?,
1186
+ user_groups: Array[::String]?
1152
1187
  }?,
1188
+ excluded_users_and_groups: {
1189
+ user_ids: Array[::String]?,
1190
+ user_groups: Array[::String]?
1191
+ }?,
1192
+ rule_type: ("CONTENT_BLOCKER_RULE" | "CONTENT_RETRIEVAL_RULE"),
1153
1193
  rule_configuration: {
1154
1194
  content_blocker_rule: {
1155
1195
  system_message_override: ::String?
@@ -1157,32 +1197,32 @@ module Aws
1157
1197
  content_retrieval_rule: {
1158
1198
  eligible_data_sources: Array[
1159
1199
  {
1160
- data_source_id: ::String?,
1161
- index_id: ::String?
1200
+ index_id: ::String?,
1201
+ data_source_id: ::String?
1162
1202
  },
1163
1203
  ]?
1164
1204
  }?
1165
- }?,
1166
- rule_type: ("CONTENT_BLOCKER_RULE" | "CONTENT_RETRIEVAL_RULE")
1205
+ }?
1167
1206
  },
1168
1207
  ]
1169
1208
  },
1170
1209
  ],
1171
1210
  ?topic_configurations_to_delete: Array[
1172
1211
  {
1212
+ name: ::String,
1173
1213
  description: ::String?,
1174
1214
  example_chat_messages: Array[::String]?,
1175
- name: ::String,
1176
1215
  rules: Array[
1177
1216
  {
1178
- excluded_users_and_groups: {
1179
- user_groups: Array[::String]?,
1180
- user_ids: Array[::String]?
1181
- }?,
1182
1217
  included_users_and_groups: {
1183
- user_groups: Array[::String]?,
1184
- user_ids: Array[::String]?
1218
+ user_ids: Array[::String]?,
1219
+ user_groups: Array[::String]?
1185
1220
  }?,
1221
+ excluded_users_and_groups: {
1222
+ user_ids: Array[::String]?,
1223
+ user_groups: Array[::String]?
1224
+ }?,
1225
+ rule_type: ("CONTENT_BLOCKER_RULE" | "CONTENT_RETRIEVAL_RULE"),
1186
1226
  rule_configuration: {
1187
1227
  content_blocker_rule: {
1188
1228
  system_message_override: ::String?
@@ -1190,17 +1230,19 @@ module Aws
1190
1230
  content_retrieval_rule: {
1191
1231
  eligible_data_sources: Array[
1192
1232
  {
1193
- data_source_id: ::String?,
1194
- index_id: ::String?
1233
+ index_id: ::String?,
1234
+ data_source_id: ::String?
1195
1235
  },
1196
1236
  ]?
1197
1237
  }?
1198
- }?,
1199
- rule_type: ("CONTENT_BLOCKER_RULE" | "CONTENT_RETRIEVAL_RULE")
1238
+ }?
1200
1239
  },
1201
1240
  ]
1202
1241
  },
1203
- ]
1242
+ ],
1243
+ ?creator_mode_configuration: {
1244
+ creator_mode_control: ("ENABLED" | "DISABLED")
1245
+ }
1204
1246
  ) -> _UpdateChatControlsConfigurationResponseSuccess
1205
1247
  | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _UpdateChatControlsConfigurationResponseSuccess
1206
1248
 
@@ -1210,11 +1252,18 @@ module Aws
1210
1252
  # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/QBusiness/Client.html#update_data_source-instance_method
1211
1253
  def update_data_source: (
1212
1254
  application_id: ::String,
1255
+ index_id: ::String,
1256
+ data_source_id: ::String,
1257
+ ?display_name: ::String,
1213
1258
  ?configuration: {
1214
1259
  },
1215
- data_source_id: ::String,
1260
+ ?vpc_configuration: {
1261
+ subnet_ids: Array[::String],
1262
+ security_group_ids: Array[::String]
1263
+ },
1216
1264
  ?description: ::String,
1217
- ?display_name: ::String,
1265
+ ?sync_schedule: ::String,
1266
+ ?role_arn: ::String,
1218
1267
  ?document_enrichment_configuration: {
1219
1268
  inline_configurations: Array[
1220
1269
  {
@@ -1222,62 +1271,55 @@ module Aws
1222
1271
  key: ::String,
1223
1272
  operator: ("GREATER_THAN" | "GREATER_THAN_OR_EQUALS" | "LESS_THAN" | "LESS_THAN_OR_EQUALS" | "EQUALS" | "NOT_EQUALS" | "CONTAINS" | "NOT_CONTAINS" | "EXISTS" | "NOT_EXISTS" | "BEGINS_WITH"),
1224
1273
  value: {
1225
- date_value: ::Time?,
1226
- long_value: ::Integer?,
1274
+ string_value: ::String?,
1227
1275
  string_list_value: Array[::String]?,
1228
- string_value: ::String?
1276
+ long_value: ::Integer?,
1277
+ date_value: ::Time?
1229
1278
  }?
1230
1279
  }?,
1231
- document_content_operator: ("DELETE")?,
1232
1280
  target: {
1233
- attribute_value_operator: ("DELETE")?,
1234
1281
  key: ::String,
1235
1282
  value: {
1236
- date_value: ::Time?,
1237
- long_value: ::Integer?,
1283
+ string_value: ::String?,
1238
1284
  string_list_value: Array[::String]?,
1239
- string_value: ::String?
1240
- }?
1241
- }?
1285
+ long_value: ::Integer?,
1286
+ date_value: ::Time?
1287
+ }?,
1288
+ attribute_value_operator: ("DELETE")?
1289
+ }?,
1290
+ document_content_operator: ("DELETE")?
1242
1291
  },
1243
1292
  ]?,
1244
- post_extraction_hook_configuration: {
1293
+ pre_extraction_hook_configuration: {
1245
1294
  invocation_condition: {
1246
1295
  key: ::String,
1247
1296
  operator: ("GREATER_THAN" | "GREATER_THAN_OR_EQUALS" | "LESS_THAN" | "LESS_THAN_OR_EQUALS" | "EQUALS" | "NOT_EQUALS" | "CONTAINS" | "NOT_CONTAINS" | "EXISTS" | "NOT_EXISTS" | "BEGINS_WITH"),
1248
1297
  value: {
1249
- date_value: ::Time?,
1250
- long_value: ::Integer?,
1298
+ string_value: ::String?,
1251
1299
  string_list_value: Array[::String]?,
1252
- string_value: ::String?
1300
+ long_value: ::Integer?,
1301
+ date_value: ::Time?
1253
1302
  }?
1254
1303
  }?,
1255
1304
  lambda_arn: ::String?,
1256
- role_arn: ::String?,
1257
- s3_bucket_name: ::String?
1305
+ s3_bucket_name: ::String?,
1306
+ role_arn: ::String?
1258
1307
  }?,
1259
- pre_extraction_hook_configuration: {
1308
+ post_extraction_hook_configuration: {
1260
1309
  invocation_condition: {
1261
1310
  key: ::String,
1262
1311
  operator: ("GREATER_THAN" | "GREATER_THAN_OR_EQUALS" | "LESS_THAN" | "LESS_THAN_OR_EQUALS" | "EQUALS" | "NOT_EQUALS" | "CONTAINS" | "NOT_CONTAINS" | "EXISTS" | "NOT_EXISTS" | "BEGINS_WITH"),
1263
1312
  value: {
1264
- date_value: ::Time?,
1265
- long_value: ::Integer?,
1313
+ string_value: ::String?,
1266
1314
  string_list_value: Array[::String]?,
1267
- string_value: ::String?
1315
+ long_value: ::Integer?,
1316
+ date_value: ::Time?
1268
1317
  }?
1269
1318
  }?,
1270
1319
  lambda_arn: ::String?,
1271
- role_arn: ::String?,
1272
- s3_bucket_name: ::String?
1320
+ s3_bucket_name: ::String?,
1321
+ role_arn: ::String?
1273
1322
  }?
1274
- },
1275
- index_id: ::String,
1276
- ?role_arn: ::String,
1277
- ?sync_schedule: ::String,
1278
- ?vpc_configuration: {
1279
- security_group_ids: Array[::String],
1280
- subnet_ids: Array[::String]
1281
1323
  }
1282
1324
  ) -> _UpdateDataSourceResponseSuccess
1283
1325
  | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _UpdateDataSourceResponseSuccess
@@ -1288,19 +1330,19 @@ module Aws
1288
1330
  # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/QBusiness/Client.html#update_index-instance_method
1289
1331
  def update_index: (
1290
1332
  application_id: ::String,
1333
+ index_id: ::String,
1334
+ ?display_name: ::String,
1335
+ ?description: ::String,
1291
1336
  ?capacity_configuration: {
1292
1337
  units: ::Integer?
1293
1338
  },
1294
- ?description: ::String,
1295
- ?display_name: ::String,
1296
1339
  ?document_attribute_configurations: Array[
1297
1340
  {
1298
1341
  name: ::String?,
1299
- search: ("ENABLED" | "DISABLED")?,
1300
- type: ("STRING" | "STRING_LIST" | "NUMBER" | "DATE")?
1342
+ type: ("STRING" | "STRING_LIST" | "NUMBER" | "DATE")?,
1343
+ search: ("ENABLED" | "DISABLED")?
1301
1344
  },
1302
- ],
1303
- index_id: ::String
1345
+ ]
1304
1346
  ) -> _UpdateIndexResponseSuccess
1305
1347
  | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _UpdateIndexResponseSuccess
1306
1348
 
@@ -1310,20 +1352,33 @@ module Aws
1310
1352
  # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/QBusiness/Client.html#update_plugin-instance_method
1311
1353
  def update_plugin: (
1312
1354
  application_id: ::String,
1355
+ plugin_id: ::String,
1356
+ ?display_name: ::String,
1357
+ ?state: ("ENABLED" | "DISABLED"),
1358
+ ?server_url: ::String,
1359
+ ?custom_plugin_configuration: {
1360
+ description: ::String,
1361
+ api_schema_type: ("OPEN_API_V3"),
1362
+ api_schema: {
1363
+ payload: ::String?,
1364
+ s3: {
1365
+ bucket: ::String,
1366
+ key: ::String
1367
+ }?
1368
+ }
1369
+ },
1313
1370
  ?auth_configuration: {
1314
1371
  basic_auth_configuration: {
1315
- role_arn: ::String,
1316
- secret_arn: ::String
1372
+ secret_arn: ::String,
1373
+ role_arn: ::String
1317
1374
  }?,
1318
1375
  o_auth_2_client_credential_configuration: {
1319
- role_arn: ::String,
1320
- secret_arn: ::String
1376
+ secret_arn: ::String,
1377
+ role_arn: ::String
1378
+ }?,
1379
+ no_auth_configuration: {
1321
1380
  }?
1322
- },
1323
- ?display_name: ::String,
1324
- plugin_id: ::String,
1325
- ?server_url: ::String,
1326
- ?state: ("ENABLED" | "DISABLED")
1381
+ }
1327
1382
  ) -> _UpdatePluginResponseSuccess
1328
1383
  | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _UpdatePluginResponseSuccess
1329
1384
 
@@ -1333,33 +1388,33 @@ module Aws
1333
1388
  # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/QBusiness/Client.html#update_retriever-instance_method
1334
1389
  def update_retriever: (
1335
1390
  application_id: ::String,
1391
+ retriever_id: ::String,
1336
1392
  ?configuration: {
1337
- kendra_index_configuration: {
1338
- index_id: ::String
1339
- }?,
1340
1393
  native_index_configuration: {
1394
+ index_id: ::String,
1341
1395
  boosting_override: Hash[::String, {
1342
- date_configuration: {
1343
- boosting_duration_in_seconds: ::Integer?,
1344
- boosting_level: ("NONE" | "LOW" | "MEDIUM" | "HIGH" | "VERY_HIGH")
1345
- }?,
1346
1396
  number_configuration: {
1347
1397
  boosting_level: ("NONE" | "LOW" | "MEDIUM" | "HIGH" | "VERY_HIGH"),
1348
1398
  boosting_type: ("PRIORITIZE_LARGER_VALUES" | "PRIORITIZE_SMALLER_VALUES")?
1349
1399
  }?,
1350
1400
  string_configuration: {
1351
- attribute_value_boosting: Hash[::String, ("LOW" | "MEDIUM" | "HIGH" | "VERY_HIGH")]?,
1352
- boosting_level: ("NONE" | "LOW" | "MEDIUM" | "HIGH" | "VERY_HIGH")
1401
+ boosting_level: ("NONE" | "LOW" | "MEDIUM" | "HIGH" | "VERY_HIGH"),
1402
+ attribute_value_boosting: Hash[::String, ("LOW" | "MEDIUM" | "HIGH" | "VERY_HIGH")]?
1403
+ }?,
1404
+ date_configuration: {
1405
+ boosting_level: ("NONE" | "LOW" | "MEDIUM" | "HIGH" | "VERY_HIGH"),
1406
+ boosting_duration_in_seconds: ::Integer?
1353
1407
  }?,
1354
1408
  string_list_configuration: {
1355
1409
  boosting_level: ("NONE" | "LOW" | "MEDIUM" | "HIGH" | "VERY_HIGH")
1356
1410
  }?
1357
- }]?,
1411
+ }]?
1412
+ }?,
1413
+ kendra_index_configuration: {
1358
1414
  index_id: ::String
1359
1415
  }?
1360
1416
  },
1361
1417
  ?display_name: ::String,
1362
- retriever_id: ::String,
1363
1418
  ?role_arn: ::String
1364
1419
  ) -> _UpdateRetrieverResponseSuccess
1365
1420
  | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _UpdateRetrieverResponseSuccess
@@ -1367,27 +1422,27 @@ module Aws
1367
1422
  interface _UpdateUserResponseSuccess
1368
1423
  include ::Seahorse::Client::_ResponseSuccess[Types::UpdateUserResponse]
1369
1424
  def user_aliases_added: () -> ::Array[Types::UserAlias]
1370
- def user_aliases_deleted: () -> ::Array[Types::UserAlias]
1371
1425
  def user_aliases_updated: () -> ::Array[Types::UserAlias]
1426
+ def user_aliases_deleted: () -> ::Array[Types::UserAlias]
1372
1427
  end
1373
1428
  # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/QBusiness/Client.html#update_user-instance_method
1374
1429
  def update_user: (
1375
1430
  application_id: ::String,
1376
- ?user_aliases_to_delete: Array[
1431
+ user_id: ::String,
1432
+ ?user_aliases_to_update: Array[
1377
1433
  {
1378
- data_source_id: ::String?,
1379
1434
  index_id: ::String?,
1435
+ data_source_id: ::String?,
1380
1436
  user_id: ::String
1381
1437
  },
1382
1438
  ],
1383
- ?user_aliases_to_update: Array[
1439
+ ?user_aliases_to_delete: Array[
1384
1440
  {
1385
- data_source_id: ::String?,
1386
1441
  index_id: ::String?,
1442
+ data_source_id: ::String?,
1387
1443
  user_id: ::String
1388
1444
  },
1389
- ],
1390
- user_id: ::String
1445
+ ]
1391
1446
  ) -> _UpdateUserResponseSuccess
1392
1447
  | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _UpdateUserResponseSuccess
1393
1448
 
@@ -1397,19 +1452,20 @@ module Aws
1397
1452
  # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/QBusiness/Client.html#update_web_experience-instance_method
1398
1453
  def update_web_experience: (
1399
1454
  application_id: ::String,
1455
+ web_experience_id: ::String,
1456
+ ?role_arn: ::String,
1400
1457
  ?authentication_configuration: {
1401
1458
  saml_configuration: {
1402
1459
  metadata_xml: ::String,
1403
1460
  role_arn: ::String,
1404
- user_group_attribute: ::String?,
1405
- user_id_attribute: ::String
1461
+ user_id_attribute: ::String,
1462
+ user_group_attribute: ::String?
1406
1463
  }?
1407
1464
  },
1408
- ?sample_prompts_control_mode: ("ENABLED" | "DISABLED"),
1409
- ?subtitle: ::String,
1410
1465
  ?title: ::String,
1411
- web_experience_id: ::String,
1412
- ?welcome_message: ::String
1466
+ ?subtitle: ::String,
1467
+ ?welcome_message: ::String,
1468
+ ?sample_prompts_control_mode: ("ENABLED" | "DISABLED")
1413
1469
  ) -> _UpdateWebExperienceResponseSuccess
1414
1470
  | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _UpdateWebExperienceResponseSuccess
1415
1471
  end