aws-sdk-athena 1.44.0 → 1.75.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -0,0 +1,968 @@
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::Athena
12
+ # @api private
13
+ module Endpoints
14
+
15
+ class BatchGetNamedQuery
16
+ def self.build(context)
17
+ unless context.config.regional_endpoint
18
+ endpoint = context.config.endpoint.to_s
19
+ end
20
+ Aws::Athena::EndpointParameters.new(
21
+ region: context.config.region,
22
+ use_dual_stack: context.config.use_dualstack_endpoint,
23
+ use_fips: context.config.use_fips_endpoint,
24
+ endpoint: endpoint,
25
+ )
26
+ end
27
+ end
28
+
29
+ class BatchGetPreparedStatement
30
+ def self.build(context)
31
+ unless context.config.regional_endpoint
32
+ endpoint = context.config.endpoint.to_s
33
+ end
34
+ Aws::Athena::EndpointParameters.new(
35
+ region: context.config.region,
36
+ use_dual_stack: context.config.use_dualstack_endpoint,
37
+ use_fips: context.config.use_fips_endpoint,
38
+ endpoint: endpoint,
39
+ )
40
+ end
41
+ end
42
+
43
+ class BatchGetQueryExecution
44
+ def self.build(context)
45
+ unless context.config.regional_endpoint
46
+ endpoint = context.config.endpoint.to_s
47
+ end
48
+ Aws::Athena::EndpointParameters.new(
49
+ region: context.config.region,
50
+ use_dual_stack: context.config.use_dualstack_endpoint,
51
+ use_fips: context.config.use_fips_endpoint,
52
+ endpoint: endpoint,
53
+ )
54
+ end
55
+ end
56
+
57
+ class CancelCapacityReservation
58
+ def self.build(context)
59
+ unless context.config.regional_endpoint
60
+ endpoint = context.config.endpoint.to_s
61
+ end
62
+ Aws::Athena::EndpointParameters.new(
63
+ region: context.config.region,
64
+ use_dual_stack: context.config.use_dualstack_endpoint,
65
+ use_fips: context.config.use_fips_endpoint,
66
+ endpoint: endpoint,
67
+ )
68
+ end
69
+ end
70
+
71
+ class CreateCapacityReservation
72
+ def self.build(context)
73
+ unless context.config.regional_endpoint
74
+ endpoint = context.config.endpoint.to_s
75
+ end
76
+ Aws::Athena::EndpointParameters.new(
77
+ region: context.config.region,
78
+ use_dual_stack: context.config.use_dualstack_endpoint,
79
+ use_fips: context.config.use_fips_endpoint,
80
+ endpoint: endpoint,
81
+ )
82
+ end
83
+ end
84
+
85
+ class CreateDataCatalog
86
+ def self.build(context)
87
+ unless context.config.regional_endpoint
88
+ endpoint = context.config.endpoint.to_s
89
+ end
90
+ Aws::Athena::EndpointParameters.new(
91
+ region: context.config.region,
92
+ use_dual_stack: context.config.use_dualstack_endpoint,
93
+ use_fips: context.config.use_fips_endpoint,
94
+ endpoint: endpoint,
95
+ )
96
+ end
97
+ end
98
+
99
+ class CreateNamedQuery
100
+ def self.build(context)
101
+ unless context.config.regional_endpoint
102
+ endpoint = context.config.endpoint.to_s
103
+ end
104
+ Aws::Athena::EndpointParameters.new(
105
+ region: context.config.region,
106
+ use_dual_stack: context.config.use_dualstack_endpoint,
107
+ use_fips: context.config.use_fips_endpoint,
108
+ endpoint: endpoint,
109
+ )
110
+ end
111
+ end
112
+
113
+ class CreateNotebook
114
+ def self.build(context)
115
+ unless context.config.regional_endpoint
116
+ endpoint = context.config.endpoint.to_s
117
+ end
118
+ Aws::Athena::EndpointParameters.new(
119
+ region: context.config.region,
120
+ use_dual_stack: context.config.use_dualstack_endpoint,
121
+ use_fips: context.config.use_fips_endpoint,
122
+ endpoint: endpoint,
123
+ )
124
+ end
125
+ end
126
+
127
+ class CreatePreparedStatement
128
+ def self.build(context)
129
+ unless context.config.regional_endpoint
130
+ endpoint = context.config.endpoint.to_s
131
+ end
132
+ Aws::Athena::EndpointParameters.new(
133
+ region: context.config.region,
134
+ use_dual_stack: context.config.use_dualstack_endpoint,
135
+ use_fips: context.config.use_fips_endpoint,
136
+ endpoint: endpoint,
137
+ )
138
+ end
139
+ end
140
+
141
+ class CreatePresignedNotebookUrl
142
+ def self.build(context)
143
+ unless context.config.regional_endpoint
144
+ endpoint = context.config.endpoint.to_s
145
+ end
146
+ Aws::Athena::EndpointParameters.new(
147
+ region: context.config.region,
148
+ use_dual_stack: context.config.use_dualstack_endpoint,
149
+ use_fips: context.config.use_fips_endpoint,
150
+ endpoint: endpoint,
151
+ )
152
+ end
153
+ end
154
+
155
+ class CreateWorkGroup
156
+ def self.build(context)
157
+ unless context.config.regional_endpoint
158
+ endpoint = context.config.endpoint.to_s
159
+ end
160
+ Aws::Athena::EndpointParameters.new(
161
+ region: context.config.region,
162
+ use_dual_stack: context.config.use_dualstack_endpoint,
163
+ use_fips: context.config.use_fips_endpoint,
164
+ endpoint: endpoint,
165
+ )
166
+ end
167
+ end
168
+
169
+ class DeleteCapacityReservation
170
+ def self.build(context)
171
+ unless context.config.regional_endpoint
172
+ endpoint = context.config.endpoint.to_s
173
+ end
174
+ Aws::Athena::EndpointParameters.new(
175
+ region: context.config.region,
176
+ use_dual_stack: context.config.use_dualstack_endpoint,
177
+ use_fips: context.config.use_fips_endpoint,
178
+ endpoint: endpoint,
179
+ )
180
+ end
181
+ end
182
+
183
+ class DeleteDataCatalog
184
+ def self.build(context)
185
+ unless context.config.regional_endpoint
186
+ endpoint = context.config.endpoint.to_s
187
+ end
188
+ Aws::Athena::EndpointParameters.new(
189
+ region: context.config.region,
190
+ use_dual_stack: context.config.use_dualstack_endpoint,
191
+ use_fips: context.config.use_fips_endpoint,
192
+ endpoint: endpoint,
193
+ )
194
+ end
195
+ end
196
+
197
+ class DeleteNamedQuery
198
+ def self.build(context)
199
+ unless context.config.regional_endpoint
200
+ endpoint = context.config.endpoint.to_s
201
+ end
202
+ Aws::Athena::EndpointParameters.new(
203
+ region: context.config.region,
204
+ use_dual_stack: context.config.use_dualstack_endpoint,
205
+ use_fips: context.config.use_fips_endpoint,
206
+ endpoint: endpoint,
207
+ )
208
+ end
209
+ end
210
+
211
+ class DeleteNotebook
212
+ def self.build(context)
213
+ unless context.config.regional_endpoint
214
+ endpoint = context.config.endpoint.to_s
215
+ end
216
+ Aws::Athena::EndpointParameters.new(
217
+ region: context.config.region,
218
+ use_dual_stack: context.config.use_dualstack_endpoint,
219
+ use_fips: context.config.use_fips_endpoint,
220
+ endpoint: endpoint,
221
+ )
222
+ end
223
+ end
224
+
225
+ class DeletePreparedStatement
226
+ def self.build(context)
227
+ unless context.config.regional_endpoint
228
+ endpoint = context.config.endpoint.to_s
229
+ end
230
+ Aws::Athena::EndpointParameters.new(
231
+ region: context.config.region,
232
+ use_dual_stack: context.config.use_dualstack_endpoint,
233
+ use_fips: context.config.use_fips_endpoint,
234
+ endpoint: endpoint,
235
+ )
236
+ end
237
+ end
238
+
239
+ class DeleteWorkGroup
240
+ def self.build(context)
241
+ unless context.config.regional_endpoint
242
+ endpoint = context.config.endpoint.to_s
243
+ end
244
+ Aws::Athena::EndpointParameters.new(
245
+ region: context.config.region,
246
+ use_dual_stack: context.config.use_dualstack_endpoint,
247
+ use_fips: context.config.use_fips_endpoint,
248
+ endpoint: endpoint,
249
+ )
250
+ end
251
+ end
252
+
253
+ class ExportNotebook
254
+ def self.build(context)
255
+ unless context.config.regional_endpoint
256
+ endpoint = context.config.endpoint.to_s
257
+ end
258
+ Aws::Athena::EndpointParameters.new(
259
+ region: context.config.region,
260
+ use_dual_stack: context.config.use_dualstack_endpoint,
261
+ use_fips: context.config.use_fips_endpoint,
262
+ endpoint: endpoint,
263
+ )
264
+ end
265
+ end
266
+
267
+ class GetCalculationExecution
268
+ def self.build(context)
269
+ unless context.config.regional_endpoint
270
+ endpoint = context.config.endpoint.to_s
271
+ end
272
+ Aws::Athena::EndpointParameters.new(
273
+ region: context.config.region,
274
+ use_dual_stack: context.config.use_dualstack_endpoint,
275
+ use_fips: context.config.use_fips_endpoint,
276
+ endpoint: endpoint,
277
+ )
278
+ end
279
+ end
280
+
281
+ class GetCalculationExecutionCode
282
+ def self.build(context)
283
+ unless context.config.regional_endpoint
284
+ endpoint = context.config.endpoint.to_s
285
+ end
286
+ Aws::Athena::EndpointParameters.new(
287
+ region: context.config.region,
288
+ use_dual_stack: context.config.use_dualstack_endpoint,
289
+ use_fips: context.config.use_fips_endpoint,
290
+ endpoint: endpoint,
291
+ )
292
+ end
293
+ end
294
+
295
+ class GetCalculationExecutionStatus
296
+ def self.build(context)
297
+ unless context.config.regional_endpoint
298
+ endpoint = context.config.endpoint.to_s
299
+ end
300
+ Aws::Athena::EndpointParameters.new(
301
+ region: context.config.region,
302
+ use_dual_stack: context.config.use_dualstack_endpoint,
303
+ use_fips: context.config.use_fips_endpoint,
304
+ endpoint: endpoint,
305
+ )
306
+ end
307
+ end
308
+
309
+ class GetCapacityAssignmentConfiguration
310
+ def self.build(context)
311
+ unless context.config.regional_endpoint
312
+ endpoint = context.config.endpoint.to_s
313
+ end
314
+ Aws::Athena::EndpointParameters.new(
315
+ region: context.config.region,
316
+ use_dual_stack: context.config.use_dualstack_endpoint,
317
+ use_fips: context.config.use_fips_endpoint,
318
+ endpoint: endpoint,
319
+ )
320
+ end
321
+ end
322
+
323
+ class GetCapacityReservation
324
+ def self.build(context)
325
+ unless context.config.regional_endpoint
326
+ endpoint = context.config.endpoint.to_s
327
+ end
328
+ Aws::Athena::EndpointParameters.new(
329
+ region: context.config.region,
330
+ use_dual_stack: context.config.use_dualstack_endpoint,
331
+ use_fips: context.config.use_fips_endpoint,
332
+ endpoint: endpoint,
333
+ )
334
+ end
335
+ end
336
+
337
+ class GetDataCatalog
338
+ def self.build(context)
339
+ unless context.config.regional_endpoint
340
+ endpoint = context.config.endpoint.to_s
341
+ end
342
+ Aws::Athena::EndpointParameters.new(
343
+ region: context.config.region,
344
+ use_dual_stack: context.config.use_dualstack_endpoint,
345
+ use_fips: context.config.use_fips_endpoint,
346
+ endpoint: endpoint,
347
+ )
348
+ end
349
+ end
350
+
351
+ class GetDatabase
352
+ def self.build(context)
353
+ unless context.config.regional_endpoint
354
+ endpoint = context.config.endpoint.to_s
355
+ end
356
+ Aws::Athena::EndpointParameters.new(
357
+ region: context.config.region,
358
+ use_dual_stack: context.config.use_dualstack_endpoint,
359
+ use_fips: context.config.use_fips_endpoint,
360
+ endpoint: endpoint,
361
+ )
362
+ end
363
+ end
364
+
365
+ class GetNamedQuery
366
+ def self.build(context)
367
+ unless context.config.regional_endpoint
368
+ endpoint = context.config.endpoint.to_s
369
+ end
370
+ Aws::Athena::EndpointParameters.new(
371
+ region: context.config.region,
372
+ use_dual_stack: context.config.use_dualstack_endpoint,
373
+ use_fips: context.config.use_fips_endpoint,
374
+ endpoint: endpoint,
375
+ )
376
+ end
377
+ end
378
+
379
+ class GetNotebookMetadata
380
+ def self.build(context)
381
+ unless context.config.regional_endpoint
382
+ endpoint = context.config.endpoint.to_s
383
+ end
384
+ Aws::Athena::EndpointParameters.new(
385
+ region: context.config.region,
386
+ use_dual_stack: context.config.use_dualstack_endpoint,
387
+ use_fips: context.config.use_fips_endpoint,
388
+ endpoint: endpoint,
389
+ )
390
+ end
391
+ end
392
+
393
+ class GetPreparedStatement
394
+ def self.build(context)
395
+ unless context.config.regional_endpoint
396
+ endpoint = context.config.endpoint.to_s
397
+ end
398
+ Aws::Athena::EndpointParameters.new(
399
+ region: context.config.region,
400
+ use_dual_stack: context.config.use_dualstack_endpoint,
401
+ use_fips: context.config.use_fips_endpoint,
402
+ endpoint: endpoint,
403
+ )
404
+ end
405
+ end
406
+
407
+ class GetQueryExecution
408
+ def self.build(context)
409
+ unless context.config.regional_endpoint
410
+ endpoint = context.config.endpoint.to_s
411
+ end
412
+ Aws::Athena::EndpointParameters.new(
413
+ region: context.config.region,
414
+ use_dual_stack: context.config.use_dualstack_endpoint,
415
+ use_fips: context.config.use_fips_endpoint,
416
+ endpoint: endpoint,
417
+ )
418
+ end
419
+ end
420
+
421
+ class GetQueryResults
422
+ def self.build(context)
423
+ unless context.config.regional_endpoint
424
+ endpoint = context.config.endpoint.to_s
425
+ end
426
+ Aws::Athena::EndpointParameters.new(
427
+ region: context.config.region,
428
+ use_dual_stack: context.config.use_dualstack_endpoint,
429
+ use_fips: context.config.use_fips_endpoint,
430
+ endpoint: endpoint,
431
+ )
432
+ end
433
+ end
434
+
435
+ class GetQueryRuntimeStatistics
436
+ def self.build(context)
437
+ unless context.config.regional_endpoint
438
+ endpoint = context.config.endpoint.to_s
439
+ end
440
+ Aws::Athena::EndpointParameters.new(
441
+ region: context.config.region,
442
+ use_dual_stack: context.config.use_dualstack_endpoint,
443
+ use_fips: context.config.use_fips_endpoint,
444
+ endpoint: endpoint,
445
+ )
446
+ end
447
+ end
448
+
449
+ class GetSession
450
+ def self.build(context)
451
+ unless context.config.regional_endpoint
452
+ endpoint = context.config.endpoint.to_s
453
+ end
454
+ Aws::Athena::EndpointParameters.new(
455
+ region: context.config.region,
456
+ use_dual_stack: context.config.use_dualstack_endpoint,
457
+ use_fips: context.config.use_fips_endpoint,
458
+ endpoint: endpoint,
459
+ )
460
+ end
461
+ end
462
+
463
+ class GetSessionStatus
464
+ def self.build(context)
465
+ unless context.config.regional_endpoint
466
+ endpoint = context.config.endpoint.to_s
467
+ end
468
+ Aws::Athena::EndpointParameters.new(
469
+ region: context.config.region,
470
+ use_dual_stack: context.config.use_dualstack_endpoint,
471
+ use_fips: context.config.use_fips_endpoint,
472
+ endpoint: endpoint,
473
+ )
474
+ end
475
+ end
476
+
477
+ class GetTableMetadata
478
+ def self.build(context)
479
+ unless context.config.regional_endpoint
480
+ endpoint = context.config.endpoint.to_s
481
+ end
482
+ Aws::Athena::EndpointParameters.new(
483
+ region: context.config.region,
484
+ use_dual_stack: context.config.use_dualstack_endpoint,
485
+ use_fips: context.config.use_fips_endpoint,
486
+ endpoint: endpoint,
487
+ )
488
+ end
489
+ end
490
+
491
+ class GetWorkGroup
492
+ def self.build(context)
493
+ unless context.config.regional_endpoint
494
+ endpoint = context.config.endpoint.to_s
495
+ end
496
+ Aws::Athena::EndpointParameters.new(
497
+ region: context.config.region,
498
+ use_dual_stack: context.config.use_dualstack_endpoint,
499
+ use_fips: context.config.use_fips_endpoint,
500
+ endpoint: endpoint,
501
+ )
502
+ end
503
+ end
504
+
505
+ class ImportNotebook
506
+ def self.build(context)
507
+ unless context.config.regional_endpoint
508
+ endpoint = context.config.endpoint.to_s
509
+ end
510
+ Aws::Athena::EndpointParameters.new(
511
+ region: context.config.region,
512
+ use_dual_stack: context.config.use_dualstack_endpoint,
513
+ use_fips: context.config.use_fips_endpoint,
514
+ endpoint: endpoint,
515
+ )
516
+ end
517
+ end
518
+
519
+ class ListApplicationDPUSizes
520
+ def self.build(context)
521
+ unless context.config.regional_endpoint
522
+ endpoint = context.config.endpoint.to_s
523
+ end
524
+ Aws::Athena::EndpointParameters.new(
525
+ region: context.config.region,
526
+ use_dual_stack: context.config.use_dualstack_endpoint,
527
+ use_fips: context.config.use_fips_endpoint,
528
+ endpoint: endpoint,
529
+ )
530
+ end
531
+ end
532
+
533
+ class ListCalculationExecutions
534
+ def self.build(context)
535
+ unless context.config.regional_endpoint
536
+ endpoint = context.config.endpoint.to_s
537
+ end
538
+ Aws::Athena::EndpointParameters.new(
539
+ region: context.config.region,
540
+ use_dual_stack: context.config.use_dualstack_endpoint,
541
+ use_fips: context.config.use_fips_endpoint,
542
+ endpoint: endpoint,
543
+ )
544
+ end
545
+ end
546
+
547
+ class ListCapacityReservations
548
+ def self.build(context)
549
+ unless context.config.regional_endpoint
550
+ endpoint = context.config.endpoint.to_s
551
+ end
552
+ Aws::Athena::EndpointParameters.new(
553
+ region: context.config.region,
554
+ use_dual_stack: context.config.use_dualstack_endpoint,
555
+ use_fips: context.config.use_fips_endpoint,
556
+ endpoint: endpoint,
557
+ )
558
+ end
559
+ end
560
+
561
+ class ListDataCatalogs
562
+ def self.build(context)
563
+ unless context.config.regional_endpoint
564
+ endpoint = context.config.endpoint.to_s
565
+ end
566
+ Aws::Athena::EndpointParameters.new(
567
+ region: context.config.region,
568
+ use_dual_stack: context.config.use_dualstack_endpoint,
569
+ use_fips: context.config.use_fips_endpoint,
570
+ endpoint: endpoint,
571
+ )
572
+ end
573
+ end
574
+
575
+ class ListDatabases
576
+ def self.build(context)
577
+ unless context.config.regional_endpoint
578
+ endpoint = context.config.endpoint.to_s
579
+ end
580
+ Aws::Athena::EndpointParameters.new(
581
+ region: context.config.region,
582
+ use_dual_stack: context.config.use_dualstack_endpoint,
583
+ use_fips: context.config.use_fips_endpoint,
584
+ endpoint: endpoint,
585
+ )
586
+ end
587
+ end
588
+
589
+ class ListEngineVersions
590
+ def self.build(context)
591
+ unless context.config.regional_endpoint
592
+ endpoint = context.config.endpoint.to_s
593
+ end
594
+ Aws::Athena::EndpointParameters.new(
595
+ region: context.config.region,
596
+ use_dual_stack: context.config.use_dualstack_endpoint,
597
+ use_fips: context.config.use_fips_endpoint,
598
+ endpoint: endpoint,
599
+ )
600
+ end
601
+ end
602
+
603
+ class ListExecutors
604
+ def self.build(context)
605
+ unless context.config.regional_endpoint
606
+ endpoint = context.config.endpoint.to_s
607
+ end
608
+ Aws::Athena::EndpointParameters.new(
609
+ region: context.config.region,
610
+ use_dual_stack: context.config.use_dualstack_endpoint,
611
+ use_fips: context.config.use_fips_endpoint,
612
+ endpoint: endpoint,
613
+ )
614
+ end
615
+ end
616
+
617
+ class ListNamedQueries
618
+ def self.build(context)
619
+ unless context.config.regional_endpoint
620
+ endpoint = context.config.endpoint.to_s
621
+ end
622
+ Aws::Athena::EndpointParameters.new(
623
+ region: context.config.region,
624
+ use_dual_stack: context.config.use_dualstack_endpoint,
625
+ use_fips: context.config.use_fips_endpoint,
626
+ endpoint: endpoint,
627
+ )
628
+ end
629
+ end
630
+
631
+ class ListNotebookMetadata
632
+ def self.build(context)
633
+ unless context.config.regional_endpoint
634
+ endpoint = context.config.endpoint.to_s
635
+ end
636
+ Aws::Athena::EndpointParameters.new(
637
+ region: context.config.region,
638
+ use_dual_stack: context.config.use_dualstack_endpoint,
639
+ use_fips: context.config.use_fips_endpoint,
640
+ endpoint: endpoint,
641
+ )
642
+ end
643
+ end
644
+
645
+ class ListNotebookSessions
646
+ def self.build(context)
647
+ unless context.config.regional_endpoint
648
+ endpoint = context.config.endpoint.to_s
649
+ end
650
+ Aws::Athena::EndpointParameters.new(
651
+ region: context.config.region,
652
+ use_dual_stack: context.config.use_dualstack_endpoint,
653
+ use_fips: context.config.use_fips_endpoint,
654
+ endpoint: endpoint,
655
+ )
656
+ end
657
+ end
658
+
659
+ class ListPreparedStatements
660
+ def self.build(context)
661
+ unless context.config.regional_endpoint
662
+ endpoint = context.config.endpoint.to_s
663
+ end
664
+ Aws::Athena::EndpointParameters.new(
665
+ region: context.config.region,
666
+ use_dual_stack: context.config.use_dualstack_endpoint,
667
+ use_fips: context.config.use_fips_endpoint,
668
+ endpoint: endpoint,
669
+ )
670
+ end
671
+ end
672
+
673
+ class ListQueryExecutions
674
+ def self.build(context)
675
+ unless context.config.regional_endpoint
676
+ endpoint = context.config.endpoint.to_s
677
+ end
678
+ Aws::Athena::EndpointParameters.new(
679
+ region: context.config.region,
680
+ use_dual_stack: context.config.use_dualstack_endpoint,
681
+ use_fips: context.config.use_fips_endpoint,
682
+ endpoint: endpoint,
683
+ )
684
+ end
685
+ end
686
+
687
+ class ListSessions
688
+ def self.build(context)
689
+ unless context.config.regional_endpoint
690
+ endpoint = context.config.endpoint.to_s
691
+ end
692
+ Aws::Athena::EndpointParameters.new(
693
+ region: context.config.region,
694
+ use_dual_stack: context.config.use_dualstack_endpoint,
695
+ use_fips: context.config.use_fips_endpoint,
696
+ endpoint: endpoint,
697
+ )
698
+ end
699
+ end
700
+
701
+ class ListTableMetadata
702
+ def self.build(context)
703
+ unless context.config.regional_endpoint
704
+ endpoint = context.config.endpoint.to_s
705
+ end
706
+ Aws::Athena::EndpointParameters.new(
707
+ region: context.config.region,
708
+ use_dual_stack: context.config.use_dualstack_endpoint,
709
+ use_fips: context.config.use_fips_endpoint,
710
+ endpoint: endpoint,
711
+ )
712
+ end
713
+ end
714
+
715
+ class ListTagsForResource
716
+ def self.build(context)
717
+ unless context.config.regional_endpoint
718
+ endpoint = context.config.endpoint.to_s
719
+ end
720
+ Aws::Athena::EndpointParameters.new(
721
+ region: context.config.region,
722
+ use_dual_stack: context.config.use_dualstack_endpoint,
723
+ use_fips: context.config.use_fips_endpoint,
724
+ endpoint: endpoint,
725
+ )
726
+ end
727
+ end
728
+
729
+ class ListWorkGroups
730
+ def self.build(context)
731
+ unless context.config.regional_endpoint
732
+ endpoint = context.config.endpoint.to_s
733
+ end
734
+ Aws::Athena::EndpointParameters.new(
735
+ region: context.config.region,
736
+ use_dual_stack: context.config.use_dualstack_endpoint,
737
+ use_fips: context.config.use_fips_endpoint,
738
+ endpoint: endpoint,
739
+ )
740
+ end
741
+ end
742
+
743
+ class PutCapacityAssignmentConfiguration
744
+ def self.build(context)
745
+ unless context.config.regional_endpoint
746
+ endpoint = context.config.endpoint.to_s
747
+ end
748
+ Aws::Athena::EndpointParameters.new(
749
+ region: context.config.region,
750
+ use_dual_stack: context.config.use_dualstack_endpoint,
751
+ use_fips: context.config.use_fips_endpoint,
752
+ endpoint: endpoint,
753
+ )
754
+ end
755
+ end
756
+
757
+ class StartCalculationExecution
758
+ def self.build(context)
759
+ unless context.config.regional_endpoint
760
+ endpoint = context.config.endpoint.to_s
761
+ end
762
+ Aws::Athena::EndpointParameters.new(
763
+ region: context.config.region,
764
+ use_dual_stack: context.config.use_dualstack_endpoint,
765
+ use_fips: context.config.use_fips_endpoint,
766
+ endpoint: endpoint,
767
+ )
768
+ end
769
+ end
770
+
771
+ class StartQueryExecution
772
+ def self.build(context)
773
+ unless context.config.regional_endpoint
774
+ endpoint = context.config.endpoint.to_s
775
+ end
776
+ Aws::Athena::EndpointParameters.new(
777
+ region: context.config.region,
778
+ use_dual_stack: context.config.use_dualstack_endpoint,
779
+ use_fips: context.config.use_fips_endpoint,
780
+ endpoint: endpoint,
781
+ )
782
+ end
783
+ end
784
+
785
+ class StartSession
786
+ def self.build(context)
787
+ unless context.config.regional_endpoint
788
+ endpoint = context.config.endpoint.to_s
789
+ end
790
+ Aws::Athena::EndpointParameters.new(
791
+ region: context.config.region,
792
+ use_dual_stack: context.config.use_dualstack_endpoint,
793
+ use_fips: context.config.use_fips_endpoint,
794
+ endpoint: endpoint,
795
+ )
796
+ end
797
+ end
798
+
799
+ class StopCalculationExecution
800
+ def self.build(context)
801
+ unless context.config.regional_endpoint
802
+ endpoint = context.config.endpoint.to_s
803
+ end
804
+ Aws::Athena::EndpointParameters.new(
805
+ region: context.config.region,
806
+ use_dual_stack: context.config.use_dualstack_endpoint,
807
+ use_fips: context.config.use_fips_endpoint,
808
+ endpoint: endpoint,
809
+ )
810
+ end
811
+ end
812
+
813
+ class StopQueryExecution
814
+ def self.build(context)
815
+ unless context.config.regional_endpoint
816
+ endpoint = context.config.endpoint.to_s
817
+ end
818
+ Aws::Athena::EndpointParameters.new(
819
+ region: context.config.region,
820
+ use_dual_stack: context.config.use_dualstack_endpoint,
821
+ use_fips: context.config.use_fips_endpoint,
822
+ endpoint: endpoint,
823
+ )
824
+ end
825
+ end
826
+
827
+ class TagResource
828
+ def self.build(context)
829
+ unless context.config.regional_endpoint
830
+ endpoint = context.config.endpoint.to_s
831
+ end
832
+ Aws::Athena::EndpointParameters.new(
833
+ region: context.config.region,
834
+ use_dual_stack: context.config.use_dualstack_endpoint,
835
+ use_fips: context.config.use_fips_endpoint,
836
+ endpoint: endpoint,
837
+ )
838
+ end
839
+ end
840
+
841
+ class TerminateSession
842
+ def self.build(context)
843
+ unless context.config.regional_endpoint
844
+ endpoint = context.config.endpoint.to_s
845
+ end
846
+ Aws::Athena::EndpointParameters.new(
847
+ region: context.config.region,
848
+ use_dual_stack: context.config.use_dualstack_endpoint,
849
+ use_fips: context.config.use_fips_endpoint,
850
+ endpoint: endpoint,
851
+ )
852
+ end
853
+ end
854
+
855
+ class UntagResource
856
+ def self.build(context)
857
+ unless context.config.regional_endpoint
858
+ endpoint = context.config.endpoint.to_s
859
+ end
860
+ Aws::Athena::EndpointParameters.new(
861
+ region: context.config.region,
862
+ use_dual_stack: context.config.use_dualstack_endpoint,
863
+ use_fips: context.config.use_fips_endpoint,
864
+ endpoint: endpoint,
865
+ )
866
+ end
867
+ end
868
+
869
+ class UpdateCapacityReservation
870
+ def self.build(context)
871
+ unless context.config.regional_endpoint
872
+ endpoint = context.config.endpoint.to_s
873
+ end
874
+ Aws::Athena::EndpointParameters.new(
875
+ region: context.config.region,
876
+ use_dual_stack: context.config.use_dualstack_endpoint,
877
+ use_fips: context.config.use_fips_endpoint,
878
+ endpoint: endpoint,
879
+ )
880
+ end
881
+ end
882
+
883
+ class UpdateDataCatalog
884
+ def self.build(context)
885
+ unless context.config.regional_endpoint
886
+ endpoint = context.config.endpoint.to_s
887
+ end
888
+ Aws::Athena::EndpointParameters.new(
889
+ region: context.config.region,
890
+ use_dual_stack: context.config.use_dualstack_endpoint,
891
+ use_fips: context.config.use_fips_endpoint,
892
+ endpoint: endpoint,
893
+ )
894
+ end
895
+ end
896
+
897
+ class UpdateNamedQuery
898
+ def self.build(context)
899
+ unless context.config.regional_endpoint
900
+ endpoint = context.config.endpoint.to_s
901
+ end
902
+ Aws::Athena::EndpointParameters.new(
903
+ region: context.config.region,
904
+ use_dual_stack: context.config.use_dualstack_endpoint,
905
+ use_fips: context.config.use_fips_endpoint,
906
+ endpoint: endpoint,
907
+ )
908
+ end
909
+ end
910
+
911
+ class UpdateNotebook
912
+ def self.build(context)
913
+ unless context.config.regional_endpoint
914
+ endpoint = context.config.endpoint.to_s
915
+ end
916
+ Aws::Athena::EndpointParameters.new(
917
+ region: context.config.region,
918
+ use_dual_stack: context.config.use_dualstack_endpoint,
919
+ use_fips: context.config.use_fips_endpoint,
920
+ endpoint: endpoint,
921
+ )
922
+ end
923
+ end
924
+
925
+ class UpdateNotebookMetadata
926
+ def self.build(context)
927
+ unless context.config.regional_endpoint
928
+ endpoint = context.config.endpoint.to_s
929
+ end
930
+ Aws::Athena::EndpointParameters.new(
931
+ region: context.config.region,
932
+ use_dual_stack: context.config.use_dualstack_endpoint,
933
+ use_fips: context.config.use_fips_endpoint,
934
+ endpoint: endpoint,
935
+ )
936
+ end
937
+ end
938
+
939
+ class UpdatePreparedStatement
940
+ def self.build(context)
941
+ unless context.config.regional_endpoint
942
+ endpoint = context.config.endpoint.to_s
943
+ end
944
+ Aws::Athena::EndpointParameters.new(
945
+ region: context.config.region,
946
+ use_dual_stack: context.config.use_dualstack_endpoint,
947
+ use_fips: context.config.use_fips_endpoint,
948
+ endpoint: endpoint,
949
+ )
950
+ end
951
+ end
952
+
953
+ class UpdateWorkGroup
954
+ def self.build(context)
955
+ unless context.config.regional_endpoint
956
+ endpoint = context.config.endpoint.to_s
957
+ end
958
+ Aws::Athena::EndpointParameters.new(
959
+ region: context.config.region,
960
+ use_dual_stack: context.config.use_dualstack_endpoint,
961
+ use_fips: context.config.use_fips_endpoint,
962
+ endpoint: endpoint,
963
+ )
964
+ end
965
+ end
966
+
967
+ end
968
+ end