aws-sdk-qbusiness 1.19.0 → 1.21.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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 4d449e856674c09cd6c3d73d8b4c0c5e6386a31b4449db2df7c7daaf4e2318fc
4
- data.tar.gz: 2c7cb63444349ddd0e124a3da7c6c786531d5a4625eec4c1a7f75fc9599f36ea
3
+ metadata.gz: b7fb7f52fc4495e85e58acc852423b98a75627f3b1c8b47e8985e9a12246a0a1
4
+ data.tar.gz: 0cf839c74d029111a6ff02e354e94de2c82071ee2048c29bd2dbb473440d1289
5
5
  SHA512:
6
- metadata.gz: 86dbf25992382f02f73bfd046bfb1b3353b705c07f1bce95f63dfb90c5fa23b36d9dec2f5675783f977886fc21b2b649c5df39e76571c838c02459869b716f07
7
- data.tar.gz: df8f23078529382f17a649ad4ca7a178bb9552e5127cf7ff02f290be1aad5e9f9bb8b82f266fed38e09ac84856a4b4aaee05f38a0e8428721925d82ad4504328
6
+ metadata.gz: 514f08c3ea55aa2484bde1066fb95543f9713fd5c01adb32028d4d6d51514a6d56d8799a3d955939c78371db67c08d2beb2b646747fec5dd6f0998dd7eed2251
7
+ data.tar.gz: 37056bcb559563722623858225ca53ea504ee5c53cfc200f82310c403ebc338ff96094b9ab1311899038fadb071548286778bf8311c0ba1a88303fcc3d42d998
data/CHANGELOG.md CHANGED
@@ -1,6 +1,16 @@
1
1
  Unreleased Changes
2
2
  ------------------
3
3
 
4
+ 1.21.0 (2024-10-24)
5
+ ------------------
6
+
7
+ * Feature - Add a new field in chat response. This field can be used to support nested schemas in array fields
8
+
9
+ 1.20.0 (2024-10-18)
10
+ ------------------
11
+
12
+ * Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
13
+
4
14
  1.19.0 (2024-10-15)
5
15
  ------------------
6
16
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.19.0
1
+ 1.21.0
@@ -603,7 +603,7 @@ module Aws::QBusiness
603
603
  tracer: tracer
604
604
  )
605
605
  context[:gem_name] = 'aws-sdk-qbusiness'
606
- context[:gem_version] = '1.19.0'
606
+ context[:gem_version] = '1.21.0'
607
607
  Seahorse::Client::Request.new(handlers, context)
608
608
  end
609
609
 
@@ -4186,7 +4186,7 @@ module Aws::QBusiness
4186
4186
  tracer: tracer
4187
4187
  )
4188
4188
  context[:gem_name] = 'aws-sdk-qbusiness'
4189
- context[:gem_version] = '1.19.0'
4189
+ context[:gem_version] = '1.21.0'
4190
4190
  Seahorse::Client::Request.new(handlers, context)
4191
4191
  end
4192
4192
 
@@ -34,6 +34,7 @@ module Aws::QBusiness
34
34
  ActionReviewPayloadField = Shapes::StructureShape.new(name: 'ActionReviewPayloadField')
35
35
  ActionReviewPayloadFieldAllowedValue = Shapes::StructureShape.new(name: 'ActionReviewPayloadFieldAllowedValue')
36
36
  ActionReviewPayloadFieldAllowedValues = Shapes::ListShape.new(name: 'ActionReviewPayloadFieldAllowedValues')
37
+ ActionReviewPayloadFieldArrayItemJsonSchema = Shapes::DocumentShape.new(name: 'ActionReviewPayloadFieldArrayItemJsonSchema', document: true)
37
38
  AmazonResourceName = Shapes::StringShape.new(name: 'AmazonResourceName')
38
39
  Application = Shapes::StructureShape.new(name: 'Application')
39
40
  ApplicationArn = Shapes::StringShape.new(name: 'ApplicationArn')
@@ -498,6 +499,7 @@ module Aws::QBusiness
498
499
  ActionReviewPayloadField.add_member(:value, Shapes::ShapeRef.new(shape: ActionPayloadFieldValue, location_name: "value"))
499
500
  ActionReviewPayloadField.add_member(:allowed_values, Shapes::ShapeRef.new(shape: ActionReviewPayloadFieldAllowedValues, location_name: "allowedValues"))
500
501
  ActionReviewPayloadField.add_member(:allowed_format, Shapes::ShapeRef.new(shape: String, location_name: "allowedFormat"))
502
+ ActionReviewPayloadField.add_member(:array_item_json_schema, Shapes::ShapeRef.new(shape: ActionReviewPayloadFieldArrayItemJsonSchema, location_name: "arrayItemJsonSchema"))
501
503
  ActionReviewPayloadField.add_member(:required, Shapes::ShapeRef.new(shape: Boolean, location_name: "required"))
502
504
  ActionReviewPayloadField.struct_class = Types::ActionReviewPayloadField
503
505
 
@@ -45,10 +45,15 @@ module Aws::QBusiness
45
45
  self[:region] = options[:region]
46
46
  self[:use_fips] = options[:use_fips]
47
47
  self[:use_fips] = false if self[:use_fips].nil?
48
- if self[:use_fips].nil?
49
- raise ArgumentError, "Missing required EndpointParameter: :use_fips"
50
- end
51
48
  self[:endpoint] = options[:endpoint]
52
49
  end
50
+
51
+ def self.create(config, options={})
52
+ new({
53
+ region: config.region,
54
+ use_fips: config.use_fips_endpoint,
55
+ endpoint: (config.endpoint.to_s unless config.regional_endpoint),
56
+ }.merge(options))
57
+ end
53
58
  end
54
59
  end
@@ -12,565 +12,9 @@ module Aws::QBusiness
12
12
  # @api private
13
13
  module Endpoints
14
14
 
15
- class BatchDeleteDocument
16
- def self.build(context)
17
- Aws::QBusiness::EndpointParameters.new(
18
- region: context.config.region,
19
- use_fips: context.config.use_fips_endpoint,
20
- endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
21
- )
22
- end
23
- end
24
-
25
- class BatchPutDocument
26
- def self.build(context)
27
- Aws::QBusiness::EndpointParameters.new(
28
- region: context.config.region,
29
- use_fips: context.config.use_fips_endpoint,
30
- endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
31
- )
32
- end
33
- end
34
-
35
- class Chat
36
- def self.build(context)
37
- Aws::QBusiness::EndpointParameters.new(
38
- region: context.config.region,
39
- use_fips: context.config.use_fips_endpoint,
40
- endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
41
- )
42
- end
43
- end
44
-
45
- class ChatSync
46
- def self.build(context)
47
- Aws::QBusiness::EndpointParameters.new(
48
- region: context.config.region,
49
- use_fips: context.config.use_fips_endpoint,
50
- endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
51
- )
52
- end
53
- end
54
-
55
- class CreateApplication
56
- def self.build(context)
57
- Aws::QBusiness::EndpointParameters.new(
58
- region: context.config.region,
59
- use_fips: context.config.use_fips_endpoint,
60
- endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
61
- )
62
- end
63
- end
64
-
65
- class CreateDataSource
66
- def self.build(context)
67
- Aws::QBusiness::EndpointParameters.new(
68
- region: context.config.region,
69
- use_fips: context.config.use_fips_endpoint,
70
- endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
71
- )
72
- end
73
- end
74
-
75
- class CreateIndex
76
- def self.build(context)
77
- Aws::QBusiness::EndpointParameters.new(
78
- region: context.config.region,
79
- use_fips: context.config.use_fips_endpoint,
80
- endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
81
- )
82
- end
83
- end
84
-
85
- class CreatePlugin
86
- def self.build(context)
87
- Aws::QBusiness::EndpointParameters.new(
88
- region: context.config.region,
89
- use_fips: context.config.use_fips_endpoint,
90
- endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
91
- )
92
- end
93
- end
94
-
95
- class CreateRetriever
96
- def self.build(context)
97
- Aws::QBusiness::EndpointParameters.new(
98
- region: context.config.region,
99
- use_fips: context.config.use_fips_endpoint,
100
- endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
101
- )
102
- end
103
- end
104
-
105
- class CreateUser
106
- def self.build(context)
107
- Aws::QBusiness::EndpointParameters.new(
108
- region: context.config.region,
109
- use_fips: context.config.use_fips_endpoint,
110
- endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
111
- )
112
- end
113
- end
114
-
115
- class CreateWebExperience
116
- def self.build(context)
117
- Aws::QBusiness::EndpointParameters.new(
118
- region: context.config.region,
119
- use_fips: context.config.use_fips_endpoint,
120
- endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
121
- )
122
- end
123
- end
124
-
125
- class DeleteApplication
126
- def self.build(context)
127
- Aws::QBusiness::EndpointParameters.new(
128
- region: context.config.region,
129
- use_fips: context.config.use_fips_endpoint,
130
- endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
131
- )
132
- end
133
- end
134
-
135
- class DeleteChatControlsConfiguration
136
- def self.build(context)
137
- Aws::QBusiness::EndpointParameters.new(
138
- region: context.config.region,
139
- use_fips: context.config.use_fips_endpoint,
140
- endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
141
- )
142
- end
143
- end
144
-
145
- class DeleteConversation
146
- def self.build(context)
147
- Aws::QBusiness::EndpointParameters.new(
148
- region: context.config.region,
149
- use_fips: context.config.use_fips_endpoint,
150
- endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
151
- )
152
- end
153
- end
154
-
155
- class DeleteDataSource
156
- def self.build(context)
157
- Aws::QBusiness::EndpointParameters.new(
158
- region: context.config.region,
159
- use_fips: context.config.use_fips_endpoint,
160
- endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
161
- )
162
- end
163
- end
164
-
165
- class DeleteGroup
166
- def self.build(context)
167
- Aws::QBusiness::EndpointParameters.new(
168
- region: context.config.region,
169
- use_fips: context.config.use_fips_endpoint,
170
- endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
171
- )
172
- end
173
- end
174
-
175
- class DeleteIndex
176
- def self.build(context)
177
- Aws::QBusiness::EndpointParameters.new(
178
- region: context.config.region,
179
- use_fips: context.config.use_fips_endpoint,
180
- endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
181
- )
182
- end
183
- end
184
-
185
- class DeletePlugin
186
- def self.build(context)
187
- Aws::QBusiness::EndpointParameters.new(
188
- region: context.config.region,
189
- use_fips: context.config.use_fips_endpoint,
190
- endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
191
- )
192
- end
193
- end
194
-
195
- class DeleteRetriever
196
- def self.build(context)
197
- Aws::QBusiness::EndpointParameters.new(
198
- region: context.config.region,
199
- use_fips: context.config.use_fips_endpoint,
200
- endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
201
- )
202
- end
203
- end
204
-
205
- class DeleteUser
206
- def self.build(context)
207
- Aws::QBusiness::EndpointParameters.new(
208
- region: context.config.region,
209
- use_fips: context.config.use_fips_endpoint,
210
- endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
211
- )
212
- end
213
- end
214
-
215
- class DeleteWebExperience
216
- def self.build(context)
217
- Aws::QBusiness::EndpointParameters.new(
218
- region: context.config.region,
219
- use_fips: context.config.use_fips_endpoint,
220
- endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
221
- )
222
- end
223
- end
224
-
225
- class GetApplication
226
- def self.build(context)
227
- Aws::QBusiness::EndpointParameters.new(
228
- region: context.config.region,
229
- use_fips: context.config.use_fips_endpoint,
230
- endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
231
- )
232
- end
233
- end
234
-
235
- class GetChatControlsConfiguration
236
- def self.build(context)
237
- Aws::QBusiness::EndpointParameters.new(
238
- region: context.config.region,
239
- use_fips: context.config.use_fips_endpoint,
240
- endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
241
- )
242
- end
243
- end
244
-
245
- class GetDataSource
246
- def self.build(context)
247
- Aws::QBusiness::EndpointParameters.new(
248
- region: context.config.region,
249
- use_fips: context.config.use_fips_endpoint,
250
- endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
251
- )
252
- end
253
- end
254
-
255
- class GetGroup
256
- def self.build(context)
257
- Aws::QBusiness::EndpointParameters.new(
258
- region: context.config.region,
259
- use_fips: context.config.use_fips_endpoint,
260
- endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
261
- )
262
- end
263
- end
264
-
265
- class GetIndex
266
- def self.build(context)
267
- Aws::QBusiness::EndpointParameters.new(
268
- region: context.config.region,
269
- use_fips: context.config.use_fips_endpoint,
270
- endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
271
- )
272
- end
273
- end
274
-
275
- class GetPlugin
276
- def self.build(context)
277
- Aws::QBusiness::EndpointParameters.new(
278
- region: context.config.region,
279
- use_fips: context.config.use_fips_endpoint,
280
- endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
281
- )
282
- end
283
- end
284
-
285
- class GetRetriever
286
- def self.build(context)
287
- Aws::QBusiness::EndpointParameters.new(
288
- region: context.config.region,
289
- use_fips: context.config.use_fips_endpoint,
290
- endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
291
- )
292
- end
293
- end
294
15
 
295
- class GetUser
296
- def self.build(context)
297
- Aws::QBusiness::EndpointParameters.new(
298
- region: context.config.region,
299
- use_fips: context.config.use_fips_endpoint,
300
- endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
301
- )
302
- end
16
+ def self.parameters_for_operation(context)
17
+ Aws::QBusiness::EndpointParameters.create(context.config)
303
18
  end
304
-
305
- class GetWebExperience
306
- def self.build(context)
307
- Aws::QBusiness::EndpointParameters.new(
308
- region: context.config.region,
309
- use_fips: context.config.use_fips_endpoint,
310
- endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
311
- )
312
- end
313
- end
314
-
315
- class ListApplications
316
- def self.build(context)
317
- Aws::QBusiness::EndpointParameters.new(
318
- region: context.config.region,
319
- use_fips: context.config.use_fips_endpoint,
320
- endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
321
- )
322
- end
323
- end
324
-
325
- class ListConversations
326
- def self.build(context)
327
- Aws::QBusiness::EndpointParameters.new(
328
- region: context.config.region,
329
- use_fips: context.config.use_fips_endpoint,
330
- endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
331
- )
332
- end
333
- end
334
-
335
- class ListDataSourceSyncJobs
336
- def self.build(context)
337
- Aws::QBusiness::EndpointParameters.new(
338
- region: context.config.region,
339
- use_fips: context.config.use_fips_endpoint,
340
- endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
341
- )
342
- end
343
- end
344
-
345
- class ListDataSources
346
- def self.build(context)
347
- Aws::QBusiness::EndpointParameters.new(
348
- region: context.config.region,
349
- use_fips: context.config.use_fips_endpoint,
350
- endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
351
- )
352
- end
353
- end
354
-
355
- class ListDocuments
356
- def self.build(context)
357
- Aws::QBusiness::EndpointParameters.new(
358
- region: context.config.region,
359
- use_fips: context.config.use_fips_endpoint,
360
- endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
361
- )
362
- end
363
- end
364
-
365
- class ListGroups
366
- def self.build(context)
367
- Aws::QBusiness::EndpointParameters.new(
368
- region: context.config.region,
369
- use_fips: context.config.use_fips_endpoint,
370
- endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
371
- )
372
- end
373
- end
374
-
375
- class ListIndices
376
- def self.build(context)
377
- Aws::QBusiness::EndpointParameters.new(
378
- region: context.config.region,
379
- use_fips: context.config.use_fips_endpoint,
380
- endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
381
- )
382
- end
383
- end
384
-
385
- class ListMessages
386
- def self.build(context)
387
- Aws::QBusiness::EndpointParameters.new(
388
- region: context.config.region,
389
- use_fips: context.config.use_fips_endpoint,
390
- endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
391
- )
392
- end
393
- end
394
-
395
- class ListPlugins
396
- def self.build(context)
397
- Aws::QBusiness::EndpointParameters.new(
398
- region: context.config.region,
399
- use_fips: context.config.use_fips_endpoint,
400
- endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
401
- )
402
- end
403
- end
404
-
405
- class ListRetrievers
406
- def self.build(context)
407
- Aws::QBusiness::EndpointParameters.new(
408
- region: context.config.region,
409
- use_fips: context.config.use_fips_endpoint,
410
- endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
411
- )
412
- end
413
- end
414
-
415
- class ListTagsForResource
416
- def self.build(context)
417
- Aws::QBusiness::EndpointParameters.new(
418
- region: context.config.region,
419
- use_fips: context.config.use_fips_endpoint,
420
- endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
421
- )
422
- end
423
- end
424
-
425
- class ListWebExperiences
426
- def self.build(context)
427
- Aws::QBusiness::EndpointParameters.new(
428
- region: context.config.region,
429
- use_fips: context.config.use_fips_endpoint,
430
- endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
431
- )
432
- end
433
- end
434
-
435
- class PutFeedback
436
- def self.build(context)
437
- Aws::QBusiness::EndpointParameters.new(
438
- region: context.config.region,
439
- use_fips: context.config.use_fips_endpoint,
440
- endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
441
- )
442
- end
443
- end
444
-
445
- class PutGroup
446
- def self.build(context)
447
- Aws::QBusiness::EndpointParameters.new(
448
- region: context.config.region,
449
- use_fips: context.config.use_fips_endpoint,
450
- endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
451
- )
452
- end
453
- end
454
-
455
- class StartDataSourceSyncJob
456
- def self.build(context)
457
- Aws::QBusiness::EndpointParameters.new(
458
- region: context.config.region,
459
- use_fips: context.config.use_fips_endpoint,
460
- endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
461
- )
462
- end
463
- end
464
-
465
- class StopDataSourceSyncJob
466
- def self.build(context)
467
- Aws::QBusiness::EndpointParameters.new(
468
- region: context.config.region,
469
- use_fips: context.config.use_fips_endpoint,
470
- endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
471
- )
472
- end
473
- end
474
-
475
- class TagResource
476
- def self.build(context)
477
- Aws::QBusiness::EndpointParameters.new(
478
- region: context.config.region,
479
- use_fips: context.config.use_fips_endpoint,
480
- endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
481
- )
482
- end
483
- end
484
-
485
- class UntagResource
486
- def self.build(context)
487
- Aws::QBusiness::EndpointParameters.new(
488
- region: context.config.region,
489
- use_fips: context.config.use_fips_endpoint,
490
- endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
491
- )
492
- end
493
- end
494
-
495
- class UpdateApplication
496
- def self.build(context)
497
- Aws::QBusiness::EndpointParameters.new(
498
- region: context.config.region,
499
- use_fips: context.config.use_fips_endpoint,
500
- endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
501
- )
502
- end
503
- end
504
-
505
- class UpdateChatControlsConfiguration
506
- def self.build(context)
507
- Aws::QBusiness::EndpointParameters.new(
508
- region: context.config.region,
509
- use_fips: context.config.use_fips_endpoint,
510
- endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
511
- )
512
- end
513
- end
514
-
515
- class UpdateDataSource
516
- def self.build(context)
517
- Aws::QBusiness::EndpointParameters.new(
518
- region: context.config.region,
519
- use_fips: context.config.use_fips_endpoint,
520
- endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
521
- )
522
- end
523
- end
524
-
525
- class UpdateIndex
526
- def self.build(context)
527
- Aws::QBusiness::EndpointParameters.new(
528
- region: context.config.region,
529
- use_fips: context.config.use_fips_endpoint,
530
- endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
531
- )
532
- end
533
- end
534
-
535
- class UpdatePlugin
536
- def self.build(context)
537
- Aws::QBusiness::EndpointParameters.new(
538
- region: context.config.region,
539
- use_fips: context.config.use_fips_endpoint,
540
- endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
541
- )
542
- end
543
- end
544
-
545
- class UpdateRetriever
546
- def self.build(context)
547
- Aws::QBusiness::EndpointParameters.new(
548
- region: context.config.region,
549
- use_fips: context.config.use_fips_endpoint,
550
- endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
551
- )
552
- end
553
- end
554
-
555
- class UpdateUser
556
- def self.build(context)
557
- Aws::QBusiness::EndpointParameters.new(
558
- region: context.config.region,
559
- use_fips: context.config.use_fips_endpoint,
560
- endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
561
- )
562
- end
563
- end
564
-
565
- class UpdateWebExperience
566
- def self.build(context)
567
- Aws::QBusiness::EndpointParameters.new(
568
- region: context.config.region,
569
- use_fips: context.config.use_fips_endpoint,
570
- endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
571
- )
572
- end
573
- end
574
-
575
19
  end
576
20
  end
@@ -27,7 +27,7 @@ The endpoint provider used to resolve endpoints. Any object that responds to
27
27
  class Handler < Seahorse::Client::Handler
28
28
  def call(context)
29
29
  unless context[:discovered_endpoint]
30
- params = parameters_for_operation(context)
30
+ params = Aws::QBusiness::Endpoints.parameters_for_operation(context)
31
31
  endpoint = context.config.endpoint_provider.resolve_endpoint(params)
32
32
 
33
33
  context.http_request.endpoint = endpoint.url
@@ -67,123 +67,6 @@ The endpoint provider used to resolve endpoints. Any object that responds to
67
67
  context.http_request.headers[key] = value
68
68
  end
69
69
  end
70
-
71
- def parameters_for_operation(context)
72
- case context.operation_name
73
- when :batch_delete_document
74
- Aws::QBusiness::Endpoints::BatchDeleteDocument.build(context)
75
- when :batch_put_document
76
- Aws::QBusiness::Endpoints::BatchPutDocument.build(context)
77
- when :chat
78
- Aws::QBusiness::Endpoints::Chat.build(context)
79
- when :chat_sync
80
- Aws::QBusiness::Endpoints::ChatSync.build(context)
81
- when :create_application
82
- Aws::QBusiness::Endpoints::CreateApplication.build(context)
83
- when :create_data_source
84
- Aws::QBusiness::Endpoints::CreateDataSource.build(context)
85
- when :create_index
86
- Aws::QBusiness::Endpoints::CreateIndex.build(context)
87
- when :create_plugin
88
- Aws::QBusiness::Endpoints::CreatePlugin.build(context)
89
- when :create_retriever
90
- Aws::QBusiness::Endpoints::CreateRetriever.build(context)
91
- when :create_user
92
- Aws::QBusiness::Endpoints::CreateUser.build(context)
93
- when :create_web_experience
94
- Aws::QBusiness::Endpoints::CreateWebExperience.build(context)
95
- when :delete_application
96
- Aws::QBusiness::Endpoints::DeleteApplication.build(context)
97
- when :delete_chat_controls_configuration
98
- Aws::QBusiness::Endpoints::DeleteChatControlsConfiguration.build(context)
99
- when :delete_conversation
100
- Aws::QBusiness::Endpoints::DeleteConversation.build(context)
101
- when :delete_data_source
102
- Aws::QBusiness::Endpoints::DeleteDataSource.build(context)
103
- when :delete_group
104
- Aws::QBusiness::Endpoints::DeleteGroup.build(context)
105
- when :delete_index
106
- Aws::QBusiness::Endpoints::DeleteIndex.build(context)
107
- when :delete_plugin
108
- Aws::QBusiness::Endpoints::DeletePlugin.build(context)
109
- when :delete_retriever
110
- Aws::QBusiness::Endpoints::DeleteRetriever.build(context)
111
- when :delete_user
112
- Aws::QBusiness::Endpoints::DeleteUser.build(context)
113
- when :delete_web_experience
114
- Aws::QBusiness::Endpoints::DeleteWebExperience.build(context)
115
- when :get_application
116
- Aws::QBusiness::Endpoints::GetApplication.build(context)
117
- when :get_chat_controls_configuration
118
- Aws::QBusiness::Endpoints::GetChatControlsConfiguration.build(context)
119
- when :get_data_source
120
- Aws::QBusiness::Endpoints::GetDataSource.build(context)
121
- when :get_group
122
- Aws::QBusiness::Endpoints::GetGroup.build(context)
123
- when :get_index
124
- Aws::QBusiness::Endpoints::GetIndex.build(context)
125
- when :get_plugin
126
- Aws::QBusiness::Endpoints::GetPlugin.build(context)
127
- when :get_retriever
128
- Aws::QBusiness::Endpoints::GetRetriever.build(context)
129
- when :get_user
130
- Aws::QBusiness::Endpoints::GetUser.build(context)
131
- when :get_web_experience
132
- Aws::QBusiness::Endpoints::GetWebExperience.build(context)
133
- when :list_applications
134
- Aws::QBusiness::Endpoints::ListApplications.build(context)
135
- when :list_conversations
136
- Aws::QBusiness::Endpoints::ListConversations.build(context)
137
- when :list_data_source_sync_jobs
138
- Aws::QBusiness::Endpoints::ListDataSourceSyncJobs.build(context)
139
- when :list_data_sources
140
- Aws::QBusiness::Endpoints::ListDataSources.build(context)
141
- when :list_documents
142
- Aws::QBusiness::Endpoints::ListDocuments.build(context)
143
- when :list_groups
144
- Aws::QBusiness::Endpoints::ListGroups.build(context)
145
- when :list_indices
146
- Aws::QBusiness::Endpoints::ListIndices.build(context)
147
- when :list_messages
148
- Aws::QBusiness::Endpoints::ListMessages.build(context)
149
- when :list_plugins
150
- Aws::QBusiness::Endpoints::ListPlugins.build(context)
151
- when :list_retrievers
152
- Aws::QBusiness::Endpoints::ListRetrievers.build(context)
153
- when :list_tags_for_resource
154
- Aws::QBusiness::Endpoints::ListTagsForResource.build(context)
155
- when :list_web_experiences
156
- Aws::QBusiness::Endpoints::ListWebExperiences.build(context)
157
- when :put_feedback
158
- Aws::QBusiness::Endpoints::PutFeedback.build(context)
159
- when :put_group
160
- Aws::QBusiness::Endpoints::PutGroup.build(context)
161
- when :start_data_source_sync_job
162
- Aws::QBusiness::Endpoints::StartDataSourceSyncJob.build(context)
163
- when :stop_data_source_sync_job
164
- Aws::QBusiness::Endpoints::StopDataSourceSyncJob.build(context)
165
- when :tag_resource
166
- Aws::QBusiness::Endpoints::TagResource.build(context)
167
- when :untag_resource
168
- Aws::QBusiness::Endpoints::UntagResource.build(context)
169
- when :update_application
170
- Aws::QBusiness::Endpoints::UpdateApplication.build(context)
171
- when :update_chat_controls_configuration
172
- Aws::QBusiness::Endpoints::UpdateChatControlsConfiguration.build(context)
173
- when :update_data_source
174
- Aws::QBusiness::Endpoints::UpdateDataSource.build(context)
175
- when :update_index
176
- Aws::QBusiness::Endpoints::UpdateIndex.build(context)
177
- when :update_plugin
178
- Aws::QBusiness::Endpoints::UpdatePlugin.build(context)
179
- when :update_retriever
180
- Aws::QBusiness::Endpoints::UpdateRetriever.build(context)
181
- when :update_user
182
- Aws::QBusiness::Endpoints::UpdateUser.build(context)
183
- when :update_web_experience
184
- Aws::QBusiness::Endpoints::UpdateWebExperience.build(context)
185
- end
186
- end
187
70
  end
188
71
 
189
72
  def add_handlers(handlers, _config)
@@ -304,6 +304,11 @@ module Aws::QBusiness
304
304
  # allowed format.
305
305
  # @return [String]
306
306
  #
307
+ # @!attribute [rw] array_item_json_schema
308
+ # Use to create a custom form with array fields (fields with nested
309
+ # objects inside an array).
310
+ # @return [Hash,Array,String,Numeric,Boolean]
311
+ #
307
312
  # @!attribute [rw] required
308
313
  # Information about whether the field is required.
309
314
  # @return [Boolean]
@@ -318,6 +323,7 @@ module Aws::QBusiness
318
323
  :value,
319
324
  :allowed_values,
320
325
  :allowed_format,
326
+ :array_item_json_schema,
321
327
  :required)
322
328
  SENSITIVE = []
323
329
  include Aws::Structure
@@ -57,7 +57,7 @@ module Aws::QBusiness
57
57
  autoload :AsyncClient, 'aws-sdk-qbusiness/async_client'
58
58
  autoload :EventStreams, 'aws-sdk-qbusiness/event_streams'
59
59
 
60
- GEM_VERSION = '1.19.0'
60
+ GEM_VERSION = '1.21.0'
61
61
 
62
62
  end
63
63
 
data/sig/types.rbs CHANGED
@@ -87,6 +87,7 @@ module Aws::QBusiness
87
87
  attr_accessor value: untyped
88
88
  attr_accessor allowed_values: ::Array[Types::ActionReviewPayloadFieldAllowedValue]
89
89
  attr_accessor allowed_format: ::String
90
+ attr_accessor array_item_json_schema: untyped
90
91
  attr_accessor required: bool
91
92
  SENSITIVE: []
92
93
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: aws-sdk-qbusiness
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.19.0
4
+ version: 1.21.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Amazon Web Services
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2024-10-15 00:00:00.000000000 Z
11
+ date: 2024-10-24 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: aws-sdk-core
@@ -19,7 +19,7 @@ dependencies:
19
19
  version: '3'
20
20
  - - ">="
21
21
  - !ruby/object:Gem::Version
22
- version: 3.207.0
22
+ version: 3.210.0
23
23
  type: :runtime
24
24
  prerelease: false
25
25
  version_requirements: !ruby/object:Gem::Requirement
@@ -29,7 +29,7 @@ dependencies:
29
29
  version: '3'
30
30
  - - ">="
31
31
  - !ruby/object:Gem::Version
32
- version: 3.207.0
32
+ version: 3.210.0
33
33
  - !ruby/object:Gem::Dependency
34
34
  name: aws-sigv4
35
35
  requirement: !ruby/object:Gem::Requirement