aws-sdk-appmesh 1.59.0 → 1.60.0

Sign up to get free protection for your applications and to get access to all the features.
data/sig/client.rbs ADDED
@@ -0,0 +1,2058 @@
1
+ # WARNING ABOUT GENERATED CODE
2
+ #
3
+ # This file is generated. See the contributing guide for more information:
4
+ # https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md
5
+ #
6
+ # WARNING ABOUT GENERATED CODE
7
+
8
+ module Aws
9
+ module AppMesh
10
+ class Client < ::Seahorse::Client::Base
11
+ include ::Aws::ClientStubs
12
+
13
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/AppMesh/Client.html#initialize-instance_method
14
+ def self.new: (
15
+ ?credentials: untyped,
16
+ ?region: String,
17
+ ?access_key_id: String,
18
+ ?active_endpoint_cache: bool,
19
+ ?adaptive_retry_wait_to_fill: bool,
20
+ ?client_side_monitoring: bool,
21
+ ?client_side_monitoring_client_id: String,
22
+ ?client_side_monitoring_host: String,
23
+ ?client_side_monitoring_port: Integer,
24
+ ?client_side_monitoring_publisher: untyped,
25
+ ?convert_params: bool,
26
+ ?correct_clock_skew: bool,
27
+ ?defaults_mode: String,
28
+ ?disable_host_prefix_injection: bool,
29
+ ?disable_request_compression: bool,
30
+ ?endpoint: String,
31
+ ?endpoint_cache_max_entries: Integer,
32
+ ?endpoint_cache_max_threads: Integer,
33
+ ?endpoint_cache_poll_interval: Integer,
34
+ ?endpoint_discovery: bool,
35
+ ?ignore_configured_endpoint_urls: bool,
36
+ ?log_formatter: untyped,
37
+ ?log_level: Symbol,
38
+ ?logger: untyped,
39
+ ?max_attempts: Integer,
40
+ ?profile: String,
41
+ ?request_min_compression_size_bytes: Integer,
42
+ ?retry_backoff: Proc,
43
+ ?retry_base_delay: Float,
44
+ ?retry_jitter: (:none | :equal | :full | ^(Integer) -> Integer),
45
+ ?retry_limit: Integer,
46
+ ?retry_max_delay: Integer,
47
+ ?retry_mode: ("legacy" | "standard" | "adaptive"),
48
+ ?sdk_ua_app_id: String,
49
+ ?secret_access_key: String,
50
+ ?session_token: String,
51
+ ?stub_responses: untyped,
52
+ ?token_provider: untyped,
53
+ ?use_dualstack_endpoint: bool,
54
+ ?use_fips_endpoint: bool,
55
+ ?validate_params: bool,
56
+ ?endpoint_provider: untyped,
57
+ ?http_proxy: String,
58
+ ?http_open_timeout: (Float | Integer),
59
+ ?http_read_timeout: (Float | Integer),
60
+ ?http_idle_timeout: (Float | Integer),
61
+ ?http_continue_timeout: (Float | Integer),
62
+ ?ssl_timeout: (Float | Integer | nil),
63
+ ?http_wire_trace: bool,
64
+ ?ssl_verify_peer: bool,
65
+ ?ssl_ca_bundle: String,
66
+ ?ssl_ca_directory: String,
67
+ ?ssl_ca_store: String,
68
+ ?on_chunk_received: Proc,
69
+ ?on_chunk_sent: Proc,
70
+ ?raise_response_errors: bool
71
+ ) -> instance
72
+ | (?Hash[Symbol, untyped]) -> instance
73
+
74
+
75
+ interface _CreateGatewayRouteResponseSuccess
76
+ include ::Seahorse::Client::_ResponseSuccess[Types::CreateGatewayRouteOutput]
77
+ def gateway_route: () -> Types::GatewayRouteData
78
+ end
79
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/AppMesh/Client.html#create_gateway_route-instance_method
80
+ def create_gateway_route: (
81
+ ?client_token: ::String,
82
+ gateway_route_name: ::String,
83
+ mesh_name: ::String,
84
+ ?mesh_owner: ::String,
85
+ spec: {
86
+ grpc_route: {
87
+ action: {
88
+ rewrite: {
89
+ hostname: {
90
+ default_target_hostname: ("ENABLED" | "DISABLED")?
91
+ }?
92
+ }?,
93
+ target: {
94
+ port: ::Integer?,
95
+ virtual_service: {
96
+ virtual_service_name: ::String
97
+ }
98
+ }
99
+ },
100
+ match: {
101
+ hostname: {
102
+ exact: ::String?,
103
+ suffix: ::String?
104
+ }?,
105
+ metadata: Array[
106
+ {
107
+ invert: bool?,
108
+ match: {
109
+ exact: ::String?,
110
+ prefix: ::String?,
111
+ range: {
112
+ end: ::Integer,
113
+ start: ::Integer
114
+ }?,
115
+ regex: ::String?,
116
+ suffix: ::String?
117
+ }?,
118
+ name: ::String
119
+ },
120
+ ]?,
121
+ port: ::Integer?,
122
+ service_name: ::String?
123
+ }
124
+ }?,
125
+ http2_route: {
126
+ action: {
127
+ rewrite: {
128
+ hostname: {
129
+ default_target_hostname: ("ENABLED" | "DISABLED")?
130
+ }?,
131
+ path: {
132
+ exact: ::String?
133
+ }?,
134
+ prefix: {
135
+ default_prefix: ("ENABLED" | "DISABLED")?,
136
+ value: ::String?
137
+ }?
138
+ }?,
139
+ target: {
140
+ port: ::Integer?,
141
+ virtual_service: {
142
+ virtual_service_name: ::String
143
+ }
144
+ }
145
+ },
146
+ match: {
147
+ headers: Array[
148
+ {
149
+ invert: bool?,
150
+ match: {
151
+ exact: ::String?,
152
+ prefix: ::String?,
153
+ range: {
154
+ end: ::Integer,
155
+ start: ::Integer
156
+ }?,
157
+ regex: ::String?,
158
+ suffix: ::String?
159
+ }?,
160
+ name: ::String
161
+ },
162
+ ]?,
163
+ hostname: {
164
+ exact: ::String?,
165
+ suffix: ::String?
166
+ }?,
167
+ method: ("GET" | "HEAD" | "POST" | "PUT" | "DELETE" | "CONNECT" | "OPTIONS" | "TRACE" | "PATCH")?,
168
+ path: {
169
+ exact: ::String?,
170
+ regex: ::String?
171
+ }?,
172
+ port: ::Integer?,
173
+ prefix: ::String?,
174
+ query_parameters: Array[
175
+ {
176
+ match: {
177
+ exact: ::String?
178
+ }?,
179
+ name: ::String
180
+ },
181
+ ]?
182
+ }
183
+ }?,
184
+ http_route: {
185
+ action: {
186
+ rewrite: {
187
+ hostname: {
188
+ default_target_hostname: ("ENABLED" | "DISABLED")?
189
+ }?,
190
+ path: {
191
+ exact: ::String?
192
+ }?,
193
+ prefix: {
194
+ default_prefix: ("ENABLED" | "DISABLED")?,
195
+ value: ::String?
196
+ }?
197
+ }?,
198
+ target: {
199
+ port: ::Integer?,
200
+ virtual_service: {
201
+ virtual_service_name: ::String
202
+ }
203
+ }
204
+ },
205
+ match: {
206
+ headers: Array[
207
+ {
208
+ invert: bool?,
209
+ match: {
210
+ exact: ::String?,
211
+ prefix: ::String?,
212
+ range: {
213
+ end: ::Integer,
214
+ start: ::Integer
215
+ }?,
216
+ regex: ::String?,
217
+ suffix: ::String?
218
+ }?,
219
+ name: ::String
220
+ },
221
+ ]?,
222
+ hostname: {
223
+ exact: ::String?,
224
+ suffix: ::String?
225
+ }?,
226
+ method: ("GET" | "HEAD" | "POST" | "PUT" | "DELETE" | "CONNECT" | "OPTIONS" | "TRACE" | "PATCH")?,
227
+ path: {
228
+ exact: ::String?,
229
+ regex: ::String?
230
+ }?,
231
+ port: ::Integer?,
232
+ prefix: ::String?,
233
+ query_parameters: Array[
234
+ {
235
+ match: {
236
+ exact: ::String?
237
+ }?,
238
+ name: ::String
239
+ },
240
+ ]?
241
+ }
242
+ }?,
243
+ priority: ::Integer?
244
+ },
245
+ ?tags: Array[
246
+ {
247
+ key: ::String,
248
+ value: ::String
249
+ },
250
+ ],
251
+ virtual_gateway_name: ::String
252
+ ) -> _CreateGatewayRouteResponseSuccess
253
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _CreateGatewayRouteResponseSuccess
254
+
255
+ interface _CreateMeshResponseSuccess
256
+ include ::Seahorse::Client::_ResponseSuccess[Types::CreateMeshOutput]
257
+ def mesh: () -> Types::MeshData
258
+ end
259
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/AppMesh/Client.html#create_mesh-instance_method
260
+ def create_mesh: (
261
+ ?client_token: ::String,
262
+ mesh_name: ::String,
263
+ ?spec: {
264
+ egress_filter: {
265
+ type: ("ALLOW_ALL" | "DROP_ALL")
266
+ }?,
267
+ service_discovery: {
268
+ ip_preference: ("IPv6_PREFERRED" | "IPv4_PREFERRED" | "IPv4_ONLY" | "IPv6_ONLY")?
269
+ }?
270
+ },
271
+ ?tags: Array[
272
+ {
273
+ key: ::String,
274
+ value: ::String
275
+ },
276
+ ]
277
+ ) -> _CreateMeshResponseSuccess
278
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _CreateMeshResponseSuccess
279
+
280
+ interface _CreateRouteResponseSuccess
281
+ include ::Seahorse::Client::_ResponseSuccess[Types::CreateRouteOutput]
282
+ def route: () -> Types::RouteData
283
+ end
284
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/AppMesh/Client.html#create_route-instance_method
285
+ def create_route: (
286
+ ?client_token: ::String,
287
+ mesh_name: ::String,
288
+ ?mesh_owner: ::String,
289
+ route_name: ::String,
290
+ spec: {
291
+ grpc_route: {
292
+ action: {
293
+ weighted_targets: Array[
294
+ {
295
+ port: ::Integer?,
296
+ virtual_node: ::String,
297
+ weight: ::Integer
298
+ },
299
+ ]
300
+ },
301
+ match: {
302
+ metadata: Array[
303
+ {
304
+ invert: bool?,
305
+ match: {
306
+ exact: ::String?,
307
+ prefix: ::String?,
308
+ range: {
309
+ end: ::Integer,
310
+ start: ::Integer
311
+ }?,
312
+ regex: ::String?,
313
+ suffix: ::String?
314
+ }?,
315
+ name: ::String
316
+ },
317
+ ]?,
318
+ method_name: ::String?,
319
+ port: ::Integer?,
320
+ service_name: ::String?
321
+ },
322
+ retry_policy: {
323
+ grpc_retry_events: Array[("cancelled" | "deadline-exceeded" | "internal" | "resource-exhausted" | "unavailable")]?,
324
+ http_retry_events: Array[::String]?,
325
+ max_retries: ::Integer,
326
+ per_retry_timeout: {
327
+ unit: ("s" | "ms")?,
328
+ value: ::Integer?
329
+ },
330
+ tcp_retry_events: Array[("connection-error")]?
331
+ }?,
332
+ timeout: {
333
+ idle: {
334
+ unit: ("s" | "ms")?,
335
+ value: ::Integer?
336
+ }?,
337
+ per_request: {
338
+ unit: ("s" | "ms")?,
339
+ value: ::Integer?
340
+ }?
341
+ }?
342
+ }?,
343
+ http2_route: {
344
+ action: {
345
+ weighted_targets: Array[
346
+ {
347
+ port: ::Integer?,
348
+ virtual_node: ::String,
349
+ weight: ::Integer
350
+ },
351
+ ]
352
+ },
353
+ match: {
354
+ headers: Array[
355
+ {
356
+ invert: bool?,
357
+ match: {
358
+ exact: ::String?,
359
+ prefix: ::String?,
360
+ range: {
361
+ end: ::Integer,
362
+ start: ::Integer
363
+ }?,
364
+ regex: ::String?,
365
+ suffix: ::String?
366
+ }?,
367
+ name: ::String
368
+ },
369
+ ]?,
370
+ method: ("GET" | "HEAD" | "POST" | "PUT" | "DELETE" | "CONNECT" | "OPTIONS" | "TRACE" | "PATCH")?,
371
+ path: {
372
+ exact: ::String?,
373
+ regex: ::String?
374
+ }?,
375
+ port: ::Integer?,
376
+ prefix: ::String?,
377
+ query_parameters: Array[
378
+ {
379
+ match: {
380
+ exact: ::String?
381
+ }?,
382
+ name: ::String
383
+ },
384
+ ]?,
385
+ scheme: ("http" | "https")?
386
+ },
387
+ retry_policy: {
388
+ http_retry_events: Array[::String]?,
389
+ max_retries: ::Integer,
390
+ per_retry_timeout: {
391
+ unit: ("s" | "ms")?,
392
+ value: ::Integer?
393
+ },
394
+ tcp_retry_events: Array[("connection-error")]?
395
+ }?,
396
+ timeout: {
397
+ idle: {
398
+ unit: ("s" | "ms")?,
399
+ value: ::Integer?
400
+ }?,
401
+ per_request: {
402
+ unit: ("s" | "ms")?,
403
+ value: ::Integer?
404
+ }?
405
+ }?
406
+ }?,
407
+ http_route: {
408
+ action: {
409
+ weighted_targets: Array[
410
+ {
411
+ port: ::Integer?,
412
+ virtual_node: ::String,
413
+ weight: ::Integer
414
+ },
415
+ ]
416
+ },
417
+ match: {
418
+ headers: Array[
419
+ {
420
+ invert: bool?,
421
+ match: {
422
+ exact: ::String?,
423
+ prefix: ::String?,
424
+ range: {
425
+ end: ::Integer,
426
+ start: ::Integer
427
+ }?,
428
+ regex: ::String?,
429
+ suffix: ::String?
430
+ }?,
431
+ name: ::String
432
+ },
433
+ ]?,
434
+ method: ("GET" | "HEAD" | "POST" | "PUT" | "DELETE" | "CONNECT" | "OPTIONS" | "TRACE" | "PATCH")?,
435
+ path: {
436
+ exact: ::String?,
437
+ regex: ::String?
438
+ }?,
439
+ port: ::Integer?,
440
+ prefix: ::String?,
441
+ query_parameters: Array[
442
+ {
443
+ match: {
444
+ exact: ::String?
445
+ }?,
446
+ name: ::String
447
+ },
448
+ ]?,
449
+ scheme: ("http" | "https")?
450
+ },
451
+ retry_policy: {
452
+ http_retry_events: Array[::String]?,
453
+ max_retries: ::Integer,
454
+ per_retry_timeout: {
455
+ unit: ("s" | "ms")?,
456
+ value: ::Integer?
457
+ },
458
+ tcp_retry_events: Array[("connection-error")]?
459
+ }?,
460
+ timeout: {
461
+ idle: {
462
+ unit: ("s" | "ms")?,
463
+ value: ::Integer?
464
+ }?,
465
+ per_request: {
466
+ unit: ("s" | "ms")?,
467
+ value: ::Integer?
468
+ }?
469
+ }?
470
+ }?,
471
+ priority: ::Integer?,
472
+ tcp_route: {
473
+ action: {
474
+ weighted_targets: Array[
475
+ {
476
+ port: ::Integer?,
477
+ virtual_node: ::String,
478
+ weight: ::Integer
479
+ },
480
+ ]
481
+ },
482
+ match: {
483
+ port: ::Integer?
484
+ }?,
485
+ timeout: {
486
+ idle: {
487
+ unit: ("s" | "ms")?,
488
+ value: ::Integer?
489
+ }?
490
+ }?
491
+ }?
492
+ },
493
+ ?tags: Array[
494
+ {
495
+ key: ::String,
496
+ value: ::String
497
+ },
498
+ ],
499
+ virtual_router_name: ::String
500
+ ) -> _CreateRouteResponseSuccess
501
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _CreateRouteResponseSuccess
502
+
503
+ interface _CreateVirtualGatewayResponseSuccess
504
+ include ::Seahorse::Client::_ResponseSuccess[Types::CreateVirtualGatewayOutput]
505
+ def virtual_gateway: () -> Types::VirtualGatewayData
506
+ end
507
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/AppMesh/Client.html#create_virtual_gateway-instance_method
508
+ def create_virtual_gateway: (
509
+ ?client_token: ::String,
510
+ mesh_name: ::String,
511
+ ?mesh_owner: ::String,
512
+ spec: {
513
+ backend_defaults: {
514
+ client_policy: {
515
+ tls: {
516
+ certificate: {
517
+ file: {
518
+ certificate_chain: ::String,
519
+ private_key: ::String
520
+ }?,
521
+ sds: {
522
+ secret_name: ::String
523
+ }?
524
+ }?,
525
+ enforce: bool?,
526
+ ports: Array[::Integer]?,
527
+ validation: {
528
+ subject_alternative_names: {
529
+ match: {
530
+ exact: Array[::String]
531
+ }
532
+ }?,
533
+ trust: {
534
+ acm: {
535
+ certificate_authority_arns: Array[::String]
536
+ }?,
537
+ file: {
538
+ certificate_chain: ::String
539
+ }?,
540
+ sds: {
541
+ secret_name: ::String
542
+ }?
543
+ }
544
+ }
545
+ }?
546
+ }?
547
+ }?,
548
+ listeners: Array[
549
+ {
550
+ connection_pool: {
551
+ grpc: {
552
+ max_requests: ::Integer
553
+ }?,
554
+ http: {
555
+ max_connections: ::Integer,
556
+ max_pending_requests: ::Integer?
557
+ }?,
558
+ http2: {
559
+ max_requests: ::Integer
560
+ }?
561
+ }?,
562
+ health_check: {
563
+ healthy_threshold: ::Integer,
564
+ interval_millis: ::Integer,
565
+ path: ::String?,
566
+ port: ::Integer?,
567
+ protocol: ("http" | "http2" | "grpc"),
568
+ timeout_millis: ::Integer,
569
+ unhealthy_threshold: ::Integer
570
+ }?,
571
+ port_mapping: {
572
+ port: ::Integer,
573
+ protocol: ("http" | "http2" | "grpc")
574
+ },
575
+ tls: {
576
+ certificate: {
577
+ acm: {
578
+ certificate_arn: ::String
579
+ }?,
580
+ file: {
581
+ certificate_chain: ::String,
582
+ private_key: ::String
583
+ }?,
584
+ sds: {
585
+ secret_name: ::String
586
+ }?
587
+ },
588
+ mode: ("STRICT" | "PERMISSIVE" | "DISABLED"),
589
+ validation: {
590
+ subject_alternative_names: {
591
+ match: {
592
+ exact: Array[::String]
593
+ }
594
+ }?,
595
+ trust: {
596
+ file: {
597
+ certificate_chain: ::String
598
+ }?,
599
+ sds: {
600
+ secret_name: ::String
601
+ }?
602
+ }
603
+ }?
604
+ }?
605
+ },
606
+ ],
607
+ logging: {
608
+ access_log: {
609
+ file: {
610
+ format: {
611
+ json: Array[
612
+ {
613
+ key: ::String,
614
+ value: ::String
615
+ },
616
+ ]?,
617
+ text: ::String?
618
+ }?,
619
+ path: ::String
620
+ }?
621
+ }?
622
+ }?
623
+ },
624
+ ?tags: Array[
625
+ {
626
+ key: ::String,
627
+ value: ::String
628
+ },
629
+ ],
630
+ virtual_gateway_name: ::String
631
+ ) -> _CreateVirtualGatewayResponseSuccess
632
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _CreateVirtualGatewayResponseSuccess
633
+
634
+ interface _CreateVirtualNodeResponseSuccess
635
+ include ::Seahorse::Client::_ResponseSuccess[Types::CreateVirtualNodeOutput]
636
+ def virtual_node: () -> Types::VirtualNodeData
637
+ end
638
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/AppMesh/Client.html#create_virtual_node-instance_method
639
+ def create_virtual_node: (
640
+ ?client_token: ::String,
641
+ mesh_name: ::String,
642
+ ?mesh_owner: ::String,
643
+ spec: {
644
+ backend_defaults: {
645
+ client_policy: {
646
+ tls: {
647
+ certificate: {
648
+ file: {
649
+ certificate_chain: ::String,
650
+ private_key: ::String
651
+ }?,
652
+ sds: {
653
+ secret_name: ::String
654
+ }?
655
+ }?,
656
+ enforce: bool?,
657
+ ports: Array[::Integer]?,
658
+ validation: {
659
+ subject_alternative_names: {
660
+ match: {
661
+ exact: Array[::String]
662
+ }
663
+ }?,
664
+ trust: {
665
+ acm: {
666
+ certificate_authority_arns: Array[::String]
667
+ }?,
668
+ file: {
669
+ certificate_chain: ::String
670
+ }?,
671
+ sds: {
672
+ secret_name: ::String
673
+ }?
674
+ }
675
+ }
676
+ }?
677
+ }?
678
+ }?,
679
+ backends: Array[
680
+ {
681
+ virtual_service: {
682
+ client_policy: {
683
+ tls: {
684
+ certificate: {
685
+ file: {
686
+ certificate_chain: ::String,
687
+ private_key: ::String
688
+ }?,
689
+ sds: {
690
+ secret_name: ::String
691
+ }?
692
+ }?,
693
+ enforce: bool?,
694
+ ports: Array[::Integer]?,
695
+ validation: {
696
+ subject_alternative_names: {
697
+ match: {
698
+ exact: Array[::String]
699
+ }
700
+ }?,
701
+ trust: {
702
+ acm: {
703
+ certificate_authority_arns: Array[::String]
704
+ }?,
705
+ file: {
706
+ certificate_chain: ::String
707
+ }?,
708
+ sds: {
709
+ secret_name: ::String
710
+ }?
711
+ }
712
+ }
713
+ }?
714
+ }?,
715
+ virtual_service_name: ::String
716
+ }?
717
+ },
718
+ ]?,
719
+ listeners: Array[
720
+ {
721
+ connection_pool: {
722
+ grpc: {
723
+ max_requests: ::Integer
724
+ }?,
725
+ http: {
726
+ max_connections: ::Integer,
727
+ max_pending_requests: ::Integer?
728
+ }?,
729
+ http2: {
730
+ max_requests: ::Integer
731
+ }?,
732
+ tcp: {
733
+ max_connections: ::Integer
734
+ }?
735
+ }?,
736
+ health_check: {
737
+ healthy_threshold: ::Integer,
738
+ interval_millis: ::Integer,
739
+ path: ::String?,
740
+ port: ::Integer?,
741
+ protocol: ("http" | "tcp" | "http2" | "grpc"),
742
+ timeout_millis: ::Integer,
743
+ unhealthy_threshold: ::Integer
744
+ }?,
745
+ outlier_detection: {
746
+ base_ejection_duration: {
747
+ unit: ("s" | "ms")?,
748
+ value: ::Integer?
749
+ },
750
+ interval: {
751
+ unit: ("s" | "ms")?,
752
+ value: ::Integer?
753
+ },
754
+ max_ejection_percent: ::Integer,
755
+ max_server_errors: ::Integer
756
+ }?,
757
+ port_mapping: {
758
+ port: ::Integer,
759
+ protocol: ("http" | "tcp" | "http2" | "grpc")
760
+ },
761
+ timeout: {
762
+ grpc: {
763
+ idle: {
764
+ unit: ("s" | "ms")?,
765
+ value: ::Integer?
766
+ }?,
767
+ per_request: {
768
+ unit: ("s" | "ms")?,
769
+ value: ::Integer?
770
+ }?
771
+ }?,
772
+ http: {
773
+ idle: {
774
+ unit: ("s" | "ms")?,
775
+ value: ::Integer?
776
+ }?,
777
+ per_request: {
778
+ unit: ("s" | "ms")?,
779
+ value: ::Integer?
780
+ }?
781
+ }?,
782
+ http2: {
783
+ idle: {
784
+ unit: ("s" | "ms")?,
785
+ value: ::Integer?
786
+ }?,
787
+ per_request: {
788
+ unit: ("s" | "ms")?,
789
+ value: ::Integer?
790
+ }?
791
+ }?,
792
+ tcp: {
793
+ idle: {
794
+ unit: ("s" | "ms")?,
795
+ value: ::Integer?
796
+ }?
797
+ }?
798
+ }?,
799
+ tls: {
800
+ certificate: {
801
+ acm: {
802
+ certificate_arn: ::String
803
+ }?,
804
+ file: {
805
+ certificate_chain: ::String,
806
+ private_key: ::String
807
+ }?,
808
+ sds: {
809
+ secret_name: ::String
810
+ }?
811
+ },
812
+ mode: ("STRICT" | "PERMISSIVE" | "DISABLED"),
813
+ validation: {
814
+ subject_alternative_names: {
815
+ match: {
816
+ exact: Array[::String]
817
+ }
818
+ }?,
819
+ trust: {
820
+ file: {
821
+ certificate_chain: ::String
822
+ }?,
823
+ sds: {
824
+ secret_name: ::String
825
+ }?
826
+ }
827
+ }?
828
+ }?
829
+ },
830
+ ]?,
831
+ logging: {
832
+ access_log: {
833
+ file: {
834
+ format: {
835
+ json: Array[
836
+ {
837
+ key: ::String,
838
+ value: ::String
839
+ },
840
+ ]?,
841
+ text: ::String?
842
+ }?,
843
+ path: ::String
844
+ }?
845
+ }?
846
+ }?,
847
+ service_discovery: {
848
+ aws_cloud_map: {
849
+ attributes: Array[
850
+ {
851
+ key: ::String,
852
+ value: ::String
853
+ },
854
+ ]?,
855
+ ip_preference: ("IPv6_PREFERRED" | "IPv4_PREFERRED" | "IPv4_ONLY" | "IPv6_ONLY")?,
856
+ namespace_name: ::String,
857
+ service_name: ::String
858
+ }?,
859
+ dns: {
860
+ hostname: ::String,
861
+ ip_preference: ("IPv6_PREFERRED" | "IPv4_PREFERRED" | "IPv4_ONLY" | "IPv6_ONLY")?,
862
+ response_type: ("LOADBALANCER" | "ENDPOINTS")?
863
+ }?
864
+ }?
865
+ },
866
+ ?tags: Array[
867
+ {
868
+ key: ::String,
869
+ value: ::String
870
+ },
871
+ ],
872
+ virtual_node_name: ::String
873
+ ) -> _CreateVirtualNodeResponseSuccess
874
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _CreateVirtualNodeResponseSuccess
875
+
876
+ interface _CreateVirtualRouterResponseSuccess
877
+ include ::Seahorse::Client::_ResponseSuccess[Types::CreateVirtualRouterOutput]
878
+ def virtual_router: () -> Types::VirtualRouterData
879
+ end
880
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/AppMesh/Client.html#create_virtual_router-instance_method
881
+ def create_virtual_router: (
882
+ ?client_token: ::String,
883
+ mesh_name: ::String,
884
+ ?mesh_owner: ::String,
885
+ spec: {
886
+ listeners: Array[
887
+ {
888
+ port_mapping: {
889
+ port: ::Integer,
890
+ protocol: ("http" | "tcp" | "http2" | "grpc")
891
+ }
892
+ },
893
+ ]?
894
+ },
895
+ ?tags: Array[
896
+ {
897
+ key: ::String,
898
+ value: ::String
899
+ },
900
+ ],
901
+ virtual_router_name: ::String
902
+ ) -> _CreateVirtualRouterResponseSuccess
903
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _CreateVirtualRouterResponseSuccess
904
+
905
+ interface _CreateVirtualServiceResponseSuccess
906
+ include ::Seahorse::Client::_ResponseSuccess[Types::CreateVirtualServiceOutput]
907
+ def virtual_service: () -> Types::VirtualServiceData
908
+ end
909
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/AppMesh/Client.html#create_virtual_service-instance_method
910
+ def create_virtual_service: (
911
+ ?client_token: ::String,
912
+ mesh_name: ::String,
913
+ ?mesh_owner: ::String,
914
+ spec: {
915
+ provider: {
916
+ virtual_node: {
917
+ virtual_node_name: ::String
918
+ }?,
919
+ virtual_router: {
920
+ virtual_router_name: ::String
921
+ }?
922
+ }?
923
+ },
924
+ ?tags: Array[
925
+ {
926
+ key: ::String,
927
+ value: ::String
928
+ },
929
+ ],
930
+ virtual_service_name: ::String
931
+ ) -> _CreateVirtualServiceResponseSuccess
932
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _CreateVirtualServiceResponseSuccess
933
+
934
+ interface _DeleteGatewayRouteResponseSuccess
935
+ include ::Seahorse::Client::_ResponseSuccess[Types::DeleteGatewayRouteOutput]
936
+ def gateway_route: () -> Types::GatewayRouteData
937
+ end
938
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/AppMesh/Client.html#delete_gateway_route-instance_method
939
+ def delete_gateway_route: (
940
+ gateway_route_name: ::String,
941
+ mesh_name: ::String,
942
+ ?mesh_owner: ::String,
943
+ virtual_gateway_name: ::String
944
+ ) -> _DeleteGatewayRouteResponseSuccess
945
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DeleteGatewayRouteResponseSuccess
946
+
947
+ interface _DeleteMeshResponseSuccess
948
+ include ::Seahorse::Client::_ResponseSuccess[Types::DeleteMeshOutput]
949
+ def mesh: () -> Types::MeshData
950
+ end
951
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/AppMesh/Client.html#delete_mesh-instance_method
952
+ def delete_mesh: (
953
+ mesh_name: ::String
954
+ ) -> _DeleteMeshResponseSuccess
955
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DeleteMeshResponseSuccess
956
+
957
+ interface _DeleteRouteResponseSuccess
958
+ include ::Seahorse::Client::_ResponseSuccess[Types::DeleteRouteOutput]
959
+ def route: () -> Types::RouteData
960
+ end
961
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/AppMesh/Client.html#delete_route-instance_method
962
+ def delete_route: (
963
+ mesh_name: ::String,
964
+ ?mesh_owner: ::String,
965
+ route_name: ::String,
966
+ virtual_router_name: ::String
967
+ ) -> _DeleteRouteResponseSuccess
968
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DeleteRouteResponseSuccess
969
+
970
+ interface _DeleteVirtualGatewayResponseSuccess
971
+ include ::Seahorse::Client::_ResponseSuccess[Types::DeleteVirtualGatewayOutput]
972
+ def virtual_gateway: () -> Types::VirtualGatewayData
973
+ end
974
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/AppMesh/Client.html#delete_virtual_gateway-instance_method
975
+ def delete_virtual_gateway: (
976
+ mesh_name: ::String,
977
+ ?mesh_owner: ::String,
978
+ virtual_gateway_name: ::String
979
+ ) -> _DeleteVirtualGatewayResponseSuccess
980
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DeleteVirtualGatewayResponseSuccess
981
+
982
+ interface _DeleteVirtualNodeResponseSuccess
983
+ include ::Seahorse::Client::_ResponseSuccess[Types::DeleteVirtualNodeOutput]
984
+ def virtual_node: () -> Types::VirtualNodeData
985
+ end
986
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/AppMesh/Client.html#delete_virtual_node-instance_method
987
+ def delete_virtual_node: (
988
+ mesh_name: ::String,
989
+ ?mesh_owner: ::String,
990
+ virtual_node_name: ::String
991
+ ) -> _DeleteVirtualNodeResponseSuccess
992
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DeleteVirtualNodeResponseSuccess
993
+
994
+ interface _DeleteVirtualRouterResponseSuccess
995
+ include ::Seahorse::Client::_ResponseSuccess[Types::DeleteVirtualRouterOutput]
996
+ def virtual_router: () -> Types::VirtualRouterData
997
+ end
998
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/AppMesh/Client.html#delete_virtual_router-instance_method
999
+ def delete_virtual_router: (
1000
+ mesh_name: ::String,
1001
+ ?mesh_owner: ::String,
1002
+ virtual_router_name: ::String
1003
+ ) -> _DeleteVirtualRouterResponseSuccess
1004
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DeleteVirtualRouterResponseSuccess
1005
+
1006
+ interface _DeleteVirtualServiceResponseSuccess
1007
+ include ::Seahorse::Client::_ResponseSuccess[Types::DeleteVirtualServiceOutput]
1008
+ def virtual_service: () -> Types::VirtualServiceData
1009
+ end
1010
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/AppMesh/Client.html#delete_virtual_service-instance_method
1011
+ def delete_virtual_service: (
1012
+ mesh_name: ::String,
1013
+ ?mesh_owner: ::String,
1014
+ virtual_service_name: ::String
1015
+ ) -> _DeleteVirtualServiceResponseSuccess
1016
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DeleteVirtualServiceResponseSuccess
1017
+
1018
+ interface _DescribeGatewayRouteResponseSuccess
1019
+ include ::Seahorse::Client::_ResponseSuccess[Types::DescribeGatewayRouteOutput]
1020
+ def gateway_route: () -> Types::GatewayRouteData
1021
+ end
1022
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/AppMesh/Client.html#describe_gateway_route-instance_method
1023
+ def describe_gateway_route: (
1024
+ gateway_route_name: ::String,
1025
+ mesh_name: ::String,
1026
+ ?mesh_owner: ::String,
1027
+ virtual_gateway_name: ::String
1028
+ ) -> _DescribeGatewayRouteResponseSuccess
1029
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DescribeGatewayRouteResponseSuccess
1030
+
1031
+ interface _DescribeMeshResponseSuccess
1032
+ include ::Seahorse::Client::_ResponseSuccess[Types::DescribeMeshOutput]
1033
+ def mesh: () -> Types::MeshData
1034
+ end
1035
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/AppMesh/Client.html#describe_mesh-instance_method
1036
+ def describe_mesh: (
1037
+ mesh_name: ::String,
1038
+ ?mesh_owner: ::String
1039
+ ) -> _DescribeMeshResponseSuccess
1040
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DescribeMeshResponseSuccess
1041
+
1042
+ interface _DescribeRouteResponseSuccess
1043
+ include ::Seahorse::Client::_ResponseSuccess[Types::DescribeRouteOutput]
1044
+ def route: () -> Types::RouteData
1045
+ end
1046
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/AppMesh/Client.html#describe_route-instance_method
1047
+ def describe_route: (
1048
+ mesh_name: ::String,
1049
+ ?mesh_owner: ::String,
1050
+ route_name: ::String,
1051
+ virtual_router_name: ::String
1052
+ ) -> _DescribeRouteResponseSuccess
1053
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DescribeRouteResponseSuccess
1054
+
1055
+ interface _DescribeVirtualGatewayResponseSuccess
1056
+ include ::Seahorse::Client::_ResponseSuccess[Types::DescribeVirtualGatewayOutput]
1057
+ def virtual_gateway: () -> Types::VirtualGatewayData
1058
+ end
1059
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/AppMesh/Client.html#describe_virtual_gateway-instance_method
1060
+ def describe_virtual_gateway: (
1061
+ mesh_name: ::String,
1062
+ ?mesh_owner: ::String,
1063
+ virtual_gateway_name: ::String
1064
+ ) -> _DescribeVirtualGatewayResponseSuccess
1065
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DescribeVirtualGatewayResponseSuccess
1066
+
1067
+ interface _DescribeVirtualNodeResponseSuccess
1068
+ include ::Seahorse::Client::_ResponseSuccess[Types::DescribeVirtualNodeOutput]
1069
+ def virtual_node: () -> Types::VirtualNodeData
1070
+ end
1071
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/AppMesh/Client.html#describe_virtual_node-instance_method
1072
+ def describe_virtual_node: (
1073
+ mesh_name: ::String,
1074
+ ?mesh_owner: ::String,
1075
+ virtual_node_name: ::String
1076
+ ) -> _DescribeVirtualNodeResponseSuccess
1077
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DescribeVirtualNodeResponseSuccess
1078
+
1079
+ interface _DescribeVirtualRouterResponseSuccess
1080
+ include ::Seahorse::Client::_ResponseSuccess[Types::DescribeVirtualRouterOutput]
1081
+ def virtual_router: () -> Types::VirtualRouterData
1082
+ end
1083
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/AppMesh/Client.html#describe_virtual_router-instance_method
1084
+ def describe_virtual_router: (
1085
+ mesh_name: ::String,
1086
+ ?mesh_owner: ::String,
1087
+ virtual_router_name: ::String
1088
+ ) -> _DescribeVirtualRouterResponseSuccess
1089
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DescribeVirtualRouterResponseSuccess
1090
+
1091
+ interface _DescribeVirtualServiceResponseSuccess
1092
+ include ::Seahorse::Client::_ResponseSuccess[Types::DescribeVirtualServiceOutput]
1093
+ def virtual_service: () -> Types::VirtualServiceData
1094
+ end
1095
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/AppMesh/Client.html#describe_virtual_service-instance_method
1096
+ def describe_virtual_service: (
1097
+ mesh_name: ::String,
1098
+ ?mesh_owner: ::String,
1099
+ virtual_service_name: ::String
1100
+ ) -> _DescribeVirtualServiceResponseSuccess
1101
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DescribeVirtualServiceResponseSuccess
1102
+
1103
+ interface _ListGatewayRoutesResponseSuccess
1104
+ include ::Seahorse::Client::_ResponseSuccess[Types::ListGatewayRoutesOutput]
1105
+ def gateway_routes: () -> ::Array[Types::GatewayRouteRef]
1106
+ def next_token: () -> ::String
1107
+ end
1108
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/AppMesh/Client.html#list_gateway_routes-instance_method
1109
+ def list_gateway_routes: (
1110
+ ?limit: ::Integer,
1111
+ mesh_name: ::String,
1112
+ ?mesh_owner: ::String,
1113
+ ?next_token: ::String,
1114
+ virtual_gateway_name: ::String
1115
+ ) -> _ListGatewayRoutesResponseSuccess
1116
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListGatewayRoutesResponseSuccess
1117
+
1118
+ interface _ListMeshesResponseSuccess
1119
+ include ::Seahorse::Client::_ResponseSuccess[Types::ListMeshesOutput]
1120
+ def meshes: () -> ::Array[Types::MeshRef]
1121
+ def next_token: () -> ::String
1122
+ end
1123
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/AppMesh/Client.html#list_meshes-instance_method
1124
+ def list_meshes: (
1125
+ ?limit: ::Integer,
1126
+ ?next_token: ::String
1127
+ ) -> _ListMeshesResponseSuccess
1128
+ | (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListMeshesResponseSuccess
1129
+
1130
+ interface _ListRoutesResponseSuccess
1131
+ include ::Seahorse::Client::_ResponseSuccess[Types::ListRoutesOutput]
1132
+ def next_token: () -> ::String
1133
+ def routes: () -> ::Array[Types::RouteRef]
1134
+ end
1135
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/AppMesh/Client.html#list_routes-instance_method
1136
+ def list_routes: (
1137
+ ?limit: ::Integer,
1138
+ mesh_name: ::String,
1139
+ ?mesh_owner: ::String,
1140
+ ?next_token: ::String,
1141
+ virtual_router_name: ::String
1142
+ ) -> _ListRoutesResponseSuccess
1143
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListRoutesResponseSuccess
1144
+
1145
+ interface _ListTagsForResourceResponseSuccess
1146
+ include ::Seahorse::Client::_ResponseSuccess[Types::ListTagsForResourceOutput]
1147
+ def next_token: () -> ::String
1148
+ def tags: () -> ::Array[Types::TagRef]
1149
+ end
1150
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/AppMesh/Client.html#list_tags_for_resource-instance_method
1151
+ def list_tags_for_resource: (
1152
+ ?limit: ::Integer,
1153
+ ?next_token: ::String,
1154
+ resource_arn: ::String
1155
+ ) -> _ListTagsForResourceResponseSuccess
1156
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListTagsForResourceResponseSuccess
1157
+
1158
+ interface _ListVirtualGatewaysResponseSuccess
1159
+ include ::Seahorse::Client::_ResponseSuccess[Types::ListVirtualGatewaysOutput]
1160
+ def next_token: () -> ::String
1161
+ def virtual_gateways: () -> ::Array[Types::VirtualGatewayRef]
1162
+ end
1163
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/AppMesh/Client.html#list_virtual_gateways-instance_method
1164
+ def list_virtual_gateways: (
1165
+ ?limit: ::Integer,
1166
+ mesh_name: ::String,
1167
+ ?mesh_owner: ::String,
1168
+ ?next_token: ::String
1169
+ ) -> _ListVirtualGatewaysResponseSuccess
1170
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListVirtualGatewaysResponseSuccess
1171
+
1172
+ interface _ListVirtualNodesResponseSuccess
1173
+ include ::Seahorse::Client::_ResponseSuccess[Types::ListVirtualNodesOutput]
1174
+ def next_token: () -> ::String
1175
+ def virtual_nodes: () -> ::Array[Types::VirtualNodeRef]
1176
+ end
1177
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/AppMesh/Client.html#list_virtual_nodes-instance_method
1178
+ def list_virtual_nodes: (
1179
+ ?limit: ::Integer,
1180
+ mesh_name: ::String,
1181
+ ?mesh_owner: ::String,
1182
+ ?next_token: ::String
1183
+ ) -> _ListVirtualNodesResponseSuccess
1184
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListVirtualNodesResponseSuccess
1185
+
1186
+ interface _ListVirtualRoutersResponseSuccess
1187
+ include ::Seahorse::Client::_ResponseSuccess[Types::ListVirtualRoutersOutput]
1188
+ def next_token: () -> ::String
1189
+ def virtual_routers: () -> ::Array[Types::VirtualRouterRef]
1190
+ end
1191
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/AppMesh/Client.html#list_virtual_routers-instance_method
1192
+ def list_virtual_routers: (
1193
+ ?limit: ::Integer,
1194
+ mesh_name: ::String,
1195
+ ?mesh_owner: ::String,
1196
+ ?next_token: ::String
1197
+ ) -> _ListVirtualRoutersResponseSuccess
1198
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListVirtualRoutersResponseSuccess
1199
+
1200
+ interface _ListVirtualServicesResponseSuccess
1201
+ include ::Seahorse::Client::_ResponseSuccess[Types::ListVirtualServicesOutput]
1202
+ def next_token: () -> ::String
1203
+ def virtual_services: () -> ::Array[Types::VirtualServiceRef]
1204
+ end
1205
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/AppMesh/Client.html#list_virtual_services-instance_method
1206
+ def list_virtual_services: (
1207
+ ?limit: ::Integer,
1208
+ mesh_name: ::String,
1209
+ ?mesh_owner: ::String,
1210
+ ?next_token: ::String
1211
+ ) -> _ListVirtualServicesResponseSuccess
1212
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListVirtualServicesResponseSuccess
1213
+
1214
+ interface _TagResourceResponseSuccess
1215
+ include ::Seahorse::Client::_ResponseSuccess[Types::TagResourceOutput]
1216
+ end
1217
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/AppMesh/Client.html#tag_resource-instance_method
1218
+ def tag_resource: (
1219
+ resource_arn: ::String,
1220
+ tags: Array[
1221
+ {
1222
+ key: ::String,
1223
+ value: ::String
1224
+ },
1225
+ ]
1226
+ ) -> _TagResourceResponseSuccess
1227
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _TagResourceResponseSuccess
1228
+
1229
+ interface _UntagResourceResponseSuccess
1230
+ include ::Seahorse::Client::_ResponseSuccess[Types::UntagResourceOutput]
1231
+ end
1232
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/AppMesh/Client.html#untag_resource-instance_method
1233
+ def untag_resource: (
1234
+ resource_arn: ::String,
1235
+ tag_keys: Array[::String]
1236
+ ) -> _UntagResourceResponseSuccess
1237
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _UntagResourceResponseSuccess
1238
+
1239
+ interface _UpdateGatewayRouteResponseSuccess
1240
+ include ::Seahorse::Client::_ResponseSuccess[Types::UpdateGatewayRouteOutput]
1241
+ def gateway_route: () -> Types::GatewayRouteData
1242
+ end
1243
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/AppMesh/Client.html#update_gateway_route-instance_method
1244
+ def update_gateway_route: (
1245
+ ?client_token: ::String,
1246
+ gateway_route_name: ::String,
1247
+ mesh_name: ::String,
1248
+ ?mesh_owner: ::String,
1249
+ spec: {
1250
+ grpc_route: {
1251
+ action: {
1252
+ rewrite: {
1253
+ hostname: {
1254
+ default_target_hostname: ("ENABLED" | "DISABLED")?
1255
+ }?
1256
+ }?,
1257
+ target: {
1258
+ port: ::Integer?,
1259
+ virtual_service: {
1260
+ virtual_service_name: ::String
1261
+ }
1262
+ }
1263
+ },
1264
+ match: {
1265
+ hostname: {
1266
+ exact: ::String?,
1267
+ suffix: ::String?
1268
+ }?,
1269
+ metadata: Array[
1270
+ {
1271
+ invert: bool?,
1272
+ match: {
1273
+ exact: ::String?,
1274
+ prefix: ::String?,
1275
+ range: {
1276
+ end: ::Integer,
1277
+ start: ::Integer
1278
+ }?,
1279
+ regex: ::String?,
1280
+ suffix: ::String?
1281
+ }?,
1282
+ name: ::String
1283
+ },
1284
+ ]?,
1285
+ port: ::Integer?,
1286
+ service_name: ::String?
1287
+ }
1288
+ }?,
1289
+ http2_route: {
1290
+ action: {
1291
+ rewrite: {
1292
+ hostname: {
1293
+ default_target_hostname: ("ENABLED" | "DISABLED")?
1294
+ }?,
1295
+ path: {
1296
+ exact: ::String?
1297
+ }?,
1298
+ prefix: {
1299
+ default_prefix: ("ENABLED" | "DISABLED")?,
1300
+ value: ::String?
1301
+ }?
1302
+ }?,
1303
+ target: {
1304
+ port: ::Integer?,
1305
+ virtual_service: {
1306
+ virtual_service_name: ::String
1307
+ }
1308
+ }
1309
+ },
1310
+ match: {
1311
+ headers: Array[
1312
+ {
1313
+ invert: bool?,
1314
+ match: {
1315
+ exact: ::String?,
1316
+ prefix: ::String?,
1317
+ range: {
1318
+ end: ::Integer,
1319
+ start: ::Integer
1320
+ }?,
1321
+ regex: ::String?,
1322
+ suffix: ::String?
1323
+ }?,
1324
+ name: ::String
1325
+ },
1326
+ ]?,
1327
+ hostname: {
1328
+ exact: ::String?,
1329
+ suffix: ::String?
1330
+ }?,
1331
+ method: ("GET" | "HEAD" | "POST" | "PUT" | "DELETE" | "CONNECT" | "OPTIONS" | "TRACE" | "PATCH")?,
1332
+ path: {
1333
+ exact: ::String?,
1334
+ regex: ::String?
1335
+ }?,
1336
+ port: ::Integer?,
1337
+ prefix: ::String?,
1338
+ query_parameters: Array[
1339
+ {
1340
+ match: {
1341
+ exact: ::String?
1342
+ }?,
1343
+ name: ::String
1344
+ },
1345
+ ]?
1346
+ }
1347
+ }?,
1348
+ http_route: {
1349
+ action: {
1350
+ rewrite: {
1351
+ hostname: {
1352
+ default_target_hostname: ("ENABLED" | "DISABLED")?
1353
+ }?,
1354
+ path: {
1355
+ exact: ::String?
1356
+ }?,
1357
+ prefix: {
1358
+ default_prefix: ("ENABLED" | "DISABLED")?,
1359
+ value: ::String?
1360
+ }?
1361
+ }?,
1362
+ target: {
1363
+ port: ::Integer?,
1364
+ virtual_service: {
1365
+ virtual_service_name: ::String
1366
+ }
1367
+ }
1368
+ },
1369
+ match: {
1370
+ headers: Array[
1371
+ {
1372
+ invert: bool?,
1373
+ match: {
1374
+ exact: ::String?,
1375
+ prefix: ::String?,
1376
+ range: {
1377
+ end: ::Integer,
1378
+ start: ::Integer
1379
+ }?,
1380
+ regex: ::String?,
1381
+ suffix: ::String?
1382
+ }?,
1383
+ name: ::String
1384
+ },
1385
+ ]?,
1386
+ hostname: {
1387
+ exact: ::String?,
1388
+ suffix: ::String?
1389
+ }?,
1390
+ method: ("GET" | "HEAD" | "POST" | "PUT" | "DELETE" | "CONNECT" | "OPTIONS" | "TRACE" | "PATCH")?,
1391
+ path: {
1392
+ exact: ::String?,
1393
+ regex: ::String?
1394
+ }?,
1395
+ port: ::Integer?,
1396
+ prefix: ::String?,
1397
+ query_parameters: Array[
1398
+ {
1399
+ match: {
1400
+ exact: ::String?
1401
+ }?,
1402
+ name: ::String
1403
+ },
1404
+ ]?
1405
+ }
1406
+ }?,
1407
+ priority: ::Integer?
1408
+ },
1409
+ virtual_gateway_name: ::String
1410
+ ) -> _UpdateGatewayRouteResponseSuccess
1411
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _UpdateGatewayRouteResponseSuccess
1412
+
1413
+ interface _UpdateMeshResponseSuccess
1414
+ include ::Seahorse::Client::_ResponseSuccess[Types::UpdateMeshOutput]
1415
+ def mesh: () -> Types::MeshData
1416
+ end
1417
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/AppMesh/Client.html#update_mesh-instance_method
1418
+ def update_mesh: (
1419
+ ?client_token: ::String,
1420
+ mesh_name: ::String,
1421
+ ?spec: {
1422
+ egress_filter: {
1423
+ type: ("ALLOW_ALL" | "DROP_ALL")
1424
+ }?,
1425
+ service_discovery: {
1426
+ ip_preference: ("IPv6_PREFERRED" | "IPv4_PREFERRED" | "IPv4_ONLY" | "IPv6_ONLY")?
1427
+ }?
1428
+ }
1429
+ ) -> _UpdateMeshResponseSuccess
1430
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _UpdateMeshResponseSuccess
1431
+
1432
+ interface _UpdateRouteResponseSuccess
1433
+ include ::Seahorse::Client::_ResponseSuccess[Types::UpdateRouteOutput]
1434
+ def route: () -> Types::RouteData
1435
+ end
1436
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/AppMesh/Client.html#update_route-instance_method
1437
+ def update_route: (
1438
+ ?client_token: ::String,
1439
+ mesh_name: ::String,
1440
+ ?mesh_owner: ::String,
1441
+ route_name: ::String,
1442
+ spec: {
1443
+ grpc_route: {
1444
+ action: {
1445
+ weighted_targets: Array[
1446
+ {
1447
+ port: ::Integer?,
1448
+ virtual_node: ::String,
1449
+ weight: ::Integer
1450
+ },
1451
+ ]
1452
+ },
1453
+ match: {
1454
+ metadata: Array[
1455
+ {
1456
+ invert: bool?,
1457
+ match: {
1458
+ exact: ::String?,
1459
+ prefix: ::String?,
1460
+ range: {
1461
+ end: ::Integer,
1462
+ start: ::Integer
1463
+ }?,
1464
+ regex: ::String?,
1465
+ suffix: ::String?
1466
+ }?,
1467
+ name: ::String
1468
+ },
1469
+ ]?,
1470
+ method_name: ::String?,
1471
+ port: ::Integer?,
1472
+ service_name: ::String?
1473
+ },
1474
+ retry_policy: {
1475
+ grpc_retry_events: Array[("cancelled" | "deadline-exceeded" | "internal" | "resource-exhausted" | "unavailable")]?,
1476
+ http_retry_events: Array[::String]?,
1477
+ max_retries: ::Integer,
1478
+ per_retry_timeout: {
1479
+ unit: ("s" | "ms")?,
1480
+ value: ::Integer?
1481
+ },
1482
+ tcp_retry_events: Array[("connection-error")]?
1483
+ }?,
1484
+ timeout: {
1485
+ idle: {
1486
+ unit: ("s" | "ms")?,
1487
+ value: ::Integer?
1488
+ }?,
1489
+ per_request: {
1490
+ unit: ("s" | "ms")?,
1491
+ value: ::Integer?
1492
+ }?
1493
+ }?
1494
+ }?,
1495
+ http2_route: {
1496
+ action: {
1497
+ weighted_targets: Array[
1498
+ {
1499
+ port: ::Integer?,
1500
+ virtual_node: ::String,
1501
+ weight: ::Integer
1502
+ },
1503
+ ]
1504
+ },
1505
+ match: {
1506
+ headers: Array[
1507
+ {
1508
+ invert: bool?,
1509
+ match: {
1510
+ exact: ::String?,
1511
+ prefix: ::String?,
1512
+ range: {
1513
+ end: ::Integer,
1514
+ start: ::Integer
1515
+ }?,
1516
+ regex: ::String?,
1517
+ suffix: ::String?
1518
+ }?,
1519
+ name: ::String
1520
+ },
1521
+ ]?,
1522
+ method: ("GET" | "HEAD" | "POST" | "PUT" | "DELETE" | "CONNECT" | "OPTIONS" | "TRACE" | "PATCH")?,
1523
+ path: {
1524
+ exact: ::String?,
1525
+ regex: ::String?
1526
+ }?,
1527
+ port: ::Integer?,
1528
+ prefix: ::String?,
1529
+ query_parameters: Array[
1530
+ {
1531
+ match: {
1532
+ exact: ::String?
1533
+ }?,
1534
+ name: ::String
1535
+ },
1536
+ ]?,
1537
+ scheme: ("http" | "https")?
1538
+ },
1539
+ retry_policy: {
1540
+ http_retry_events: Array[::String]?,
1541
+ max_retries: ::Integer,
1542
+ per_retry_timeout: {
1543
+ unit: ("s" | "ms")?,
1544
+ value: ::Integer?
1545
+ },
1546
+ tcp_retry_events: Array[("connection-error")]?
1547
+ }?,
1548
+ timeout: {
1549
+ idle: {
1550
+ unit: ("s" | "ms")?,
1551
+ value: ::Integer?
1552
+ }?,
1553
+ per_request: {
1554
+ unit: ("s" | "ms")?,
1555
+ value: ::Integer?
1556
+ }?
1557
+ }?
1558
+ }?,
1559
+ http_route: {
1560
+ action: {
1561
+ weighted_targets: Array[
1562
+ {
1563
+ port: ::Integer?,
1564
+ virtual_node: ::String,
1565
+ weight: ::Integer
1566
+ },
1567
+ ]
1568
+ },
1569
+ match: {
1570
+ headers: Array[
1571
+ {
1572
+ invert: bool?,
1573
+ match: {
1574
+ exact: ::String?,
1575
+ prefix: ::String?,
1576
+ range: {
1577
+ end: ::Integer,
1578
+ start: ::Integer
1579
+ }?,
1580
+ regex: ::String?,
1581
+ suffix: ::String?
1582
+ }?,
1583
+ name: ::String
1584
+ },
1585
+ ]?,
1586
+ method: ("GET" | "HEAD" | "POST" | "PUT" | "DELETE" | "CONNECT" | "OPTIONS" | "TRACE" | "PATCH")?,
1587
+ path: {
1588
+ exact: ::String?,
1589
+ regex: ::String?
1590
+ }?,
1591
+ port: ::Integer?,
1592
+ prefix: ::String?,
1593
+ query_parameters: Array[
1594
+ {
1595
+ match: {
1596
+ exact: ::String?
1597
+ }?,
1598
+ name: ::String
1599
+ },
1600
+ ]?,
1601
+ scheme: ("http" | "https")?
1602
+ },
1603
+ retry_policy: {
1604
+ http_retry_events: Array[::String]?,
1605
+ max_retries: ::Integer,
1606
+ per_retry_timeout: {
1607
+ unit: ("s" | "ms")?,
1608
+ value: ::Integer?
1609
+ },
1610
+ tcp_retry_events: Array[("connection-error")]?
1611
+ }?,
1612
+ timeout: {
1613
+ idle: {
1614
+ unit: ("s" | "ms")?,
1615
+ value: ::Integer?
1616
+ }?,
1617
+ per_request: {
1618
+ unit: ("s" | "ms")?,
1619
+ value: ::Integer?
1620
+ }?
1621
+ }?
1622
+ }?,
1623
+ priority: ::Integer?,
1624
+ tcp_route: {
1625
+ action: {
1626
+ weighted_targets: Array[
1627
+ {
1628
+ port: ::Integer?,
1629
+ virtual_node: ::String,
1630
+ weight: ::Integer
1631
+ },
1632
+ ]
1633
+ },
1634
+ match: {
1635
+ port: ::Integer?
1636
+ }?,
1637
+ timeout: {
1638
+ idle: {
1639
+ unit: ("s" | "ms")?,
1640
+ value: ::Integer?
1641
+ }?
1642
+ }?
1643
+ }?
1644
+ },
1645
+ virtual_router_name: ::String
1646
+ ) -> _UpdateRouteResponseSuccess
1647
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _UpdateRouteResponseSuccess
1648
+
1649
+ interface _UpdateVirtualGatewayResponseSuccess
1650
+ include ::Seahorse::Client::_ResponseSuccess[Types::UpdateVirtualGatewayOutput]
1651
+ def virtual_gateway: () -> Types::VirtualGatewayData
1652
+ end
1653
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/AppMesh/Client.html#update_virtual_gateway-instance_method
1654
+ def update_virtual_gateway: (
1655
+ ?client_token: ::String,
1656
+ mesh_name: ::String,
1657
+ ?mesh_owner: ::String,
1658
+ spec: {
1659
+ backend_defaults: {
1660
+ client_policy: {
1661
+ tls: {
1662
+ certificate: {
1663
+ file: {
1664
+ certificate_chain: ::String,
1665
+ private_key: ::String
1666
+ }?,
1667
+ sds: {
1668
+ secret_name: ::String
1669
+ }?
1670
+ }?,
1671
+ enforce: bool?,
1672
+ ports: Array[::Integer]?,
1673
+ validation: {
1674
+ subject_alternative_names: {
1675
+ match: {
1676
+ exact: Array[::String]
1677
+ }
1678
+ }?,
1679
+ trust: {
1680
+ acm: {
1681
+ certificate_authority_arns: Array[::String]
1682
+ }?,
1683
+ file: {
1684
+ certificate_chain: ::String
1685
+ }?,
1686
+ sds: {
1687
+ secret_name: ::String
1688
+ }?
1689
+ }
1690
+ }
1691
+ }?
1692
+ }?
1693
+ }?,
1694
+ listeners: Array[
1695
+ {
1696
+ connection_pool: {
1697
+ grpc: {
1698
+ max_requests: ::Integer
1699
+ }?,
1700
+ http: {
1701
+ max_connections: ::Integer,
1702
+ max_pending_requests: ::Integer?
1703
+ }?,
1704
+ http2: {
1705
+ max_requests: ::Integer
1706
+ }?
1707
+ }?,
1708
+ health_check: {
1709
+ healthy_threshold: ::Integer,
1710
+ interval_millis: ::Integer,
1711
+ path: ::String?,
1712
+ port: ::Integer?,
1713
+ protocol: ("http" | "http2" | "grpc"),
1714
+ timeout_millis: ::Integer,
1715
+ unhealthy_threshold: ::Integer
1716
+ }?,
1717
+ port_mapping: {
1718
+ port: ::Integer,
1719
+ protocol: ("http" | "http2" | "grpc")
1720
+ },
1721
+ tls: {
1722
+ certificate: {
1723
+ acm: {
1724
+ certificate_arn: ::String
1725
+ }?,
1726
+ file: {
1727
+ certificate_chain: ::String,
1728
+ private_key: ::String
1729
+ }?,
1730
+ sds: {
1731
+ secret_name: ::String
1732
+ }?
1733
+ },
1734
+ mode: ("STRICT" | "PERMISSIVE" | "DISABLED"),
1735
+ validation: {
1736
+ subject_alternative_names: {
1737
+ match: {
1738
+ exact: Array[::String]
1739
+ }
1740
+ }?,
1741
+ trust: {
1742
+ file: {
1743
+ certificate_chain: ::String
1744
+ }?,
1745
+ sds: {
1746
+ secret_name: ::String
1747
+ }?
1748
+ }
1749
+ }?
1750
+ }?
1751
+ },
1752
+ ],
1753
+ logging: {
1754
+ access_log: {
1755
+ file: {
1756
+ format: {
1757
+ json: Array[
1758
+ {
1759
+ key: ::String,
1760
+ value: ::String
1761
+ },
1762
+ ]?,
1763
+ text: ::String?
1764
+ }?,
1765
+ path: ::String
1766
+ }?
1767
+ }?
1768
+ }?
1769
+ },
1770
+ virtual_gateway_name: ::String
1771
+ ) -> _UpdateVirtualGatewayResponseSuccess
1772
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _UpdateVirtualGatewayResponseSuccess
1773
+
1774
+ interface _UpdateVirtualNodeResponseSuccess
1775
+ include ::Seahorse::Client::_ResponseSuccess[Types::UpdateVirtualNodeOutput]
1776
+ def virtual_node: () -> Types::VirtualNodeData
1777
+ end
1778
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/AppMesh/Client.html#update_virtual_node-instance_method
1779
+ def update_virtual_node: (
1780
+ ?client_token: ::String,
1781
+ mesh_name: ::String,
1782
+ ?mesh_owner: ::String,
1783
+ spec: {
1784
+ backend_defaults: {
1785
+ client_policy: {
1786
+ tls: {
1787
+ certificate: {
1788
+ file: {
1789
+ certificate_chain: ::String,
1790
+ private_key: ::String
1791
+ }?,
1792
+ sds: {
1793
+ secret_name: ::String
1794
+ }?
1795
+ }?,
1796
+ enforce: bool?,
1797
+ ports: Array[::Integer]?,
1798
+ validation: {
1799
+ subject_alternative_names: {
1800
+ match: {
1801
+ exact: Array[::String]
1802
+ }
1803
+ }?,
1804
+ trust: {
1805
+ acm: {
1806
+ certificate_authority_arns: Array[::String]
1807
+ }?,
1808
+ file: {
1809
+ certificate_chain: ::String
1810
+ }?,
1811
+ sds: {
1812
+ secret_name: ::String
1813
+ }?
1814
+ }
1815
+ }
1816
+ }?
1817
+ }?
1818
+ }?,
1819
+ backends: Array[
1820
+ {
1821
+ virtual_service: {
1822
+ client_policy: {
1823
+ tls: {
1824
+ certificate: {
1825
+ file: {
1826
+ certificate_chain: ::String,
1827
+ private_key: ::String
1828
+ }?,
1829
+ sds: {
1830
+ secret_name: ::String
1831
+ }?
1832
+ }?,
1833
+ enforce: bool?,
1834
+ ports: Array[::Integer]?,
1835
+ validation: {
1836
+ subject_alternative_names: {
1837
+ match: {
1838
+ exact: Array[::String]
1839
+ }
1840
+ }?,
1841
+ trust: {
1842
+ acm: {
1843
+ certificate_authority_arns: Array[::String]
1844
+ }?,
1845
+ file: {
1846
+ certificate_chain: ::String
1847
+ }?,
1848
+ sds: {
1849
+ secret_name: ::String
1850
+ }?
1851
+ }
1852
+ }
1853
+ }?
1854
+ }?,
1855
+ virtual_service_name: ::String
1856
+ }?
1857
+ },
1858
+ ]?,
1859
+ listeners: Array[
1860
+ {
1861
+ connection_pool: {
1862
+ grpc: {
1863
+ max_requests: ::Integer
1864
+ }?,
1865
+ http: {
1866
+ max_connections: ::Integer,
1867
+ max_pending_requests: ::Integer?
1868
+ }?,
1869
+ http2: {
1870
+ max_requests: ::Integer
1871
+ }?,
1872
+ tcp: {
1873
+ max_connections: ::Integer
1874
+ }?
1875
+ }?,
1876
+ health_check: {
1877
+ healthy_threshold: ::Integer,
1878
+ interval_millis: ::Integer,
1879
+ path: ::String?,
1880
+ port: ::Integer?,
1881
+ protocol: ("http" | "tcp" | "http2" | "grpc"),
1882
+ timeout_millis: ::Integer,
1883
+ unhealthy_threshold: ::Integer
1884
+ }?,
1885
+ outlier_detection: {
1886
+ base_ejection_duration: {
1887
+ unit: ("s" | "ms")?,
1888
+ value: ::Integer?
1889
+ },
1890
+ interval: {
1891
+ unit: ("s" | "ms")?,
1892
+ value: ::Integer?
1893
+ },
1894
+ max_ejection_percent: ::Integer,
1895
+ max_server_errors: ::Integer
1896
+ }?,
1897
+ port_mapping: {
1898
+ port: ::Integer,
1899
+ protocol: ("http" | "tcp" | "http2" | "grpc")
1900
+ },
1901
+ timeout: {
1902
+ grpc: {
1903
+ idle: {
1904
+ unit: ("s" | "ms")?,
1905
+ value: ::Integer?
1906
+ }?,
1907
+ per_request: {
1908
+ unit: ("s" | "ms")?,
1909
+ value: ::Integer?
1910
+ }?
1911
+ }?,
1912
+ http: {
1913
+ idle: {
1914
+ unit: ("s" | "ms")?,
1915
+ value: ::Integer?
1916
+ }?,
1917
+ per_request: {
1918
+ unit: ("s" | "ms")?,
1919
+ value: ::Integer?
1920
+ }?
1921
+ }?,
1922
+ http2: {
1923
+ idle: {
1924
+ unit: ("s" | "ms")?,
1925
+ value: ::Integer?
1926
+ }?,
1927
+ per_request: {
1928
+ unit: ("s" | "ms")?,
1929
+ value: ::Integer?
1930
+ }?
1931
+ }?,
1932
+ tcp: {
1933
+ idle: {
1934
+ unit: ("s" | "ms")?,
1935
+ value: ::Integer?
1936
+ }?
1937
+ }?
1938
+ }?,
1939
+ tls: {
1940
+ certificate: {
1941
+ acm: {
1942
+ certificate_arn: ::String
1943
+ }?,
1944
+ file: {
1945
+ certificate_chain: ::String,
1946
+ private_key: ::String
1947
+ }?,
1948
+ sds: {
1949
+ secret_name: ::String
1950
+ }?
1951
+ },
1952
+ mode: ("STRICT" | "PERMISSIVE" | "DISABLED"),
1953
+ validation: {
1954
+ subject_alternative_names: {
1955
+ match: {
1956
+ exact: Array[::String]
1957
+ }
1958
+ }?,
1959
+ trust: {
1960
+ file: {
1961
+ certificate_chain: ::String
1962
+ }?,
1963
+ sds: {
1964
+ secret_name: ::String
1965
+ }?
1966
+ }
1967
+ }?
1968
+ }?
1969
+ },
1970
+ ]?,
1971
+ logging: {
1972
+ access_log: {
1973
+ file: {
1974
+ format: {
1975
+ json: Array[
1976
+ {
1977
+ key: ::String,
1978
+ value: ::String
1979
+ },
1980
+ ]?,
1981
+ text: ::String?
1982
+ }?,
1983
+ path: ::String
1984
+ }?
1985
+ }?
1986
+ }?,
1987
+ service_discovery: {
1988
+ aws_cloud_map: {
1989
+ attributes: Array[
1990
+ {
1991
+ key: ::String,
1992
+ value: ::String
1993
+ },
1994
+ ]?,
1995
+ ip_preference: ("IPv6_PREFERRED" | "IPv4_PREFERRED" | "IPv4_ONLY" | "IPv6_ONLY")?,
1996
+ namespace_name: ::String,
1997
+ service_name: ::String
1998
+ }?,
1999
+ dns: {
2000
+ hostname: ::String,
2001
+ ip_preference: ("IPv6_PREFERRED" | "IPv4_PREFERRED" | "IPv4_ONLY" | "IPv6_ONLY")?,
2002
+ response_type: ("LOADBALANCER" | "ENDPOINTS")?
2003
+ }?
2004
+ }?
2005
+ },
2006
+ virtual_node_name: ::String
2007
+ ) -> _UpdateVirtualNodeResponseSuccess
2008
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _UpdateVirtualNodeResponseSuccess
2009
+
2010
+ interface _UpdateVirtualRouterResponseSuccess
2011
+ include ::Seahorse::Client::_ResponseSuccess[Types::UpdateVirtualRouterOutput]
2012
+ def virtual_router: () -> Types::VirtualRouterData
2013
+ end
2014
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/AppMesh/Client.html#update_virtual_router-instance_method
2015
+ def update_virtual_router: (
2016
+ ?client_token: ::String,
2017
+ mesh_name: ::String,
2018
+ ?mesh_owner: ::String,
2019
+ spec: {
2020
+ listeners: Array[
2021
+ {
2022
+ port_mapping: {
2023
+ port: ::Integer,
2024
+ protocol: ("http" | "tcp" | "http2" | "grpc")
2025
+ }
2026
+ },
2027
+ ]?
2028
+ },
2029
+ virtual_router_name: ::String
2030
+ ) -> _UpdateVirtualRouterResponseSuccess
2031
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _UpdateVirtualRouterResponseSuccess
2032
+
2033
+ interface _UpdateVirtualServiceResponseSuccess
2034
+ include ::Seahorse::Client::_ResponseSuccess[Types::UpdateVirtualServiceOutput]
2035
+ def virtual_service: () -> Types::VirtualServiceData
2036
+ end
2037
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/AppMesh/Client.html#update_virtual_service-instance_method
2038
+ def update_virtual_service: (
2039
+ ?client_token: ::String,
2040
+ mesh_name: ::String,
2041
+ ?mesh_owner: ::String,
2042
+ spec: {
2043
+ provider: {
2044
+ virtual_node: {
2045
+ virtual_node_name: ::String
2046
+ }?,
2047
+ virtual_router: {
2048
+ virtual_router_name: ::String
2049
+ }?
2050
+ }?
2051
+ },
2052
+ virtual_service_name: ::String
2053
+ ) -> _UpdateVirtualServiceResponseSuccess
2054
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _UpdateVirtualServiceResponseSuccess
2055
+ end
2056
+ end
2057
+ end
2058
+