aws-sdk-iot 1.80.0 → 1.111.0

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