aws-sdk-qbusiness 1.0.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -0,0 +1,731 @@
1
+ # frozen_string_literal: true
2
+
3
+ # WARNING ABOUT GENERATED CODE
4
+ #
5
+ # This file is generated. See the contributing guide for more information:
6
+ # https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md
7
+ #
8
+ # WARNING ABOUT GENERATED CODE
9
+
10
+
11
+ module Aws::QBusiness
12
+ # @api private
13
+ module Endpoints
14
+
15
+ class BatchDeleteDocument
16
+ def self.build(context)
17
+ unless context.config.regional_endpoint
18
+ endpoint = context.config.endpoint.to_s
19
+ end
20
+ Aws::QBusiness::EndpointParameters.new(
21
+ region: context.config.region,
22
+ use_fips: context.config.use_fips_endpoint,
23
+ endpoint: endpoint,
24
+ )
25
+ end
26
+ end
27
+
28
+ class BatchPutDocument
29
+ def self.build(context)
30
+ unless context.config.regional_endpoint
31
+ endpoint = context.config.endpoint.to_s
32
+ end
33
+ Aws::QBusiness::EndpointParameters.new(
34
+ region: context.config.region,
35
+ use_fips: context.config.use_fips_endpoint,
36
+ endpoint: endpoint,
37
+ )
38
+ end
39
+ end
40
+
41
+ class ChatSync
42
+ def self.build(context)
43
+ unless context.config.regional_endpoint
44
+ endpoint = context.config.endpoint.to_s
45
+ end
46
+ Aws::QBusiness::EndpointParameters.new(
47
+ region: context.config.region,
48
+ use_fips: context.config.use_fips_endpoint,
49
+ endpoint: endpoint,
50
+ )
51
+ end
52
+ end
53
+
54
+ class CreateApplication
55
+ def self.build(context)
56
+ unless context.config.regional_endpoint
57
+ endpoint = context.config.endpoint.to_s
58
+ end
59
+ Aws::QBusiness::EndpointParameters.new(
60
+ region: context.config.region,
61
+ use_fips: context.config.use_fips_endpoint,
62
+ endpoint: endpoint,
63
+ )
64
+ end
65
+ end
66
+
67
+ class CreateDataSource
68
+ def self.build(context)
69
+ unless context.config.regional_endpoint
70
+ endpoint = context.config.endpoint.to_s
71
+ end
72
+ Aws::QBusiness::EndpointParameters.new(
73
+ region: context.config.region,
74
+ use_fips: context.config.use_fips_endpoint,
75
+ endpoint: endpoint,
76
+ )
77
+ end
78
+ end
79
+
80
+ class CreateIndex
81
+ def self.build(context)
82
+ unless context.config.regional_endpoint
83
+ endpoint = context.config.endpoint.to_s
84
+ end
85
+ Aws::QBusiness::EndpointParameters.new(
86
+ region: context.config.region,
87
+ use_fips: context.config.use_fips_endpoint,
88
+ endpoint: endpoint,
89
+ )
90
+ end
91
+ end
92
+
93
+ class CreatePlugin
94
+ def self.build(context)
95
+ unless context.config.regional_endpoint
96
+ endpoint = context.config.endpoint.to_s
97
+ end
98
+ Aws::QBusiness::EndpointParameters.new(
99
+ region: context.config.region,
100
+ use_fips: context.config.use_fips_endpoint,
101
+ endpoint: endpoint,
102
+ )
103
+ end
104
+ end
105
+
106
+ class CreateRetriever
107
+ def self.build(context)
108
+ unless context.config.regional_endpoint
109
+ endpoint = context.config.endpoint.to_s
110
+ end
111
+ Aws::QBusiness::EndpointParameters.new(
112
+ region: context.config.region,
113
+ use_fips: context.config.use_fips_endpoint,
114
+ endpoint: endpoint,
115
+ )
116
+ end
117
+ end
118
+
119
+ class CreateUser
120
+ def self.build(context)
121
+ unless context.config.regional_endpoint
122
+ endpoint = context.config.endpoint.to_s
123
+ end
124
+ Aws::QBusiness::EndpointParameters.new(
125
+ region: context.config.region,
126
+ use_fips: context.config.use_fips_endpoint,
127
+ endpoint: endpoint,
128
+ )
129
+ end
130
+ end
131
+
132
+ class CreateWebExperience
133
+ def self.build(context)
134
+ unless context.config.regional_endpoint
135
+ endpoint = context.config.endpoint.to_s
136
+ end
137
+ Aws::QBusiness::EndpointParameters.new(
138
+ region: context.config.region,
139
+ use_fips: context.config.use_fips_endpoint,
140
+ endpoint: endpoint,
141
+ )
142
+ end
143
+ end
144
+
145
+ class DeleteApplication
146
+ def self.build(context)
147
+ unless context.config.regional_endpoint
148
+ endpoint = context.config.endpoint.to_s
149
+ end
150
+ Aws::QBusiness::EndpointParameters.new(
151
+ region: context.config.region,
152
+ use_fips: context.config.use_fips_endpoint,
153
+ endpoint: endpoint,
154
+ )
155
+ end
156
+ end
157
+
158
+ class DeleteChatControlsConfiguration
159
+ def self.build(context)
160
+ unless context.config.regional_endpoint
161
+ endpoint = context.config.endpoint.to_s
162
+ end
163
+ Aws::QBusiness::EndpointParameters.new(
164
+ region: context.config.region,
165
+ use_fips: context.config.use_fips_endpoint,
166
+ endpoint: endpoint,
167
+ )
168
+ end
169
+ end
170
+
171
+ class DeleteConversation
172
+ def self.build(context)
173
+ unless context.config.regional_endpoint
174
+ endpoint = context.config.endpoint.to_s
175
+ end
176
+ Aws::QBusiness::EndpointParameters.new(
177
+ region: context.config.region,
178
+ use_fips: context.config.use_fips_endpoint,
179
+ endpoint: endpoint,
180
+ )
181
+ end
182
+ end
183
+
184
+ class DeleteDataSource
185
+ def self.build(context)
186
+ unless context.config.regional_endpoint
187
+ endpoint = context.config.endpoint.to_s
188
+ end
189
+ Aws::QBusiness::EndpointParameters.new(
190
+ region: context.config.region,
191
+ use_fips: context.config.use_fips_endpoint,
192
+ endpoint: endpoint,
193
+ )
194
+ end
195
+ end
196
+
197
+ class DeleteGroup
198
+ def self.build(context)
199
+ unless context.config.regional_endpoint
200
+ endpoint = context.config.endpoint.to_s
201
+ end
202
+ Aws::QBusiness::EndpointParameters.new(
203
+ region: context.config.region,
204
+ use_fips: context.config.use_fips_endpoint,
205
+ endpoint: endpoint,
206
+ )
207
+ end
208
+ end
209
+
210
+ class DeleteIndex
211
+ def self.build(context)
212
+ unless context.config.regional_endpoint
213
+ endpoint = context.config.endpoint.to_s
214
+ end
215
+ Aws::QBusiness::EndpointParameters.new(
216
+ region: context.config.region,
217
+ use_fips: context.config.use_fips_endpoint,
218
+ endpoint: endpoint,
219
+ )
220
+ end
221
+ end
222
+
223
+ class DeletePlugin
224
+ def self.build(context)
225
+ unless context.config.regional_endpoint
226
+ endpoint = context.config.endpoint.to_s
227
+ end
228
+ Aws::QBusiness::EndpointParameters.new(
229
+ region: context.config.region,
230
+ use_fips: context.config.use_fips_endpoint,
231
+ endpoint: endpoint,
232
+ )
233
+ end
234
+ end
235
+
236
+ class DeleteRetriever
237
+ def self.build(context)
238
+ unless context.config.regional_endpoint
239
+ endpoint = context.config.endpoint.to_s
240
+ end
241
+ Aws::QBusiness::EndpointParameters.new(
242
+ region: context.config.region,
243
+ use_fips: context.config.use_fips_endpoint,
244
+ endpoint: endpoint,
245
+ )
246
+ end
247
+ end
248
+
249
+ class DeleteUser
250
+ def self.build(context)
251
+ unless context.config.regional_endpoint
252
+ endpoint = context.config.endpoint.to_s
253
+ end
254
+ Aws::QBusiness::EndpointParameters.new(
255
+ region: context.config.region,
256
+ use_fips: context.config.use_fips_endpoint,
257
+ endpoint: endpoint,
258
+ )
259
+ end
260
+ end
261
+
262
+ class DeleteWebExperience
263
+ def self.build(context)
264
+ unless context.config.regional_endpoint
265
+ endpoint = context.config.endpoint.to_s
266
+ end
267
+ Aws::QBusiness::EndpointParameters.new(
268
+ region: context.config.region,
269
+ use_fips: context.config.use_fips_endpoint,
270
+ endpoint: endpoint,
271
+ )
272
+ end
273
+ end
274
+
275
+ class GetApplication
276
+ def self.build(context)
277
+ unless context.config.regional_endpoint
278
+ endpoint = context.config.endpoint.to_s
279
+ end
280
+ Aws::QBusiness::EndpointParameters.new(
281
+ region: context.config.region,
282
+ use_fips: context.config.use_fips_endpoint,
283
+ endpoint: endpoint,
284
+ )
285
+ end
286
+ end
287
+
288
+ class GetChatControlsConfiguration
289
+ def self.build(context)
290
+ unless context.config.regional_endpoint
291
+ endpoint = context.config.endpoint.to_s
292
+ end
293
+ Aws::QBusiness::EndpointParameters.new(
294
+ region: context.config.region,
295
+ use_fips: context.config.use_fips_endpoint,
296
+ endpoint: endpoint,
297
+ )
298
+ end
299
+ end
300
+
301
+ class GetDataSource
302
+ def self.build(context)
303
+ unless context.config.regional_endpoint
304
+ endpoint = context.config.endpoint.to_s
305
+ end
306
+ Aws::QBusiness::EndpointParameters.new(
307
+ region: context.config.region,
308
+ use_fips: context.config.use_fips_endpoint,
309
+ endpoint: endpoint,
310
+ )
311
+ end
312
+ end
313
+
314
+ class GetGroup
315
+ def self.build(context)
316
+ unless context.config.regional_endpoint
317
+ endpoint = context.config.endpoint.to_s
318
+ end
319
+ Aws::QBusiness::EndpointParameters.new(
320
+ region: context.config.region,
321
+ use_fips: context.config.use_fips_endpoint,
322
+ endpoint: endpoint,
323
+ )
324
+ end
325
+ end
326
+
327
+ class GetIndex
328
+ def self.build(context)
329
+ unless context.config.regional_endpoint
330
+ endpoint = context.config.endpoint.to_s
331
+ end
332
+ Aws::QBusiness::EndpointParameters.new(
333
+ region: context.config.region,
334
+ use_fips: context.config.use_fips_endpoint,
335
+ endpoint: endpoint,
336
+ )
337
+ end
338
+ end
339
+
340
+ class GetPlugin
341
+ def self.build(context)
342
+ unless context.config.regional_endpoint
343
+ endpoint = context.config.endpoint.to_s
344
+ end
345
+ Aws::QBusiness::EndpointParameters.new(
346
+ region: context.config.region,
347
+ use_fips: context.config.use_fips_endpoint,
348
+ endpoint: endpoint,
349
+ )
350
+ end
351
+ end
352
+
353
+ class GetRetriever
354
+ def self.build(context)
355
+ unless context.config.regional_endpoint
356
+ endpoint = context.config.endpoint.to_s
357
+ end
358
+ Aws::QBusiness::EndpointParameters.new(
359
+ region: context.config.region,
360
+ use_fips: context.config.use_fips_endpoint,
361
+ endpoint: endpoint,
362
+ )
363
+ end
364
+ end
365
+
366
+ class GetUser
367
+ def self.build(context)
368
+ unless context.config.regional_endpoint
369
+ endpoint = context.config.endpoint.to_s
370
+ end
371
+ Aws::QBusiness::EndpointParameters.new(
372
+ region: context.config.region,
373
+ use_fips: context.config.use_fips_endpoint,
374
+ endpoint: endpoint,
375
+ )
376
+ end
377
+ end
378
+
379
+ class GetWebExperience
380
+ def self.build(context)
381
+ unless context.config.regional_endpoint
382
+ endpoint = context.config.endpoint.to_s
383
+ end
384
+ Aws::QBusiness::EndpointParameters.new(
385
+ region: context.config.region,
386
+ use_fips: context.config.use_fips_endpoint,
387
+ endpoint: endpoint,
388
+ )
389
+ end
390
+ end
391
+
392
+ class ListApplications
393
+ def self.build(context)
394
+ unless context.config.regional_endpoint
395
+ endpoint = context.config.endpoint.to_s
396
+ end
397
+ Aws::QBusiness::EndpointParameters.new(
398
+ region: context.config.region,
399
+ use_fips: context.config.use_fips_endpoint,
400
+ endpoint: endpoint,
401
+ )
402
+ end
403
+ end
404
+
405
+ class ListConversations
406
+ def self.build(context)
407
+ unless context.config.regional_endpoint
408
+ endpoint = context.config.endpoint.to_s
409
+ end
410
+ Aws::QBusiness::EndpointParameters.new(
411
+ region: context.config.region,
412
+ use_fips: context.config.use_fips_endpoint,
413
+ endpoint: endpoint,
414
+ )
415
+ end
416
+ end
417
+
418
+ class ListDataSourceSyncJobs
419
+ def self.build(context)
420
+ unless context.config.regional_endpoint
421
+ endpoint = context.config.endpoint.to_s
422
+ end
423
+ Aws::QBusiness::EndpointParameters.new(
424
+ region: context.config.region,
425
+ use_fips: context.config.use_fips_endpoint,
426
+ endpoint: endpoint,
427
+ )
428
+ end
429
+ end
430
+
431
+ class ListDataSources
432
+ def self.build(context)
433
+ unless context.config.regional_endpoint
434
+ endpoint = context.config.endpoint.to_s
435
+ end
436
+ Aws::QBusiness::EndpointParameters.new(
437
+ region: context.config.region,
438
+ use_fips: context.config.use_fips_endpoint,
439
+ endpoint: endpoint,
440
+ )
441
+ end
442
+ end
443
+
444
+ class ListDocuments
445
+ def self.build(context)
446
+ unless context.config.regional_endpoint
447
+ endpoint = context.config.endpoint.to_s
448
+ end
449
+ Aws::QBusiness::EndpointParameters.new(
450
+ region: context.config.region,
451
+ use_fips: context.config.use_fips_endpoint,
452
+ endpoint: endpoint,
453
+ )
454
+ end
455
+ end
456
+
457
+ class ListGroups
458
+ def self.build(context)
459
+ unless context.config.regional_endpoint
460
+ endpoint = context.config.endpoint.to_s
461
+ end
462
+ Aws::QBusiness::EndpointParameters.new(
463
+ region: context.config.region,
464
+ use_fips: context.config.use_fips_endpoint,
465
+ endpoint: endpoint,
466
+ )
467
+ end
468
+ end
469
+
470
+ class ListIndices
471
+ def self.build(context)
472
+ unless context.config.regional_endpoint
473
+ endpoint = context.config.endpoint.to_s
474
+ end
475
+ Aws::QBusiness::EndpointParameters.new(
476
+ region: context.config.region,
477
+ use_fips: context.config.use_fips_endpoint,
478
+ endpoint: endpoint,
479
+ )
480
+ end
481
+ end
482
+
483
+ class ListMessages
484
+ def self.build(context)
485
+ unless context.config.regional_endpoint
486
+ endpoint = context.config.endpoint.to_s
487
+ end
488
+ Aws::QBusiness::EndpointParameters.new(
489
+ region: context.config.region,
490
+ use_fips: context.config.use_fips_endpoint,
491
+ endpoint: endpoint,
492
+ )
493
+ end
494
+ end
495
+
496
+ class ListPlugins
497
+ def self.build(context)
498
+ unless context.config.regional_endpoint
499
+ endpoint = context.config.endpoint.to_s
500
+ end
501
+ Aws::QBusiness::EndpointParameters.new(
502
+ region: context.config.region,
503
+ use_fips: context.config.use_fips_endpoint,
504
+ endpoint: endpoint,
505
+ )
506
+ end
507
+ end
508
+
509
+ class ListRetrievers
510
+ def self.build(context)
511
+ unless context.config.regional_endpoint
512
+ endpoint = context.config.endpoint.to_s
513
+ end
514
+ Aws::QBusiness::EndpointParameters.new(
515
+ region: context.config.region,
516
+ use_fips: context.config.use_fips_endpoint,
517
+ endpoint: endpoint,
518
+ )
519
+ end
520
+ end
521
+
522
+ class ListTagsForResource
523
+ def self.build(context)
524
+ unless context.config.regional_endpoint
525
+ endpoint = context.config.endpoint.to_s
526
+ end
527
+ Aws::QBusiness::EndpointParameters.new(
528
+ region: context.config.region,
529
+ use_fips: context.config.use_fips_endpoint,
530
+ endpoint: endpoint,
531
+ )
532
+ end
533
+ end
534
+
535
+ class ListWebExperiences
536
+ def self.build(context)
537
+ unless context.config.regional_endpoint
538
+ endpoint = context.config.endpoint.to_s
539
+ end
540
+ Aws::QBusiness::EndpointParameters.new(
541
+ region: context.config.region,
542
+ use_fips: context.config.use_fips_endpoint,
543
+ endpoint: endpoint,
544
+ )
545
+ end
546
+ end
547
+
548
+ class PutFeedback
549
+ def self.build(context)
550
+ unless context.config.regional_endpoint
551
+ endpoint = context.config.endpoint.to_s
552
+ end
553
+ Aws::QBusiness::EndpointParameters.new(
554
+ region: context.config.region,
555
+ use_fips: context.config.use_fips_endpoint,
556
+ endpoint: endpoint,
557
+ )
558
+ end
559
+ end
560
+
561
+ class PutGroup
562
+ def self.build(context)
563
+ unless context.config.regional_endpoint
564
+ endpoint = context.config.endpoint.to_s
565
+ end
566
+ Aws::QBusiness::EndpointParameters.new(
567
+ region: context.config.region,
568
+ use_fips: context.config.use_fips_endpoint,
569
+ endpoint: endpoint,
570
+ )
571
+ end
572
+ end
573
+
574
+ class StartDataSourceSyncJob
575
+ def self.build(context)
576
+ unless context.config.regional_endpoint
577
+ endpoint = context.config.endpoint.to_s
578
+ end
579
+ Aws::QBusiness::EndpointParameters.new(
580
+ region: context.config.region,
581
+ use_fips: context.config.use_fips_endpoint,
582
+ endpoint: endpoint,
583
+ )
584
+ end
585
+ end
586
+
587
+ class StopDataSourceSyncJob
588
+ def self.build(context)
589
+ unless context.config.regional_endpoint
590
+ endpoint = context.config.endpoint.to_s
591
+ end
592
+ Aws::QBusiness::EndpointParameters.new(
593
+ region: context.config.region,
594
+ use_fips: context.config.use_fips_endpoint,
595
+ endpoint: endpoint,
596
+ )
597
+ end
598
+ end
599
+
600
+ class TagResource
601
+ def self.build(context)
602
+ unless context.config.regional_endpoint
603
+ endpoint = context.config.endpoint.to_s
604
+ end
605
+ Aws::QBusiness::EndpointParameters.new(
606
+ region: context.config.region,
607
+ use_fips: context.config.use_fips_endpoint,
608
+ endpoint: endpoint,
609
+ )
610
+ end
611
+ end
612
+
613
+ class UntagResource
614
+ def self.build(context)
615
+ unless context.config.regional_endpoint
616
+ endpoint = context.config.endpoint.to_s
617
+ end
618
+ Aws::QBusiness::EndpointParameters.new(
619
+ region: context.config.region,
620
+ use_fips: context.config.use_fips_endpoint,
621
+ endpoint: endpoint,
622
+ )
623
+ end
624
+ end
625
+
626
+ class UpdateApplication
627
+ def self.build(context)
628
+ unless context.config.regional_endpoint
629
+ endpoint = context.config.endpoint.to_s
630
+ end
631
+ Aws::QBusiness::EndpointParameters.new(
632
+ region: context.config.region,
633
+ use_fips: context.config.use_fips_endpoint,
634
+ endpoint: endpoint,
635
+ )
636
+ end
637
+ end
638
+
639
+ class UpdateChatControlsConfiguration
640
+ def self.build(context)
641
+ unless context.config.regional_endpoint
642
+ endpoint = context.config.endpoint.to_s
643
+ end
644
+ Aws::QBusiness::EndpointParameters.new(
645
+ region: context.config.region,
646
+ use_fips: context.config.use_fips_endpoint,
647
+ endpoint: endpoint,
648
+ )
649
+ end
650
+ end
651
+
652
+ class UpdateDataSource
653
+ def self.build(context)
654
+ unless context.config.regional_endpoint
655
+ endpoint = context.config.endpoint.to_s
656
+ end
657
+ Aws::QBusiness::EndpointParameters.new(
658
+ region: context.config.region,
659
+ use_fips: context.config.use_fips_endpoint,
660
+ endpoint: endpoint,
661
+ )
662
+ end
663
+ end
664
+
665
+ class UpdateIndex
666
+ def self.build(context)
667
+ unless context.config.regional_endpoint
668
+ endpoint = context.config.endpoint.to_s
669
+ end
670
+ Aws::QBusiness::EndpointParameters.new(
671
+ region: context.config.region,
672
+ use_fips: context.config.use_fips_endpoint,
673
+ endpoint: endpoint,
674
+ )
675
+ end
676
+ end
677
+
678
+ class UpdatePlugin
679
+ def self.build(context)
680
+ unless context.config.regional_endpoint
681
+ endpoint = context.config.endpoint.to_s
682
+ end
683
+ Aws::QBusiness::EndpointParameters.new(
684
+ region: context.config.region,
685
+ use_fips: context.config.use_fips_endpoint,
686
+ endpoint: endpoint,
687
+ )
688
+ end
689
+ end
690
+
691
+ class UpdateRetriever
692
+ def self.build(context)
693
+ unless context.config.regional_endpoint
694
+ endpoint = context.config.endpoint.to_s
695
+ end
696
+ Aws::QBusiness::EndpointParameters.new(
697
+ region: context.config.region,
698
+ use_fips: context.config.use_fips_endpoint,
699
+ endpoint: endpoint,
700
+ )
701
+ end
702
+ end
703
+
704
+ class UpdateUser
705
+ def self.build(context)
706
+ unless context.config.regional_endpoint
707
+ endpoint = context.config.endpoint.to_s
708
+ end
709
+ Aws::QBusiness::EndpointParameters.new(
710
+ region: context.config.region,
711
+ use_fips: context.config.use_fips_endpoint,
712
+ endpoint: endpoint,
713
+ )
714
+ end
715
+ end
716
+
717
+ class UpdateWebExperience
718
+ def self.build(context)
719
+ unless context.config.regional_endpoint
720
+ endpoint = context.config.endpoint.to_s
721
+ end
722
+ Aws::QBusiness::EndpointParameters.new(
723
+ region: context.config.region,
724
+ use_fips: context.config.use_fips_endpoint,
725
+ endpoint: endpoint,
726
+ )
727
+ end
728
+ end
729
+
730
+ end
731
+ end