/
stub.go
1710 lines (1397 loc) · 64.3 KB
/
stub.go
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
// Generated by github.com/temporalio/temporal-aws-sdk-generator
// from github.com/aws/aws-sdk-go version 1.35.7
package wafstub
import (
"github.com/aws/aws-sdk-go/service/waf"
"go.uber.org/cadence/workflow"
"github.com/banzaicloud/cadence-aws-sdk/clients"
)
// ensure that imports are valid even if not used by the generated code
var _ clients.VoidFuture
type stub struct{}
type CreateByteMatchSetFuture struct {
// public to support Selector.addFuture
Future workflow.Future
}
func (r *CreateByteMatchSetFuture) Get(ctx workflow.Context) (*waf.CreateByteMatchSetOutput, error) {
var output waf.CreateByteMatchSetOutput
err := r.Future.Get(ctx, &output)
return &output, err
}
type CreateGeoMatchSetFuture struct {
// public to support Selector.addFuture
Future workflow.Future
}
func (r *CreateGeoMatchSetFuture) Get(ctx workflow.Context) (*waf.CreateGeoMatchSetOutput, error) {
var output waf.CreateGeoMatchSetOutput
err := r.Future.Get(ctx, &output)
return &output, err
}
type CreateIPSetFuture struct {
// public to support Selector.addFuture
Future workflow.Future
}
func (r *CreateIPSetFuture) Get(ctx workflow.Context) (*waf.CreateIPSetOutput, error) {
var output waf.CreateIPSetOutput
err := r.Future.Get(ctx, &output)
return &output, err
}
type CreateRateBasedRuleFuture struct {
// public to support Selector.addFuture
Future workflow.Future
}
func (r *CreateRateBasedRuleFuture) Get(ctx workflow.Context) (*waf.CreateRateBasedRuleOutput, error) {
var output waf.CreateRateBasedRuleOutput
err := r.Future.Get(ctx, &output)
return &output, err
}
type CreateRegexMatchSetFuture struct {
// public to support Selector.addFuture
Future workflow.Future
}
func (r *CreateRegexMatchSetFuture) Get(ctx workflow.Context) (*waf.CreateRegexMatchSetOutput, error) {
var output waf.CreateRegexMatchSetOutput
err := r.Future.Get(ctx, &output)
return &output, err
}
type CreateRegexPatternSetFuture struct {
// public to support Selector.addFuture
Future workflow.Future
}
func (r *CreateRegexPatternSetFuture) Get(ctx workflow.Context) (*waf.CreateRegexPatternSetOutput, error) {
var output waf.CreateRegexPatternSetOutput
err := r.Future.Get(ctx, &output)
return &output, err
}
type CreateRuleFuture struct {
// public to support Selector.addFuture
Future workflow.Future
}
func (r *CreateRuleFuture) Get(ctx workflow.Context) (*waf.CreateRuleOutput, error) {
var output waf.CreateRuleOutput
err := r.Future.Get(ctx, &output)
return &output, err
}
type CreateRuleGroupFuture struct {
// public to support Selector.addFuture
Future workflow.Future
}
func (r *CreateRuleGroupFuture) Get(ctx workflow.Context) (*waf.CreateRuleGroupOutput, error) {
var output waf.CreateRuleGroupOutput
err := r.Future.Get(ctx, &output)
return &output, err
}
type CreateSizeConstraintSetFuture struct {
// public to support Selector.addFuture
Future workflow.Future
}
func (r *CreateSizeConstraintSetFuture) Get(ctx workflow.Context) (*waf.CreateSizeConstraintSetOutput, error) {
var output waf.CreateSizeConstraintSetOutput
err := r.Future.Get(ctx, &output)
return &output, err
}
type CreateSqlInjectionMatchSetFuture struct {
// public to support Selector.addFuture
Future workflow.Future
}
func (r *CreateSqlInjectionMatchSetFuture) Get(ctx workflow.Context) (*waf.CreateSqlInjectionMatchSetOutput, error) {
var output waf.CreateSqlInjectionMatchSetOutput
err := r.Future.Get(ctx, &output)
return &output, err
}
type CreateWebACLFuture struct {
// public to support Selector.addFuture
Future workflow.Future
}
func (r *CreateWebACLFuture) Get(ctx workflow.Context) (*waf.CreateWebACLOutput, error) {
var output waf.CreateWebACLOutput
err := r.Future.Get(ctx, &output)
return &output, err
}
type CreateWebACLMigrationStackFuture struct {
// public to support Selector.addFuture
Future workflow.Future
}
func (r *CreateWebACLMigrationStackFuture) Get(ctx workflow.Context) (*waf.CreateWebACLMigrationStackOutput, error) {
var output waf.CreateWebACLMigrationStackOutput
err := r.Future.Get(ctx, &output)
return &output, err
}
type CreateXssMatchSetFuture struct {
// public to support Selector.addFuture
Future workflow.Future
}
func (r *CreateXssMatchSetFuture) Get(ctx workflow.Context) (*waf.CreateXssMatchSetOutput, error) {
var output waf.CreateXssMatchSetOutput
err := r.Future.Get(ctx, &output)
return &output, err
}
type DeleteByteMatchSetFuture struct {
// public to support Selector.addFuture
Future workflow.Future
}
func (r *DeleteByteMatchSetFuture) Get(ctx workflow.Context) (*waf.DeleteByteMatchSetOutput, error) {
var output waf.DeleteByteMatchSetOutput
err := r.Future.Get(ctx, &output)
return &output, err
}
type DeleteGeoMatchSetFuture struct {
// public to support Selector.addFuture
Future workflow.Future
}
func (r *DeleteGeoMatchSetFuture) Get(ctx workflow.Context) (*waf.DeleteGeoMatchSetOutput, error) {
var output waf.DeleteGeoMatchSetOutput
err := r.Future.Get(ctx, &output)
return &output, err
}
type DeleteIPSetFuture struct {
// public to support Selector.addFuture
Future workflow.Future
}
func (r *DeleteIPSetFuture) Get(ctx workflow.Context) (*waf.DeleteIPSetOutput, error) {
var output waf.DeleteIPSetOutput
err := r.Future.Get(ctx, &output)
return &output, err
}
type DeleteLoggingConfigurationFuture struct {
// public to support Selector.addFuture
Future workflow.Future
}
func (r *DeleteLoggingConfigurationFuture) Get(ctx workflow.Context) (*waf.DeleteLoggingConfigurationOutput, error) {
var output waf.DeleteLoggingConfigurationOutput
err := r.Future.Get(ctx, &output)
return &output, err
}
type DeletePermissionPolicyFuture struct {
// public to support Selector.addFuture
Future workflow.Future
}
func (r *DeletePermissionPolicyFuture) Get(ctx workflow.Context) (*waf.DeletePermissionPolicyOutput, error) {
var output waf.DeletePermissionPolicyOutput
err := r.Future.Get(ctx, &output)
return &output, err
}
type DeleteRateBasedRuleFuture struct {
// public to support Selector.addFuture
Future workflow.Future
}
func (r *DeleteRateBasedRuleFuture) Get(ctx workflow.Context) (*waf.DeleteRateBasedRuleOutput, error) {
var output waf.DeleteRateBasedRuleOutput
err := r.Future.Get(ctx, &output)
return &output, err
}
type DeleteRegexMatchSetFuture struct {
// public to support Selector.addFuture
Future workflow.Future
}
func (r *DeleteRegexMatchSetFuture) Get(ctx workflow.Context) (*waf.DeleteRegexMatchSetOutput, error) {
var output waf.DeleteRegexMatchSetOutput
err := r.Future.Get(ctx, &output)
return &output, err
}
type DeleteRegexPatternSetFuture struct {
// public to support Selector.addFuture
Future workflow.Future
}
func (r *DeleteRegexPatternSetFuture) Get(ctx workflow.Context) (*waf.DeleteRegexPatternSetOutput, error) {
var output waf.DeleteRegexPatternSetOutput
err := r.Future.Get(ctx, &output)
return &output, err
}
type DeleteRuleFuture struct {
// public to support Selector.addFuture
Future workflow.Future
}
func (r *DeleteRuleFuture) Get(ctx workflow.Context) (*waf.DeleteRuleOutput, error) {
var output waf.DeleteRuleOutput
err := r.Future.Get(ctx, &output)
return &output, err
}
type DeleteRuleGroupFuture struct {
// public to support Selector.addFuture
Future workflow.Future
}
func (r *DeleteRuleGroupFuture) Get(ctx workflow.Context) (*waf.DeleteRuleGroupOutput, error) {
var output waf.DeleteRuleGroupOutput
err := r.Future.Get(ctx, &output)
return &output, err
}
type DeleteSizeConstraintSetFuture struct {
// public to support Selector.addFuture
Future workflow.Future
}
func (r *DeleteSizeConstraintSetFuture) Get(ctx workflow.Context) (*waf.DeleteSizeConstraintSetOutput, error) {
var output waf.DeleteSizeConstraintSetOutput
err := r.Future.Get(ctx, &output)
return &output, err
}
type DeleteSqlInjectionMatchSetFuture struct {
// public to support Selector.addFuture
Future workflow.Future
}
func (r *DeleteSqlInjectionMatchSetFuture) Get(ctx workflow.Context) (*waf.DeleteSqlInjectionMatchSetOutput, error) {
var output waf.DeleteSqlInjectionMatchSetOutput
err := r.Future.Get(ctx, &output)
return &output, err
}
type DeleteWebACLFuture struct {
// public to support Selector.addFuture
Future workflow.Future
}
func (r *DeleteWebACLFuture) Get(ctx workflow.Context) (*waf.DeleteWebACLOutput, error) {
var output waf.DeleteWebACLOutput
err := r.Future.Get(ctx, &output)
return &output, err
}
type DeleteXssMatchSetFuture struct {
// public to support Selector.addFuture
Future workflow.Future
}
func (r *DeleteXssMatchSetFuture) Get(ctx workflow.Context) (*waf.DeleteXssMatchSetOutput, error) {
var output waf.DeleteXssMatchSetOutput
err := r.Future.Get(ctx, &output)
return &output, err
}
type GetByteMatchSetFuture struct {
// public to support Selector.addFuture
Future workflow.Future
}
func (r *GetByteMatchSetFuture) Get(ctx workflow.Context) (*waf.GetByteMatchSetOutput, error) {
var output waf.GetByteMatchSetOutput
err := r.Future.Get(ctx, &output)
return &output, err
}
type GetChangeTokenFuture struct {
// public to support Selector.addFuture
Future workflow.Future
}
func (r *GetChangeTokenFuture) Get(ctx workflow.Context) (*waf.GetChangeTokenOutput, error) {
var output waf.GetChangeTokenOutput
err := r.Future.Get(ctx, &output)
return &output, err
}
type GetChangeTokenStatusFuture struct {
// public to support Selector.addFuture
Future workflow.Future
}
func (r *GetChangeTokenStatusFuture) Get(ctx workflow.Context) (*waf.GetChangeTokenStatusOutput, error) {
var output waf.GetChangeTokenStatusOutput
err := r.Future.Get(ctx, &output)
return &output, err
}
type GetGeoMatchSetFuture struct {
// public to support Selector.addFuture
Future workflow.Future
}
func (r *GetGeoMatchSetFuture) Get(ctx workflow.Context) (*waf.GetGeoMatchSetOutput, error) {
var output waf.GetGeoMatchSetOutput
err := r.Future.Get(ctx, &output)
return &output, err
}
type GetIPSetFuture struct {
// public to support Selector.addFuture
Future workflow.Future
}
func (r *GetIPSetFuture) Get(ctx workflow.Context) (*waf.GetIPSetOutput, error) {
var output waf.GetIPSetOutput
err := r.Future.Get(ctx, &output)
return &output, err
}
type GetLoggingConfigurationFuture struct {
// public to support Selector.addFuture
Future workflow.Future
}
func (r *GetLoggingConfigurationFuture) Get(ctx workflow.Context) (*waf.GetLoggingConfigurationOutput, error) {
var output waf.GetLoggingConfigurationOutput
err := r.Future.Get(ctx, &output)
return &output, err
}
type GetPermissionPolicyFuture struct {
// public to support Selector.addFuture
Future workflow.Future
}
func (r *GetPermissionPolicyFuture) Get(ctx workflow.Context) (*waf.GetPermissionPolicyOutput, error) {
var output waf.GetPermissionPolicyOutput
err := r.Future.Get(ctx, &output)
return &output, err
}
type GetRateBasedRuleFuture struct {
// public to support Selector.addFuture
Future workflow.Future
}
func (r *GetRateBasedRuleFuture) Get(ctx workflow.Context) (*waf.GetRateBasedRuleOutput, error) {
var output waf.GetRateBasedRuleOutput
err := r.Future.Get(ctx, &output)
return &output, err
}
type GetRateBasedRuleManagedKeysFuture struct {
// public to support Selector.addFuture
Future workflow.Future
}
func (r *GetRateBasedRuleManagedKeysFuture) Get(ctx workflow.Context) (*waf.GetRateBasedRuleManagedKeysOutput, error) {
var output waf.GetRateBasedRuleManagedKeysOutput
err := r.Future.Get(ctx, &output)
return &output, err
}
type GetRegexMatchSetFuture struct {
// public to support Selector.addFuture
Future workflow.Future
}
func (r *GetRegexMatchSetFuture) Get(ctx workflow.Context) (*waf.GetRegexMatchSetOutput, error) {
var output waf.GetRegexMatchSetOutput
err := r.Future.Get(ctx, &output)
return &output, err
}
type GetRegexPatternSetFuture struct {
// public to support Selector.addFuture
Future workflow.Future
}
func (r *GetRegexPatternSetFuture) Get(ctx workflow.Context) (*waf.GetRegexPatternSetOutput, error) {
var output waf.GetRegexPatternSetOutput
err := r.Future.Get(ctx, &output)
return &output, err
}
type GetRuleFuture struct {
// public to support Selector.addFuture
Future workflow.Future
}
func (r *GetRuleFuture) Get(ctx workflow.Context) (*waf.GetRuleOutput, error) {
var output waf.GetRuleOutput
err := r.Future.Get(ctx, &output)
return &output, err
}
type GetRuleGroupFuture struct {
// public to support Selector.addFuture
Future workflow.Future
}
func (r *GetRuleGroupFuture) Get(ctx workflow.Context) (*waf.GetRuleGroupOutput, error) {
var output waf.GetRuleGroupOutput
err := r.Future.Get(ctx, &output)
return &output, err
}
type GetSampledRequestsFuture struct {
// public to support Selector.addFuture
Future workflow.Future
}
func (r *GetSampledRequestsFuture) Get(ctx workflow.Context) (*waf.GetSampledRequestsOutput, error) {
var output waf.GetSampledRequestsOutput
err := r.Future.Get(ctx, &output)
return &output, err
}
type GetSizeConstraintSetFuture struct {
// public to support Selector.addFuture
Future workflow.Future
}
func (r *GetSizeConstraintSetFuture) Get(ctx workflow.Context) (*waf.GetSizeConstraintSetOutput, error) {
var output waf.GetSizeConstraintSetOutput
err := r.Future.Get(ctx, &output)
return &output, err
}
type GetSqlInjectionMatchSetFuture struct {
// public to support Selector.addFuture
Future workflow.Future
}
func (r *GetSqlInjectionMatchSetFuture) Get(ctx workflow.Context) (*waf.GetSqlInjectionMatchSetOutput, error) {
var output waf.GetSqlInjectionMatchSetOutput
err := r.Future.Get(ctx, &output)
return &output, err
}
type GetWebACLFuture struct {
// public to support Selector.addFuture
Future workflow.Future
}
func (r *GetWebACLFuture) Get(ctx workflow.Context) (*waf.GetWebACLOutput, error) {
var output waf.GetWebACLOutput
err := r.Future.Get(ctx, &output)
return &output, err
}
type GetXssMatchSetFuture struct {
// public to support Selector.addFuture
Future workflow.Future
}
func (r *GetXssMatchSetFuture) Get(ctx workflow.Context) (*waf.GetXssMatchSetOutput, error) {
var output waf.GetXssMatchSetOutput
err := r.Future.Get(ctx, &output)
return &output, err
}
type ListActivatedRulesInRuleGroupFuture struct {
// public to support Selector.addFuture
Future workflow.Future
}
func (r *ListActivatedRulesInRuleGroupFuture) Get(ctx workflow.Context) (*waf.ListActivatedRulesInRuleGroupOutput, error) {
var output waf.ListActivatedRulesInRuleGroupOutput
err := r.Future.Get(ctx, &output)
return &output, err
}
type ListByteMatchSetsFuture struct {
// public to support Selector.addFuture
Future workflow.Future
}
func (r *ListByteMatchSetsFuture) Get(ctx workflow.Context) (*waf.ListByteMatchSetsOutput, error) {
var output waf.ListByteMatchSetsOutput
err := r.Future.Get(ctx, &output)
return &output, err
}
type ListGeoMatchSetsFuture struct {
// public to support Selector.addFuture
Future workflow.Future
}
func (r *ListGeoMatchSetsFuture) Get(ctx workflow.Context) (*waf.ListGeoMatchSetsOutput, error) {
var output waf.ListGeoMatchSetsOutput
err := r.Future.Get(ctx, &output)
return &output, err
}
type ListIPSetsFuture struct {
// public to support Selector.addFuture
Future workflow.Future
}
func (r *ListIPSetsFuture) Get(ctx workflow.Context) (*waf.ListIPSetsOutput, error) {
var output waf.ListIPSetsOutput
err := r.Future.Get(ctx, &output)
return &output, err
}
type ListLoggingConfigurationsFuture struct {
// public to support Selector.addFuture
Future workflow.Future
}
func (r *ListLoggingConfigurationsFuture) Get(ctx workflow.Context) (*waf.ListLoggingConfigurationsOutput, error) {
var output waf.ListLoggingConfigurationsOutput
err := r.Future.Get(ctx, &output)
return &output, err
}
type ListRateBasedRulesFuture struct {
// public to support Selector.addFuture
Future workflow.Future
}
func (r *ListRateBasedRulesFuture) Get(ctx workflow.Context) (*waf.ListRateBasedRulesOutput, error) {
var output waf.ListRateBasedRulesOutput
err := r.Future.Get(ctx, &output)
return &output, err
}
type ListRegexMatchSetsFuture struct {
// public to support Selector.addFuture
Future workflow.Future
}
func (r *ListRegexMatchSetsFuture) Get(ctx workflow.Context) (*waf.ListRegexMatchSetsOutput, error) {
var output waf.ListRegexMatchSetsOutput
err := r.Future.Get(ctx, &output)
return &output, err
}
type ListRegexPatternSetsFuture struct {
// public to support Selector.addFuture
Future workflow.Future
}
func (r *ListRegexPatternSetsFuture) Get(ctx workflow.Context) (*waf.ListRegexPatternSetsOutput, error) {
var output waf.ListRegexPatternSetsOutput
err := r.Future.Get(ctx, &output)
return &output, err
}
type ListRuleGroupsFuture struct {
// public to support Selector.addFuture
Future workflow.Future
}
func (r *ListRuleGroupsFuture) Get(ctx workflow.Context) (*waf.ListRuleGroupsOutput, error) {
var output waf.ListRuleGroupsOutput
err := r.Future.Get(ctx, &output)
return &output, err
}
type ListRulesFuture struct {
// public to support Selector.addFuture
Future workflow.Future
}
func (r *ListRulesFuture) Get(ctx workflow.Context) (*waf.ListRulesOutput, error) {
var output waf.ListRulesOutput
err := r.Future.Get(ctx, &output)
return &output, err
}
type ListSizeConstraintSetsFuture struct {
// public to support Selector.addFuture
Future workflow.Future
}
func (r *ListSizeConstraintSetsFuture) Get(ctx workflow.Context) (*waf.ListSizeConstraintSetsOutput, error) {
var output waf.ListSizeConstraintSetsOutput
err := r.Future.Get(ctx, &output)
return &output, err
}
type ListSqlInjectionMatchSetsFuture struct {
// public to support Selector.addFuture
Future workflow.Future
}
func (r *ListSqlInjectionMatchSetsFuture) Get(ctx workflow.Context) (*waf.ListSqlInjectionMatchSetsOutput, error) {
var output waf.ListSqlInjectionMatchSetsOutput
err := r.Future.Get(ctx, &output)
return &output, err
}
type ListSubscribedRuleGroupsFuture struct {
// public to support Selector.addFuture
Future workflow.Future
}
func (r *ListSubscribedRuleGroupsFuture) Get(ctx workflow.Context) (*waf.ListSubscribedRuleGroupsOutput, error) {
var output waf.ListSubscribedRuleGroupsOutput
err := r.Future.Get(ctx, &output)
return &output, err
}
type ListTagsForResourceFuture struct {
// public to support Selector.addFuture
Future workflow.Future
}
func (r *ListTagsForResourceFuture) Get(ctx workflow.Context) (*waf.ListTagsForResourceOutput, error) {
var output waf.ListTagsForResourceOutput
err := r.Future.Get(ctx, &output)
return &output, err
}
type ListWebACLsFuture struct {
// public to support Selector.addFuture
Future workflow.Future
}
func (r *ListWebACLsFuture) Get(ctx workflow.Context) (*waf.ListWebACLsOutput, error) {
var output waf.ListWebACLsOutput
err := r.Future.Get(ctx, &output)
return &output, err
}
type ListXssMatchSetsFuture struct {
// public to support Selector.addFuture
Future workflow.Future
}
func (r *ListXssMatchSetsFuture) Get(ctx workflow.Context) (*waf.ListXssMatchSetsOutput, error) {
var output waf.ListXssMatchSetsOutput
err := r.Future.Get(ctx, &output)
return &output, err
}
type PutLoggingConfigurationFuture struct {
// public to support Selector.addFuture
Future workflow.Future
}
func (r *PutLoggingConfigurationFuture) Get(ctx workflow.Context) (*waf.PutLoggingConfigurationOutput, error) {
var output waf.PutLoggingConfigurationOutput
err := r.Future.Get(ctx, &output)
return &output, err
}
type PutPermissionPolicyFuture struct {
// public to support Selector.addFuture
Future workflow.Future
}
func (r *PutPermissionPolicyFuture) Get(ctx workflow.Context) (*waf.PutPermissionPolicyOutput, error) {
var output waf.PutPermissionPolicyOutput
err := r.Future.Get(ctx, &output)
return &output, err
}
type TagResourceFuture struct {
// public to support Selector.addFuture
Future workflow.Future
}
func (r *TagResourceFuture) Get(ctx workflow.Context) (*waf.TagResourceOutput, error) {
var output waf.TagResourceOutput
err := r.Future.Get(ctx, &output)
return &output, err
}
type UntagResourceFuture struct {
// public to support Selector.addFuture
Future workflow.Future
}
func (r *UntagResourceFuture) Get(ctx workflow.Context) (*waf.UntagResourceOutput, error) {
var output waf.UntagResourceOutput
err := r.Future.Get(ctx, &output)
return &output, err
}
type UpdateByteMatchSetFuture struct {
// public to support Selector.addFuture
Future workflow.Future
}
func (r *UpdateByteMatchSetFuture) Get(ctx workflow.Context) (*waf.UpdateByteMatchSetOutput, error) {
var output waf.UpdateByteMatchSetOutput
err := r.Future.Get(ctx, &output)
return &output, err
}
type UpdateGeoMatchSetFuture struct {
// public to support Selector.addFuture
Future workflow.Future
}
func (r *UpdateGeoMatchSetFuture) Get(ctx workflow.Context) (*waf.UpdateGeoMatchSetOutput, error) {
var output waf.UpdateGeoMatchSetOutput
err := r.Future.Get(ctx, &output)
return &output, err
}
type UpdateIPSetFuture struct {
// public to support Selector.addFuture
Future workflow.Future
}
func (r *UpdateIPSetFuture) Get(ctx workflow.Context) (*waf.UpdateIPSetOutput, error) {
var output waf.UpdateIPSetOutput
err := r.Future.Get(ctx, &output)
return &output, err
}
type UpdateRateBasedRuleFuture struct {
// public to support Selector.addFuture
Future workflow.Future
}
func (r *UpdateRateBasedRuleFuture) Get(ctx workflow.Context) (*waf.UpdateRateBasedRuleOutput, error) {
var output waf.UpdateRateBasedRuleOutput
err := r.Future.Get(ctx, &output)
return &output, err
}
type UpdateRegexMatchSetFuture struct {
// public to support Selector.addFuture
Future workflow.Future
}
func (r *UpdateRegexMatchSetFuture) Get(ctx workflow.Context) (*waf.UpdateRegexMatchSetOutput, error) {
var output waf.UpdateRegexMatchSetOutput
err := r.Future.Get(ctx, &output)
return &output, err
}
type UpdateRegexPatternSetFuture struct {
// public to support Selector.addFuture
Future workflow.Future
}
func (r *UpdateRegexPatternSetFuture) Get(ctx workflow.Context) (*waf.UpdateRegexPatternSetOutput, error) {
var output waf.UpdateRegexPatternSetOutput
err := r.Future.Get(ctx, &output)
return &output, err
}
type UpdateRuleFuture struct {
// public to support Selector.addFuture
Future workflow.Future
}
func (r *UpdateRuleFuture) Get(ctx workflow.Context) (*waf.UpdateRuleOutput, error) {
var output waf.UpdateRuleOutput
err := r.Future.Get(ctx, &output)
return &output, err
}
type UpdateRuleGroupFuture struct {
// public to support Selector.addFuture
Future workflow.Future
}
func (r *UpdateRuleGroupFuture) Get(ctx workflow.Context) (*waf.UpdateRuleGroupOutput, error) {
var output waf.UpdateRuleGroupOutput
err := r.Future.Get(ctx, &output)
return &output, err
}
type UpdateSizeConstraintSetFuture struct {
// public to support Selector.addFuture
Future workflow.Future
}
func (r *UpdateSizeConstraintSetFuture) Get(ctx workflow.Context) (*waf.UpdateSizeConstraintSetOutput, error) {
var output waf.UpdateSizeConstraintSetOutput
err := r.Future.Get(ctx, &output)
return &output, err
}
type UpdateSqlInjectionMatchSetFuture struct {
// public to support Selector.addFuture
Future workflow.Future
}
func (r *UpdateSqlInjectionMatchSetFuture) Get(ctx workflow.Context) (*waf.UpdateSqlInjectionMatchSetOutput, error) {
var output waf.UpdateSqlInjectionMatchSetOutput
err := r.Future.Get(ctx, &output)
return &output, err
}
type UpdateWebACLFuture struct {
// public to support Selector.addFuture
Future workflow.Future
}
func (r *UpdateWebACLFuture) Get(ctx workflow.Context) (*waf.UpdateWebACLOutput, error) {
var output waf.UpdateWebACLOutput
err := r.Future.Get(ctx, &output)
return &output, err
}
type UpdateXssMatchSetFuture struct {
// public to support Selector.addFuture
Future workflow.Future
}
func (r *UpdateXssMatchSetFuture) Get(ctx workflow.Context) (*waf.UpdateXssMatchSetOutput, error) {
var output waf.UpdateXssMatchSetOutput
err := r.Future.Get(ctx, &output)
return &output, err
}
func (a *stub) CreateByteMatchSet(ctx workflow.Context, input *waf.CreateByteMatchSetInput) (*waf.CreateByteMatchSetOutput, error) {
var output waf.CreateByteMatchSetOutput
err := workflow.ExecuteActivity(ctx, "aws-waf-CreateByteMatchSet", input).Get(ctx, &output)
return &output, err
}
func (a *stub) CreateByteMatchSetAsync(ctx workflow.Context, input *waf.CreateByteMatchSetInput) *CreateByteMatchSetFuture {
future := workflow.ExecuteActivity(ctx, "aws-waf-CreateByteMatchSet", input)
return &CreateByteMatchSetFuture{Future: future}
}
func (a *stub) CreateGeoMatchSet(ctx workflow.Context, input *waf.CreateGeoMatchSetInput) (*waf.CreateGeoMatchSetOutput, error) {
var output waf.CreateGeoMatchSetOutput
err := workflow.ExecuteActivity(ctx, "aws-waf-CreateGeoMatchSet", input).Get(ctx, &output)
return &output, err
}
func (a *stub) CreateGeoMatchSetAsync(ctx workflow.Context, input *waf.CreateGeoMatchSetInput) *CreateGeoMatchSetFuture {
future := workflow.ExecuteActivity(ctx, "aws-waf-CreateGeoMatchSet", input)
return &CreateGeoMatchSetFuture{Future: future}
}
func (a *stub) CreateIPSet(ctx workflow.Context, input *waf.CreateIPSetInput) (*waf.CreateIPSetOutput, error) {
var output waf.CreateIPSetOutput
err := workflow.ExecuteActivity(ctx, "aws-waf-CreateIPSet", input).Get(ctx, &output)
return &output, err
}
func (a *stub) CreateIPSetAsync(ctx workflow.Context, input *waf.CreateIPSetInput) *CreateIPSetFuture {
future := workflow.ExecuteActivity(ctx, "aws-waf-CreateIPSet", input)
return &CreateIPSetFuture{Future: future}
}
func (a *stub) CreateRateBasedRule(ctx workflow.Context, input *waf.CreateRateBasedRuleInput) (*waf.CreateRateBasedRuleOutput, error) {
var output waf.CreateRateBasedRuleOutput
err := workflow.ExecuteActivity(ctx, "aws-waf-CreateRateBasedRule", input).Get(ctx, &output)
return &output, err
}
func (a *stub) CreateRateBasedRuleAsync(ctx workflow.Context, input *waf.CreateRateBasedRuleInput) *CreateRateBasedRuleFuture {
future := workflow.ExecuteActivity(ctx, "aws-waf-CreateRateBasedRule", input)
return &CreateRateBasedRuleFuture{Future: future}
}
func (a *stub) CreateRegexMatchSet(ctx workflow.Context, input *waf.CreateRegexMatchSetInput) (*waf.CreateRegexMatchSetOutput, error) {
var output waf.CreateRegexMatchSetOutput
err := workflow.ExecuteActivity(ctx, "aws-waf-CreateRegexMatchSet", input).Get(ctx, &output)
return &output, err
}
func (a *stub) CreateRegexMatchSetAsync(ctx workflow.Context, input *waf.CreateRegexMatchSetInput) *CreateRegexMatchSetFuture {
future := workflow.ExecuteActivity(ctx, "aws-waf-CreateRegexMatchSet", input)
return &CreateRegexMatchSetFuture{Future: future}
}
func (a *stub) CreateRegexPatternSet(ctx workflow.Context, input *waf.CreateRegexPatternSetInput) (*waf.CreateRegexPatternSetOutput, error) {
var output waf.CreateRegexPatternSetOutput
err := workflow.ExecuteActivity(ctx, "aws-waf-CreateRegexPatternSet", input).Get(ctx, &output)
return &output, err
}
func (a *stub) CreateRegexPatternSetAsync(ctx workflow.Context, input *waf.CreateRegexPatternSetInput) *CreateRegexPatternSetFuture {
future := workflow.ExecuteActivity(ctx, "aws-waf-CreateRegexPatternSet", input)
return &CreateRegexPatternSetFuture{Future: future}
}
func (a *stub) CreateRule(ctx workflow.Context, input *waf.CreateRuleInput) (*waf.CreateRuleOutput, error) {
var output waf.CreateRuleOutput
err := workflow.ExecuteActivity(ctx, "aws-waf-CreateRule", input).Get(ctx, &output)
return &output, err
}
func (a *stub) CreateRuleAsync(ctx workflow.Context, input *waf.CreateRuleInput) *CreateRuleFuture {
future := workflow.ExecuteActivity(ctx, "aws-waf-CreateRule", input)
return &CreateRuleFuture{Future: future}
}
func (a *stub) CreateRuleGroup(ctx workflow.Context, input *waf.CreateRuleGroupInput) (*waf.CreateRuleGroupOutput, error) {
var output waf.CreateRuleGroupOutput
err := workflow.ExecuteActivity(ctx, "aws-waf-CreateRuleGroup", input).Get(ctx, &output)
return &output, err
}
func (a *stub) CreateRuleGroupAsync(ctx workflow.Context, input *waf.CreateRuleGroupInput) *CreateRuleGroupFuture {
future := workflow.ExecuteActivity(ctx, "aws-waf-CreateRuleGroup", input)
return &CreateRuleGroupFuture{Future: future}
}
func (a *stub) CreateSizeConstraintSet(ctx workflow.Context, input *waf.CreateSizeConstraintSetInput) (*waf.CreateSizeConstraintSetOutput, error) {
var output waf.CreateSizeConstraintSetOutput
err := workflow.ExecuteActivity(ctx, "aws-waf-CreateSizeConstraintSet", input).Get(ctx, &output)
return &output, err
}
func (a *stub) CreateSizeConstraintSetAsync(ctx workflow.Context, input *waf.CreateSizeConstraintSetInput) *CreateSizeConstraintSetFuture {
future := workflow.ExecuteActivity(ctx, "aws-waf-CreateSizeConstraintSet", input)
return &CreateSizeConstraintSetFuture{Future: future}
}
func (a *stub) CreateSqlInjectionMatchSet(ctx workflow.Context, input *waf.CreateSqlInjectionMatchSetInput) (*waf.CreateSqlInjectionMatchSetOutput, error) {
var output waf.CreateSqlInjectionMatchSetOutput
err := workflow.ExecuteActivity(ctx, "aws-waf-CreateSqlInjectionMatchSet", input).Get(ctx, &output)
return &output, err
}
func (a *stub) CreateSqlInjectionMatchSetAsync(ctx workflow.Context, input *waf.CreateSqlInjectionMatchSetInput) *CreateSqlInjectionMatchSetFuture {
future := workflow.ExecuteActivity(ctx, "aws-waf-CreateSqlInjectionMatchSet", input)
return &CreateSqlInjectionMatchSetFuture{Future: future}
}
func (a *stub) CreateWebACL(ctx workflow.Context, input *waf.CreateWebACLInput) (*waf.CreateWebACLOutput, error) {
var output waf.CreateWebACLOutput
err := workflow.ExecuteActivity(ctx, "aws-waf-CreateWebACL", input).Get(ctx, &output)
return &output, err
}
func (a *stub) CreateWebACLAsync(ctx workflow.Context, input *waf.CreateWebACLInput) *CreateWebACLFuture {
future := workflow.ExecuteActivity(ctx, "aws-waf-CreateWebACL", input)
return &CreateWebACLFuture{Future: future}
}
func (a *stub) CreateWebACLMigrationStack(ctx workflow.Context, input *waf.CreateWebACLMigrationStackInput) (*waf.CreateWebACLMigrationStackOutput, error) {
var output waf.CreateWebACLMigrationStackOutput
err := workflow.ExecuteActivity(ctx, "aws-waf-CreateWebACLMigrationStack", input).Get(ctx, &output)
return &output, err
}
func (a *stub) CreateWebACLMigrationStackAsync(ctx workflow.Context, input *waf.CreateWebACLMigrationStackInput) *CreateWebACLMigrationStackFuture {
future := workflow.ExecuteActivity(ctx, "aws-waf-CreateWebACLMigrationStack", input)
return &CreateWebACLMigrationStackFuture{Future: future}
}
func (a *stub) CreateXssMatchSet(ctx workflow.Context, input *waf.CreateXssMatchSetInput) (*waf.CreateXssMatchSetOutput, error) {
var output waf.CreateXssMatchSetOutput
err := workflow.ExecuteActivity(ctx, "aws-waf-CreateXssMatchSet", input).Get(ctx, &output)
return &output, err