aws-sdk-iot 1.94.0 → 1.95.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -0,0 +1,3333 @@
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::IoT
12
+ module Endpoints
13
+
14
+ class AcceptCertificateTransfer
15
+ def self.build(context)
16
+ unless context.config.regional_endpoint
17
+ endpoint = context.config.endpoint.to_s
18
+ end
19
+ Aws::IoT::EndpointParameters.new(
20
+ region: context.config.region,
21
+ use_dual_stack: context.config.use_dualstack_endpoint,
22
+ use_fips: context.config.use_fips_endpoint,
23
+ endpoint: endpoint,
24
+ )
25
+ end
26
+ end
27
+
28
+ class AddThingToBillingGroup
29
+ def self.build(context)
30
+ unless context.config.regional_endpoint
31
+ endpoint = context.config.endpoint.to_s
32
+ end
33
+ Aws::IoT::EndpointParameters.new(
34
+ region: context.config.region,
35
+ use_dual_stack: context.config.use_dualstack_endpoint,
36
+ use_fips: context.config.use_fips_endpoint,
37
+ endpoint: endpoint,
38
+ )
39
+ end
40
+ end
41
+
42
+ class AddThingToThingGroup
43
+ def self.build(context)
44
+ unless context.config.regional_endpoint
45
+ endpoint = context.config.endpoint.to_s
46
+ end
47
+ Aws::IoT::EndpointParameters.new(
48
+ region: context.config.region,
49
+ use_dual_stack: context.config.use_dualstack_endpoint,
50
+ use_fips: context.config.use_fips_endpoint,
51
+ endpoint: endpoint,
52
+ )
53
+ end
54
+ end
55
+
56
+ class AssociateTargetsWithJob
57
+ def self.build(context)
58
+ unless context.config.regional_endpoint
59
+ endpoint = context.config.endpoint.to_s
60
+ end
61
+ Aws::IoT::EndpointParameters.new(
62
+ region: context.config.region,
63
+ use_dual_stack: context.config.use_dualstack_endpoint,
64
+ use_fips: context.config.use_fips_endpoint,
65
+ endpoint: endpoint,
66
+ )
67
+ end
68
+ end
69
+
70
+ class AttachPolicy
71
+ def self.build(context)
72
+ unless context.config.regional_endpoint
73
+ endpoint = context.config.endpoint.to_s
74
+ end
75
+ Aws::IoT::EndpointParameters.new(
76
+ region: context.config.region,
77
+ use_dual_stack: context.config.use_dualstack_endpoint,
78
+ use_fips: context.config.use_fips_endpoint,
79
+ endpoint: endpoint,
80
+ )
81
+ end
82
+ end
83
+
84
+ class AttachPrincipalPolicy
85
+ def self.build(context)
86
+ unless context.config.regional_endpoint
87
+ endpoint = context.config.endpoint.to_s
88
+ end
89
+ Aws::IoT::EndpointParameters.new(
90
+ region: context.config.region,
91
+ use_dual_stack: context.config.use_dualstack_endpoint,
92
+ use_fips: context.config.use_fips_endpoint,
93
+ endpoint: endpoint,
94
+ )
95
+ end
96
+ end
97
+
98
+ class AttachSecurityProfile
99
+ def self.build(context)
100
+ unless context.config.regional_endpoint
101
+ endpoint = context.config.endpoint.to_s
102
+ end
103
+ Aws::IoT::EndpointParameters.new(
104
+ region: context.config.region,
105
+ use_dual_stack: context.config.use_dualstack_endpoint,
106
+ use_fips: context.config.use_fips_endpoint,
107
+ endpoint: endpoint,
108
+ )
109
+ end
110
+ end
111
+
112
+ class AttachThingPrincipal
113
+ def self.build(context)
114
+ unless context.config.regional_endpoint
115
+ endpoint = context.config.endpoint.to_s
116
+ end
117
+ Aws::IoT::EndpointParameters.new(
118
+ region: context.config.region,
119
+ use_dual_stack: context.config.use_dualstack_endpoint,
120
+ use_fips: context.config.use_fips_endpoint,
121
+ endpoint: endpoint,
122
+ )
123
+ end
124
+ end
125
+
126
+ class CancelAuditMitigationActionsTask
127
+ def self.build(context)
128
+ unless context.config.regional_endpoint
129
+ endpoint = context.config.endpoint.to_s
130
+ end
131
+ Aws::IoT::EndpointParameters.new(
132
+ region: context.config.region,
133
+ use_dual_stack: context.config.use_dualstack_endpoint,
134
+ use_fips: context.config.use_fips_endpoint,
135
+ endpoint: endpoint,
136
+ )
137
+ end
138
+ end
139
+
140
+ class CancelAuditTask
141
+ def self.build(context)
142
+ unless context.config.regional_endpoint
143
+ endpoint = context.config.endpoint.to_s
144
+ end
145
+ Aws::IoT::EndpointParameters.new(
146
+ region: context.config.region,
147
+ use_dual_stack: context.config.use_dualstack_endpoint,
148
+ use_fips: context.config.use_fips_endpoint,
149
+ endpoint: endpoint,
150
+ )
151
+ end
152
+ end
153
+
154
+ class CancelCertificateTransfer
155
+ def self.build(context)
156
+ unless context.config.regional_endpoint
157
+ endpoint = context.config.endpoint.to_s
158
+ end
159
+ Aws::IoT::EndpointParameters.new(
160
+ region: context.config.region,
161
+ use_dual_stack: context.config.use_dualstack_endpoint,
162
+ use_fips: context.config.use_fips_endpoint,
163
+ endpoint: endpoint,
164
+ )
165
+ end
166
+ end
167
+
168
+ class CancelDetectMitigationActionsTask
169
+ def self.build(context)
170
+ unless context.config.regional_endpoint
171
+ endpoint = context.config.endpoint.to_s
172
+ end
173
+ Aws::IoT::EndpointParameters.new(
174
+ region: context.config.region,
175
+ use_dual_stack: context.config.use_dualstack_endpoint,
176
+ use_fips: context.config.use_fips_endpoint,
177
+ endpoint: endpoint,
178
+ )
179
+ end
180
+ end
181
+
182
+ class CancelJob
183
+ def self.build(context)
184
+ unless context.config.regional_endpoint
185
+ endpoint = context.config.endpoint.to_s
186
+ end
187
+ Aws::IoT::EndpointParameters.new(
188
+ region: context.config.region,
189
+ use_dual_stack: context.config.use_dualstack_endpoint,
190
+ use_fips: context.config.use_fips_endpoint,
191
+ endpoint: endpoint,
192
+ )
193
+ end
194
+ end
195
+
196
+ class CancelJobExecution
197
+ def self.build(context)
198
+ unless context.config.regional_endpoint
199
+ endpoint = context.config.endpoint.to_s
200
+ end
201
+ Aws::IoT::EndpointParameters.new(
202
+ region: context.config.region,
203
+ use_dual_stack: context.config.use_dualstack_endpoint,
204
+ use_fips: context.config.use_fips_endpoint,
205
+ endpoint: endpoint,
206
+ )
207
+ end
208
+ end
209
+
210
+ class ClearDefaultAuthorizer
211
+ def self.build(context)
212
+ unless context.config.regional_endpoint
213
+ endpoint = context.config.endpoint.to_s
214
+ end
215
+ Aws::IoT::EndpointParameters.new(
216
+ region: context.config.region,
217
+ use_dual_stack: context.config.use_dualstack_endpoint,
218
+ use_fips: context.config.use_fips_endpoint,
219
+ endpoint: endpoint,
220
+ )
221
+ end
222
+ end
223
+
224
+ class ConfirmTopicRuleDestination
225
+ def self.build(context)
226
+ unless context.config.regional_endpoint
227
+ endpoint = context.config.endpoint.to_s
228
+ end
229
+ Aws::IoT::EndpointParameters.new(
230
+ region: context.config.region,
231
+ use_dual_stack: context.config.use_dualstack_endpoint,
232
+ use_fips: context.config.use_fips_endpoint,
233
+ endpoint: endpoint,
234
+ )
235
+ end
236
+ end
237
+
238
+ class CreateAuditSuppression
239
+ def self.build(context)
240
+ unless context.config.regional_endpoint
241
+ endpoint = context.config.endpoint.to_s
242
+ end
243
+ Aws::IoT::EndpointParameters.new(
244
+ region: context.config.region,
245
+ use_dual_stack: context.config.use_dualstack_endpoint,
246
+ use_fips: context.config.use_fips_endpoint,
247
+ endpoint: endpoint,
248
+ )
249
+ end
250
+ end
251
+
252
+ class CreateAuthorizer
253
+ def self.build(context)
254
+ unless context.config.regional_endpoint
255
+ endpoint = context.config.endpoint.to_s
256
+ end
257
+ Aws::IoT::EndpointParameters.new(
258
+ region: context.config.region,
259
+ use_dual_stack: context.config.use_dualstack_endpoint,
260
+ use_fips: context.config.use_fips_endpoint,
261
+ endpoint: endpoint,
262
+ )
263
+ end
264
+ end
265
+
266
+ class CreateBillingGroup
267
+ def self.build(context)
268
+ unless context.config.regional_endpoint
269
+ endpoint = context.config.endpoint.to_s
270
+ end
271
+ Aws::IoT::EndpointParameters.new(
272
+ region: context.config.region,
273
+ use_dual_stack: context.config.use_dualstack_endpoint,
274
+ use_fips: context.config.use_fips_endpoint,
275
+ endpoint: endpoint,
276
+ )
277
+ end
278
+ end
279
+
280
+ class CreateCertificateFromCsr
281
+ def self.build(context)
282
+ unless context.config.regional_endpoint
283
+ endpoint = context.config.endpoint.to_s
284
+ end
285
+ Aws::IoT::EndpointParameters.new(
286
+ region: context.config.region,
287
+ use_dual_stack: context.config.use_dualstack_endpoint,
288
+ use_fips: context.config.use_fips_endpoint,
289
+ endpoint: endpoint,
290
+ )
291
+ end
292
+ end
293
+
294
+ class CreateCustomMetric
295
+ def self.build(context)
296
+ unless context.config.regional_endpoint
297
+ endpoint = context.config.endpoint.to_s
298
+ end
299
+ Aws::IoT::EndpointParameters.new(
300
+ region: context.config.region,
301
+ use_dual_stack: context.config.use_dualstack_endpoint,
302
+ use_fips: context.config.use_fips_endpoint,
303
+ endpoint: endpoint,
304
+ )
305
+ end
306
+ end
307
+
308
+ class CreateDimension
309
+ def self.build(context)
310
+ unless context.config.regional_endpoint
311
+ endpoint = context.config.endpoint.to_s
312
+ end
313
+ Aws::IoT::EndpointParameters.new(
314
+ region: context.config.region,
315
+ use_dual_stack: context.config.use_dualstack_endpoint,
316
+ use_fips: context.config.use_fips_endpoint,
317
+ endpoint: endpoint,
318
+ )
319
+ end
320
+ end
321
+
322
+ class CreateDomainConfiguration
323
+ def self.build(context)
324
+ unless context.config.regional_endpoint
325
+ endpoint = context.config.endpoint.to_s
326
+ end
327
+ Aws::IoT::EndpointParameters.new(
328
+ region: context.config.region,
329
+ use_dual_stack: context.config.use_dualstack_endpoint,
330
+ use_fips: context.config.use_fips_endpoint,
331
+ endpoint: endpoint,
332
+ )
333
+ end
334
+ end
335
+
336
+ class CreateDynamicThingGroup
337
+ def self.build(context)
338
+ unless context.config.regional_endpoint
339
+ endpoint = context.config.endpoint.to_s
340
+ end
341
+ Aws::IoT::EndpointParameters.new(
342
+ region: context.config.region,
343
+ use_dual_stack: context.config.use_dualstack_endpoint,
344
+ use_fips: context.config.use_fips_endpoint,
345
+ endpoint: endpoint,
346
+ )
347
+ end
348
+ end
349
+
350
+ class CreateFleetMetric
351
+ def self.build(context)
352
+ unless context.config.regional_endpoint
353
+ endpoint = context.config.endpoint.to_s
354
+ end
355
+ Aws::IoT::EndpointParameters.new(
356
+ region: context.config.region,
357
+ use_dual_stack: context.config.use_dualstack_endpoint,
358
+ use_fips: context.config.use_fips_endpoint,
359
+ endpoint: endpoint,
360
+ )
361
+ end
362
+ end
363
+
364
+ class CreateJob
365
+ def self.build(context)
366
+ unless context.config.regional_endpoint
367
+ endpoint = context.config.endpoint.to_s
368
+ end
369
+ Aws::IoT::EndpointParameters.new(
370
+ region: context.config.region,
371
+ use_dual_stack: context.config.use_dualstack_endpoint,
372
+ use_fips: context.config.use_fips_endpoint,
373
+ endpoint: endpoint,
374
+ )
375
+ end
376
+ end
377
+
378
+ class CreateJobTemplate
379
+ def self.build(context)
380
+ unless context.config.regional_endpoint
381
+ endpoint = context.config.endpoint.to_s
382
+ end
383
+ Aws::IoT::EndpointParameters.new(
384
+ region: context.config.region,
385
+ use_dual_stack: context.config.use_dualstack_endpoint,
386
+ use_fips: context.config.use_fips_endpoint,
387
+ endpoint: endpoint,
388
+ )
389
+ end
390
+ end
391
+
392
+ class CreateKeysAndCertificate
393
+ def self.build(context)
394
+ unless context.config.regional_endpoint
395
+ endpoint = context.config.endpoint.to_s
396
+ end
397
+ Aws::IoT::EndpointParameters.new(
398
+ region: context.config.region,
399
+ use_dual_stack: context.config.use_dualstack_endpoint,
400
+ use_fips: context.config.use_fips_endpoint,
401
+ endpoint: endpoint,
402
+ )
403
+ end
404
+ end
405
+
406
+ class CreateMitigationAction
407
+ def self.build(context)
408
+ unless context.config.regional_endpoint
409
+ endpoint = context.config.endpoint.to_s
410
+ end
411
+ Aws::IoT::EndpointParameters.new(
412
+ region: context.config.region,
413
+ use_dual_stack: context.config.use_dualstack_endpoint,
414
+ use_fips: context.config.use_fips_endpoint,
415
+ endpoint: endpoint,
416
+ )
417
+ end
418
+ end
419
+
420
+ class CreateOTAUpdate
421
+ def self.build(context)
422
+ unless context.config.regional_endpoint
423
+ endpoint = context.config.endpoint.to_s
424
+ end
425
+ Aws::IoT::EndpointParameters.new(
426
+ region: context.config.region,
427
+ use_dual_stack: context.config.use_dualstack_endpoint,
428
+ use_fips: context.config.use_fips_endpoint,
429
+ endpoint: endpoint,
430
+ )
431
+ end
432
+ end
433
+
434
+ class CreatePolicy
435
+ def self.build(context)
436
+ unless context.config.regional_endpoint
437
+ endpoint = context.config.endpoint.to_s
438
+ end
439
+ Aws::IoT::EndpointParameters.new(
440
+ region: context.config.region,
441
+ use_dual_stack: context.config.use_dualstack_endpoint,
442
+ use_fips: context.config.use_fips_endpoint,
443
+ endpoint: endpoint,
444
+ )
445
+ end
446
+ end
447
+
448
+ class CreatePolicyVersion
449
+ def self.build(context)
450
+ unless context.config.regional_endpoint
451
+ endpoint = context.config.endpoint.to_s
452
+ end
453
+ Aws::IoT::EndpointParameters.new(
454
+ region: context.config.region,
455
+ use_dual_stack: context.config.use_dualstack_endpoint,
456
+ use_fips: context.config.use_fips_endpoint,
457
+ endpoint: endpoint,
458
+ )
459
+ end
460
+ end
461
+
462
+ class CreateProvisioningClaim
463
+ def self.build(context)
464
+ unless context.config.regional_endpoint
465
+ endpoint = context.config.endpoint.to_s
466
+ end
467
+ Aws::IoT::EndpointParameters.new(
468
+ region: context.config.region,
469
+ use_dual_stack: context.config.use_dualstack_endpoint,
470
+ use_fips: context.config.use_fips_endpoint,
471
+ endpoint: endpoint,
472
+ )
473
+ end
474
+ end
475
+
476
+ class CreateProvisioningTemplate
477
+ def self.build(context)
478
+ unless context.config.regional_endpoint
479
+ endpoint = context.config.endpoint.to_s
480
+ end
481
+ Aws::IoT::EndpointParameters.new(
482
+ region: context.config.region,
483
+ use_dual_stack: context.config.use_dualstack_endpoint,
484
+ use_fips: context.config.use_fips_endpoint,
485
+ endpoint: endpoint,
486
+ )
487
+ end
488
+ end
489
+
490
+ class CreateProvisioningTemplateVersion
491
+ def self.build(context)
492
+ unless context.config.regional_endpoint
493
+ endpoint = context.config.endpoint.to_s
494
+ end
495
+ Aws::IoT::EndpointParameters.new(
496
+ region: context.config.region,
497
+ use_dual_stack: context.config.use_dualstack_endpoint,
498
+ use_fips: context.config.use_fips_endpoint,
499
+ endpoint: endpoint,
500
+ )
501
+ end
502
+ end
503
+
504
+ class CreateRoleAlias
505
+ def self.build(context)
506
+ unless context.config.regional_endpoint
507
+ endpoint = context.config.endpoint.to_s
508
+ end
509
+ Aws::IoT::EndpointParameters.new(
510
+ region: context.config.region,
511
+ use_dual_stack: context.config.use_dualstack_endpoint,
512
+ use_fips: context.config.use_fips_endpoint,
513
+ endpoint: endpoint,
514
+ )
515
+ end
516
+ end
517
+
518
+ class CreateScheduledAudit
519
+ def self.build(context)
520
+ unless context.config.regional_endpoint
521
+ endpoint = context.config.endpoint.to_s
522
+ end
523
+ Aws::IoT::EndpointParameters.new(
524
+ region: context.config.region,
525
+ use_dual_stack: context.config.use_dualstack_endpoint,
526
+ use_fips: context.config.use_fips_endpoint,
527
+ endpoint: endpoint,
528
+ )
529
+ end
530
+ end
531
+
532
+ class CreateSecurityProfile
533
+ def self.build(context)
534
+ unless context.config.regional_endpoint
535
+ endpoint = context.config.endpoint.to_s
536
+ end
537
+ Aws::IoT::EndpointParameters.new(
538
+ region: context.config.region,
539
+ use_dual_stack: context.config.use_dualstack_endpoint,
540
+ use_fips: context.config.use_fips_endpoint,
541
+ endpoint: endpoint,
542
+ )
543
+ end
544
+ end
545
+
546
+ class CreateStream
547
+ def self.build(context)
548
+ unless context.config.regional_endpoint
549
+ endpoint = context.config.endpoint.to_s
550
+ end
551
+ Aws::IoT::EndpointParameters.new(
552
+ region: context.config.region,
553
+ use_dual_stack: context.config.use_dualstack_endpoint,
554
+ use_fips: context.config.use_fips_endpoint,
555
+ endpoint: endpoint,
556
+ )
557
+ end
558
+ end
559
+
560
+ class CreateThing
561
+ def self.build(context)
562
+ unless context.config.regional_endpoint
563
+ endpoint = context.config.endpoint.to_s
564
+ end
565
+ Aws::IoT::EndpointParameters.new(
566
+ region: context.config.region,
567
+ use_dual_stack: context.config.use_dualstack_endpoint,
568
+ use_fips: context.config.use_fips_endpoint,
569
+ endpoint: endpoint,
570
+ )
571
+ end
572
+ end
573
+
574
+ class CreateThingGroup
575
+ def self.build(context)
576
+ unless context.config.regional_endpoint
577
+ endpoint = context.config.endpoint.to_s
578
+ end
579
+ Aws::IoT::EndpointParameters.new(
580
+ region: context.config.region,
581
+ use_dual_stack: context.config.use_dualstack_endpoint,
582
+ use_fips: context.config.use_fips_endpoint,
583
+ endpoint: endpoint,
584
+ )
585
+ end
586
+ end
587
+
588
+ class CreateThingType
589
+ def self.build(context)
590
+ unless context.config.regional_endpoint
591
+ endpoint = context.config.endpoint.to_s
592
+ end
593
+ Aws::IoT::EndpointParameters.new(
594
+ region: context.config.region,
595
+ use_dual_stack: context.config.use_dualstack_endpoint,
596
+ use_fips: context.config.use_fips_endpoint,
597
+ endpoint: endpoint,
598
+ )
599
+ end
600
+ end
601
+
602
+ class CreateTopicRule
603
+ def self.build(context)
604
+ unless context.config.regional_endpoint
605
+ endpoint = context.config.endpoint.to_s
606
+ end
607
+ Aws::IoT::EndpointParameters.new(
608
+ region: context.config.region,
609
+ use_dual_stack: context.config.use_dualstack_endpoint,
610
+ use_fips: context.config.use_fips_endpoint,
611
+ endpoint: endpoint,
612
+ )
613
+ end
614
+ end
615
+
616
+ class CreateTopicRuleDestination
617
+ def self.build(context)
618
+ unless context.config.regional_endpoint
619
+ endpoint = context.config.endpoint.to_s
620
+ end
621
+ Aws::IoT::EndpointParameters.new(
622
+ region: context.config.region,
623
+ use_dual_stack: context.config.use_dualstack_endpoint,
624
+ use_fips: context.config.use_fips_endpoint,
625
+ endpoint: endpoint,
626
+ )
627
+ end
628
+ end
629
+
630
+ class DeleteAccountAuditConfiguration
631
+ def self.build(context)
632
+ unless context.config.regional_endpoint
633
+ endpoint = context.config.endpoint.to_s
634
+ end
635
+ Aws::IoT::EndpointParameters.new(
636
+ region: context.config.region,
637
+ use_dual_stack: context.config.use_dualstack_endpoint,
638
+ use_fips: context.config.use_fips_endpoint,
639
+ endpoint: endpoint,
640
+ )
641
+ end
642
+ end
643
+
644
+ class DeleteAuditSuppression
645
+ def self.build(context)
646
+ unless context.config.regional_endpoint
647
+ endpoint = context.config.endpoint.to_s
648
+ end
649
+ Aws::IoT::EndpointParameters.new(
650
+ region: context.config.region,
651
+ use_dual_stack: context.config.use_dualstack_endpoint,
652
+ use_fips: context.config.use_fips_endpoint,
653
+ endpoint: endpoint,
654
+ )
655
+ end
656
+ end
657
+
658
+ class DeleteAuthorizer
659
+ def self.build(context)
660
+ unless context.config.regional_endpoint
661
+ endpoint = context.config.endpoint.to_s
662
+ end
663
+ Aws::IoT::EndpointParameters.new(
664
+ region: context.config.region,
665
+ use_dual_stack: context.config.use_dualstack_endpoint,
666
+ use_fips: context.config.use_fips_endpoint,
667
+ endpoint: endpoint,
668
+ )
669
+ end
670
+ end
671
+
672
+ class DeleteBillingGroup
673
+ def self.build(context)
674
+ unless context.config.regional_endpoint
675
+ endpoint = context.config.endpoint.to_s
676
+ end
677
+ Aws::IoT::EndpointParameters.new(
678
+ region: context.config.region,
679
+ use_dual_stack: context.config.use_dualstack_endpoint,
680
+ use_fips: context.config.use_fips_endpoint,
681
+ endpoint: endpoint,
682
+ )
683
+ end
684
+ end
685
+
686
+ class DeleteCACertificate
687
+ def self.build(context)
688
+ unless context.config.regional_endpoint
689
+ endpoint = context.config.endpoint.to_s
690
+ end
691
+ Aws::IoT::EndpointParameters.new(
692
+ region: context.config.region,
693
+ use_dual_stack: context.config.use_dualstack_endpoint,
694
+ use_fips: context.config.use_fips_endpoint,
695
+ endpoint: endpoint,
696
+ )
697
+ end
698
+ end
699
+
700
+ class DeleteCertificate
701
+ def self.build(context)
702
+ unless context.config.regional_endpoint
703
+ endpoint = context.config.endpoint.to_s
704
+ end
705
+ Aws::IoT::EndpointParameters.new(
706
+ region: context.config.region,
707
+ use_dual_stack: context.config.use_dualstack_endpoint,
708
+ use_fips: context.config.use_fips_endpoint,
709
+ endpoint: endpoint,
710
+ )
711
+ end
712
+ end
713
+
714
+ class DeleteCustomMetric
715
+ def self.build(context)
716
+ unless context.config.regional_endpoint
717
+ endpoint = context.config.endpoint.to_s
718
+ end
719
+ Aws::IoT::EndpointParameters.new(
720
+ region: context.config.region,
721
+ use_dual_stack: context.config.use_dualstack_endpoint,
722
+ use_fips: context.config.use_fips_endpoint,
723
+ endpoint: endpoint,
724
+ )
725
+ end
726
+ end
727
+
728
+ class DeleteDimension
729
+ def self.build(context)
730
+ unless context.config.regional_endpoint
731
+ endpoint = context.config.endpoint.to_s
732
+ end
733
+ Aws::IoT::EndpointParameters.new(
734
+ region: context.config.region,
735
+ use_dual_stack: context.config.use_dualstack_endpoint,
736
+ use_fips: context.config.use_fips_endpoint,
737
+ endpoint: endpoint,
738
+ )
739
+ end
740
+ end
741
+
742
+ class DeleteDomainConfiguration
743
+ def self.build(context)
744
+ unless context.config.regional_endpoint
745
+ endpoint = context.config.endpoint.to_s
746
+ end
747
+ Aws::IoT::EndpointParameters.new(
748
+ region: context.config.region,
749
+ use_dual_stack: context.config.use_dualstack_endpoint,
750
+ use_fips: context.config.use_fips_endpoint,
751
+ endpoint: endpoint,
752
+ )
753
+ end
754
+ end
755
+
756
+ class DeleteDynamicThingGroup
757
+ def self.build(context)
758
+ unless context.config.regional_endpoint
759
+ endpoint = context.config.endpoint.to_s
760
+ end
761
+ Aws::IoT::EndpointParameters.new(
762
+ region: context.config.region,
763
+ use_dual_stack: context.config.use_dualstack_endpoint,
764
+ use_fips: context.config.use_fips_endpoint,
765
+ endpoint: endpoint,
766
+ )
767
+ end
768
+ end
769
+
770
+ class DeleteFleetMetric
771
+ def self.build(context)
772
+ unless context.config.regional_endpoint
773
+ endpoint = context.config.endpoint.to_s
774
+ end
775
+ Aws::IoT::EndpointParameters.new(
776
+ region: context.config.region,
777
+ use_dual_stack: context.config.use_dualstack_endpoint,
778
+ use_fips: context.config.use_fips_endpoint,
779
+ endpoint: endpoint,
780
+ )
781
+ end
782
+ end
783
+
784
+ class DeleteJob
785
+ def self.build(context)
786
+ unless context.config.regional_endpoint
787
+ endpoint = context.config.endpoint.to_s
788
+ end
789
+ Aws::IoT::EndpointParameters.new(
790
+ region: context.config.region,
791
+ use_dual_stack: context.config.use_dualstack_endpoint,
792
+ use_fips: context.config.use_fips_endpoint,
793
+ endpoint: endpoint,
794
+ )
795
+ end
796
+ end
797
+
798
+ class DeleteJobExecution
799
+ def self.build(context)
800
+ unless context.config.regional_endpoint
801
+ endpoint = context.config.endpoint.to_s
802
+ end
803
+ Aws::IoT::EndpointParameters.new(
804
+ region: context.config.region,
805
+ use_dual_stack: context.config.use_dualstack_endpoint,
806
+ use_fips: context.config.use_fips_endpoint,
807
+ endpoint: endpoint,
808
+ )
809
+ end
810
+ end
811
+
812
+ class DeleteJobTemplate
813
+ def self.build(context)
814
+ unless context.config.regional_endpoint
815
+ endpoint = context.config.endpoint.to_s
816
+ end
817
+ Aws::IoT::EndpointParameters.new(
818
+ region: context.config.region,
819
+ use_dual_stack: context.config.use_dualstack_endpoint,
820
+ use_fips: context.config.use_fips_endpoint,
821
+ endpoint: endpoint,
822
+ )
823
+ end
824
+ end
825
+
826
+ class DeleteMitigationAction
827
+ def self.build(context)
828
+ unless context.config.regional_endpoint
829
+ endpoint = context.config.endpoint.to_s
830
+ end
831
+ Aws::IoT::EndpointParameters.new(
832
+ region: context.config.region,
833
+ use_dual_stack: context.config.use_dualstack_endpoint,
834
+ use_fips: context.config.use_fips_endpoint,
835
+ endpoint: endpoint,
836
+ )
837
+ end
838
+ end
839
+
840
+ class DeleteOTAUpdate
841
+ def self.build(context)
842
+ unless context.config.regional_endpoint
843
+ endpoint = context.config.endpoint.to_s
844
+ end
845
+ Aws::IoT::EndpointParameters.new(
846
+ region: context.config.region,
847
+ use_dual_stack: context.config.use_dualstack_endpoint,
848
+ use_fips: context.config.use_fips_endpoint,
849
+ endpoint: endpoint,
850
+ )
851
+ end
852
+ end
853
+
854
+ class DeletePolicy
855
+ def self.build(context)
856
+ unless context.config.regional_endpoint
857
+ endpoint = context.config.endpoint.to_s
858
+ end
859
+ Aws::IoT::EndpointParameters.new(
860
+ region: context.config.region,
861
+ use_dual_stack: context.config.use_dualstack_endpoint,
862
+ use_fips: context.config.use_fips_endpoint,
863
+ endpoint: endpoint,
864
+ )
865
+ end
866
+ end
867
+
868
+ class DeletePolicyVersion
869
+ def self.build(context)
870
+ unless context.config.regional_endpoint
871
+ endpoint = context.config.endpoint.to_s
872
+ end
873
+ Aws::IoT::EndpointParameters.new(
874
+ region: context.config.region,
875
+ use_dual_stack: context.config.use_dualstack_endpoint,
876
+ use_fips: context.config.use_fips_endpoint,
877
+ endpoint: endpoint,
878
+ )
879
+ end
880
+ end
881
+
882
+ class DeleteProvisioningTemplate
883
+ def self.build(context)
884
+ unless context.config.regional_endpoint
885
+ endpoint = context.config.endpoint.to_s
886
+ end
887
+ Aws::IoT::EndpointParameters.new(
888
+ region: context.config.region,
889
+ use_dual_stack: context.config.use_dualstack_endpoint,
890
+ use_fips: context.config.use_fips_endpoint,
891
+ endpoint: endpoint,
892
+ )
893
+ end
894
+ end
895
+
896
+ class DeleteProvisioningTemplateVersion
897
+ def self.build(context)
898
+ unless context.config.regional_endpoint
899
+ endpoint = context.config.endpoint.to_s
900
+ end
901
+ Aws::IoT::EndpointParameters.new(
902
+ region: context.config.region,
903
+ use_dual_stack: context.config.use_dualstack_endpoint,
904
+ use_fips: context.config.use_fips_endpoint,
905
+ endpoint: endpoint,
906
+ )
907
+ end
908
+ end
909
+
910
+ class DeleteRegistrationCode
911
+ def self.build(context)
912
+ unless context.config.regional_endpoint
913
+ endpoint = context.config.endpoint.to_s
914
+ end
915
+ Aws::IoT::EndpointParameters.new(
916
+ region: context.config.region,
917
+ use_dual_stack: context.config.use_dualstack_endpoint,
918
+ use_fips: context.config.use_fips_endpoint,
919
+ endpoint: endpoint,
920
+ )
921
+ end
922
+ end
923
+
924
+ class DeleteRoleAlias
925
+ def self.build(context)
926
+ unless context.config.regional_endpoint
927
+ endpoint = context.config.endpoint.to_s
928
+ end
929
+ Aws::IoT::EndpointParameters.new(
930
+ region: context.config.region,
931
+ use_dual_stack: context.config.use_dualstack_endpoint,
932
+ use_fips: context.config.use_fips_endpoint,
933
+ endpoint: endpoint,
934
+ )
935
+ end
936
+ end
937
+
938
+ class DeleteScheduledAudit
939
+ def self.build(context)
940
+ unless context.config.regional_endpoint
941
+ endpoint = context.config.endpoint.to_s
942
+ end
943
+ Aws::IoT::EndpointParameters.new(
944
+ region: context.config.region,
945
+ use_dual_stack: context.config.use_dualstack_endpoint,
946
+ use_fips: context.config.use_fips_endpoint,
947
+ endpoint: endpoint,
948
+ )
949
+ end
950
+ end
951
+
952
+ class DeleteSecurityProfile
953
+ def self.build(context)
954
+ unless context.config.regional_endpoint
955
+ endpoint = context.config.endpoint.to_s
956
+ end
957
+ Aws::IoT::EndpointParameters.new(
958
+ region: context.config.region,
959
+ use_dual_stack: context.config.use_dualstack_endpoint,
960
+ use_fips: context.config.use_fips_endpoint,
961
+ endpoint: endpoint,
962
+ )
963
+ end
964
+ end
965
+
966
+ class DeleteStream
967
+ def self.build(context)
968
+ unless context.config.regional_endpoint
969
+ endpoint = context.config.endpoint.to_s
970
+ end
971
+ Aws::IoT::EndpointParameters.new(
972
+ region: context.config.region,
973
+ use_dual_stack: context.config.use_dualstack_endpoint,
974
+ use_fips: context.config.use_fips_endpoint,
975
+ endpoint: endpoint,
976
+ )
977
+ end
978
+ end
979
+
980
+ class DeleteThing
981
+ def self.build(context)
982
+ unless context.config.regional_endpoint
983
+ endpoint = context.config.endpoint.to_s
984
+ end
985
+ Aws::IoT::EndpointParameters.new(
986
+ region: context.config.region,
987
+ use_dual_stack: context.config.use_dualstack_endpoint,
988
+ use_fips: context.config.use_fips_endpoint,
989
+ endpoint: endpoint,
990
+ )
991
+ end
992
+ end
993
+
994
+ class DeleteThingGroup
995
+ def self.build(context)
996
+ unless context.config.regional_endpoint
997
+ endpoint = context.config.endpoint.to_s
998
+ end
999
+ Aws::IoT::EndpointParameters.new(
1000
+ region: context.config.region,
1001
+ use_dual_stack: context.config.use_dualstack_endpoint,
1002
+ use_fips: context.config.use_fips_endpoint,
1003
+ endpoint: endpoint,
1004
+ )
1005
+ end
1006
+ end
1007
+
1008
+ class DeleteThingType
1009
+ def self.build(context)
1010
+ unless context.config.regional_endpoint
1011
+ endpoint = context.config.endpoint.to_s
1012
+ end
1013
+ Aws::IoT::EndpointParameters.new(
1014
+ region: context.config.region,
1015
+ use_dual_stack: context.config.use_dualstack_endpoint,
1016
+ use_fips: context.config.use_fips_endpoint,
1017
+ endpoint: endpoint,
1018
+ )
1019
+ end
1020
+ end
1021
+
1022
+ class DeleteTopicRule
1023
+ def self.build(context)
1024
+ unless context.config.regional_endpoint
1025
+ endpoint = context.config.endpoint.to_s
1026
+ end
1027
+ Aws::IoT::EndpointParameters.new(
1028
+ region: context.config.region,
1029
+ use_dual_stack: context.config.use_dualstack_endpoint,
1030
+ use_fips: context.config.use_fips_endpoint,
1031
+ endpoint: endpoint,
1032
+ )
1033
+ end
1034
+ end
1035
+
1036
+ class DeleteTopicRuleDestination
1037
+ def self.build(context)
1038
+ unless context.config.regional_endpoint
1039
+ endpoint = context.config.endpoint.to_s
1040
+ end
1041
+ Aws::IoT::EndpointParameters.new(
1042
+ region: context.config.region,
1043
+ use_dual_stack: context.config.use_dualstack_endpoint,
1044
+ use_fips: context.config.use_fips_endpoint,
1045
+ endpoint: endpoint,
1046
+ )
1047
+ end
1048
+ end
1049
+
1050
+ class DeleteV2LoggingLevel
1051
+ def self.build(context)
1052
+ unless context.config.regional_endpoint
1053
+ endpoint = context.config.endpoint.to_s
1054
+ end
1055
+ Aws::IoT::EndpointParameters.new(
1056
+ region: context.config.region,
1057
+ use_dual_stack: context.config.use_dualstack_endpoint,
1058
+ use_fips: context.config.use_fips_endpoint,
1059
+ endpoint: endpoint,
1060
+ )
1061
+ end
1062
+ end
1063
+
1064
+ class DeprecateThingType
1065
+ def self.build(context)
1066
+ unless context.config.regional_endpoint
1067
+ endpoint = context.config.endpoint.to_s
1068
+ end
1069
+ Aws::IoT::EndpointParameters.new(
1070
+ region: context.config.region,
1071
+ use_dual_stack: context.config.use_dualstack_endpoint,
1072
+ use_fips: context.config.use_fips_endpoint,
1073
+ endpoint: endpoint,
1074
+ )
1075
+ end
1076
+ end
1077
+
1078
+ class DescribeAccountAuditConfiguration
1079
+ def self.build(context)
1080
+ unless context.config.regional_endpoint
1081
+ endpoint = context.config.endpoint.to_s
1082
+ end
1083
+ Aws::IoT::EndpointParameters.new(
1084
+ region: context.config.region,
1085
+ use_dual_stack: context.config.use_dualstack_endpoint,
1086
+ use_fips: context.config.use_fips_endpoint,
1087
+ endpoint: endpoint,
1088
+ )
1089
+ end
1090
+ end
1091
+
1092
+ class DescribeAuditFinding
1093
+ def self.build(context)
1094
+ unless context.config.regional_endpoint
1095
+ endpoint = context.config.endpoint.to_s
1096
+ end
1097
+ Aws::IoT::EndpointParameters.new(
1098
+ region: context.config.region,
1099
+ use_dual_stack: context.config.use_dualstack_endpoint,
1100
+ use_fips: context.config.use_fips_endpoint,
1101
+ endpoint: endpoint,
1102
+ )
1103
+ end
1104
+ end
1105
+
1106
+ class DescribeAuditMitigationActionsTask
1107
+ def self.build(context)
1108
+ unless context.config.regional_endpoint
1109
+ endpoint = context.config.endpoint.to_s
1110
+ end
1111
+ Aws::IoT::EndpointParameters.new(
1112
+ region: context.config.region,
1113
+ use_dual_stack: context.config.use_dualstack_endpoint,
1114
+ use_fips: context.config.use_fips_endpoint,
1115
+ endpoint: endpoint,
1116
+ )
1117
+ end
1118
+ end
1119
+
1120
+ class DescribeAuditSuppression
1121
+ def self.build(context)
1122
+ unless context.config.regional_endpoint
1123
+ endpoint = context.config.endpoint.to_s
1124
+ end
1125
+ Aws::IoT::EndpointParameters.new(
1126
+ region: context.config.region,
1127
+ use_dual_stack: context.config.use_dualstack_endpoint,
1128
+ use_fips: context.config.use_fips_endpoint,
1129
+ endpoint: endpoint,
1130
+ )
1131
+ end
1132
+ end
1133
+
1134
+ class DescribeAuditTask
1135
+ def self.build(context)
1136
+ unless context.config.regional_endpoint
1137
+ endpoint = context.config.endpoint.to_s
1138
+ end
1139
+ Aws::IoT::EndpointParameters.new(
1140
+ region: context.config.region,
1141
+ use_dual_stack: context.config.use_dualstack_endpoint,
1142
+ use_fips: context.config.use_fips_endpoint,
1143
+ endpoint: endpoint,
1144
+ )
1145
+ end
1146
+ end
1147
+
1148
+ class DescribeAuthorizer
1149
+ def self.build(context)
1150
+ unless context.config.regional_endpoint
1151
+ endpoint = context.config.endpoint.to_s
1152
+ end
1153
+ Aws::IoT::EndpointParameters.new(
1154
+ region: context.config.region,
1155
+ use_dual_stack: context.config.use_dualstack_endpoint,
1156
+ use_fips: context.config.use_fips_endpoint,
1157
+ endpoint: endpoint,
1158
+ )
1159
+ end
1160
+ end
1161
+
1162
+ class DescribeBillingGroup
1163
+ def self.build(context)
1164
+ unless context.config.regional_endpoint
1165
+ endpoint = context.config.endpoint.to_s
1166
+ end
1167
+ Aws::IoT::EndpointParameters.new(
1168
+ region: context.config.region,
1169
+ use_dual_stack: context.config.use_dualstack_endpoint,
1170
+ use_fips: context.config.use_fips_endpoint,
1171
+ endpoint: endpoint,
1172
+ )
1173
+ end
1174
+ end
1175
+
1176
+ class DescribeCACertificate
1177
+ def self.build(context)
1178
+ unless context.config.regional_endpoint
1179
+ endpoint = context.config.endpoint.to_s
1180
+ end
1181
+ Aws::IoT::EndpointParameters.new(
1182
+ region: context.config.region,
1183
+ use_dual_stack: context.config.use_dualstack_endpoint,
1184
+ use_fips: context.config.use_fips_endpoint,
1185
+ endpoint: endpoint,
1186
+ )
1187
+ end
1188
+ end
1189
+
1190
+ class DescribeCertificate
1191
+ def self.build(context)
1192
+ unless context.config.regional_endpoint
1193
+ endpoint = context.config.endpoint.to_s
1194
+ end
1195
+ Aws::IoT::EndpointParameters.new(
1196
+ region: context.config.region,
1197
+ use_dual_stack: context.config.use_dualstack_endpoint,
1198
+ use_fips: context.config.use_fips_endpoint,
1199
+ endpoint: endpoint,
1200
+ )
1201
+ end
1202
+ end
1203
+
1204
+ class DescribeCustomMetric
1205
+ def self.build(context)
1206
+ unless context.config.regional_endpoint
1207
+ endpoint = context.config.endpoint.to_s
1208
+ end
1209
+ Aws::IoT::EndpointParameters.new(
1210
+ region: context.config.region,
1211
+ use_dual_stack: context.config.use_dualstack_endpoint,
1212
+ use_fips: context.config.use_fips_endpoint,
1213
+ endpoint: endpoint,
1214
+ )
1215
+ end
1216
+ end
1217
+
1218
+ class DescribeDefaultAuthorizer
1219
+ def self.build(context)
1220
+ unless context.config.regional_endpoint
1221
+ endpoint = context.config.endpoint.to_s
1222
+ end
1223
+ Aws::IoT::EndpointParameters.new(
1224
+ region: context.config.region,
1225
+ use_dual_stack: context.config.use_dualstack_endpoint,
1226
+ use_fips: context.config.use_fips_endpoint,
1227
+ endpoint: endpoint,
1228
+ )
1229
+ end
1230
+ end
1231
+
1232
+ class DescribeDetectMitigationActionsTask
1233
+ def self.build(context)
1234
+ unless context.config.regional_endpoint
1235
+ endpoint = context.config.endpoint.to_s
1236
+ end
1237
+ Aws::IoT::EndpointParameters.new(
1238
+ region: context.config.region,
1239
+ use_dual_stack: context.config.use_dualstack_endpoint,
1240
+ use_fips: context.config.use_fips_endpoint,
1241
+ endpoint: endpoint,
1242
+ )
1243
+ end
1244
+ end
1245
+
1246
+ class DescribeDimension
1247
+ def self.build(context)
1248
+ unless context.config.regional_endpoint
1249
+ endpoint = context.config.endpoint.to_s
1250
+ end
1251
+ Aws::IoT::EndpointParameters.new(
1252
+ region: context.config.region,
1253
+ use_dual_stack: context.config.use_dualstack_endpoint,
1254
+ use_fips: context.config.use_fips_endpoint,
1255
+ endpoint: endpoint,
1256
+ )
1257
+ end
1258
+ end
1259
+
1260
+ class DescribeDomainConfiguration
1261
+ def self.build(context)
1262
+ unless context.config.regional_endpoint
1263
+ endpoint = context.config.endpoint.to_s
1264
+ end
1265
+ Aws::IoT::EndpointParameters.new(
1266
+ region: context.config.region,
1267
+ use_dual_stack: context.config.use_dualstack_endpoint,
1268
+ use_fips: context.config.use_fips_endpoint,
1269
+ endpoint: endpoint,
1270
+ )
1271
+ end
1272
+ end
1273
+
1274
+ class DescribeEndpoint
1275
+ def self.build(context)
1276
+ unless context.config.regional_endpoint
1277
+ endpoint = context.config.endpoint.to_s
1278
+ end
1279
+ Aws::IoT::EndpointParameters.new(
1280
+ region: context.config.region,
1281
+ use_dual_stack: context.config.use_dualstack_endpoint,
1282
+ use_fips: context.config.use_fips_endpoint,
1283
+ endpoint: endpoint,
1284
+ )
1285
+ end
1286
+ end
1287
+
1288
+ class DescribeEventConfigurations
1289
+ def self.build(context)
1290
+ unless context.config.regional_endpoint
1291
+ endpoint = context.config.endpoint.to_s
1292
+ end
1293
+ Aws::IoT::EndpointParameters.new(
1294
+ region: context.config.region,
1295
+ use_dual_stack: context.config.use_dualstack_endpoint,
1296
+ use_fips: context.config.use_fips_endpoint,
1297
+ endpoint: endpoint,
1298
+ )
1299
+ end
1300
+ end
1301
+
1302
+ class DescribeFleetMetric
1303
+ def self.build(context)
1304
+ unless context.config.regional_endpoint
1305
+ endpoint = context.config.endpoint.to_s
1306
+ end
1307
+ Aws::IoT::EndpointParameters.new(
1308
+ region: context.config.region,
1309
+ use_dual_stack: context.config.use_dualstack_endpoint,
1310
+ use_fips: context.config.use_fips_endpoint,
1311
+ endpoint: endpoint,
1312
+ )
1313
+ end
1314
+ end
1315
+
1316
+ class DescribeIndex
1317
+ def self.build(context)
1318
+ unless context.config.regional_endpoint
1319
+ endpoint = context.config.endpoint.to_s
1320
+ end
1321
+ Aws::IoT::EndpointParameters.new(
1322
+ region: context.config.region,
1323
+ use_dual_stack: context.config.use_dualstack_endpoint,
1324
+ use_fips: context.config.use_fips_endpoint,
1325
+ endpoint: endpoint,
1326
+ )
1327
+ end
1328
+ end
1329
+
1330
+ class DescribeJob
1331
+ def self.build(context)
1332
+ unless context.config.regional_endpoint
1333
+ endpoint = context.config.endpoint.to_s
1334
+ end
1335
+ Aws::IoT::EndpointParameters.new(
1336
+ region: context.config.region,
1337
+ use_dual_stack: context.config.use_dualstack_endpoint,
1338
+ use_fips: context.config.use_fips_endpoint,
1339
+ endpoint: endpoint,
1340
+ )
1341
+ end
1342
+ end
1343
+
1344
+ class DescribeJobExecution
1345
+ def self.build(context)
1346
+ unless context.config.regional_endpoint
1347
+ endpoint = context.config.endpoint.to_s
1348
+ end
1349
+ Aws::IoT::EndpointParameters.new(
1350
+ region: context.config.region,
1351
+ use_dual_stack: context.config.use_dualstack_endpoint,
1352
+ use_fips: context.config.use_fips_endpoint,
1353
+ endpoint: endpoint,
1354
+ )
1355
+ end
1356
+ end
1357
+
1358
+ class DescribeJobTemplate
1359
+ def self.build(context)
1360
+ unless context.config.regional_endpoint
1361
+ endpoint = context.config.endpoint.to_s
1362
+ end
1363
+ Aws::IoT::EndpointParameters.new(
1364
+ region: context.config.region,
1365
+ use_dual_stack: context.config.use_dualstack_endpoint,
1366
+ use_fips: context.config.use_fips_endpoint,
1367
+ endpoint: endpoint,
1368
+ )
1369
+ end
1370
+ end
1371
+
1372
+ class DescribeManagedJobTemplate
1373
+ def self.build(context)
1374
+ unless context.config.regional_endpoint
1375
+ endpoint = context.config.endpoint.to_s
1376
+ end
1377
+ Aws::IoT::EndpointParameters.new(
1378
+ region: context.config.region,
1379
+ use_dual_stack: context.config.use_dualstack_endpoint,
1380
+ use_fips: context.config.use_fips_endpoint,
1381
+ endpoint: endpoint,
1382
+ )
1383
+ end
1384
+ end
1385
+
1386
+ class DescribeMitigationAction
1387
+ def self.build(context)
1388
+ unless context.config.regional_endpoint
1389
+ endpoint = context.config.endpoint.to_s
1390
+ end
1391
+ Aws::IoT::EndpointParameters.new(
1392
+ region: context.config.region,
1393
+ use_dual_stack: context.config.use_dualstack_endpoint,
1394
+ use_fips: context.config.use_fips_endpoint,
1395
+ endpoint: endpoint,
1396
+ )
1397
+ end
1398
+ end
1399
+
1400
+ class DescribeProvisioningTemplate
1401
+ def self.build(context)
1402
+ unless context.config.regional_endpoint
1403
+ endpoint = context.config.endpoint.to_s
1404
+ end
1405
+ Aws::IoT::EndpointParameters.new(
1406
+ region: context.config.region,
1407
+ use_dual_stack: context.config.use_dualstack_endpoint,
1408
+ use_fips: context.config.use_fips_endpoint,
1409
+ endpoint: endpoint,
1410
+ )
1411
+ end
1412
+ end
1413
+
1414
+ class DescribeProvisioningTemplateVersion
1415
+ def self.build(context)
1416
+ unless context.config.regional_endpoint
1417
+ endpoint = context.config.endpoint.to_s
1418
+ end
1419
+ Aws::IoT::EndpointParameters.new(
1420
+ region: context.config.region,
1421
+ use_dual_stack: context.config.use_dualstack_endpoint,
1422
+ use_fips: context.config.use_fips_endpoint,
1423
+ endpoint: endpoint,
1424
+ )
1425
+ end
1426
+ end
1427
+
1428
+ class DescribeRoleAlias
1429
+ def self.build(context)
1430
+ unless context.config.regional_endpoint
1431
+ endpoint = context.config.endpoint.to_s
1432
+ end
1433
+ Aws::IoT::EndpointParameters.new(
1434
+ region: context.config.region,
1435
+ use_dual_stack: context.config.use_dualstack_endpoint,
1436
+ use_fips: context.config.use_fips_endpoint,
1437
+ endpoint: endpoint,
1438
+ )
1439
+ end
1440
+ end
1441
+
1442
+ class DescribeScheduledAudit
1443
+ def self.build(context)
1444
+ unless context.config.regional_endpoint
1445
+ endpoint = context.config.endpoint.to_s
1446
+ end
1447
+ Aws::IoT::EndpointParameters.new(
1448
+ region: context.config.region,
1449
+ use_dual_stack: context.config.use_dualstack_endpoint,
1450
+ use_fips: context.config.use_fips_endpoint,
1451
+ endpoint: endpoint,
1452
+ )
1453
+ end
1454
+ end
1455
+
1456
+ class DescribeSecurityProfile
1457
+ def self.build(context)
1458
+ unless context.config.regional_endpoint
1459
+ endpoint = context.config.endpoint.to_s
1460
+ end
1461
+ Aws::IoT::EndpointParameters.new(
1462
+ region: context.config.region,
1463
+ use_dual_stack: context.config.use_dualstack_endpoint,
1464
+ use_fips: context.config.use_fips_endpoint,
1465
+ endpoint: endpoint,
1466
+ )
1467
+ end
1468
+ end
1469
+
1470
+ class DescribeStream
1471
+ def self.build(context)
1472
+ unless context.config.regional_endpoint
1473
+ endpoint = context.config.endpoint.to_s
1474
+ end
1475
+ Aws::IoT::EndpointParameters.new(
1476
+ region: context.config.region,
1477
+ use_dual_stack: context.config.use_dualstack_endpoint,
1478
+ use_fips: context.config.use_fips_endpoint,
1479
+ endpoint: endpoint,
1480
+ )
1481
+ end
1482
+ end
1483
+
1484
+ class DescribeThing
1485
+ def self.build(context)
1486
+ unless context.config.regional_endpoint
1487
+ endpoint = context.config.endpoint.to_s
1488
+ end
1489
+ Aws::IoT::EndpointParameters.new(
1490
+ region: context.config.region,
1491
+ use_dual_stack: context.config.use_dualstack_endpoint,
1492
+ use_fips: context.config.use_fips_endpoint,
1493
+ endpoint: endpoint,
1494
+ )
1495
+ end
1496
+ end
1497
+
1498
+ class DescribeThingGroup
1499
+ def self.build(context)
1500
+ unless context.config.regional_endpoint
1501
+ endpoint = context.config.endpoint.to_s
1502
+ end
1503
+ Aws::IoT::EndpointParameters.new(
1504
+ region: context.config.region,
1505
+ use_dual_stack: context.config.use_dualstack_endpoint,
1506
+ use_fips: context.config.use_fips_endpoint,
1507
+ endpoint: endpoint,
1508
+ )
1509
+ end
1510
+ end
1511
+
1512
+ class DescribeThingRegistrationTask
1513
+ def self.build(context)
1514
+ unless context.config.regional_endpoint
1515
+ endpoint = context.config.endpoint.to_s
1516
+ end
1517
+ Aws::IoT::EndpointParameters.new(
1518
+ region: context.config.region,
1519
+ use_dual_stack: context.config.use_dualstack_endpoint,
1520
+ use_fips: context.config.use_fips_endpoint,
1521
+ endpoint: endpoint,
1522
+ )
1523
+ end
1524
+ end
1525
+
1526
+ class DescribeThingType
1527
+ def self.build(context)
1528
+ unless context.config.regional_endpoint
1529
+ endpoint = context.config.endpoint.to_s
1530
+ end
1531
+ Aws::IoT::EndpointParameters.new(
1532
+ region: context.config.region,
1533
+ use_dual_stack: context.config.use_dualstack_endpoint,
1534
+ use_fips: context.config.use_fips_endpoint,
1535
+ endpoint: endpoint,
1536
+ )
1537
+ end
1538
+ end
1539
+
1540
+ class DetachPolicy
1541
+ def self.build(context)
1542
+ unless context.config.regional_endpoint
1543
+ endpoint = context.config.endpoint.to_s
1544
+ end
1545
+ Aws::IoT::EndpointParameters.new(
1546
+ region: context.config.region,
1547
+ use_dual_stack: context.config.use_dualstack_endpoint,
1548
+ use_fips: context.config.use_fips_endpoint,
1549
+ endpoint: endpoint,
1550
+ )
1551
+ end
1552
+ end
1553
+
1554
+ class DetachPrincipalPolicy
1555
+ def self.build(context)
1556
+ unless context.config.regional_endpoint
1557
+ endpoint = context.config.endpoint.to_s
1558
+ end
1559
+ Aws::IoT::EndpointParameters.new(
1560
+ region: context.config.region,
1561
+ use_dual_stack: context.config.use_dualstack_endpoint,
1562
+ use_fips: context.config.use_fips_endpoint,
1563
+ endpoint: endpoint,
1564
+ )
1565
+ end
1566
+ end
1567
+
1568
+ class DetachSecurityProfile
1569
+ def self.build(context)
1570
+ unless context.config.regional_endpoint
1571
+ endpoint = context.config.endpoint.to_s
1572
+ end
1573
+ Aws::IoT::EndpointParameters.new(
1574
+ region: context.config.region,
1575
+ use_dual_stack: context.config.use_dualstack_endpoint,
1576
+ use_fips: context.config.use_fips_endpoint,
1577
+ endpoint: endpoint,
1578
+ )
1579
+ end
1580
+ end
1581
+
1582
+ class DetachThingPrincipal
1583
+ def self.build(context)
1584
+ unless context.config.regional_endpoint
1585
+ endpoint = context.config.endpoint.to_s
1586
+ end
1587
+ Aws::IoT::EndpointParameters.new(
1588
+ region: context.config.region,
1589
+ use_dual_stack: context.config.use_dualstack_endpoint,
1590
+ use_fips: context.config.use_fips_endpoint,
1591
+ endpoint: endpoint,
1592
+ )
1593
+ end
1594
+ end
1595
+
1596
+ class DisableTopicRule
1597
+ def self.build(context)
1598
+ unless context.config.regional_endpoint
1599
+ endpoint = context.config.endpoint.to_s
1600
+ end
1601
+ Aws::IoT::EndpointParameters.new(
1602
+ region: context.config.region,
1603
+ use_dual_stack: context.config.use_dualstack_endpoint,
1604
+ use_fips: context.config.use_fips_endpoint,
1605
+ endpoint: endpoint,
1606
+ )
1607
+ end
1608
+ end
1609
+
1610
+ class EnableTopicRule
1611
+ def self.build(context)
1612
+ unless context.config.regional_endpoint
1613
+ endpoint = context.config.endpoint.to_s
1614
+ end
1615
+ Aws::IoT::EndpointParameters.new(
1616
+ region: context.config.region,
1617
+ use_dual_stack: context.config.use_dualstack_endpoint,
1618
+ use_fips: context.config.use_fips_endpoint,
1619
+ endpoint: endpoint,
1620
+ )
1621
+ end
1622
+ end
1623
+
1624
+ class GetBehaviorModelTrainingSummaries
1625
+ def self.build(context)
1626
+ unless context.config.regional_endpoint
1627
+ endpoint = context.config.endpoint.to_s
1628
+ end
1629
+ Aws::IoT::EndpointParameters.new(
1630
+ region: context.config.region,
1631
+ use_dual_stack: context.config.use_dualstack_endpoint,
1632
+ use_fips: context.config.use_fips_endpoint,
1633
+ endpoint: endpoint,
1634
+ )
1635
+ end
1636
+ end
1637
+
1638
+ class GetBucketsAggregation
1639
+ def self.build(context)
1640
+ unless context.config.regional_endpoint
1641
+ endpoint = context.config.endpoint.to_s
1642
+ end
1643
+ Aws::IoT::EndpointParameters.new(
1644
+ region: context.config.region,
1645
+ use_dual_stack: context.config.use_dualstack_endpoint,
1646
+ use_fips: context.config.use_fips_endpoint,
1647
+ endpoint: endpoint,
1648
+ )
1649
+ end
1650
+ end
1651
+
1652
+ class GetCardinality
1653
+ def self.build(context)
1654
+ unless context.config.regional_endpoint
1655
+ endpoint = context.config.endpoint.to_s
1656
+ end
1657
+ Aws::IoT::EndpointParameters.new(
1658
+ region: context.config.region,
1659
+ use_dual_stack: context.config.use_dualstack_endpoint,
1660
+ use_fips: context.config.use_fips_endpoint,
1661
+ endpoint: endpoint,
1662
+ )
1663
+ end
1664
+ end
1665
+
1666
+ class GetEffectivePolicies
1667
+ def self.build(context)
1668
+ unless context.config.regional_endpoint
1669
+ endpoint = context.config.endpoint.to_s
1670
+ end
1671
+ Aws::IoT::EndpointParameters.new(
1672
+ region: context.config.region,
1673
+ use_dual_stack: context.config.use_dualstack_endpoint,
1674
+ use_fips: context.config.use_fips_endpoint,
1675
+ endpoint: endpoint,
1676
+ )
1677
+ end
1678
+ end
1679
+
1680
+ class GetIndexingConfiguration
1681
+ def self.build(context)
1682
+ unless context.config.regional_endpoint
1683
+ endpoint = context.config.endpoint.to_s
1684
+ end
1685
+ Aws::IoT::EndpointParameters.new(
1686
+ region: context.config.region,
1687
+ use_dual_stack: context.config.use_dualstack_endpoint,
1688
+ use_fips: context.config.use_fips_endpoint,
1689
+ endpoint: endpoint,
1690
+ )
1691
+ end
1692
+ end
1693
+
1694
+ class GetJobDocument
1695
+ def self.build(context)
1696
+ unless context.config.regional_endpoint
1697
+ endpoint = context.config.endpoint.to_s
1698
+ end
1699
+ Aws::IoT::EndpointParameters.new(
1700
+ region: context.config.region,
1701
+ use_dual_stack: context.config.use_dualstack_endpoint,
1702
+ use_fips: context.config.use_fips_endpoint,
1703
+ endpoint: endpoint,
1704
+ )
1705
+ end
1706
+ end
1707
+
1708
+ class GetLoggingOptions
1709
+ def self.build(context)
1710
+ unless context.config.regional_endpoint
1711
+ endpoint = context.config.endpoint.to_s
1712
+ end
1713
+ Aws::IoT::EndpointParameters.new(
1714
+ region: context.config.region,
1715
+ use_dual_stack: context.config.use_dualstack_endpoint,
1716
+ use_fips: context.config.use_fips_endpoint,
1717
+ endpoint: endpoint,
1718
+ )
1719
+ end
1720
+ end
1721
+
1722
+ class GetOTAUpdate
1723
+ def self.build(context)
1724
+ unless context.config.regional_endpoint
1725
+ endpoint = context.config.endpoint.to_s
1726
+ end
1727
+ Aws::IoT::EndpointParameters.new(
1728
+ region: context.config.region,
1729
+ use_dual_stack: context.config.use_dualstack_endpoint,
1730
+ use_fips: context.config.use_fips_endpoint,
1731
+ endpoint: endpoint,
1732
+ )
1733
+ end
1734
+ end
1735
+
1736
+ class GetPercentiles
1737
+ def self.build(context)
1738
+ unless context.config.regional_endpoint
1739
+ endpoint = context.config.endpoint.to_s
1740
+ end
1741
+ Aws::IoT::EndpointParameters.new(
1742
+ region: context.config.region,
1743
+ use_dual_stack: context.config.use_dualstack_endpoint,
1744
+ use_fips: context.config.use_fips_endpoint,
1745
+ endpoint: endpoint,
1746
+ )
1747
+ end
1748
+ end
1749
+
1750
+ class GetPolicy
1751
+ def self.build(context)
1752
+ unless context.config.regional_endpoint
1753
+ endpoint = context.config.endpoint.to_s
1754
+ end
1755
+ Aws::IoT::EndpointParameters.new(
1756
+ region: context.config.region,
1757
+ use_dual_stack: context.config.use_dualstack_endpoint,
1758
+ use_fips: context.config.use_fips_endpoint,
1759
+ endpoint: endpoint,
1760
+ )
1761
+ end
1762
+ end
1763
+
1764
+ class GetPolicyVersion
1765
+ def self.build(context)
1766
+ unless context.config.regional_endpoint
1767
+ endpoint = context.config.endpoint.to_s
1768
+ end
1769
+ Aws::IoT::EndpointParameters.new(
1770
+ region: context.config.region,
1771
+ use_dual_stack: context.config.use_dualstack_endpoint,
1772
+ use_fips: context.config.use_fips_endpoint,
1773
+ endpoint: endpoint,
1774
+ )
1775
+ end
1776
+ end
1777
+
1778
+ class GetRegistrationCode
1779
+ def self.build(context)
1780
+ unless context.config.regional_endpoint
1781
+ endpoint = context.config.endpoint.to_s
1782
+ end
1783
+ Aws::IoT::EndpointParameters.new(
1784
+ region: context.config.region,
1785
+ use_dual_stack: context.config.use_dualstack_endpoint,
1786
+ use_fips: context.config.use_fips_endpoint,
1787
+ endpoint: endpoint,
1788
+ )
1789
+ end
1790
+ end
1791
+
1792
+ class GetStatistics
1793
+ def self.build(context)
1794
+ unless context.config.regional_endpoint
1795
+ endpoint = context.config.endpoint.to_s
1796
+ end
1797
+ Aws::IoT::EndpointParameters.new(
1798
+ region: context.config.region,
1799
+ use_dual_stack: context.config.use_dualstack_endpoint,
1800
+ use_fips: context.config.use_fips_endpoint,
1801
+ endpoint: endpoint,
1802
+ )
1803
+ end
1804
+ end
1805
+
1806
+ class GetTopicRule
1807
+ def self.build(context)
1808
+ unless context.config.regional_endpoint
1809
+ endpoint = context.config.endpoint.to_s
1810
+ end
1811
+ Aws::IoT::EndpointParameters.new(
1812
+ region: context.config.region,
1813
+ use_dual_stack: context.config.use_dualstack_endpoint,
1814
+ use_fips: context.config.use_fips_endpoint,
1815
+ endpoint: endpoint,
1816
+ )
1817
+ end
1818
+ end
1819
+
1820
+ class GetTopicRuleDestination
1821
+ def self.build(context)
1822
+ unless context.config.regional_endpoint
1823
+ endpoint = context.config.endpoint.to_s
1824
+ end
1825
+ Aws::IoT::EndpointParameters.new(
1826
+ region: context.config.region,
1827
+ use_dual_stack: context.config.use_dualstack_endpoint,
1828
+ use_fips: context.config.use_fips_endpoint,
1829
+ endpoint: endpoint,
1830
+ )
1831
+ end
1832
+ end
1833
+
1834
+ class GetV2LoggingOptions
1835
+ def self.build(context)
1836
+ unless context.config.regional_endpoint
1837
+ endpoint = context.config.endpoint.to_s
1838
+ end
1839
+ Aws::IoT::EndpointParameters.new(
1840
+ region: context.config.region,
1841
+ use_dual_stack: context.config.use_dualstack_endpoint,
1842
+ use_fips: context.config.use_fips_endpoint,
1843
+ endpoint: endpoint,
1844
+ )
1845
+ end
1846
+ end
1847
+
1848
+ class ListActiveViolations
1849
+ def self.build(context)
1850
+ unless context.config.regional_endpoint
1851
+ endpoint = context.config.endpoint.to_s
1852
+ end
1853
+ Aws::IoT::EndpointParameters.new(
1854
+ region: context.config.region,
1855
+ use_dual_stack: context.config.use_dualstack_endpoint,
1856
+ use_fips: context.config.use_fips_endpoint,
1857
+ endpoint: endpoint,
1858
+ )
1859
+ end
1860
+ end
1861
+
1862
+ class ListAttachedPolicies
1863
+ def self.build(context)
1864
+ unless context.config.regional_endpoint
1865
+ endpoint = context.config.endpoint.to_s
1866
+ end
1867
+ Aws::IoT::EndpointParameters.new(
1868
+ region: context.config.region,
1869
+ use_dual_stack: context.config.use_dualstack_endpoint,
1870
+ use_fips: context.config.use_fips_endpoint,
1871
+ endpoint: endpoint,
1872
+ )
1873
+ end
1874
+ end
1875
+
1876
+ class ListAuditFindings
1877
+ def self.build(context)
1878
+ unless context.config.regional_endpoint
1879
+ endpoint = context.config.endpoint.to_s
1880
+ end
1881
+ Aws::IoT::EndpointParameters.new(
1882
+ region: context.config.region,
1883
+ use_dual_stack: context.config.use_dualstack_endpoint,
1884
+ use_fips: context.config.use_fips_endpoint,
1885
+ endpoint: endpoint,
1886
+ )
1887
+ end
1888
+ end
1889
+
1890
+ class ListAuditMitigationActionsExecutions
1891
+ def self.build(context)
1892
+ unless context.config.regional_endpoint
1893
+ endpoint = context.config.endpoint.to_s
1894
+ end
1895
+ Aws::IoT::EndpointParameters.new(
1896
+ region: context.config.region,
1897
+ use_dual_stack: context.config.use_dualstack_endpoint,
1898
+ use_fips: context.config.use_fips_endpoint,
1899
+ endpoint: endpoint,
1900
+ )
1901
+ end
1902
+ end
1903
+
1904
+ class ListAuditMitigationActionsTasks
1905
+ def self.build(context)
1906
+ unless context.config.regional_endpoint
1907
+ endpoint = context.config.endpoint.to_s
1908
+ end
1909
+ Aws::IoT::EndpointParameters.new(
1910
+ region: context.config.region,
1911
+ use_dual_stack: context.config.use_dualstack_endpoint,
1912
+ use_fips: context.config.use_fips_endpoint,
1913
+ endpoint: endpoint,
1914
+ )
1915
+ end
1916
+ end
1917
+
1918
+ class ListAuditSuppressions
1919
+ def self.build(context)
1920
+ unless context.config.regional_endpoint
1921
+ endpoint = context.config.endpoint.to_s
1922
+ end
1923
+ Aws::IoT::EndpointParameters.new(
1924
+ region: context.config.region,
1925
+ use_dual_stack: context.config.use_dualstack_endpoint,
1926
+ use_fips: context.config.use_fips_endpoint,
1927
+ endpoint: endpoint,
1928
+ )
1929
+ end
1930
+ end
1931
+
1932
+ class ListAuditTasks
1933
+ def self.build(context)
1934
+ unless context.config.regional_endpoint
1935
+ endpoint = context.config.endpoint.to_s
1936
+ end
1937
+ Aws::IoT::EndpointParameters.new(
1938
+ region: context.config.region,
1939
+ use_dual_stack: context.config.use_dualstack_endpoint,
1940
+ use_fips: context.config.use_fips_endpoint,
1941
+ endpoint: endpoint,
1942
+ )
1943
+ end
1944
+ end
1945
+
1946
+ class ListAuthorizers
1947
+ def self.build(context)
1948
+ unless context.config.regional_endpoint
1949
+ endpoint = context.config.endpoint.to_s
1950
+ end
1951
+ Aws::IoT::EndpointParameters.new(
1952
+ region: context.config.region,
1953
+ use_dual_stack: context.config.use_dualstack_endpoint,
1954
+ use_fips: context.config.use_fips_endpoint,
1955
+ endpoint: endpoint,
1956
+ )
1957
+ end
1958
+ end
1959
+
1960
+ class ListBillingGroups
1961
+ def self.build(context)
1962
+ unless context.config.regional_endpoint
1963
+ endpoint = context.config.endpoint.to_s
1964
+ end
1965
+ Aws::IoT::EndpointParameters.new(
1966
+ region: context.config.region,
1967
+ use_dual_stack: context.config.use_dualstack_endpoint,
1968
+ use_fips: context.config.use_fips_endpoint,
1969
+ endpoint: endpoint,
1970
+ )
1971
+ end
1972
+ end
1973
+
1974
+ class ListCACertificates
1975
+ def self.build(context)
1976
+ unless context.config.regional_endpoint
1977
+ endpoint = context.config.endpoint.to_s
1978
+ end
1979
+ Aws::IoT::EndpointParameters.new(
1980
+ region: context.config.region,
1981
+ use_dual_stack: context.config.use_dualstack_endpoint,
1982
+ use_fips: context.config.use_fips_endpoint,
1983
+ endpoint: endpoint,
1984
+ )
1985
+ end
1986
+ end
1987
+
1988
+ class ListCertificates
1989
+ def self.build(context)
1990
+ unless context.config.regional_endpoint
1991
+ endpoint = context.config.endpoint.to_s
1992
+ end
1993
+ Aws::IoT::EndpointParameters.new(
1994
+ region: context.config.region,
1995
+ use_dual_stack: context.config.use_dualstack_endpoint,
1996
+ use_fips: context.config.use_fips_endpoint,
1997
+ endpoint: endpoint,
1998
+ )
1999
+ end
2000
+ end
2001
+
2002
+ class ListCertificatesByCA
2003
+ def self.build(context)
2004
+ unless context.config.regional_endpoint
2005
+ endpoint = context.config.endpoint.to_s
2006
+ end
2007
+ Aws::IoT::EndpointParameters.new(
2008
+ region: context.config.region,
2009
+ use_dual_stack: context.config.use_dualstack_endpoint,
2010
+ use_fips: context.config.use_fips_endpoint,
2011
+ endpoint: endpoint,
2012
+ )
2013
+ end
2014
+ end
2015
+
2016
+ class ListCustomMetrics
2017
+ def self.build(context)
2018
+ unless context.config.regional_endpoint
2019
+ endpoint = context.config.endpoint.to_s
2020
+ end
2021
+ Aws::IoT::EndpointParameters.new(
2022
+ region: context.config.region,
2023
+ use_dual_stack: context.config.use_dualstack_endpoint,
2024
+ use_fips: context.config.use_fips_endpoint,
2025
+ endpoint: endpoint,
2026
+ )
2027
+ end
2028
+ end
2029
+
2030
+ class ListDetectMitigationActionsExecutions
2031
+ def self.build(context)
2032
+ unless context.config.regional_endpoint
2033
+ endpoint = context.config.endpoint.to_s
2034
+ end
2035
+ Aws::IoT::EndpointParameters.new(
2036
+ region: context.config.region,
2037
+ use_dual_stack: context.config.use_dualstack_endpoint,
2038
+ use_fips: context.config.use_fips_endpoint,
2039
+ endpoint: endpoint,
2040
+ )
2041
+ end
2042
+ end
2043
+
2044
+ class ListDetectMitigationActionsTasks
2045
+ def self.build(context)
2046
+ unless context.config.regional_endpoint
2047
+ endpoint = context.config.endpoint.to_s
2048
+ end
2049
+ Aws::IoT::EndpointParameters.new(
2050
+ region: context.config.region,
2051
+ use_dual_stack: context.config.use_dualstack_endpoint,
2052
+ use_fips: context.config.use_fips_endpoint,
2053
+ endpoint: endpoint,
2054
+ )
2055
+ end
2056
+ end
2057
+
2058
+ class ListDimensions
2059
+ def self.build(context)
2060
+ unless context.config.regional_endpoint
2061
+ endpoint = context.config.endpoint.to_s
2062
+ end
2063
+ Aws::IoT::EndpointParameters.new(
2064
+ region: context.config.region,
2065
+ use_dual_stack: context.config.use_dualstack_endpoint,
2066
+ use_fips: context.config.use_fips_endpoint,
2067
+ endpoint: endpoint,
2068
+ )
2069
+ end
2070
+ end
2071
+
2072
+ class ListDomainConfigurations
2073
+ def self.build(context)
2074
+ unless context.config.regional_endpoint
2075
+ endpoint = context.config.endpoint.to_s
2076
+ end
2077
+ Aws::IoT::EndpointParameters.new(
2078
+ region: context.config.region,
2079
+ use_dual_stack: context.config.use_dualstack_endpoint,
2080
+ use_fips: context.config.use_fips_endpoint,
2081
+ endpoint: endpoint,
2082
+ )
2083
+ end
2084
+ end
2085
+
2086
+ class ListFleetMetrics
2087
+ def self.build(context)
2088
+ unless context.config.regional_endpoint
2089
+ endpoint = context.config.endpoint.to_s
2090
+ end
2091
+ Aws::IoT::EndpointParameters.new(
2092
+ region: context.config.region,
2093
+ use_dual_stack: context.config.use_dualstack_endpoint,
2094
+ use_fips: context.config.use_fips_endpoint,
2095
+ endpoint: endpoint,
2096
+ )
2097
+ end
2098
+ end
2099
+
2100
+ class ListIndices
2101
+ def self.build(context)
2102
+ unless context.config.regional_endpoint
2103
+ endpoint = context.config.endpoint.to_s
2104
+ end
2105
+ Aws::IoT::EndpointParameters.new(
2106
+ region: context.config.region,
2107
+ use_dual_stack: context.config.use_dualstack_endpoint,
2108
+ use_fips: context.config.use_fips_endpoint,
2109
+ endpoint: endpoint,
2110
+ )
2111
+ end
2112
+ end
2113
+
2114
+ class ListJobExecutionsForJob
2115
+ def self.build(context)
2116
+ unless context.config.regional_endpoint
2117
+ endpoint = context.config.endpoint.to_s
2118
+ end
2119
+ Aws::IoT::EndpointParameters.new(
2120
+ region: context.config.region,
2121
+ use_dual_stack: context.config.use_dualstack_endpoint,
2122
+ use_fips: context.config.use_fips_endpoint,
2123
+ endpoint: endpoint,
2124
+ )
2125
+ end
2126
+ end
2127
+
2128
+ class ListJobExecutionsForThing
2129
+ def self.build(context)
2130
+ unless context.config.regional_endpoint
2131
+ endpoint = context.config.endpoint.to_s
2132
+ end
2133
+ Aws::IoT::EndpointParameters.new(
2134
+ region: context.config.region,
2135
+ use_dual_stack: context.config.use_dualstack_endpoint,
2136
+ use_fips: context.config.use_fips_endpoint,
2137
+ endpoint: endpoint,
2138
+ )
2139
+ end
2140
+ end
2141
+
2142
+ class ListJobTemplates
2143
+ def self.build(context)
2144
+ unless context.config.regional_endpoint
2145
+ endpoint = context.config.endpoint.to_s
2146
+ end
2147
+ Aws::IoT::EndpointParameters.new(
2148
+ region: context.config.region,
2149
+ use_dual_stack: context.config.use_dualstack_endpoint,
2150
+ use_fips: context.config.use_fips_endpoint,
2151
+ endpoint: endpoint,
2152
+ )
2153
+ end
2154
+ end
2155
+
2156
+ class ListJobs
2157
+ def self.build(context)
2158
+ unless context.config.regional_endpoint
2159
+ endpoint = context.config.endpoint.to_s
2160
+ end
2161
+ Aws::IoT::EndpointParameters.new(
2162
+ region: context.config.region,
2163
+ use_dual_stack: context.config.use_dualstack_endpoint,
2164
+ use_fips: context.config.use_fips_endpoint,
2165
+ endpoint: endpoint,
2166
+ )
2167
+ end
2168
+ end
2169
+
2170
+ class ListManagedJobTemplates
2171
+ def self.build(context)
2172
+ unless context.config.regional_endpoint
2173
+ endpoint = context.config.endpoint.to_s
2174
+ end
2175
+ Aws::IoT::EndpointParameters.new(
2176
+ region: context.config.region,
2177
+ use_dual_stack: context.config.use_dualstack_endpoint,
2178
+ use_fips: context.config.use_fips_endpoint,
2179
+ endpoint: endpoint,
2180
+ )
2181
+ end
2182
+ end
2183
+
2184
+ class ListMetricValues
2185
+ def self.build(context)
2186
+ unless context.config.regional_endpoint
2187
+ endpoint = context.config.endpoint.to_s
2188
+ end
2189
+ Aws::IoT::EndpointParameters.new(
2190
+ region: context.config.region,
2191
+ use_dual_stack: context.config.use_dualstack_endpoint,
2192
+ use_fips: context.config.use_fips_endpoint,
2193
+ endpoint: endpoint,
2194
+ )
2195
+ end
2196
+ end
2197
+
2198
+ class ListMitigationActions
2199
+ def self.build(context)
2200
+ unless context.config.regional_endpoint
2201
+ endpoint = context.config.endpoint.to_s
2202
+ end
2203
+ Aws::IoT::EndpointParameters.new(
2204
+ region: context.config.region,
2205
+ use_dual_stack: context.config.use_dualstack_endpoint,
2206
+ use_fips: context.config.use_fips_endpoint,
2207
+ endpoint: endpoint,
2208
+ )
2209
+ end
2210
+ end
2211
+
2212
+ class ListOTAUpdates
2213
+ def self.build(context)
2214
+ unless context.config.regional_endpoint
2215
+ endpoint = context.config.endpoint.to_s
2216
+ end
2217
+ Aws::IoT::EndpointParameters.new(
2218
+ region: context.config.region,
2219
+ use_dual_stack: context.config.use_dualstack_endpoint,
2220
+ use_fips: context.config.use_fips_endpoint,
2221
+ endpoint: endpoint,
2222
+ )
2223
+ end
2224
+ end
2225
+
2226
+ class ListOutgoingCertificates
2227
+ def self.build(context)
2228
+ unless context.config.regional_endpoint
2229
+ endpoint = context.config.endpoint.to_s
2230
+ end
2231
+ Aws::IoT::EndpointParameters.new(
2232
+ region: context.config.region,
2233
+ use_dual_stack: context.config.use_dualstack_endpoint,
2234
+ use_fips: context.config.use_fips_endpoint,
2235
+ endpoint: endpoint,
2236
+ )
2237
+ end
2238
+ end
2239
+
2240
+ class ListPolicies
2241
+ def self.build(context)
2242
+ unless context.config.regional_endpoint
2243
+ endpoint = context.config.endpoint.to_s
2244
+ end
2245
+ Aws::IoT::EndpointParameters.new(
2246
+ region: context.config.region,
2247
+ use_dual_stack: context.config.use_dualstack_endpoint,
2248
+ use_fips: context.config.use_fips_endpoint,
2249
+ endpoint: endpoint,
2250
+ )
2251
+ end
2252
+ end
2253
+
2254
+ class ListPolicyPrincipals
2255
+ def self.build(context)
2256
+ unless context.config.regional_endpoint
2257
+ endpoint = context.config.endpoint.to_s
2258
+ end
2259
+ Aws::IoT::EndpointParameters.new(
2260
+ region: context.config.region,
2261
+ use_dual_stack: context.config.use_dualstack_endpoint,
2262
+ use_fips: context.config.use_fips_endpoint,
2263
+ endpoint: endpoint,
2264
+ )
2265
+ end
2266
+ end
2267
+
2268
+ class ListPolicyVersions
2269
+ def self.build(context)
2270
+ unless context.config.regional_endpoint
2271
+ endpoint = context.config.endpoint.to_s
2272
+ end
2273
+ Aws::IoT::EndpointParameters.new(
2274
+ region: context.config.region,
2275
+ use_dual_stack: context.config.use_dualstack_endpoint,
2276
+ use_fips: context.config.use_fips_endpoint,
2277
+ endpoint: endpoint,
2278
+ )
2279
+ end
2280
+ end
2281
+
2282
+ class ListPrincipalPolicies
2283
+ def self.build(context)
2284
+ unless context.config.regional_endpoint
2285
+ endpoint = context.config.endpoint.to_s
2286
+ end
2287
+ Aws::IoT::EndpointParameters.new(
2288
+ region: context.config.region,
2289
+ use_dual_stack: context.config.use_dualstack_endpoint,
2290
+ use_fips: context.config.use_fips_endpoint,
2291
+ endpoint: endpoint,
2292
+ )
2293
+ end
2294
+ end
2295
+
2296
+ class ListPrincipalThings
2297
+ def self.build(context)
2298
+ unless context.config.regional_endpoint
2299
+ endpoint = context.config.endpoint.to_s
2300
+ end
2301
+ Aws::IoT::EndpointParameters.new(
2302
+ region: context.config.region,
2303
+ use_dual_stack: context.config.use_dualstack_endpoint,
2304
+ use_fips: context.config.use_fips_endpoint,
2305
+ endpoint: endpoint,
2306
+ )
2307
+ end
2308
+ end
2309
+
2310
+ class ListProvisioningTemplateVersions
2311
+ def self.build(context)
2312
+ unless context.config.regional_endpoint
2313
+ endpoint = context.config.endpoint.to_s
2314
+ end
2315
+ Aws::IoT::EndpointParameters.new(
2316
+ region: context.config.region,
2317
+ use_dual_stack: context.config.use_dualstack_endpoint,
2318
+ use_fips: context.config.use_fips_endpoint,
2319
+ endpoint: endpoint,
2320
+ )
2321
+ end
2322
+ end
2323
+
2324
+ class ListProvisioningTemplates
2325
+ def self.build(context)
2326
+ unless context.config.regional_endpoint
2327
+ endpoint = context.config.endpoint.to_s
2328
+ end
2329
+ Aws::IoT::EndpointParameters.new(
2330
+ region: context.config.region,
2331
+ use_dual_stack: context.config.use_dualstack_endpoint,
2332
+ use_fips: context.config.use_fips_endpoint,
2333
+ endpoint: endpoint,
2334
+ )
2335
+ end
2336
+ end
2337
+
2338
+ class ListRoleAliases
2339
+ def self.build(context)
2340
+ unless context.config.regional_endpoint
2341
+ endpoint = context.config.endpoint.to_s
2342
+ end
2343
+ Aws::IoT::EndpointParameters.new(
2344
+ region: context.config.region,
2345
+ use_dual_stack: context.config.use_dualstack_endpoint,
2346
+ use_fips: context.config.use_fips_endpoint,
2347
+ endpoint: endpoint,
2348
+ )
2349
+ end
2350
+ end
2351
+
2352
+ class ListScheduledAudits
2353
+ def self.build(context)
2354
+ unless context.config.regional_endpoint
2355
+ endpoint = context.config.endpoint.to_s
2356
+ end
2357
+ Aws::IoT::EndpointParameters.new(
2358
+ region: context.config.region,
2359
+ use_dual_stack: context.config.use_dualstack_endpoint,
2360
+ use_fips: context.config.use_fips_endpoint,
2361
+ endpoint: endpoint,
2362
+ )
2363
+ end
2364
+ end
2365
+
2366
+ class ListSecurityProfiles
2367
+ def self.build(context)
2368
+ unless context.config.regional_endpoint
2369
+ endpoint = context.config.endpoint.to_s
2370
+ end
2371
+ Aws::IoT::EndpointParameters.new(
2372
+ region: context.config.region,
2373
+ use_dual_stack: context.config.use_dualstack_endpoint,
2374
+ use_fips: context.config.use_fips_endpoint,
2375
+ endpoint: endpoint,
2376
+ )
2377
+ end
2378
+ end
2379
+
2380
+ class ListSecurityProfilesForTarget
2381
+ def self.build(context)
2382
+ unless context.config.regional_endpoint
2383
+ endpoint = context.config.endpoint.to_s
2384
+ end
2385
+ Aws::IoT::EndpointParameters.new(
2386
+ region: context.config.region,
2387
+ use_dual_stack: context.config.use_dualstack_endpoint,
2388
+ use_fips: context.config.use_fips_endpoint,
2389
+ endpoint: endpoint,
2390
+ )
2391
+ end
2392
+ end
2393
+
2394
+ class ListStreams
2395
+ def self.build(context)
2396
+ unless context.config.regional_endpoint
2397
+ endpoint = context.config.endpoint.to_s
2398
+ end
2399
+ Aws::IoT::EndpointParameters.new(
2400
+ region: context.config.region,
2401
+ use_dual_stack: context.config.use_dualstack_endpoint,
2402
+ use_fips: context.config.use_fips_endpoint,
2403
+ endpoint: endpoint,
2404
+ )
2405
+ end
2406
+ end
2407
+
2408
+ class ListTagsForResource
2409
+ def self.build(context)
2410
+ unless context.config.regional_endpoint
2411
+ endpoint = context.config.endpoint.to_s
2412
+ end
2413
+ Aws::IoT::EndpointParameters.new(
2414
+ region: context.config.region,
2415
+ use_dual_stack: context.config.use_dualstack_endpoint,
2416
+ use_fips: context.config.use_fips_endpoint,
2417
+ endpoint: endpoint,
2418
+ )
2419
+ end
2420
+ end
2421
+
2422
+ class ListTargetsForPolicy
2423
+ def self.build(context)
2424
+ unless context.config.regional_endpoint
2425
+ endpoint = context.config.endpoint.to_s
2426
+ end
2427
+ Aws::IoT::EndpointParameters.new(
2428
+ region: context.config.region,
2429
+ use_dual_stack: context.config.use_dualstack_endpoint,
2430
+ use_fips: context.config.use_fips_endpoint,
2431
+ endpoint: endpoint,
2432
+ )
2433
+ end
2434
+ end
2435
+
2436
+ class ListTargetsForSecurityProfile
2437
+ def self.build(context)
2438
+ unless context.config.regional_endpoint
2439
+ endpoint = context.config.endpoint.to_s
2440
+ end
2441
+ Aws::IoT::EndpointParameters.new(
2442
+ region: context.config.region,
2443
+ use_dual_stack: context.config.use_dualstack_endpoint,
2444
+ use_fips: context.config.use_fips_endpoint,
2445
+ endpoint: endpoint,
2446
+ )
2447
+ end
2448
+ end
2449
+
2450
+ class ListThingGroups
2451
+ def self.build(context)
2452
+ unless context.config.regional_endpoint
2453
+ endpoint = context.config.endpoint.to_s
2454
+ end
2455
+ Aws::IoT::EndpointParameters.new(
2456
+ region: context.config.region,
2457
+ use_dual_stack: context.config.use_dualstack_endpoint,
2458
+ use_fips: context.config.use_fips_endpoint,
2459
+ endpoint: endpoint,
2460
+ )
2461
+ end
2462
+ end
2463
+
2464
+ class ListThingGroupsForThing
2465
+ def self.build(context)
2466
+ unless context.config.regional_endpoint
2467
+ endpoint = context.config.endpoint.to_s
2468
+ end
2469
+ Aws::IoT::EndpointParameters.new(
2470
+ region: context.config.region,
2471
+ use_dual_stack: context.config.use_dualstack_endpoint,
2472
+ use_fips: context.config.use_fips_endpoint,
2473
+ endpoint: endpoint,
2474
+ )
2475
+ end
2476
+ end
2477
+
2478
+ class ListThingPrincipals
2479
+ def self.build(context)
2480
+ unless context.config.regional_endpoint
2481
+ endpoint = context.config.endpoint.to_s
2482
+ end
2483
+ Aws::IoT::EndpointParameters.new(
2484
+ region: context.config.region,
2485
+ use_dual_stack: context.config.use_dualstack_endpoint,
2486
+ use_fips: context.config.use_fips_endpoint,
2487
+ endpoint: endpoint,
2488
+ )
2489
+ end
2490
+ end
2491
+
2492
+ class ListThingRegistrationTaskReports
2493
+ def self.build(context)
2494
+ unless context.config.regional_endpoint
2495
+ endpoint = context.config.endpoint.to_s
2496
+ end
2497
+ Aws::IoT::EndpointParameters.new(
2498
+ region: context.config.region,
2499
+ use_dual_stack: context.config.use_dualstack_endpoint,
2500
+ use_fips: context.config.use_fips_endpoint,
2501
+ endpoint: endpoint,
2502
+ )
2503
+ end
2504
+ end
2505
+
2506
+ class ListThingRegistrationTasks
2507
+ def self.build(context)
2508
+ unless context.config.regional_endpoint
2509
+ endpoint = context.config.endpoint.to_s
2510
+ end
2511
+ Aws::IoT::EndpointParameters.new(
2512
+ region: context.config.region,
2513
+ use_dual_stack: context.config.use_dualstack_endpoint,
2514
+ use_fips: context.config.use_fips_endpoint,
2515
+ endpoint: endpoint,
2516
+ )
2517
+ end
2518
+ end
2519
+
2520
+ class ListThingTypes
2521
+ def self.build(context)
2522
+ unless context.config.regional_endpoint
2523
+ endpoint = context.config.endpoint.to_s
2524
+ end
2525
+ Aws::IoT::EndpointParameters.new(
2526
+ region: context.config.region,
2527
+ use_dual_stack: context.config.use_dualstack_endpoint,
2528
+ use_fips: context.config.use_fips_endpoint,
2529
+ endpoint: endpoint,
2530
+ )
2531
+ end
2532
+ end
2533
+
2534
+ class ListThings
2535
+ def self.build(context)
2536
+ unless context.config.regional_endpoint
2537
+ endpoint = context.config.endpoint.to_s
2538
+ end
2539
+ Aws::IoT::EndpointParameters.new(
2540
+ region: context.config.region,
2541
+ use_dual_stack: context.config.use_dualstack_endpoint,
2542
+ use_fips: context.config.use_fips_endpoint,
2543
+ endpoint: endpoint,
2544
+ )
2545
+ end
2546
+ end
2547
+
2548
+ class ListThingsInBillingGroup
2549
+ def self.build(context)
2550
+ unless context.config.regional_endpoint
2551
+ endpoint = context.config.endpoint.to_s
2552
+ end
2553
+ Aws::IoT::EndpointParameters.new(
2554
+ region: context.config.region,
2555
+ use_dual_stack: context.config.use_dualstack_endpoint,
2556
+ use_fips: context.config.use_fips_endpoint,
2557
+ endpoint: endpoint,
2558
+ )
2559
+ end
2560
+ end
2561
+
2562
+ class ListThingsInThingGroup
2563
+ def self.build(context)
2564
+ unless context.config.regional_endpoint
2565
+ endpoint = context.config.endpoint.to_s
2566
+ end
2567
+ Aws::IoT::EndpointParameters.new(
2568
+ region: context.config.region,
2569
+ use_dual_stack: context.config.use_dualstack_endpoint,
2570
+ use_fips: context.config.use_fips_endpoint,
2571
+ endpoint: endpoint,
2572
+ )
2573
+ end
2574
+ end
2575
+
2576
+ class ListTopicRuleDestinations
2577
+ def self.build(context)
2578
+ unless context.config.regional_endpoint
2579
+ endpoint = context.config.endpoint.to_s
2580
+ end
2581
+ Aws::IoT::EndpointParameters.new(
2582
+ region: context.config.region,
2583
+ use_dual_stack: context.config.use_dualstack_endpoint,
2584
+ use_fips: context.config.use_fips_endpoint,
2585
+ endpoint: endpoint,
2586
+ )
2587
+ end
2588
+ end
2589
+
2590
+ class ListTopicRules
2591
+ def self.build(context)
2592
+ unless context.config.regional_endpoint
2593
+ endpoint = context.config.endpoint.to_s
2594
+ end
2595
+ Aws::IoT::EndpointParameters.new(
2596
+ region: context.config.region,
2597
+ use_dual_stack: context.config.use_dualstack_endpoint,
2598
+ use_fips: context.config.use_fips_endpoint,
2599
+ endpoint: endpoint,
2600
+ )
2601
+ end
2602
+ end
2603
+
2604
+ class ListV2LoggingLevels
2605
+ def self.build(context)
2606
+ unless context.config.regional_endpoint
2607
+ endpoint = context.config.endpoint.to_s
2608
+ end
2609
+ Aws::IoT::EndpointParameters.new(
2610
+ region: context.config.region,
2611
+ use_dual_stack: context.config.use_dualstack_endpoint,
2612
+ use_fips: context.config.use_fips_endpoint,
2613
+ endpoint: endpoint,
2614
+ )
2615
+ end
2616
+ end
2617
+
2618
+ class ListViolationEvents
2619
+ def self.build(context)
2620
+ unless context.config.regional_endpoint
2621
+ endpoint = context.config.endpoint.to_s
2622
+ end
2623
+ Aws::IoT::EndpointParameters.new(
2624
+ region: context.config.region,
2625
+ use_dual_stack: context.config.use_dualstack_endpoint,
2626
+ use_fips: context.config.use_fips_endpoint,
2627
+ endpoint: endpoint,
2628
+ )
2629
+ end
2630
+ end
2631
+
2632
+ class PutVerificationStateOnViolation
2633
+ def self.build(context)
2634
+ unless context.config.regional_endpoint
2635
+ endpoint = context.config.endpoint.to_s
2636
+ end
2637
+ Aws::IoT::EndpointParameters.new(
2638
+ region: context.config.region,
2639
+ use_dual_stack: context.config.use_dualstack_endpoint,
2640
+ use_fips: context.config.use_fips_endpoint,
2641
+ endpoint: endpoint,
2642
+ )
2643
+ end
2644
+ end
2645
+
2646
+ class RegisterCACertificate
2647
+ def self.build(context)
2648
+ unless context.config.regional_endpoint
2649
+ endpoint = context.config.endpoint.to_s
2650
+ end
2651
+ Aws::IoT::EndpointParameters.new(
2652
+ region: context.config.region,
2653
+ use_dual_stack: context.config.use_dualstack_endpoint,
2654
+ use_fips: context.config.use_fips_endpoint,
2655
+ endpoint: endpoint,
2656
+ )
2657
+ end
2658
+ end
2659
+
2660
+ class RegisterCertificate
2661
+ def self.build(context)
2662
+ unless context.config.regional_endpoint
2663
+ endpoint = context.config.endpoint.to_s
2664
+ end
2665
+ Aws::IoT::EndpointParameters.new(
2666
+ region: context.config.region,
2667
+ use_dual_stack: context.config.use_dualstack_endpoint,
2668
+ use_fips: context.config.use_fips_endpoint,
2669
+ endpoint: endpoint,
2670
+ )
2671
+ end
2672
+ end
2673
+
2674
+ class RegisterCertificateWithoutCA
2675
+ def self.build(context)
2676
+ unless context.config.regional_endpoint
2677
+ endpoint = context.config.endpoint.to_s
2678
+ end
2679
+ Aws::IoT::EndpointParameters.new(
2680
+ region: context.config.region,
2681
+ use_dual_stack: context.config.use_dualstack_endpoint,
2682
+ use_fips: context.config.use_fips_endpoint,
2683
+ endpoint: endpoint,
2684
+ )
2685
+ end
2686
+ end
2687
+
2688
+ class RegisterThing
2689
+ def self.build(context)
2690
+ unless context.config.regional_endpoint
2691
+ endpoint = context.config.endpoint.to_s
2692
+ end
2693
+ Aws::IoT::EndpointParameters.new(
2694
+ region: context.config.region,
2695
+ use_dual_stack: context.config.use_dualstack_endpoint,
2696
+ use_fips: context.config.use_fips_endpoint,
2697
+ endpoint: endpoint,
2698
+ )
2699
+ end
2700
+ end
2701
+
2702
+ class RejectCertificateTransfer
2703
+ def self.build(context)
2704
+ unless context.config.regional_endpoint
2705
+ endpoint = context.config.endpoint.to_s
2706
+ end
2707
+ Aws::IoT::EndpointParameters.new(
2708
+ region: context.config.region,
2709
+ use_dual_stack: context.config.use_dualstack_endpoint,
2710
+ use_fips: context.config.use_fips_endpoint,
2711
+ endpoint: endpoint,
2712
+ )
2713
+ end
2714
+ end
2715
+
2716
+ class RemoveThingFromBillingGroup
2717
+ def self.build(context)
2718
+ unless context.config.regional_endpoint
2719
+ endpoint = context.config.endpoint.to_s
2720
+ end
2721
+ Aws::IoT::EndpointParameters.new(
2722
+ region: context.config.region,
2723
+ use_dual_stack: context.config.use_dualstack_endpoint,
2724
+ use_fips: context.config.use_fips_endpoint,
2725
+ endpoint: endpoint,
2726
+ )
2727
+ end
2728
+ end
2729
+
2730
+ class RemoveThingFromThingGroup
2731
+ def self.build(context)
2732
+ unless context.config.regional_endpoint
2733
+ endpoint = context.config.endpoint.to_s
2734
+ end
2735
+ Aws::IoT::EndpointParameters.new(
2736
+ region: context.config.region,
2737
+ use_dual_stack: context.config.use_dualstack_endpoint,
2738
+ use_fips: context.config.use_fips_endpoint,
2739
+ endpoint: endpoint,
2740
+ )
2741
+ end
2742
+ end
2743
+
2744
+ class ReplaceTopicRule
2745
+ def self.build(context)
2746
+ unless context.config.regional_endpoint
2747
+ endpoint = context.config.endpoint.to_s
2748
+ end
2749
+ Aws::IoT::EndpointParameters.new(
2750
+ region: context.config.region,
2751
+ use_dual_stack: context.config.use_dualstack_endpoint,
2752
+ use_fips: context.config.use_fips_endpoint,
2753
+ endpoint: endpoint,
2754
+ )
2755
+ end
2756
+ end
2757
+
2758
+ class SearchIndex
2759
+ def self.build(context)
2760
+ unless context.config.regional_endpoint
2761
+ endpoint = context.config.endpoint.to_s
2762
+ end
2763
+ Aws::IoT::EndpointParameters.new(
2764
+ region: context.config.region,
2765
+ use_dual_stack: context.config.use_dualstack_endpoint,
2766
+ use_fips: context.config.use_fips_endpoint,
2767
+ endpoint: endpoint,
2768
+ )
2769
+ end
2770
+ end
2771
+
2772
+ class SetDefaultAuthorizer
2773
+ def self.build(context)
2774
+ unless context.config.regional_endpoint
2775
+ endpoint = context.config.endpoint.to_s
2776
+ end
2777
+ Aws::IoT::EndpointParameters.new(
2778
+ region: context.config.region,
2779
+ use_dual_stack: context.config.use_dualstack_endpoint,
2780
+ use_fips: context.config.use_fips_endpoint,
2781
+ endpoint: endpoint,
2782
+ )
2783
+ end
2784
+ end
2785
+
2786
+ class SetDefaultPolicyVersion
2787
+ def self.build(context)
2788
+ unless context.config.regional_endpoint
2789
+ endpoint = context.config.endpoint.to_s
2790
+ end
2791
+ Aws::IoT::EndpointParameters.new(
2792
+ region: context.config.region,
2793
+ use_dual_stack: context.config.use_dualstack_endpoint,
2794
+ use_fips: context.config.use_fips_endpoint,
2795
+ endpoint: endpoint,
2796
+ )
2797
+ end
2798
+ end
2799
+
2800
+ class SetLoggingOptions
2801
+ def self.build(context)
2802
+ unless context.config.regional_endpoint
2803
+ endpoint = context.config.endpoint.to_s
2804
+ end
2805
+ Aws::IoT::EndpointParameters.new(
2806
+ region: context.config.region,
2807
+ use_dual_stack: context.config.use_dualstack_endpoint,
2808
+ use_fips: context.config.use_fips_endpoint,
2809
+ endpoint: endpoint,
2810
+ )
2811
+ end
2812
+ end
2813
+
2814
+ class SetV2LoggingLevel
2815
+ def self.build(context)
2816
+ unless context.config.regional_endpoint
2817
+ endpoint = context.config.endpoint.to_s
2818
+ end
2819
+ Aws::IoT::EndpointParameters.new(
2820
+ region: context.config.region,
2821
+ use_dual_stack: context.config.use_dualstack_endpoint,
2822
+ use_fips: context.config.use_fips_endpoint,
2823
+ endpoint: endpoint,
2824
+ )
2825
+ end
2826
+ end
2827
+
2828
+ class SetV2LoggingOptions
2829
+ def self.build(context)
2830
+ unless context.config.regional_endpoint
2831
+ endpoint = context.config.endpoint.to_s
2832
+ end
2833
+ Aws::IoT::EndpointParameters.new(
2834
+ region: context.config.region,
2835
+ use_dual_stack: context.config.use_dualstack_endpoint,
2836
+ use_fips: context.config.use_fips_endpoint,
2837
+ endpoint: endpoint,
2838
+ )
2839
+ end
2840
+ end
2841
+
2842
+ class StartAuditMitigationActionsTask
2843
+ def self.build(context)
2844
+ unless context.config.regional_endpoint
2845
+ endpoint = context.config.endpoint.to_s
2846
+ end
2847
+ Aws::IoT::EndpointParameters.new(
2848
+ region: context.config.region,
2849
+ use_dual_stack: context.config.use_dualstack_endpoint,
2850
+ use_fips: context.config.use_fips_endpoint,
2851
+ endpoint: endpoint,
2852
+ )
2853
+ end
2854
+ end
2855
+
2856
+ class StartDetectMitigationActionsTask
2857
+ def self.build(context)
2858
+ unless context.config.regional_endpoint
2859
+ endpoint = context.config.endpoint.to_s
2860
+ end
2861
+ Aws::IoT::EndpointParameters.new(
2862
+ region: context.config.region,
2863
+ use_dual_stack: context.config.use_dualstack_endpoint,
2864
+ use_fips: context.config.use_fips_endpoint,
2865
+ endpoint: endpoint,
2866
+ )
2867
+ end
2868
+ end
2869
+
2870
+ class StartOnDemandAuditTask
2871
+ def self.build(context)
2872
+ unless context.config.regional_endpoint
2873
+ endpoint = context.config.endpoint.to_s
2874
+ end
2875
+ Aws::IoT::EndpointParameters.new(
2876
+ region: context.config.region,
2877
+ use_dual_stack: context.config.use_dualstack_endpoint,
2878
+ use_fips: context.config.use_fips_endpoint,
2879
+ endpoint: endpoint,
2880
+ )
2881
+ end
2882
+ end
2883
+
2884
+ class StartThingRegistrationTask
2885
+ def self.build(context)
2886
+ unless context.config.regional_endpoint
2887
+ endpoint = context.config.endpoint.to_s
2888
+ end
2889
+ Aws::IoT::EndpointParameters.new(
2890
+ region: context.config.region,
2891
+ use_dual_stack: context.config.use_dualstack_endpoint,
2892
+ use_fips: context.config.use_fips_endpoint,
2893
+ endpoint: endpoint,
2894
+ )
2895
+ end
2896
+ end
2897
+
2898
+ class StopThingRegistrationTask
2899
+ def self.build(context)
2900
+ unless context.config.regional_endpoint
2901
+ endpoint = context.config.endpoint.to_s
2902
+ end
2903
+ Aws::IoT::EndpointParameters.new(
2904
+ region: context.config.region,
2905
+ use_dual_stack: context.config.use_dualstack_endpoint,
2906
+ use_fips: context.config.use_fips_endpoint,
2907
+ endpoint: endpoint,
2908
+ )
2909
+ end
2910
+ end
2911
+
2912
+ class TagResource
2913
+ def self.build(context)
2914
+ unless context.config.regional_endpoint
2915
+ endpoint = context.config.endpoint.to_s
2916
+ end
2917
+ Aws::IoT::EndpointParameters.new(
2918
+ region: context.config.region,
2919
+ use_dual_stack: context.config.use_dualstack_endpoint,
2920
+ use_fips: context.config.use_fips_endpoint,
2921
+ endpoint: endpoint,
2922
+ )
2923
+ end
2924
+ end
2925
+
2926
+ class TestAuthorization
2927
+ def self.build(context)
2928
+ unless context.config.regional_endpoint
2929
+ endpoint = context.config.endpoint.to_s
2930
+ end
2931
+ Aws::IoT::EndpointParameters.new(
2932
+ region: context.config.region,
2933
+ use_dual_stack: context.config.use_dualstack_endpoint,
2934
+ use_fips: context.config.use_fips_endpoint,
2935
+ endpoint: endpoint,
2936
+ )
2937
+ end
2938
+ end
2939
+
2940
+ class TestInvokeAuthorizer
2941
+ def self.build(context)
2942
+ unless context.config.regional_endpoint
2943
+ endpoint = context.config.endpoint.to_s
2944
+ end
2945
+ Aws::IoT::EndpointParameters.new(
2946
+ region: context.config.region,
2947
+ use_dual_stack: context.config.use_dualstack_endpoint,
2948
+ use_fips: context.config.use_fips_endpoint,
2949
+ endpoint: endpoint,
2950
+ )
2951
+ end
2952
+ end
2953
+
2954
+ class TransferCertificate
2955
+ def self.build(context)
2956
+ unless context.config.regional_endpoint
2957
+ endpoint = context.config.endpoint.to_s
2958
+ end
2959
+ Aws::IoT::EndpointParameters.new(
2960
+ region: context.config.region,
2961
+ use_dual_stack: context.config.use_dualstack_endpoint,
2962
+ use_fips: context.config.use_fips_endpoint,
2963
+ endpoint: endpoint,
2964
+ )
2965
+ end
2966
+ end
2967
+
2968
+ class UntagResource
2969
+ def self.build(context)
2970
+ unless context.config.regional_endpoint
2971
+ endpoint = context.config.endpoint.to_s
2972
+ end
2973
+ Aws::IoT::EndpointParameters.new(
2974
+ region: context.config.region,
2975
+ use_dual_stack: context.config.use_dualstack_endpoint,
2976
+ use_fips: context.config.use_fips_endpoint,
2977
+ endpoint: endpoint,
2978
+ )
2979
+ end
2980
+ end
2981
+
2982
+ class UpdateAccountAuditConfiguration
2983
+ def self.build(context)
2984
+ unless context.config.regional_endpoint
2985
+ endpoint = context.config.endpoint.to_s
2986
+ end
2987
+ Aws::IoT::EndpointParameters.new(
2988
+ region: context.config.region,
2989
+ use_dual_stack: context.config.use_dualstack_endpoint,
2990
+ use_fips: context.config.use_fips_endpoint,
2991
+ endpoint: endpoint,
2992
+ )
2993
+ end
2994
+ end
2995
+
2996
+ class UpdateAuditSuppression
2997
+ def self.build(context)
2998
+ unless context.config.regional_endpoint
2999
+ endpoint = context.config.endpoint.to_s
3000
+ end
3001
+ Aws::IoT::EndpointParameters.new(
3002
+ region: context.config.region,
3003
+ use_dual_stack: context.config.use_dualstack_endpoint,
3004
+ use_fips: context.config.use_fips_endpoint,
3005
+ endpoint: endpoint,
3006
+ )
3007
+ end
3008
+ end
3009
+
3010
+ class UpdateAuthorizer
3011
+ def self.build(context)
3012
+ unless context.config.regional_endpoint
3013
+ endpoint = context.config.endpoint.to_s
3014
+ end
3015
+ Aws::IoT::EndpointParameters.new(
3016
+ region: context.config.region,
3017
+ use_dual_stack: context.config.use_dualstack_endpoint,
3018
+ use_fips: context.config.use_fips_endpoint,
3019
+ endpoint: endpoint,
3020
+ )
3021
+ end
3022
+ end
3023
+
3024
+ class UpdateBillingGroup
3025
+ def self.build(context)
3026
+ unless context.config.regional_endpoint
3027
+ endpoint = context.config.endpoint.to_s
3028
+ end
3029
+ Aws::IoT::EndpointParameters.new(
3030
+ region: context.config.region,
3031
+ use_dual_stack: context.config.use_dualstack_endpoint,
3032
+ use_fips: context.config.use_fips_endpoint,
3033
+ endpoint: endpoint,
3034
+ )
3035
+ end
3036
+ end
3037
+
3038
+ class UpdateCACertificate
3039
+ def self.build(context)
3040
+ unless context.config.regional_endpoint
3041
+ endpoint = context.config.endpoint.to_s
3042
+ end
3043
+ Aws::IoT::EndpointParameters.new(
3044
+ region: context.config.region,
3045
+ use_dual_stack: context.config.use_dualstack_endpoint,
3046
+ use_fips: context.config.use_fips_endpoint,
3047
+ endpoint: endpoint,
3048
+ )
3049
+ end
3050
+ end
3051
+
3052
+ class UpdateCertificate
3053
+ def self.build(context)
3054
+ unless context.config.regional_endpoint
3055
+ endpoint = context.config.endpoint.to_s
3056
+ end
3057
+ Aws::IoT::EndpointParameters.new(
3058
+ region: context.config.region,
3059
+ use_dual_stack: context.config.use_dualstack_endpoint,
3060
+ use_fips: context.config.use_fips_endpoint,
3061
+ endpoint: endpoint,
3062
+ )
3063
+ end
3064
+ end
3065
+
3066
+ class UpdateCustomMetric
3067
+ def self.build(context)
3068
+ unless context.config.regional_endpoint
3069
+ endpoint = context.config.endpoint.to_s
3070
+ end
3071
+ Aws::IoT::EndpointParameters.new(
3072
+ region: context.config.region,
3073
+ use_dual_stack: context.config.use_dualstack_endpoint,
3074
+ use_fips: context.config.use_fips_endpoint,
3075
+ endpoint: endpoint,
3076
+ )
3077
+ end
3078
+ end
3079
+
3080
+ class UpdateDimension
3081
+ def self.build(context)
3082
+ unless context.config.regional_endpoint
3083
+ endpoint = context.config.endpoint.to_s
3084
+ end
3085
+ Aws::IoT::EndpointParameters.new(
3086
+ region: context.config.region,
3087
+ use_dual_stack: context.config.use_dualstack_endpoint,
3088
+ use_fips: context.config.use_fips_endpoint,
3089
+ endpoint: endpoint,
3090
+ )
3091
+ end
3092
+ end
3093
+
3094
+ class UpdateDomainConfiguration
3095
+ def self.build(context)
3096
+ unless context.config.regional_endpoint
3097
+ endpoint = context.config.endpoint.to_s
3098
+ end
3099
+ Aws::IoT::EndpointParameters.new(
3100
+ region: context.config.region,
3101
+ use_dual_stack: context.config.use_dualstack_endpoint,
3102
+ use_fips: context.config.use_fips_endpoint,
3103
+ endpoint: endpoint,
3104
+ )
3105
+ end
3106
+ end
3107
+
3108
+ class UpdateDynamicThingGroup
3109
+ def self.build(context)
3110
+ unless context.config.regional_endpoint
3111
+ endpoint = context.config.endpoint.to_s
3112
+ end
3113
+ Aws::IoT::EndpointParameters.new(
3114
+ region: context.config.region,
3115
+ use_dual_stack: context.config.use_dualstack_endpoint,
3116
+ use_fips: context.config.use_fips_endpoint,
3117
+ endpoint: endpoint,
3118
+ )
3119
+ end
3120
+ end
3121
+
3122
+ class UpdateEventConfigurations
3123
+ def self.build(context)
3124
+ unless context.config.regional_endpoint
3125
+ endpoint = context.config.endpoint.to_s
3126
+ end
3127
+ Aws::IoT::EndpointParameters.new(
3128
+ region: context.config.region,
3129
+ use_dual_stack: context.config.use_dualstack_endpoint,
3130
+ use_fips: context.config.use_fips_endpoint,
3131
+ endpoint: endpoint,
3132
+ )
3133
+ end
3134
+ end
3135
+
3136
+ class UpdateFleetMetric
3137
+ def self.build(context)
3138
+ unless context.config.regional_endpoint
3139
+ endpoint = context.config.endpoint.to_s
3140
+ end
3141
+ Aws::IoT::EndpointParameters.new(
3142
+ region: context.config.region,
3143
+ use_dual_stack: context.config.use_dualstack_endpoint,
3144
+ use_fips: context.config.use_fips_endpoint,
3145
+ endpoint: endpoint,
3146
+ )
3147
+ end
3148
+ end
3149
+
3150
+ class UpdateIndexingConfiguration
3151
+ def self.build(context)
3152
+ unless context.config.regional_endpoint
3153
+ endpoint = context.config.endpoint.to_s
3154
+ end
3155
+ Aws::IoT::EndpointParameters.new(
3156
+ region: context.config.region,
3157
+ use_dual_stack: context.config.use_dualstack_endpoint,
3158
+ use_fips: context.config.use_fips_endpoint,
3159
+ endpoint: endpoint,
3160
+ )
3161
+ end
3162
+ end
3163
+
3164
+ class UpdateJob
3165
+ def self.build(context)
3166
+ unless context.config.regional_endpoint
3167
+ endpoint = context.config.endpoint.to_s
3168
+ end
3169
+ Aws::IoT::EndpointParameters.new(
3170
+ region: context.config.region,
3171
+ use_dual_stack: context.config.use_dualstack_endpoint,
3172
+ use_fips: context.config.use_fips_endpoint,
3173
+ endpoint: endpoint,
3174
+ )
3175
+ end
3176
+ end
3177
+
3178
+ class UpdateMitigationAction
3179
+ def self.build(context)
3180
+ unless context.config.regional_endpoint
3181
+ endpoint = context.config.endpoint.to_s
3182
+ end
3183
+ Aws::IoT::EndpointParameters.new(
3184
+ region: context.config.region,
3185
+ use_dual_stack: context.config.use_dualstack_endpoint,
3186
+ use_fips: context.config.use_fips_endpoint,
3187
+ endpoint: endpoint,
3188
+ )
3189
+ end
3190
+ end
3191
+
3192
+ class UpdateProvisioningTemplate
3193
+ def self.build(context)
3194
+ unless context.config.regional_endpoint
3195
+ endpoint = context.config.endpoint.to_s
3196
+ end
3197
+ Aws::IoT::EndpointParameters.new(
3198
+ region: context.config.region,
3199
+ use_dual_stack: context.config.use_dualstack_endpoint,
3200
+ use_fips: context.config.use_fips_endpoint,
3201
+ endpoint: endpoint,
3202
+ )
3203
+ end
3204
+ end
3205
+
3206
+ class UpdateRoleAlias
3207
+ def self.build(context)
3208
+ unless context.config.regional_endpoint
3209
+ endpoint = context.config.endpoint.to_s
3210
+ end
3211
+ Aws::IoT::EndpointParameters.new(
3212
+ region: context.config.region,
3213
+ use_dual_stack: context.config.use_dualstack_endpoint,
3214
+ use_fips: context.config.use_fips_endpoint,
3215
+ endpoint: endpoint,
3216
+ )
3217
+ end
3218
+ end
3219
+
3220
+ class UpdateScheduledAudit
3221
+ def self.build(context)
3222
+ unless context.config.regional_endpoint
3223
+ endpoint = context.config.endpoint.to_s
3224
+ end
3225
+ Aws::IoT::EndpointParameters.new(
3226
+ region: context.config.region,
3227
+ use_dual_stack: context.config.use_dualstack_endpoint,
3228
+ use_fips: context.config.use_fips_endpoint,
3229
+ endpoint: endpoint,
3230
+ )
3231
+ end
3232
+ end
3233
+
3234
+ class UpdateSecurityProfile
3235
+ def self.build(context)
3236
+ unless context.config.regional_endpoint
3237
+ endpoint = context.config.endpoint.to_s
3238
+ end
3239
+ Aws::IoT::EndpointParameters.new(
3240
+ region: context.config.region,
3241
+ use_dual_stack: context.config.use_dualstack_endpoint,
3242
+ use_fips: context.config.use_fips_endpoint,
3243
+ endpoint: endpoint,
3244
+ )
3245
+ end
3246
+ end
3247
+
3248
+ class UpdateStream
3249
+ def self.build(context)
3250
+ unless context.config.regional_endpoint
3251
+ endpoint = context.config.endpoint.to_s
3252
+ end
3253
+ Aws::IoT::EndpointParameters.new(
3254
+ region: context.config.region,
3255
+ use_dual_stack: context.config.use_dualstack_endpoint,
3256
+ use_fips: context.config.use_fips_endpoint,
3257
+ endpoint: endpoint,
3258
+ )
3259
+ end
3260
+ end
3261
+
3262
+ class UpdateThing
3263
+ def self.build(context)
3264
+ unless context.config.regional_endpoint
3265
+ endpoint = context.config.endpoint.to_s
3266
+ end
3267
+ Aws::IoT::EndpointParameters.new(
3268
+ region: context.config.region,
3269
+ use_dual_stack: context.config.use_dualstack_endpoint,
3270
+ use_fips: context.config.use_fips_endpoint,
3271
+ endpoint: endpoint,
3272
+ )
3273
+ end
3274
+ end
3275
+
3276
+ class UpdateThingGroup
3277
+ def self.build(context)
3278
+ unless context.config.regional_endpoint
3279
+ endpoint = context.config.endpoint.to_s
3280
+ end
3281
+ Aws::IoT::EndpointParameters.new(
3282
+ region: context.config.region,
3283
+ use_dual_stack: context.config.use_dualstack_endpoint,
3284
+ use_fips: context.config.use_fips_endpoint,
3285
+ endpoint: endpoint,
3286
+ )
3287
+ end
3288
+ end
3289
+
3290
+ class UpdateThingGroupsForThing
3291
+ def self.build(context)
3292
+ unless context.config.regional_endpoint
3293
+ endpoint = context.config.endpoint.to_s
3294
+ end
3295
+ Aws::IoT::EndpointParameters.new(
3296
+ region: context.config.region,
3297
+ use_dual_stack: context.config.use_dualstack_endpoint,
3298
+ use_fips: context.config.use_fips_endpoint,
3299
+ endpoint: endpoint,
3300
+ )
3301
+ end
3302
+ end
3303
+
3304
+ class UpdateTopicRuleDestination
3305
+ def self.build(context)
3306
+ unless context.config.regional_endpoint
3307
+ endpoint = context.config.endpoint.to_s
3308
+ end
3309
+ Aws::IoT::EndpointParameters.new(
3310
+ region: context.config.region,
3311
+ use_dual_stack: context.config.use_dualstack_endpoint,
3312
+ use_fips: context.config.use_fips_endpoint,
3313
+ endpoint: endpoint,
3314
+ )
3315
+ end
3316
+ end
3317
+
3318
+ class ValidateSecurityProfileBehaviors
3319
+ def self.build(context)
3320
+ unless context.config.regional_endpoint
3321
+ endpoint = context.config.endpoint.to_s
3322
+ end
3323
+ Aws::IoT::EndpointParameters.new(
3324
+ region: context.config.region,
3325
+ use_dual_stack: context.config.use_dualstack_endpoint,
3326
+ use_fips: context.config.use_fips_endpoint,
3327
+ endpoint: endpoint,
3328
+ )
3329
+ end
3330
+ end
3331
+
3332
+ end
3333
+ end