aws-sdk-appmesh 1.17.0 → 1.18.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 7f4687bffbb9e8bb71ba64fb32635dbf98d8ba9f
4
- data.tar.gz: 9a6bfbb6cd38d60158f2b5f84d848f476ece07e4
3
+ metadata.gz: 1bb5fa558795912985c6a37fef3bb376b6fdc301
4
+ data.tar.gz: e5ace7697e8c4dc4c3dc41e94a1eb1884a9d3272
5
5
  SHA512:
6
- metadata.gz: 6603497b734dca0677fbf60cc5e7488060302c4177d918d84630cc2efad8b74898a896babed5bf63d4cce67f3b748f84555da4f9a978faa42f6bfaf9d34fadac
7
- data.tar.gz: d6301f555f7f069468cb97f54c2dd518acf00533e258734397e02a095a0fa0c2a31615e06a1216d37899488e7f4eacd742c73b395c86bde33fe7b316345d199a
6
+ metadata.gz: 82f67811bc3484a3bfd597504ccfa2e8a441457c8dc8cf04f031b2caed9d7415a7c044935b6328cc59441e197c6fcbc17582188000d361506b74499dd18961e1
7
+ data.tar.gz: f9b7aa719b1a98b35ee367a2790c412d2a518c10987952c5ff582d7756e0b144179c31926e1e3fe3694f22b759a3027363375884bad2dc82de76172d9e34a738
@@ -42,6 +42,6 @@ require_relative 'aws-sdk-appmesh/customizations'
42
42
  # @service
43
43
  module Aws::AppMesh
44
44
 
45
- GEM_VERSION = '1.17.0'
45
+ GEM_VERSION = '1.18.0'
46
46
 
47
47
  end
@@ -372,6 +372,86 @@ module Aws::AppMesh
372
372
  # mesh_name: "ResourceName", # required
373
373
  # route_name: "ResourceName", # required
374
374
  # spec: { # required
375
+ # grpc_route: {
376
+ # action: { # required
377
+ # weighted_targets: [ # required
378
+ # {
379
+ # virtual_node: "ResourceName", # required
380
+ # weight: 1, # required
381
+ # },
382
+ # ],
383
+ # },
384
+ # match: { # required
385
+ # metadata: [
386
+ # {
387
+ # invert: false,
388
+ # match: {
389
+ # exact: "HeaderMatch",
390
+ # prefix: "HeaderMatch",
391
+ # range: {
392
+ # end: 1, # required
393
+ # start: 1, # required
394
+ # },
395
+ # regex: "HeaderMatch",
396
+ # suffix: "HeaderMatch",
397
+ # },
398
+ # name: "HeaderName", # required
399
+ # },
400
+ # ],
401
+ # method_name: "MethodName",
402
+ # service_name: "ServiceName",
403
+ # },
404
+ # retry_policy: {
405
+ # grpc_retry_events: ["cancelled"], # accepts cancelled, deadline-exceeded, internal, resource-exhausted, unavailable
406
+ # http_retry_events: ["HttpRetryPolicyEvent"],
407
+ # max_retries: 1, # required
408
+ # per_retry_timeout: { # required
409
+ # unit: "ms", # accepts ms, s
410
+ # value: 1,
411
+ # },
412
+ # tcp_retry_events: ["connection-error"], # accepts connection-error
413
+ # },
414
+ # },
415
+ # http2_route: {
416
+ # action: { # required
417
+ # weighted_targets: [ # required
418
+ # {
419
+ # virtual_node: "ResourceName", # required
420
+ # weight: 1, # required
421
+ # },
422
+ # ],
423
+ # },
424
+ # match: { # required
425
+ # headers: [
426
+ # {
427
+ # invert: false,
428
+ # match: {
429
+ # exact: "HeaderMatch",
430
+ # prefix: "HeaderMatch",
431
+ # range: {
432
+ # end: 1, # required
433
+ # start: 1, # required
434
+ # },
435
+ # regex: "HeaderMatch",
436
+ # suffix: "HeaderMatch",
437
+ # },
438
+ # name: "HeaderName", # required
439
+ # },
440
+ # ],
441
+ # method: "CONNECT", # accepts CONNECT, DELETE, GET, HEAD, OPTIONS, PATCH, POST, PUT, TRACE
442
+ # prefix: "String", # required
443
+ # scheme: "http", # accepts http, https
444
+ # },
445
+ # retry_policy: {
446
+ # http_retry_events: ["HttpRetryPolicyEvent"],
447
+ # max_retries: 1, # required
448
+ # per_retry_timeout: { # required
449
+ # unit: "ms", # accepts ms, s
450
+ # value: 1,
451
+ # },
452
+ # tcp_retry_events: ["connection-error"], # accepts connection-error
453
+ # },
454
+ # },
375
455
  # http_route: {
376
456
  # action: { # required
377
457
  # weighted_targets: [ # required
@@ -442,6 +522,51 @@ module Aws::AppMesh
442
522
  # resp.route.metadata.uid #=> String
443
523
  # resp.route.metadata.version #=> Integer
444
524
  # resp.route.route_name #=> String
525
+ # resp.route.spec.grpc_route.action.weighted_targets #=> Array
526
+ # resp.route.spec.grpc_route.action.weighted_targets[0].virtual_node #=> String
527
+ # resp.route.spec.grpc_route.action.weighted_targets[0].weight #=> Integer
528
+ # resp.route.spec.grpc_route.match.metadata #=> Array
529
+ # resp.route.spec.grpc_route.match.metadata[0].invert #=> Boolean
530
+ # resp.route.spec.grpc_route.match.metadata[0].match.exact #=> String
531
+ # resp.route.spec.grpc_route.match.metadata[0].match.prefix #=> String
532
+ # resp.route.spec.grpc_route.match.metadata[0].match.range.end #=> Integer
533
+ # resp.route.spec.grpc_route.match.metadata[0].match.range.start #=> Integer
534
+ # resp.route.spec.grpc_route.match.metadata[0].match.regex #=> String
535
+ # resp.route.spec.grpc_route.match.metadata[0].match.suffix #=> String
536
+ # resp.route.spec.grpc_route.match.metadata[0].name #=> String
537
+ # resp.route.spec.grpc_route.match.method_name #=> String
538
+ # resp.route.spec.grpc_route.match.service_name #=> String
539
+ # resp.route.spec.grpc_route.retry_policy.grpc_retry_events #=> Array
540
+ # resp.route.spec.grpc_route.retry_policy.grpc_retry_events[0] #=> String, one of "cancelled", "deadline-exceeded", "internal", "resource-exhausted", "unavailable"
541
+ # resp.route.spec.grpc_route.retry_policy.http_retry_events #=> Array
542
+ # resp.route.spec.grpc_route.retry_policy.http_retry_events[0] #=> String
543
+ # resp.route.spec.grpc_route.retry_policy.max_retries #=> Integer
544
+ # resp.route.spec.grpc_route.retry_policy.per_retry_timeout.unit #=> String, one of "ms", "s"
545
+ # resp.route.spec.grpc_route.retry_policy.per_retry_timeout.value #=> Integer
546
+ # resp.route.spec.grpc_route.retry_policy.tcp_retry_events #=> Array
547
+ # resp.route.spec.grpc_route.retry_policy.tcp_retry_events[0] #=> String, one of "connection-error"
548
+ # resp.route.spec.http2_route.action.weighted_targets #=> Array
549
+ # resp.route.spec.http2_route.action.weighted_targets[0].virtual_node #=> String
550
+ # resp.route.spec.http2_route.action.weighted_targets[0].weight #=> Integer
551
+ # resp.route.spec.http2_route.match.headers #=> Array
552
+ # resp.route.spec.http2_route.match.headers[0].invert #=> Boolean
553
+ # resp.route.spec.http2_route.match.headers[0].match.exact #=> String
554
+ # resp.route.spec.http2_route.match.headers[0].match.prefix #=> String
555
+ # resp.route.spec.http2_route.match.headers[0].match.range.end #=> Integer
556
+ # resp.route.spec.http2_route.match.headers[0].match.range.start #=> Integer
557
+ # resp.route.spec.http2_route.match.headers[0].match.regex #=> String
558
+ # resp.route.spec.http2_route.match.headers[0].match.suffix #=> String
559
+ # resp.route.spec.http2_route.match.headers[0].name #=> String
560
+ # resp.route.spec.http2_route.match.method #=> String, one of "CONNECT", "DELETE", "GET", "HEAD", "OPTIONS", "PATCH", "POST", "PUT", "TRACE"
561
+ # resp.route.spec.http2_route.match.prefix #=> String
562
+ # resp.route.spec.http2_route.match.scheme #=> String, one of "http", "https"
563
+ # resp.route.spec.http2_route.retry_policy.http_retry_events #=> Array
564
+ # resp.route.spec.http2_route.retry_policy.http_retry_events[0] #=> String
565
+ # resp.route.spec.http2_route.retry_policy.max_retries #=> Integer
566
+ # resp.route.spec.http2_route.retry_policy.per_retry_timeout.unit #=> String, one of "ms", "s"
567
+ # resp.route.spec.http2_route.retry_policy.per_retry_timeout.value #=> Integer
568
+ # resp.route.spec.http2_route.retry_policy.tcp_retry_events #=> Array
569
+ # resp.route.spec.http2_route.retry_policy.tcp_retry_events[0] #=> String, one of "connection-error"
445
570
  # resp.route.spec.http_route.action.weighted_targets #=> Array
446
571
  # resp.route.spec.http_route.action.weighted_targets[0].virtual_node #=> String
447
572
  # resp.route.spec.http_route.action.weighted_targets[0].weight #=> Integer
@@ -555,13 +680,13 @@ module Aws::AppMesh
555
680
  # interval_millis: 1, # required
556
681
  # path: "String",
557
682
  # port: 1,
558
- # protocol: "http", # required, accepts http, tcp
683
+ # protocol: "grpc", # required, accepts grpc, http, http2, tcp
559
684
  # timeout_millis: 1, # required
560
685
  # unhealthy_threshold: 1, # required
561
686
  # },
562
687
  # port_mapping: { # required
563
688
  # port: 1, # required
564
- # protocol: "http", # required, accepts http, tcp
689
+ # protocol: "grpc", # required, accepts grpc, http, http2, tcp
565
690
  # },
566
691
  # },
567
692
  # ],
@@ -612,11 +737,11 @@ module Aws::AppMesh
612
737
  # resp.virtual_node.spec.listeners[0].health_check.interval_millis #=> Integer
613
738
  # resp.virtual_node.spec.listeners[0].health_check.path #=> String
614
739
  # resp.virtual_node.spec.listeners[0].health_check.port #=> Integer
615
- # resp.virtual_node.spec.listeners[0].health_check.protocol #=> String, one of "http", "tcp"
740
+ # resp.virtual_node.spec.listeners[0].health_check.protocol #=> String, one of "grpc", "http", "http2", "tcp"
616
741
  # resp.virtual_node.spec.listeners[0].health_check.timeout_millis #=> Integer
617
742
  # resp.virtual_node.spec.listeners[0].health_check.unhealthy_threshold #=> Integer
618
743
  # resp.virtual_node.spec.listeners[0].port_mapping.port #=> Integer
619
- # resp.virtual_node.spec.listeners[0].port_mapping.protocol #=> String, one of "http", "tcp"
744
+ # resp.virtual_node.spec.listeners[0].port_mapping.protocol #=> String, one of "grpc", "http", "http2", "tcp"
620
745
  # resp.virtual_node.spec.logging.access_log.file.path #=> String
621
746
  # resp.virtual_node.spec.service_discovery.aws_cloud_map.attributes #=> Array
622
747
  # resp.virtual_node.spec.service_discovery.aws_cloud_map.attributes[0].key #=> String
@@ -684,7 +809,7 @@ module Aws::AppMesh
684
809
  # {
685
810
  # port_mapping: { # required
686
811
  # port: 1, # required
687
- # protocol: "http", # required, accepts http, tcp
812
+ # protocol: "grpc", # required, accepts grpc, http, http2, tcp
688
813
  # },
689
814
  # },
690
815
  # ],
@@ -708,7 +833,7 @@ module Aws::AppMesh
708
833
  # resp.virtual_router.metadata.version #=> Integer
709
834
  # resp.virtual_router.spec.listeners #=> Array
710
835
  # resp.virtual_router.spec.listeners[0].port_mapping.port #=> Integer
711
- # resp.virtual_router.spec.listeners[0].port_mapping.protocol #=> String, one of "http", "tcp"
836
+ # resp.virtual_router.spec.listeners[0].port_mapping.protocol #=> String, one of "grpc", "http", "http2", "tcp"
712
837
  # resp.virtual_router.status.status #=> String, one of "ACTIVE", "DELETED", "INACTIVE"
713
838
  # resp.virtual_router.virtual_router_name #=> String
714
839
  #
@@ -875,6 +1000,51 @@ module Aws::AppMesh
875
1000
  # resp.route.metadata.uid #=> String
876
1001
  # resp.route.metadata.version #=> Integer
877
1002
  # resp.route.route_name #=> String
1003
+ # resp.route.spec.grpc_route.action.weighted_targets #=> Array
1004
+ # resp.route.spec.grpc_route.action.weighted_targets[0].virtual_node #=> String
1005
+ # resp.route.spec.grpc_route.action.weighted_targets[0].weight #=> Integer
1006
+ # resp.route.spec.grpc_route.match.metadata #=> Array
1007
+ # resp.route.spec.grpc_route.match.metadata[0].invert #=> Boolean
1008
+ # resp.route.spec.grpc_route.match.metadata[0].match.exact #=> String
1009
+ # resp.route.spec.grpc_route.match.metadata[0].match.prefix #=> String
1010
+ # resp.route.spec.grpc_route.match.metadata[0].match.range.end #=> Integer
1011
+ # resp.route.spec.grpc_route.match.metadata[0].match.range.start #=> Integer
1012
+ # resp.route.spec.grpc_route.match.metadata[0].match.regex #=> String
1013
+ # resp.route.spec.grpc_route.match.metadata[0].match.suffix #=> String
1014
+ # resp.route.spec.grpc_route.match.metadata[0].name #=> String
1015
+ # resp.route.spec.grpc_route.match.method_name #=> String
1016
+ # resp.route.spec.grpc_route.match.service_name #=> String
1017
+ # resp.route.spec.grpc_route.retry_policy.grpc_retry_events #=> Array
1018
+ # resp.route.spec.grpc_route.retry_policy.grpc_retry_events[0] #=> String, one of "cancelled", "deadline-exceeded", "internal", "resource-exhausted", "unavailable"
1019
+ # resp.route.spec.grpc_route.retry_policy.http_retry_events #=> Array
1020
+ # resp.route.spec.grpc_route.retry_policy.http_retry_events[0] #=> String
1021
+ # resp.route.spec.grpc_route.retry_policy.max_retries #=> Integer
1022
+ # resp.route.spec.grpc_route.retry_policy.per_retry_timeout.unit #=> String, one of "ms", "s"
1023
+ # resp.route.spec.grpc_route.retry_policy.per_retry_timeout.value #=> Integer
1024
+ # resp.route.spec.grpc_route.retry_policy.tcp_retry_events #=> Array
1025
+ # resp.route.spec.grpc_route.retry_policy.tcp_retry_events[0] #=> String, one of "connection-error"
1026
+ # resp.route.spec.http2_route.action.weighted_targets #=> Array
1027
+ # resp.route.spec.http2_route.action.weighted_targets[0].virtual_node #=> String
1028
+ # resp.route.spec.http2_route.action.weighted_targets[0].weight #=> Integer
1029
+ # resp.route.spec.http2_route.match.headers #=> Array
1030
+ # resp.route.spec.http2_route.match.headers[0].invert #=> Boolean
1031
+ # resp.route.spec.http2_route.match.headers[0].match.exact #=> String
1032
+ # resp.route.spec.http2_route.match.headers[0].match.prefix #=> String
1033
+ # resp.route.spec.http2_route.match.headers[0].match.range.end #=> Integer
1034
+ # resp.route.spec.http2_route.match.headers[0].match.range.start #=> Integer
1035
+ # resp.route.spec.http2_route.match.headers[0].match.regex #=> String
1036
+ # resp.route.spec.http2_route.match.headers[0].match.suffix #=> String
1037
+ # resp.route.spec.http2_route.match.headers[0].name #=> String
1038
+ # resp.route.spec.http2_route.match.method #=> String, one of "CONNECT", "DELETE", "GET", "HEAD", "OPTIONS", "PATCH", "POST", "PUT", "TRACE"
1039
+ # resp.route.spec.http2_route.match.prefix #=> String
1040
+ # resp.route.spec.http2_route.match.scheme #=> String, one of "http", "https"
1041
+ # resp.route.spec.http2_route.retry_policy.http_retry_events #=> Array
1042
+ # resp.route.spec.http2_route.retry_policy.http_retry_events[0] #=> String
1043
+ # resp.route.spec.http2_route.retry_policy.max_retries #=> Integer
1044
+ # resp.route.spec.http2_route.retry_policy.per_retry_timeout.unit #=> String, one of "ms", "s"
1045
+ # resp.route.spec.http2_route.retry_policy.per_retry_timeout.value #=> Integer
1046
+ # resp.route.spec.http2_route.retry_policy.tcp_retry_events #=> Array
1047
+ # resp.route.spec.http2_route.retry_policy.tcp_retry_events[0] #=> String, one of "connection-error"
878
1048
  # resp.route.spec.http_route.action.weighted_targets #=> Array
879
1049
  # resp.route.spec.http_route.action.weighted_targets[0].virtual_node #=> String
880
1050
  # resp.route.spec.http_route.action.weighted_targets[0].weight #=> Integer
@@ -950,11 +1120,11 @@ module Aws::AppMesh
950
1120
  # resp.virtual_node.spec.listeners[0].health_check.interval_millis #=> Integer
951
1121
  # resp.virtual_node.spec.listeners[0].health_check.path #=> String
952
1122
  # resp.virtual_node.spec.listeners[0].health_check.port #=> Integer
953
- # resp.virtual_node.spec.listeners[0].health_check.protocol #=> String, one of "http", "tcp"
1123
+ # resp.virtual_node.spec.listeners[0].health_check.protocol #=> String, one of "grpc", "http", "http2", "tcp"
954
1124
  # resp.virtual_node.spec.listeners[0].health_check.timeout_millis #=> Integer
955
1125
  # resp.virtual_node.spec.listeners[0].health_check.unhealthy_threshold #=> Integer
956
1126
  # resp.virtual_node.spec.listeners[0].port_mapping.port #=> Integer
957
- # resp.virtual_node.spec.listeners[0].port_mapping.protocol #=> String, one of "http", "tcp"
1127
+ # resp.virtual_node.spec.listeners[0].port_mapping.protocol #=> String, one of "grpc", "http", "http2", "tcp"
958
1128
  # resp.virtual_node.spec.logging.access_log.file.path #=> String
959
1129
  # resp.virtual_node.spec.service_discovery.aws_cloud_map.attributes #=> Array
960
1130
  # resp.virtual_node.spec.service_discovery.aws_cloud_map.attributes[0].key #=> String
@@ -1006,7 +1176,7 @@ module Aws::AppMesh
1006
1176
  # resp.virtual_router.metadata.version #=> Integer
1007
1177
  # resp.virtual_router.spec.listeners #=> Array
1008
1178
  # resp.virtual_router.spec.listeners[0].port_mapping.port #=> Integer
1009
- # resp.virtual_router.spec.listeners[0].port_mapping.protocol #=> String, one of "http", "tcp"
1179
+ # resp.virtual_router.spec.listeners[0].port_mapping.protocol #=> String, one of "grpc", "http", "http2", "tcp"
1010
1180
  # resp.virtual_router.status.status #=> String, one of "ACTIVE", "DELETED", "INACTIVE"
1011
1181
  # resp.virtual_router.virtual_router_name #=> String
1012
1182
  #
@@ -1127,6 +1297,51 @@ module Aws::AppMesh
1127
1297
  # resp.route.metadata.uid #=> String
1128
1298
  # resp.route.metadata.version #=> Integer
1129
1299
  # resp.route.route_name #=> String
1300
+ # resp.route.spec.grpc_route.action.weighted_targets #=> Array
1301
+ # resp.route.spec.grpc_route.action.weighted_targets[0].virtual_node #=> String
1302
+ # resp.route.spec.grpc_route.action.weighted_targets[0].weight #=> Integer
1303
+ # resp.route.spec.grpc_route.match.metadata #=> Array
1304
+ # resp.route.spec.grpc_route.match.metadata[0].invert #=> Boolean
1305
+ # resp.route.spec.grpc_route.match.metadata[0].match.exact #=> String
1306
+ # resp.route.spec.grpc_route.match.metadata[0].match.prefix #=> String
1307
+ # resp.route.spec.grpc_route.match.metadata[0].match.range.end #=> Integer
1308
+ # resp.route.spec.grpc_route.match.metadata[0].match.range.start #=> Integer
1309
+ # resp.route.spec.grpc_route.match.metadata[0].match.regex #=> String
1310
+ # resp.route.spec.grpc_route.match.metadata[0].match.suffix #=> String
1311
+ # resp.route.spec.grpc_route.match.metadata[0].name #=> String
1312
+ # resp.route.spec.grpc_route.match.method_name #=> String
1313
+ # resp.route.spec.grpc_route.match.service_name #=> String
1314
+ # resp.route.spec.grpc_route.retry_policy.grpc_retry_events #=> Array
1315
+ # resp.route.spec.grpc_route.retry_policy.grpc_retry_events[0] #=> String, one of "cancelled", "deadline-exceeded", "internal", "resource-exhausted", "unavailable"
1316
+ # resp.route.spec.grpc_route.retry_policy.http_retry_events #=> Array
1317
+ # resp.route.spec.grpc_route.retry_policy.http_retry_events[0] #=> String
1318
+ # resp.route.spec.grpc_route.retry_policy.max_retries #=> Integer
1319
+ # resp.route.spec.grpc_route.retry_policy.per_retry_timeout.unit #=> String, one of "ms", "s"
1320
+ # resp.route.spec.grpc_route.retry_policy.per_retry_timeout.value #=> Integer
1321
+ # resp.route.spec.grpc_route.retry_policy.tcp_retry_events #=> Array
1322
+ # resp.route.spec.grpc_route.retry_policy.tcp_retry_events[0] #=> String, one of "connection-error"
1323
+ # resp.route.spec.http2_route.action.weighted_targets #=> Array
1324
+ # resp.route.spec.http2_route.action.weighted_targets[0].virtual_node #=> String
1325
+ # resp.route.spec.http2_route.action.weighted_targets[0].weight #=> Integer
1326
+ # resp.route.spec.http2_route.match.headers #=> Array
1327
+ # resp.route.spec.http2_route.match.headers[0].invert #=> Boolean
1328
+ # resp.route.spec.http2_route.match.headers[0].match.exact #=> String
1329
+ # resp.route.spec.http2_route.match.headers[0].match.prefix #=> String
1330
+ # resp.route.spec.http2_route.match.headers[0].match.range.end #=> Integer
1331
+ # resp.route.spec.http2_route.match.headers[0].match.range.start #=> Integer
1332
+ # resp.route.spec.http2_route.match.headers[0].match.regex #=> String
1333
+ # resp.route.spec.http2_route.match.headers[0].match.suffix #=> String
1334
+ # resp.route.spec.http2_route.match.headers[0].name #=> String
1335
+ # resp.route.spec.http2_route.match.method #=> String, one of "CONNECT", "DELETE", "GET", "HEAD", "OPTIONS", "PATCH", "POST", "PUT", "TRACE"
1336
+ # resp.route.spec.http2_route.match.prefix #=> String
1337
+ # resp.route.spec.http2_route.match.scheme #=> String, one of "http", "https"
1338
+ # resp.route.spec.http2_route.retry_policy.http_retry_events #=> Array
1339
+ # resp.route.spec.http2_route.retry_policy.http_retry_events[0] #=> String
1340
+ # resp.route.spec.http2_route.retry_policy.max_retries #=> Integer
1341
+ # resp.route.spec.http2_route.retry_policy.per_retry_timeout.unit #=> String, one of "ms", "s"
1342
+ # resp.route.spec.http2_route.retry_policy.per_retry_timeout.value #=> Integer
1343
+ # resp.route.spec.http2_route.retry_policy.tcp_retry_events #=> Array
1344
+ # resp.route.spec.http2_route.retry_policy.tcp_retry_events[0] #=> String, one of "connection-error"
1130
1345
  # resp.route.spec.http_route.action.weighted_targets #=> Array
1131
1346
  # resp.route.spec.http_route.action.weighted_targets[0].virtual_node #=> String
1132
1347
  # resp.route.spec.http_route.action.weighted_targets[0].weight #=> Integer
@@ -1199,11 +1414,11 @@ module Aws::AppMesh
1199
1414
  # resp.virtual_node.spec.listeners[0].health_check.interval_millis #=> Integer
1200
1415
  # resp.virtual_node.spec.listeners[0].health_check.path #=> String
1201
1416
  # resp.virtual_node.spec.listeners[0].health_check.port #=> Integer
1202
- # resp.virtual_node.spec.listeners[0].health_check.protocol #=> String, one of "http", "tcp"
1417
+ # resp.virtual_node.spec.listeners[0].health_check.protocol #=> String, one of "grpc", "http", "http2", "tcp"
1203
1418
  # resp.virtual_node.spec.listeners[0].health_check.timeout_millis #=> Integer
1204
1419
  # resp.virtual_node.spec.listeners[0].health_check.unhealthy_threshold #=> Integer
1205
1420
  # resp.virtual_node.spec.listeners[0].port_mapping.port #=> Integer
1206
- # resp.virtual_node.spec.listeners[0].port_mapping.protocol #=> String, one of "http", "tcp"
1421
+ # resp.virtual_node.spec.listeners[0].port_mapping.protocol #=> String, one of "grpc", "http", "http2", "tcp"
1207
1422
  # resp.virtual_node.spec.logging.access_log.file.path #=> String
1208
1423
  # resp.virtual_node.spec.service_discovery.aws_cloud_map.attributes #=> Array
1209
1424
  # resp.virtual_node.spec.service_discovery.aws_cloud_map.attributes[0].key #=> String
@@ -1252,7 +1467,7 @@ module Aws::AppMesh
1252
1467
  # resp.virtual_router.metadata.version #=> Integer
1253
1468
  # resp.virtual_router.spec.listeners #=> Array
1254
1469
  # resp.virtual_router.spec.listeners[0].port_mapping.port #=> Integer
1255
- # resp.virtual_router.spec.listeners[0].port_mapping.protocol #=> String, one of "http", "tcp"
1470
+ # resp.virtual_router.spec.listeners[0].port_mapping.protocol #=> String, one of "grpc", "http", "http2", "tcp"
1256
1471
  # resp.virtual_router.status.status #=> String, one of "ACTIVE", "DELETED", "INACTIVE"
1257
1472
  # resp.virtual_router.virtual_router_name #=> String
1258
1473
  #
@@ -1767,6 +1982,86 @@ module Aws::AppMesh
1767
1982
  # mesh_name: "ResourceName", # required
1768
1983
  # route_name: "ResourceName", # required
1769
1984
  # spec: { # required
1985
+ # grpc_route: {
1986
+ # action: { # required
1987
+ # weighted_targets: [ # required
1988
+ # {
1989
+ # virtual_node: "ResourceName", # required
1990
+ # weight: 1, # required
1991
+ # },
1992
+ # ],
1993
+ # },
1994
+ # match: { # required
1995
+ # metadata: [
1996
+ # {
1997
+ # invert: false,
1998
+ # match: {
1999
+ # exact: "HeaderMatch",
2000
+ # prefix: "HeaderMatch",
2001
+ # range: {
2002
+ # end: 1, # required
2003
+ # start: 1, # required
2004
+ # },
2005
+ # regex: "HeaderMatch",
2006
+ # suffix: "HeaderMatch",
2007
+ # },
2008
+ # name: "HeaderName", # required
2009
+ # },
2010
+ # ],
2011
+ # method_name: "MethodName",
2012
+ # service_name: "ServiceName",
2013
+ # },
2014
+ # retry_policy: {
2015
+ # grpc_retry_events: ["cancelled"], # accepts cancelled, deadline-exceeded, internal, resource-exhausted, unavailable
2016
+ # http_retry_events: ["HttpRetryPolicyEvent"],
2017
+ # max_retries: 1, # required
2018
+ # per_retry_timeout: { # required
2019
+ # unit: "ms", # accepts ms, s
2020
+ # value: 1,
2021
+ # },
2022
+ # tcp_retry_events: ["connection-error"], # accepts connection-error
2023
+ # },
2024
+ # },
2025
+ # http2_route: {
2026
+ # action: { # required
2027
+ # weighted_targets: [ # required
2028
+ # {
2029
+ # virtual_node: "ResourceName", # required
2030
+ # weight: 1, # required
2031
+ # },
2032
+ # ],
2033
+ # },
2034
+ # match: { # required
2035
+ # headers: [
2036
+ # {
2037
+ # invert: false,
2038
+ # match: {
2039
+ # exact: "HeaderMatch",
2040
+ # prefix: "HeaderMatch",
2041
+ # range: {
2042
+ # end: 1, # required
2043
+ # start: 1, # required
2044
+ # },
2045
+ # regex: "HeaderMatch",
2046
+ # suffix: "HeaderMatch",
2047
+ # },
2048
+ # name: "HeaderName", # required
2049
+ # },
2050
+ # ],
2051
+ # method: "CONNECT", # accepts CONNECT, DELETE, GET, HEAD, OPTIONS, PATCH, POST, PUT, TRACE
2052
+ # prefix: "String", # required
2053
+ # scheme: "http", # accepts http, https
2054
+ # },
2055
+ # retry_policy: {
2056
+ # http_retry_events: ["HttpRetryPolicyEvent"],
2057
+ # max_retries: 1, # required
2058
+ # per_retry_timeout: { # required
2059
+ # unit: "ms", # accepts ms, s
2060
+ # value: 1,
2061
+ # },
2062
+ # tcp_retry_events: ["connection-error"], # accepts connection-error
2063
+ # },
2064
+ # },
1770
2065
  # http_route: {
1771
2066
  # action: { # required
1772
2067
  # weighted_targets: [ # required
@@ -1831,6 +2126,51 @@ module Aws::AppMesh
1831
2126
  # resp.route.metadata.uid #=> String
1832
2127
  # resp.route.metadata.version #=> Integer
1833
2128
  # resp.route.route_name #=> String
2129
+ # resp.route.spec.grpc_route.action.weighted_targets #=> Array
2130
+ # resp.route.spec.grpc_route.action.weighted_targets[0].virtual_node #=> String
2131
+ # resp.route.spec.grpc_route.action.weighted_targets[0].weight #=> Integer
2132
+ # resp.route.spec.grpc_route.match.metadata #=> Array
2133
+ # resp.route.spec.grpc_route.match.metadata[0].invert #=> Boolean
2134
+ # resp.route.spec.grpc_route.match.metadata[0].match.exact #=> String
2135
+ # resp.route.spec.grpc_route.match.metadata[0].match.prefix #=> String
2136
+ # resp.route.spec.grpc_route.match.metadata[0].match.range.end #=> Integer
2137
+ # resp.route.spec.grpc_route.match.metadata[0].match.range.start #=> Integer
2138
+ # resp.route.spec.grpc_route.match.metadata[0].match.regex #=> String
2139
+ # resp.route.spec.grpc_route.match.metadata[0].match.suffix #=> String
2140
+ # resp.route.spec.grpc_route.match.metadata[0].name #=> String
2141
+ # resp.route.spec.grpc_route.match.method_name #=> String
2142
+ # resp.route.spec.grpc_route.match.service_name #=> String
2143
+ # resp.route.spec.grpc_route.retry_policy.grpc_retry_events #=> Array
2144
+ # resp.route.spec.grpc_route.retry_policy.grpc_retry_events[0] #=> String, one of "cancelled", "deadline-exceeded", "internal", "resource-exhausted", "unavailable"
2145
+ # resp.route.spec.grpc_route.retry_policy.http_retry_events #=> Array
2146
+ # resp.route.spec.grpc_route.retry_policy.http_retry_events[0] #=> String
2147
+ # resp.route.spec.grpc_route.retry_policy.max_retries #=> Integer
2148
+ # resp.route.spec.grpc_route.retry_policy.per_retry_timeout.unit #=> String, one of "ms", "s"
2149
+ # resp.route.spec.grpc_route.retry_policy.per_retry_timeout.value #=> Integer
2150
+ # resp.route.spec.grpc_route.retry_policy.tcp_retry_events #=> Array
2151
+ # resp.route.spec.grpc_route.retry_policy.tcp_retry_events[0] #=> String, one of "connection-error"
2152
+ # resp.route.spec.http2_route.action.weighted_targets #=> Array
2153
+ # resp.route.spec.http2_route.action.weighted_targets[0].virtual_node #=> String
2154
+ # resp.route.spec.http2_route.action.weighted_targets[0].weight #=> Integer
2155
+ # resp.route.spec.http2_route.match.headers #=> Array
2156
+ # resp.route.spec.http2_route.match.headers[0].invert #=> Boolean
2157
+ # resp.route.spec.http2_route.match.headers[0].match.exact #=> String
2158
+ # resp.route.spec.http2_route.match.headers[0].match.prefix #=> String
2159
+ # resp.route.spec.http2_route.match.headers[0].match.range.end #=> Integer
2160
+ # resp.route.spec.http2_route.match.headers[0].match.range.start #=> Integer
2161
+ # resp.route.spec.http2_route.match.headers[0].match.regex #=> String
2162
+ # resp.route.spec.http2_route.match.headers[0].match.suffix #=> String
2163
+ # resp.route.spec.http2_route.match.headers[0].name #=> String
2164
+ # resp.route.spec.http2_route.match.method #=> String, one of "CONNECT", "DELETE", "GET", "HEAD", "OPTIONS", "PATCH", "POST", "PUT", "TRACE"
2165
+ # resp.route.spec.http2_route.match.prefix #=> String
2166
+ # resp.route.spec.http2_route.match.scheme #=> String, one of "http", "https"
2167
+ # resp.route.spec.http2_route.retry_policy.http_retry_events #=> Array
2168
+ # resp.route.spec.http2_route.retry_policy.http_retry_events[0] #=> String
2169
+ # resp.route.spec.http2_route.retry_policy.max_retries #=> Integer
2170
+ # resp.route.spec.http2_route.retry_policy.per_retry_timeout.unit #=> String, one of "ms", "s"
2171
+ # resp.route.spec.http2_route.retry_policy.per_retry_timeout.value #=> Integer
2172
+ # resp.route.spec.http2_route.retry_policy.tcp_retry_events #=> Array
2173
+ # resp.route.spec.http2_route.retry_policy.tcp_retry_events[0] #=> String, one of "connection-error"
1834
2174
  # resp.route.spec.http_route.action.weighted_targets #=> Array
1835
2175
  # resp.route.spec.http_route.action.weighted_targets[0].virtual_node #=> String
1836
2176
  # resp.route.spec.http_route.action.weighted_targets[0].weight #=> Integer
@@ -1913,13 +2253,13 @@ module Aws::AppMesh
1913
2253
  # interval_millis: 1, # required
1914
2254
  # path: "String",
1915
2255
  # port: 1,
1916
- # protocol: "http", # required, accepts http, tcp
2256
+ # protocol: "grpc", # required, accepts grpc, http, http2, tcp
1917
2257
  # timeout_millis: 1, # required
1918
2258
  # unhealthy_threshold: 1, # required
1919
2259
  # },
1920
2260
  # port_mapping: { # required
1921
2261
  # port: 1, # required
1922
- # protocol: "http", # required, accepts http, tcp
2262
+ # protocol: "grpc", # required, accepts grpc, http, http2, tcp
1923
2263
  # },
1924
2264
  # },
1925
2265
  # ],
@@ -1964,11 +2304,11 @@ module Aws::AppMesh
1964
2304
  # resp.virtual_node.spec.listeners[0].health_check.interval_millis #=> Integer
1965
2305
  # resp.virtual_node.spec.listeners[0].health_check.path #=> String
1966
2306
  # resp.virtual_node.spec.listeners[0].health_check.port #=> Integer
1967
- # resp.virtual_node.spec.listeners[0].health_check.protocol #=> String, one of "http", "tcp"
2307
+ # resp.virtual_node.spec.listeners[0].health_check.protocol #=> String, one of "grpc", "http", "http2", "tcp"
1968
2308
  # resp.virtual_node.spec.listeners[0].health_check.timeout_millis #=> Integer
1969
2309
  # resp.virtual_node.spec.listeners[0].health_check.unhealthy_threshold #=> Integer
1970
2310
  # resp.virtual_node.spec.listeners[0].port_mapping.port #=> Integer
1971
- # resp.virtual_node.spec.listeners[0].port_mapping.protocol #=> String, one of "http", "tcp"
2311
+ # resp.virtual_node.spec.listeners[0].port_mapping.protocol #=> String, one of "grpc", "http", "http2", "tcp"
1972
2312
  # resp.virtual_node.spec.logging.access_log.file.path #=> String
1973
2313
  # resp.virtual_node.spec.service_discovery.aws_cloud_map.attributes #=> Array
1974
2314
  # resp.virtual_node.spec.service_discovery.aws_cloud_map.attributes[0].key #=> String
@@ -2022,7 +2362,7 @@ module Aws::AppMesh
2022
2362
  # {
2023
2363
  # port_mapping: { # required
2024
2364
  # port: 1, # required
2025
- # protocol: "http", # required, accepts http, tcp
2365
+ # protocol: "grpc", # required, accepts grpc, http, http2, tcp
2026
2366
  # },
2027
2367
  # },
2028
2368
  # ],
@@ -2040,7 +2380,7 @@ module Aws::AppMesh
2040
2380
  # resp.virtual_router.metadata.version #=> Integer
2041
2381
  # resp.virtual_router.spec.listeners #=> Array
2042
2382
  # resp.virtual_router.spec.listeners[0].port_mapping.port #=> Integer
2043
- # resp.virtual_router.spec.listeners[0].port_mapping.protocol #=> String, one of "http", "tcp"
2383
+ # resp.virtual_router.spec.listeners[0].port_mapping.protocol #=> String, one of "grpc", "http", "http2", "tcp"
2044
2384
  # resp.virtual_router.status.status #=> String, one of "ACTIVE", "DELETED", "INACTIVE"
2045
2385
  # resp.virtual_router.virtual_router_name #=> String
2046
2386
  #
@@ -2130,7 +2470,7 @@ module Aws::AppMesh
2130
2470
  params: params,
2131
2471
  config: config)
2132
2472
  context[:gem_name] = 'aws-sdk-appmesh'
2133
- context[:gem_version] = '1.17.0'
2473
+ context[:gem_version] = '1.18.0'
2134
2474
  Seahorse::Client::Request.new(handlers, context)
2135
2475
  end
2136
2476