aws-sdk-appmesh 1.25.1 → 1.26.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/aws-sdk-appmesh.rb +3 -1
- data/lib/aws-sdk-appmesh/client.rb +284 -22
- data/lib/aws-sdk-appmesh/client_api.rb +27 -0
- data/lib/aws-sdk-appmesh/errors.rb +2 -0
- data/lib/aws-sdk-appmesh/resource.rb +2 -0
- data/lib/aws-sdk-appmesh/types.rb +515 -36
- metadata +2 -2
@@ -1,3 +1,5 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
1
3
|
# WARNING ABOUT GENERATED CODE
|
2
4
|
#
|
3
5
|
# This file is generated. See the contributing guide for more information:
|
@@ -77,6 +79,7 @@ module Aws::AppMesh
|
|
77
79
|
GrpcRouteMetadata = Shapes::StructureShape.new(name: 'GrpcRouteMetadata')
|
78
80
|
GrpcRouteMetadataList = Shapes::ListShape.new(name: 'GrpcRouteMetadataList')
|
79
81
|
GrpcRouteMetadataMatchMethod = Shapes::StructureShape.new(name: 'GrpcRouteMetadataMatchMethod')
|
82
|
+
GrpcTimeout = Shapes::StructureShape.new(name: 'GrpcTimeout')
|
80
83
|
HeaderMatch = Shapes::StringShape.new(name: 'HeaderMatch')
|
81
84
|
HeaderMatchMethod = Shapes::StructureShape.new(name: 'HeaderMatchMethod')
|
82
85
|
HeaderName = Shapes::StringShape.new(name: 'HeaderName')
|
@@ -95,6 +98,7 @@ module Aws::AppMesh
|
|
95
98
|
HttpRouteHeaders = Shapes::ListShape.new(name: 'HttpRouteHeaders')
|
96
99
|
HttpRouteMatch = Shapes::StructureShape.new(name: 'HttpRouteMatch')
|
97
100
|
HttpScheme = Shapes::StringShape.new(name: 'HttpScheme')
|
101
|
+
HttpTimeout = Shapes::StructureShape.new(name: 'HttpTimeout')
|
98
102
|
InternalServerErrorException = Shapes::StructureShape.new(name: 'InternalServerErrorException')
|
99
103
|
LimitExceededException = Shapes::StructureShape.new(name: 'LimitExceededException')
|
100
104
|
ListMeshesInput = Shapes::StructureShape.new(name: 'ListMeshesInput')
|
@@ -115,6 +119,7 @@ module Aws::AppMesh
|
|
115
119
|
ListVirtualServicesLimit = Shapes::IntegerShape.new(name: 'ListVirtualServicesLimit')
|
116
120
|
ListVirtualServicesOutput = Shapes::StructureShape.new(name: 'ListVirtualServicesOutput')
|
117
121
|
Listener = Shapes::StructureShape.new(name: 'Listener')
|
122
|
+
ListenerTimeout = Shapes::StructureShape.new(name: 'ListenerTimeout')
|
118
123
|
ListenerTls = Shapes::StructureShape.new(name: 'ListenerTls')
|
119
124
|
ListenerTlsAcmCertificate = Shapes::StructureShape.new(name: 'ListenerTlsAcmCertificate')
|
120
125
|
ListenerTlsCertificate = Shapes::StructureShape.new(name: 'ListenerTlsCertificate')
|
@@ -164,6 +169,7 @@ module Aws::AppMesh
|
|
164
169
|
TcpRetryPolicyEvents = Shapes::ListShape.new(name: 'TcpRetryPolicyEvents')
|
165
170
|
TcpRoute = Shapes::StructureShape.new(name: 'TcpRoute')
|
166
171
|
TcpRouteAction = Shapes::StructureShape.new(name: 'TcpRouteAction')
|
172
|
+
TcpTimeout = Shapes::StructureShape.new(name: 'TcpTimeout')
|
167
173
|
Timestamp = Shapes::TimestampShape.new(name: 'Timestamp')
|
168
174
|
TlsValidationContext = Shapes::StructureShape.new(name: 'TlsValidationContext')
|
169
175
|
TlsValidationContextAcmTrust = Shapes::StructureShape.new(name: 'TlsValidationContextAcmTrust')
|
@@ -439,6 +445,7 @@ module Aws::AppMesh
|
|
439
445
|
GrpcRoute.add_member(:action, Shapes::ShapeRef.new(shape: GrpcRouteAction, required: true, location_name: "action"))
|
440
446
|
GrpcRoute.add_member(:match, Shapes::ShapeRef.new(shape: GrpcRouteMatch, required: true, location_name: "match"))
|
441
447
|
GrpcRoute.add_member(:retry_policy, Shapes::ShapeRef.new(shape: GrpcRetryPolicy, location_name: "retryPolicy"))
|
448
|
+
GrpcRoute.add_member(:timeout, Shapes::ShapeRef.new(shape: GrpcTimeout, location_name: "timeout"))
|
442
449
|
GrpcRoute.struct_class = Types::GrpcRoute
|
443
450
|
|
444
451
|
GrpcRouteAction.add_member(:weighted_targets, Shapes::ShapeRef.new(shape: WeightedTargets, required: true, location_name: "weightedTargets"))
|
@@ -463,6 +470,10 @@ module Aws::AppMesh
|
|
463
470
|
GrpcRouteMetadataMatchMethod.add_member(:suffix, Shapes::ShapeRef.new(shape: HeaderMatch, location_name: "suffix"))
|
464
471
|
GrpcRouteMetadataMatchMethod.struct_class = Types::GrpcRouteMetadataMatchMethod
|
465
472
|
|
473
|
+
GrpcTimeout.add_member(:idle, Shapes::ShapeRef.new(shape: Duration, location_name: "idle"))
|
474
|
+
GrpcTimeout.add_member(:per_request, Shapes::ShapeRef.new(shape: Duration, location_name: "perRequest"))
|
475
|
+
GrpcTimeout.struct_class = Types::GrpcTimeout
|
476
|
+
|
466
477
|
HeaderMatchMethod.add_member(:exact, Shapes::ShapeRef.new(shape: HeaderMatch, location_name: "exact"))
|
467
478
|
HeaderMatchMethod.add_member(:prefix, Shapes::ShapeRef.new(shape: HeaderMatch, location_name: "prefix"))
|
468
479
|
HeaderMatchMethod.add_member(:range, Shapes::ShapeRef.new(shape: MatchRange, location_name: "range"))
|
@@ -490,6 +501,7 @@ module Aws::AppMesh
|
|
490
501
|
HttpRoute.add_member(:action, Shapes::ShapeRef.new(shape: HttpRouteAction, required: true, location_name: "action"))
|
491
502
|
HttpRoute.add_member(:match, Shapes::ShapeRef.new(shape: HttpRouteMatch, required: true, location_name: "match"))
|
492
503
|
HttpRoute.add_member(:retry_policy, Shapes::ShapeRef.new(shape: HttpRetryPolicy, location_name: "retryPolicy"))
|
504
|
+
HttpRoute.add_member(:timeout, Shapes::ShapeRef.new(shape: HttpTimeout, location_name: "timeout"))
|
493
505
|
HttpRoute.struct_class = Types::HttpRoute
|
494
506
|
|
495
507
|
HttpRouteAction.add_member(:weighted_targets, Shapes::ShapeRef.new(shape: WeightedTargets, required: true, location_name: "weightedTargets"))
|
@@ -508,6 +520,10 @@ module Aws::AppMesh
|
|
508
520
|
HttpRouteMatch.add_member(:scheme, Shapes::ShapeRef.new(shape: HttpScheme, location_name: "scheme"))
|
509
521
|
HttpRouteMatch.struct_class = Types::HttpRouteMatch
|
510
522
|
|
523
|
+
HttpTimeout.add_member(:idle, Shapes::ShapeRef.new(shape: Duration, location_name: "idle"))
|
524
|
+
HttpTimeout.add_member(:per_request, Shapes::ShapeRef.new(shape: Duration, location_name: "perRequest"))
|
525
|
+
HttpTimeout.struct_class = Types::HttpTimeout
|
526
|
+
|
511
527
|
InternalServerErrorException.add_member(:message, Shapes::ShapeRef.new(shape: String, location_name: "message"))
|
512
528
|
InternalServerErrorException.struct_class = Types::InternalServerErrorException
|
513
529
|
|
@@ -574,9 +590,16 @@ module Aws::AppMesh
|
|
574
590
|
|
575
591
|
Listener.add_member(:health_check, Shapes::ShapeRef.new(shape: HealthCheckPolicy, location_name: "healthCheck"))
|
576
592
|
Listener.add_member(:port_mapping, Shapes::ShapeRef.new(shape: PortMapping, required: true, location_name: "portMapping"))
|
593
|
+
Listener.add_member(:timeout, Shapes::ShapeRef.new(shape: ListenerTimeout, location_name: "timeout"))
|
577
594
|
Listener.add_member(:tls, Shapes::ShapeRef.new(shape: ListenerTls, location_name: "tls"))
|
578
595
|
Listener.struct_class = Types::Listener
|
579
596
|
|
597
|
+
ListenerTimeout.add_member(:grpc, Shapes::ShapeRef.new(shape: GrpcTimeout, location_name: "grpc"))
|
598
|
+
ListenerTimeout.add_member(:http, Shapes::ShapeRef.new(shape: HttpTimeout, location_name: "http"))
|
599
|
+
ListenerTimeout.add_member(:http2, Shapes::ShapeRef.new(shape: HttpTimeout, location_name: "http2"))
|
600
|
+
ListenerTimeout.add_member(:tcp, Shapes::ShapeRef.new(shape: TcpTimeout, location_name: "tcp"))
|
601
|
+
ListenerTimeout.struct_class = Types::ListenerTimeout
|
602
|
+
|
580
603
|
ListenerTls.add_member(:certificate, Shapes::ShapeRef.new(shape: ListenerTlsCertificate, required: true, location_name: "certificate"))
|
581
604
|
ListenerTls.add_member(:mode, Shapes::ShapeRef.new(shape: ListenerTlsMode, required: true, location_name: "mode"))
|
582
605
|
ListenerTls.struct_class = Types::ListenerTls
|
@@ -700,11 +723,15 @@ module Aws::AppMesh
|
|
700
723
|
TcpRetryPolicyEvents.member = Shapes::ShapeRef.new(shape: TcpRetryPolicyEvent)
|
701
724
|
|
702
725
|
TcpRoute.add_member(:action, Shapes::ShapeRef.new(shape: TcpRouteAction, required: true, location_name: "action"))
|
726
|
+
TcpRoute.add_member(:timeout, Shapes::ShapeRef.new(shape: TcpTimeout, location_name: "timeout"))
|
703
727
|
TcpRoute.struct_class = Types::TcpRoute
|
704
728
|
|
705
729
|
TcpRouteAction.add_member(:weighted_targets, Shapes::ShapeRef.new(shape: WeightedTargets, required: true, location_name: "weightedTargets"))
|
706
730
|
TcpRouteAction.struct_class = Types::TcpRouteAction
|
707
731
|
|
732
|
+
TcpTimeout.add_member(:idle, Shapes::ShapeRef.new(shape: Duration, location_name: "idle"))
|
733
|
+
TcpTimeout.struct_class = Types::TcpTimeout
|
734
|
+
|
708
735
|
TlsValidationContext.add_member(:trust, Shapes::ShapeRef.new(shape: TlsValidationContextTrust, required: true, location_name: "trust"))
|
709
736
|
TlsValidationContext.struct_class = Types::TlsValidationContext
|
710
737
|
|
@@ -1,3 +1,5 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
1
3
|
# WARNING ABOUT GENERATED CODE
|
2
4
|
#
|
3
5
|
# This file is generated. See the contributing guide for more information:
|
@@ -175,7 +177,7 @@ module Aws::AppMesh
|
|
175
177
|
# The AWS IAM account ID of the service mesh owner. If the account ID
|
176
178
|
# is not your own, then it's the ID of the account that shared the
|
177
179
|
# mesh with your account. For more information about mesh sharing, see
|
178
|
-
# [Working with
|
180
|
+
# [Working with shared meshes][1].
|
179
181
|
#
|
180
182
|
#
|
181
183
|
#
|
@@ -186,7 +188,7 @@ module Aws::AppMesh
|
|
186
188
|
# The AWS IAM account ID of the resource owner. If the account ID is
|
187
189
|
# not your own, then it's the ID of the mesh owner or of another
|
188
190
|
# account that the mesh is shared with. For more information about
|
189
|
-
# mesh sharing, see [Working with
|
191
|
+
# mesh sharing, see [Working with shared meshes][1].
|
190
192
|
#
|
191
193
|
#
|
192
194
|
#
|
@@ -515,7 +517,7 @@ module Aws::AppMesh
|
|
515
517
|
# The AWS IAM account ID of the service mesh owner. If the account ID
|
516
518
|
# is not your own, then it's the ID of the account that shared the
|
517
519
|
# mesh with your account. For more information about mesh sharing, see
|
518
|
-
# [Working with
|
520
|
+
# [Working with shared meshes][1].
|
519
521
|
#
|
520
522
|
#
|
521
523
|
#
|
@@ -774,7 +776,7 @@ module Aws::AppMesh
|
|
774
776
|
# is not your own, then the account that you specify must share the
|
775
777
|
# mesh with your account before you can create the resource in the
|
776
778
|
# service mesh. For more information about mesh sharing, see [Working
|
777
|
-
# with
|
779
|
+
# with shared meshes][1].
|
778
780
|
#
|
779
781
|
#
|
780
782
|
#
|
@@ -979,6 +981,44 @@ module Aws::AppMesh
|
|
979
981
|
# port: 1, # required
|
980
982
|
# protocol: "grpc", # required, accepts grpc, http, http2, tcp
|
981
983
|
# },
|
984
|
+
# timeout: {
|
985
|
+
# grpc: {
|
986
|
+
# idle: {
|
987
|
+
# unit: "ms", # accepts ms, s
|
988
|
+
# value: 1,
|
989
|
+
# },
|
990
|
+
# per_request: {
|
991
|
+
# unit: "ms", # accepts ms, s
|
992
|
+
# value: 1,
|
993
|
+
# },
|
994
|
+
# },
|
995
|
+
# http: {
|
996
|
+
# idle: {
|
997
|
+
# unit: "ms", # accepts ms, s
|
998
|
+
# value: 1,
|
999
|
+
# },
|
1000
|
+
# per_request: {
|
1001
|
+
# unit: "ms", # accepts ms, s
|
1002
|
+
# value: 1,
|
1003
|
+
# },
|
1004
|
+
# },
|
1005
|
+
# http2: {
|
1006
|
+
# idle: {
|
1007
|
+
# unit: "ms", # accepts ms, s
|
1008
|
+
# value: 1,
|
1009
|
+
# },
|
1010
|
+
# per_request: {
|
1011
|
+
# unit: "ms", # accepts ms, s
|
1012
|
+
# value: 1,
|
1013
|
+
# },
|
1014
|
+
# },
|
1015
|
+
# tcp: {
|
1016
|
+
# idle: {
|
1017
|
+
# unit: "ms", # accepts ms, s
|
1018
|
+
# value: 1,
|
1019
|
+
# },
|
1020
|
+
# },
|
1021
|
+
# },
|
982
1022
|
# tls: {
|
983
1023
|
# certificate: { # required
|
984
1024
|
# acm: {
|
@@ -1087,6 +1127,70 @@ module Aws::AppMesh
|
|
1087
1127
|
include Aws::Structure
|
1088
1128
|
end
|
1089
1129
|
|
1130
|
+
# @note When making an API call, you may pass ListenerTimeout
|
1131
|
+
# data as a hash:
|
1132
|
+
#
|
1133
|
+
# {
|
1134
|
+
# grpc: {
|
1135
|
+
# idle: {
|
1136
|
+
# unit: "ms", # accepts ms, s
|
1137
|
+
# value: 1,
|
1138
|
+
# },
|
1139
|
+
# per_request: {
|
1140
|
+
# unit: "ms", # accepts ms, s
|
1141
|
+
# value: 1,
|
1142
|
+
# },
|
1143
|
+
# },
|
1144
|
+
# http: {
|
1145
|
+
# idle: {
|
1146
|
+
# unit: "ms", # accepts ms, s
|
1147
|
+
# value: 1,
|
1148
|
+
# },
|
1149
|
+
# per_request: {
|
1150
|
+
# unit: "ms", # accepts ms, s
|
1151
|
+
# value: 1,
|
1152
|
+
# },
|
1153
|
+
# },
|
1154
|
+
# http2: {
|
1155
|
+
# idle: {
|
1156
|
+
# unit: "ms", # accepts ms, s
|
1157
|
+
# value: 1,
|
1158
|
+
# },
|
1159
|
+
# per_request: {
|
1160
|
+
# unit: "ms", # accepts ms, s
|
1161
|
+
# value: 1,
|
1162
|
+
# },
|
1163
|
+
# },
|
1164
|
+
# tcp: {
|
1165
|
+
# idle: {
|
1166
|
+
# unit: "ms", # accepts ms, s
|
1167
|
+
# value: 1,
|
1168
|
+
# },
|
1169
|
+
# },
|
1170
|
+
# }
|
1171
|
+
#
|
1172
|
+
# @!attribute [rw] grpc
|
1173
|
+
# @return [Types::GrpcTimeout]
|
1174
|
+
#
|
1175
|
+
# @!attribute [rw] http
|
1176
|
+
# @return [Types::HttpTimeout]
|
1177
|
+
#
|
1178
|
+
# @!attribute [rw] http2
|
1179
|
+
# @return [Types::HttpTimeout]
|
1180
|
+
#
|
1181
|
+
# @!attribute [rw] tcp
|
1182
|
+
# @return [Types::TcpTimeout]
|
1183
|
+
#
|
1184
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/appmesh-2019-01-25/ListenerTimeout AWS API Documentation
|
1185
|
+
#
|
1186
|
+
class ListenerTimeout < Struct.new(
|
1187
|
+
:grpc,
|
1188
|
+
:http,
|
1189
|
+
:http2,
|
1190
|
+
:tcp)
|
1191
|
+
include Aws::Structure
|
1192
|
+
end
|
1193
|
+
|
1090
1194
|
# An object that represents a Transport Layer Security (TLS) validation
|
1091
1195
|
# context trust.
|
1092
1196
|
#
|
@@ -1204,9 +1308,13 @@ module Aws::AppMesh
|
|
1204
1308
|
# @return [String]
|
1205
1309
|
#
|
1206
1310
|
# @!attribute [rw] created_at
|
1311
|
+
# The Unix epoch timestamp in seconds for when the resource was
|
1312
|
+
# created.
|
1207
1313
|
# @return [Time]
|
1208
1314
|
#
|
1209
1315
|
# @!attribute [rw] last_updated_at
|
1316
|
+
# The Unix epoch timestamp in seconds for when the resource was last
|
1317
|
+
# updated.
|
1210
1318
|
# @return [Time]
|
1211
1319
|
#
|
1212
1320
|
# @!attribute [rw] mesh_name
|
@@ -1217,7 +1325,7 @@ module Aws::AppMesh
|
|
1217
1325
|
# The AWS IAM account ID of the service mesh owner. If the account ID
|
1218
1326
|
# is not your own, then it's the ID of the account that shared the
|
1219
1327
|
# mesh with your account. For more information about mesh sharing, see
|
1220
|
-
# [Working with
|
1328
|
+
# [Working with shared meshes][1].
|
1221
1329
|
#
|
1222
1330
|
#
|
1223
1331
|
#
|
@@ -1228,7 +1336,7 @@ module Aws::AppMesh
|
|
1228
1336
|
# The AWS IAM account ID of the resource owner. If the account ID is
|
1229
1337
|
# not your own, then it's the ID of the mesh owner or of another
|
1230
1338
|
# account that the mesh is shared with. For more information about
|
1231
|
-
# mesh sharing, see [Working with
|
1339
|
+
# mesh sharing, see [Working with shared meshes][1].
|
1232
1340
|
#
|
1233
1341
|
#
|
1234
1342
|
#
|
@@ -1240,6 +1348,8 @@ module Aws::AppMesh
|
|
1240
1348
|
# @return [String]
|
1241
1349
|
#
|
1242
1350
|
# @!attribute [rw] version
|
1351
|
+
# The version of the resource. Resources are created at version 1, and
|
1352
|
+
# this version is incremented each time that they're updated.
|
1243
1353
|
# @return [Integer]
|
1244
1354
|
#
|
1245
1355
|
# @!attribute [rw] virtual_router_name
|
@@ -1278,7 +1388,7 @@ module Aws::AppMesh
|
|
1278
1388
|
# The AWS IAM account ID of the service mesh owner. If the account ID
|
1279
1389
|
# is not your own, then it's the ID of the account that shared the
|
1280
1390
|
# mesh with your account. For more information about mesh sharing, see
|
1281
|
-
# [Working with
|
1391
|
+
# [Working with shared meshes][1].
|
1282
1392
|
#
|
1283
1393
|
#
|
1284
1394
|
#
|
@@ -1683,6 +1793,44 @@ module Aws::AppMesh
|
|
1683
1793
|
# port: 1, # required
|
1684
1794
|
# protocol: "grpc", # required, accepts grpc, http, http2, tcp
|
1685
1795
|
# },
|
1796
|
+
# timeout: {
|
1797
|
+
# grpc: {
|
1798
|
+
# idle: {
|
1799
|
+
# unit: "ms", # accepts ms, s
|
1800
|
+
# value: 1,
|
1801
|
+
# },
|
1802
|
+
# per_request: {
|
1803
|
+
# unit: "ms", # accepts ms, s
|
1804
|
+
# value: 1,
|
1805
|
+
# },
|
1806
|
+
# },
|
1807
|
+
# http: {
|
1808
|
+
# idle: {
|
1809
|
+
# unit: "ms", # accepts ms, s
|
1810
|
+
# value: 1,
|
1811
|
+
# },
|
1812
|
+
# per_request: {
|
1813
|
+
# unit: "ms", # accepts ms, s
|
1814
|
+
# value: 1,
|
1815
|
+
# },
|
1816
|
+
# },
|
1817
|
+
# http2: {
|
1818
|
+
# idle: {
|
1819
|
+
# unit: "ms", # accepts ms, s
|
1820
|
+
# value: 1,
|
1821
|
+
# },
|
1822
|
+
# per_request: {
|
1823
|
+
# unit: "ms", # accepts ms, s
|
1824
|
+
# value: 1,
|
1825
|
+
# },
|
1826
|
+
# },
|
1827
|
+
# tcp: {
|
1828
|
+
# idle: {
|
1829
|
+
# unit: "ms", # accepts ms, s
|
1830
|
+
# value: 1,
|
1831
|
+
# },
|
1832
|
+
# },
|
1833
|
+
# },
|
1686
1834
|
# tls: {
|
1687
1835
|
# certificate: { # required
|
1688
1836
|
# acm: {
|
@@ -1747,7 +1895,7 @@ module Aws::AppMesh
|
|
1747
1895
|
# is not your own, then the account that you specify must share the
|
1748
1896
|
# mesh with your account before you can create the resource in the
|
1749
1897
|
# service mesh. For more information about mesh sharing, see [Working
|
1750
|
-
# with
|
1898
|
+
# with shared meshes][1].
|
1751
1899
|
#
|
1752
1900
|
#
|
1753
1901
|
#
|
@@ -1841,6 +1989,16 @@ module Aws::AppMesh
|
|
1841
1989
|
# },
|
1842
1990
|
# tcp_retry_events: ["connection-error"], # accepts connection-error
|
1843
1991
|
# },
|
1992
|
+
# timeout: {
|
1993
|
+
# idle: {
|
1994
|
+
# unit: "ms", # accepts ms, s
|
1995
|
+
# value: 1,
|
1996
|
+
# },
|
1997
|
+
# per_request: {
|
1998
|
+
# unit: "ms", # accepts ms, s
|
1999
|
+
# value: 1,
|
2000
|
+
# },
|
2001
|
+
# },
|
1844
2002
|
# },
|
1845
2003
|
# http2_route: {
|
1846
2004
|
# action: { # required
|
@@ -1881,6 +2039,16 @@ module Aws::AppMesh
|
|
1881
2039
|
# },
|
1882
2040
|
# tcp_retry_events: ["connection-error"], # accepts connection-error
|
1883
2041
|
# },
|
2042
|
+
# timeout: {
|
2043
|
+
# idle: {
|
2044
|
+
# unit: "ms", # accepts ms, s
|
2045
|
+
# value: 1,
|
2046
|
+
# },
|
2047
|
+
# per_request: {
|
2048
|
+
# unit: "ms", # accepts ms, s
|
2049
|
+
# value: 1,
|
2050
|
+
# },
|
2051
|
+
# },
|
1884
2052
|
# },
|
1885
2053
|
# http_route: {
|
1886
2054
|
# action: { # required
|
@@ -1921,6 +2089,16 @@ module Aws::AppMesh
|
|
1921
2089
|
# },
|
1922
2090
|
# tcp_retry_events: ["connection-error"], # accepts connection-error
|
1923
2091
|
# },
|
2092
|
+
# timeout: {
|
2093
|
+
# idle: {
|
2094
|
+
# unit: "ms", # accepts ms, s
|
2095
|
+
# value: 1,
|
2096
|
+
# },
|
2097
|
+
# per_request: {
|
2098
|
+
# unit: "ms", # accepts ms, s
|
2099
|
+
# value: 1,
|
2100
|
+
# },
|
2101
|
+
# },
|
1924
2102
|
# },
|
1925
2103
|
# priority: 1,
|
1926
2104
|
# tcp_route: {
|
@@ -1932,6 +2110,12 @@ module Aws::AppMesh
|
|
1932
2110
|
# },
|
1933
2111
|
# ],
|
1934
2112
|
# },
|
2113
|
+
# timeout: {
|
2114
|
+
# idle: {
|
2115
|
+
# unit: "ms", # accepts ms, s
|
2116
|
+
# value: 1,
|
2117
|
+
# },
|
2118
|
+
# },
|
1935
2119
|
# },
|
1936
2120
|
# }
|
1937
2121
|
#
|
@@ -2029,6 +2213,36 @@ module Aws::AppMesh
|
|
2029
2213
|
include Aws::Structure
|
2030
2214
|
end
|
2031
2215
|
|
2216
|
+
# @note When making an API call, you may pass HttpTimeout
|
2217
|
+
# data as a hash:
|
2218
|
+
#
|
2219
|
+
# {
|
2220
|
+
# idle: {
|
2221
|
+
# unit: "ms", # accepts ms, s
|
2222
|
+
# value: 1,
|
2223
|
+
# },
|
2224
|
+
# per_request: {
|
2225
|
+
# unit: "ms", # accepts ms, s
|
2226
|
+
# value: 1,
|
2227
|
+
# },
|
2228
|
+
# }
|
2229
|
+
#
|
2230
|
+
# @!attribute [rw] idle
|
2231
|
+
# An object that represents a duration of time.
|
2232
|
+
# @return [Types::Duration]
|
2233
|
+
#
|
2234
|
+
# @!attribute [rw] per_request
|
2235
|
+
# An object that represents a duration of time.
|
2236
|
+
# @return [Types::Duration]
|
2237
|
+
#
|
2238
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/appmesh-2019-01-25/HttpTimeout AWS API Documentation
|
2239
|
+
#
|
2240
|
+
class HttpTimeout < Struct.new(
|
2241
|
+
:idle,
|
2242
|
+
:per_request)
|
2243
|
+
include Aws::Structure
|
2244
|
+
end
|
2245
|
+
|
2032
2246
|
# @note When making an API call, you may pass DeleteVirtualServiceInput
|
2033
2247
|
# data as a hash:
|
2034
2248
|
#
|
@@ -2046,7 +2260,7 @@ module Aws::AppMesh
|
|
2046
2260
|
# The AWS IAM account ID of the service mesh owner. If the account ID
|
2047
2261
|
# is not your own, then it's the ID of the account that shared the
|
2048
2262
|
# mesh with your account. For more information about mesh sharing, see
|
2049
|
-
# [Working with
|
2263
|
+
# [Working with shared meshes][1].
|
2050
2264
|
#
|
2051
2265
|
#
|
2052
2266
|
#
|
@@ -2181,6 +2395,44 @@ module Aws::AppMesh
|
|
2181
2395
|
# port: 1, # required
|
2182
2396
|
# protocol: "grpc", # required, accepts grpc, http, http2, tcp
|
2183
2397
|
# },
|
2398
|
+
# timeout: {
|
2399
|
+
# grpc: {
|
2400
|
+
# idle: {
|
2401
|
+
# unit: "ms", # accepts ms, s
|
2402
|
+
# value: 1,
|
2403
|
+
# },
|
2404
|
+
# per_request: {
|
2405
|
+
# unit: "ms", # accepts ms, s
|
2406
|
+
# value: 1,
|
2407
|
+
# },
|
2408
|
+
# },
|
2409
|
+
# http: {
|
2410
|
+
# idle: {
|
2411
|
+
# unit: "ms", # accepts ms, s
|
2412
|
+
# value: 1,
|
2413
|
+
# },
|
2414
|
+
# per_request: {
|
2415
|
+
# unit: "ms", # accepts ms, s
|
2416
|
+
# value: 1,
|
2417
|
+
# },
|
2418
|
+
# },
|
2419
|
+
# http2: {
|
2420
|
+
# idle: {
|
2421
|
+
# unit: "ms", # accepts ms, s
|
2422
|
+
# value: 1,
|
2423
|
+
# },
|
2424
|
+
# per_request: {
|
2425
|
+
# unit: "ms", # accepts ms, s
|
2426
|
+
# value: 1,
|
2427
|
+
# },
|
2428
|
+
# },
|
2429
|
+
# tcp: {
|
2430
|
+
# idle: {
|
2431
|
+
# unit: "ms", # accepts ms, s
|
2432
|
+
# value: 1,
|
2433
|
+
# },
|
2434
|
+
# },
|
2435
|
+
# },
|
2184
2436
|
# tls: {
|
2185
2437
|
# certificate: { # required
|
2186
2438
|
# acm: {
|
@@ -2238,7 +2490,7 @@ module Aws::AppMesh
|
|
2238
2490
|
# The AWS IAM account ID of the service mesh owner. If the account ID
|
2239
2491
|
# is not your own, then it's the ID of the account that shared the
|
2240
2492
|
# mesh with your account. For more information about mesh sharing, see
|
2241
|
-
# [Working with
|
2493
|
+
# [Working with shared meshes][1].
|
2242
2494
|
#
|
2243
2495
|
#
|
2244
2496
|
#
|
@@ -2370,7 +2622,7 @@ module Aws::AppMesh
|
|
2370
2622
|
# is not your own, then the account that you specify must share the
|
2371
2623
|
# mesh with your account before you can create the resource in the
|
2372
2624
|
# service mesh. For more information about mesh sharing, see [Working
|
2373
|
-
# with
|
2625
|
+
# with shared meshes][1].
|
2374
2626
|
#
|
2375
2627
|
#
|
2376
2628
|
#
|
@@ -2442,7 +2694,7 @@ module Aws::AppMesh
|
|
2442
2694
|
# The AWS IAM account ID of the service mesh owner. If the account ID
|
2443
2695
|
# is not your own, then it's the ID of the account that shared the
|
2444
2696
|
# mesh with your account. For more information about mesh sharing, see
|
2445
|
-
# [Working with
|
2697
|
+
# [Working with shared meshes][1].
|
2446
2698
|
#
|
2447
2699
|
#
|
2448
2700
|
#
|
@@ -2551,7 +2803,7 @@ module Aws::AppMesh
|
|
2551
2803
|
# The AWS IAM account ID of the service mesh owner. If the account ID
|
2552
2804
|
# is not your own, then it's the ID of the account that shared the
|
2553
2805
|
# mesh with your account. For more information about mesh sharing, see
|
2554
|
-
# [Working with
|
2806
|
+
# [Working with shared meshes][1].
|
2555
2807
|
#
|
2556
2808
|
#
|
2557
2809
|
#
|
@@ -2589,7 +2841,7 @@ module Aws::AppMesh
|
|
2589
2841
|
# The AWS IAM account ID of the service mesh owner. If the account ID
|
2590
2842
|
# is not your own, then it's the ID of the account that shared the
|
2591
2843
|
# mesh with your account. For more information about mesh sharing, see
|
2592
|
-
# [Working with
|
2844
|
+
# [Working with shared meshes][1].
|
2593
2845
|
#
|
2594
2846
|
#
|
2595
2847
|
#
|
@@ -2662,7 +2914,7 @@ module Aws::AppMesh
|
|
2662
2914
|
# The AWS IAM account ID of the service mesh owner. If the account ID
|
2663
2915
|
# is not your own, then it's the ID of the account that shared the
|
2664
2916
|
# mesh with your account. For more information about mesh sharing, see
|
2665
|
-
# [Working with
|
2917
|
+
# [Working with shared meshes][1].
|
2666
2918
|
#
|
2667
2919
|
#
|
2668
2920
|
#
|
@@ -2756,7 +3008,7 @@ module Aws::AppMesh
|
|
2756
3008
|
# The AWS IAM account ID of the service mesh owner. If the account ID
|
2757
3009
|
# is not your own, then it's the ID of the account that shared the
|
2758
3010
|
# mesh with your account. For more information about mesh sharing, see
|
2759
|
-
# [Working with
|
3011
|
+
# [Working with shared meshes][1].
|
2760
3012
|
#
|
2761
3013
|
#
|
2762
3014
|
#
|
@@ -2793,9 +3045,13 @@ module Aws::AppMesh
|
|
2793
3045
|
# @return [String]
|
2794
3046
|
#
|
2795
3047
|
# @!attribute [rw] created_at
|
3048
|
+
# The Unix epoch timestamp in seconds for when the resource was
|
3049
|
+
# created.
|
2796
3050
|
# @return [Time]
|
2797
3051
|
#
|
2798
3052
|
# @!attribute [rw] last_updated_at
|
3053
|
+
# The Unix epoch timestamp in seconds for when the resource was last
|
3054
|
+
# updated.
|
2799
3055
|
# @return [Time]
|
2800
3056
|
#
|
2801
3057
|
# @!attribute [rw] mesh_name
|
@@ -2806,7 +3062,7 @@ module Aws::AppMesh
|
|
2806
3062
|
# The AWS IAM account ID of the service mesh owner. If the account ID
|
2807
3063
|
# is not your own, then it's the ID of the account that shared the
|
2808
3064
|
# mesh with your account. For more information about mesh sharing, see
|
2809
|
-
# [Working with
|
3065
|
+
# [Working with shared meshes][1].
|
2810
3066
|
#
|
2811
3067
|
#
|
2812
3068
|
#
|
@@ -2817,7 +3073,7 @@ module Aws::AppMesh
|
|
2817
3073
|
# The AWS IAM account ID of the resource owner. If the account ID is
|
2818
3074
|
# not your own, then it's the ID of the mesh owner or of another
|
2819
3075
|
# account that the mesh is shared with. For more information about
|
2820
|
-
# mesh sharing, see [Working with
|
3076
|
+
# mesh sharing, see [Working with shared meshes][1].
|
2821
3077
|
#
|
2822
3078
|
#
|
2823
3079
|
#
|
@@ -2825,6 +3081,8 @@ module Aws::AppMesh
|
|
2825
3081
|
# @return [String]
|
2826
3082
|
#
|
2827
3083
|
# @!attribute [rw] version
|
3084
|
+
# The version of the resource. Resources are created at version 1, and
|
3085
|
+
# this version is incremented each time that they're updated.
|
2828
3086
|
# @return [Integer]
|
2829
3087
|
#
|
2830
3088
|
# @!attribute [rw] virtual_service_name
|
@@ -2845,6 +3103,36 @@ module Aws::AppMesh
|
|
2845
3103
|
include Aws::Structure
|
2846
3104
|
end
|
2847
3105
|
|
3106
|
+
# @note When making an API call, you may pass GrpcTimeout
|
3107
|
+
# data as a hash:
|
3108
|
+
#
|
3109
|
+
# {
|
3110
|
+
# idle: {
|
3111
|
+
# unit: "ms", # accepts ms, s
|
3112
|
+
# value: 1,
|
3113
|
+
# },
|
3114
|
+
# per_request: {
|
3115
|
+
# unit: "ms", # accepts ms, s
|
3116
|
+
# value: 1,
|
3117
|
+
# },
|
3118
|
+
# }
|
3119
|
+
#
|
3120
|
+
# @!attribute [rw] idle
|
3121
|
+
# An object that represents a duration of time.
|
3122
|
+
# @return [Types::Duration]
|
3123
|
+
#
|
3124
|
+
# @!attribute [rw] per_request
|
3125
|
+
# An object that represents a duration of time.
|
3126
|
+
# @return [Types::Duration]
|
3127
|
+
#
|
3128
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/appmesh-2019-01-25/GrpcTimeout AWS API Documentation
|
3129
|
+
#
|
3130
|
+
class GrpcTimeout < Struct.new(
|
3131
|
+
:idle,
|
3132
|
+
:per_request)
|
3133
|
+
include Aws::Structure
|
3134
|
+
end
|
3135
|
+
|
2848
3136
|
# An object that represents the current status of the virtual node.
|
2849
3137
|
#
|
2850
3138
|
# @!attribute [rw] status
|
@@ -2866,9 +3154,13 @@ module Aws::AppMesh
|
|
2866
3154
|
# @return [String]
|
2867
3155
|
#
|
2868
3156
|
# @!attribute [rw] created_at
|
3157
|
+
# The Unix epoch timestamp in seconds for when the resource was
|
3158
|
+
# created.
|
2869
3159
|
# @return [Time]
|
2870
3160
|
#
|
2871
3161
|
# @!attribute [rw] last_updated_at
|
3162
|
+
# The Unix epoch timestamp in seconds for when the resource was last
|
3163
|
+
# updated.
|
2872
3164
|
# @return [Time]
|
2873
3165
|
#
|
2874
3166
|
# @!attribute [rw] mesh_name
|
@@ -2879,7 +3171,7 @@ module Aws::AppMesh
|
|
2879
3171
|
# The AWS IAM account ID of the service mesh owner. If the account ID
|
2880
3172
|
# is not your own, then it's the ID of the account that shared the
|
2881
3173
|
# mesh with your account. For more information about mesh sharing, see
|
2882
|
-
# [Working with
|
3174
|
+
# [Working with shared meshes][1].
|
2883
3175
|
#
|
2884
3176
|
#
|
2885
3177
|
#
|
@@ -2890,7 +3182,7 @@ module Aws::AppMesh
|
|
2890
3182
|
# The AWS IAM account ID of the resource owner. If the account ID is
|
2891
3183
|
# not your own, then it's the ID of the mesh owner or of another
|
2892
3184
|
# account that the mesh is shared with. For more information about
|
2893
|
-
# mesh sharing, see [Working with
|
3185
|
+
# mesh sharing, see [Working with shared meshes][1].
|
2894
3186
|
#
|
2895
3187
|
#
|
2896
3188
|
#
|
@@ -2898,6 +3190,8 @@ module Aws::AppMesh
|
|
2898
3190
|
# @return [String]
|
2899
3191
|
#
|
2900
3192
|
# @!attribute [rw] version
|
3193
|
+
# The version of the resource. Resources are created at version 1, and
|
3194
|
+
# this version is incremented each time that they're updated.
|
2901
3195
|
# @return [Integer]
|
2902
3196
|
#
|
2903
3197
|
# @!attribute [rw] virtual_router_name
|
@@ -3002,9 +3296,13 @@ module Aws::AppMesh
|
|
3002
3296
|
# @return [String]
|
3003
3297
|
#
|
3004
3298
|
# @!attribute [rw] created_at
|
3299
|
+
# The Unix epoch timestamp in seconds for when the resource was
|
3300
|
+
# created.
|
3005
3301
|
# @return [Time]
|
3006
3302
|
#
|
3007
3303
|
# @!attribute [rw] last_updated_at
|
3304
|
+
# The Unix epoch timestamp in seconds for when the resource was last
|
3305
|
+
# updated.
|
3008
3306
|
# @return [Time]
|
3009
3307
|
#
|
3010
3308
|
# @!attribute [rw] mesh_name
|
@@ -3015,7 +3313,7 @@ module Aws::AppMesh
|
|
3015
3313
|
# The AWS IAM account ID of the service mesh owner. If the account ID
|
3016
3314
|
# is not your own, then it's the ID of the account that shared the
|
3017
3315
|
# mesh with your account. For more information about mesh sharing, see
|
3018
|
-
# [Working with
|
3316
|
+
# [Working with shared meshes][1].
|
3019
3317
|
#
|
3020
3318
|
#
|
3021
3319
|
#
|
@@ -3026,7 +3324,7 @@ module Aws::AppMesh
|
|
3026
3324
|
# The AWS IAM account ID of the resource owner. If the account ID is
|
3027
3325
|
# not your own, then it's the ID of the mesh owner or of another
|
3028
3326
|
# account that the mesh is shared with. For more information about
|
3029
|
-
# mesh sharing, see [Working with
|
3327
|
+
# mesh sharing, see [Working with shared meshes][1].
|
3030
3328
|
#
|
3031
3329
|
#
|
3032
3330
|
#
|
@@ -3034,6 +3332,8 @@ module Aws::AppMesh
|
|
3034
3332
|
# @return [String]
|
3035
3333
|
#
|
3036
3334
|
# @!attribute [rw] version
|
3335
|
+
# The version of the resource. Resources are created at version 1, and
|
3336
|
+
# this version is incremented each time that they're updated.
|
3037
3337
|
# @return [Integer]
|
3038
3338
|
#
|
3039
3339
|
# @!attribute [rw] virtual_node_name
|
@@ -3229,7 +3529,7 @@ module Aws::AppMesh
|
|
3229
3529
|
# The AWS IAM account ID of the service mesh owner. If the account ID
|
3230
3530
|
# is not your own, then it's the ID of the account that shared the
|
3231
3531
|
# mesh with your account. For more information about mesh sharing, see
|
3232
|
-
# [Working with
|
3532
|
+
# [Working with shared meshes][1].
|
3233
3533
|
#
|
3234
3534
|
#
|
3235
3535
|
#
|
@@ -3351,16 +3651,26 @@ module Aws::AppMesh
|
|
3351
3651
|
# },
|
3352
3652
|
# ],
|
3353
3653
|
# },
|
3654
|
+
# timeout: {
|
3655
|
+
# idle: {
|
3656
|
+
# unit: "ms", # accepts ms, s
|
3657
|
+
# value: 1,
|
3658
|
+
# },
|
3659
|
+
# },
|
3354
3660
|
# }
|
3355
3661
|
#
|
3356
3662
|
# @!attribute [rw] action
|
3357
3663
|
# The action to take if a match is determined.
|
3358
3664
|
# @return [Types::TcpRouteAction]
|
3359
3665
|
#
|
3666
|
+
# @!attribute [rw] timeout
|
3667
|
+
# @return [Types::TcpTimeout]
|
3668
|
+
#
|
3360
3669
|
# @see http://docs.aws.amazon.com/goto/WebAPI/appmesh-2019-01-25/TcpRoute AWS API Documentation
|
3361
3670
|
#
|
3362
3671
|
class TcpRoute < Struct.new(
|
3363
|
-
:action
|
3672
|
+
:action,
|
3673
|
+
:timeout)
|
3364
3674
|
include Aws::Structure
|
3365
3675
|
end
|
3366
3676
|
|
@@ -3393,7 +3703,7 @@ module Aws::AppMesh
|
|
3393
3703
|
# The AWS IAM account ID of the service mesh owner. If the account ID
|
3394
3704
|
# is not your own, then it's the ID of the account that shared the
|
3395
3705
|
# mesh with your account. For more information about mesh sharing, see
|
3396
|
-
# [Working with
|
3706
|
+
# [Working with shared meshes][1].
|
3397
3707
|
#
|
3398
3708
|
#
|
3399
3709
|
#
|
@@ -3446,7 +3756,7 @@ module Aws::AppMesh
|
|
3446
3756
|
# The AWS IAM account ID of the service mesh owner. If the account ID
|
3447
3757
|
# is not your own, then it's the ID of the account that shared the
|
3448
3758
|
# mesh with your account. For more information about mesh sharing, see
|
3449
|
-
# [Working with
|
3759
|
+
# [Working with shared meshes][1].
|
3450
3760
|
#
|
3451
3761
|
#
|
3452
3762
|
#
|
@@ -3522,7 +3832,7 @@ module Aws::AppMesh
|
|
3522
3832
|
# The AWS IAM account ID of the service mesh owner. If the account ID
|
3523
3833
|
# is not your own, then it's the ID of the account that shared the
|
3524
3834
|
# mesh with your account. For more information about mesh sharing, see
|
3525
|
-
# [Working with
|
3835
|
+
# [Working with shared meshes][1].
|
3526
3836
|
#
|
3527
3837
|
#
|
3528
3838
|
#
|
@@ -3696,9 +4006,13 @@ module Aws::AppMesh
|
|
3696
4006
|
# @return [String]
|
3697
4007
|
#
|
3698
4008
|
# @!attribute [rw] created_at
|
4009
|
+
# The Unix epoch timestamp in seconds for when the resource was
|
4010
|
+
# created.
|
3699
4011
|
# @return [Time]
|
3700
4012
|
#
|
3701
4013
|
# @!attribute [rw] last_updated_at
|
4014
|
+
# The Unix epoch timestamp in seconds for when the resource was last
|
4015
|
+
# updated.
|
3702
4016
|
# @return [Time]
|
3703
4017
|
#
|
3704
4018
|
# @!attribute [rw] mesh_name
|
@@ -3709,7 +4023,7 @@ module Aws::AppMesh
|
|
3709
4023
|
# The AWS IAM account ID of the service mesh owner. If the account ID
|
3710
4024
|
# is not your own, then it's the ID of the account that shared the
|
3711
4025
|
# mesh with your account. For more information about mesh sharing, see
|
3712
|
-
# [Working with
|
4026
|
+
# [Working with shared meshes][1].
|
3713
4027
|
#
|
3714
4028
|
#
|
3715
4029
|
#
|
@@ -3720,7 +4034,7 @@ module Aws::AppMesh
|
|
3720
4034
|
# The AWS IAM account ID of the resource owner. If the account ID is
|
3721
4035
|
# not your own, then it's the ID of the mesh owner or of another
|
3722
4036
|
# account that the mesh is shared with. For more information about
|
3723
|
-
# mesh sharing, see [Working with
|
4037
|
+
# mesh sharing, see [Working with shared meshes][1].
|
3724
4038
|
#
|
3725
4039
|
#
|
3726
4040
|
#
|
@@ -3728,6 +4042,8 @@ module Aws::AppMesh
|
|
3728
4042
|
# @return [String]
|
3729
4043
|
#
|
3730
4044
|
# @!attribute [rw] version
|
4045
|
+
# The version of the resource. Resources are created at version 1, and
|
4046
|
+
# this version is incremented each time that they're updated.
|
3731
4047
|
# @return [Integer]
|
3732
4048
|
#
|
3733
4049
|
# @see http://docs.aws.amazon.com/goto/WebAPI/appmesh-2019-01-25/MeshRef AWS API Documentation
|
@@ -3828,7 +4144,7 @@ module Aws::AppMesh
|
|
3828
4144
|
# The AWS IAM account ID of the service mesh owner. If the account ID
|
3829
4145
|
# is not your own, then it's the ID of the account that shared the
|
3830
4146
|
# mesh with your account. For more information about mesh sharing, see
|
3831
|
-
# [Working with
|
4147
|
+
# [Working with shared meshes][1].
|
3832
4148
|
#
|
3833
4149
|
#
|
3834
4150
|
#
|
@@ -3880,6 +4196,44 @@ module Aws::AppMesh
|
|
3880
4196
|
# port: 1, # required
|
3881
4197
|
# protocol: "grpc", # required, accepts grpc, http, http2, tcp
|
3882
4198
|
# },
|
4199
|
+
# timeout: {
|
4200
|
+
# grpc: {
|
4201
|
+
# idle: {
|
4202
|
+
# unit: "ms", # accepts ms, s
|
4203
|
+
# value: 1,
|
4204
|
+
# },
|
4205
|
+
# per_request: {
|
4206
|
+
# unit: "ms", # accepts ms, s
|
4207
|
+
# value: 1,
|
4208
|
+
# },
|
4209
|
+
# },
|
4210
|
+
# http: {
|
4211
|
+
# idle: {
|
4212
|
+
# unit: "ms", # accepts ms, s
|
4213
|
+
# value: 1,
|
4214
|
+
# },
|
4215
|
+
# per_request: {
|
4216
|
+
# unit: "ms", # accepts ms, s
|
4217
|
+
# value: 1,
|
4218
|
+
# },
|
4219
|
+
# },
|
4220
|
+
# http2: {
|
4221
|
+
# idle: {
|
4222
|
+
# unit: "ms", # accepts ms, s
|
4223
|
+
# value: 1,
|
4224
|
+
# },
|
4225
|
+
# per_request: {
|
4226
|
+
# unit: "ms", # accepts ms, s
|
4227
|
+
# value: 1,
|
4228
|
+
# },
|
4229
|
+
# },
|
4230
|
+
# tcp: {
|
4231
|
+
# idle: {
|
4232
|
+
# unit: "ms", # accepts ms, s
|
4233
|
+
# value: 1,
|
4234
|
+
# },
|
4235
|
+
# },
|
4236
|
+
# },
|
3883
4237
|
# tls: {
|
3884
4238
|
# certificate: { # required
|
3885
4239
|
# acm: {
|
@@ -3902,6 +4256,9 @@ module Aws::AppMesh
|
|
3902
4256
|
# The port mapping information for the listener.
|
3903
4257
|
# @return [Types::PortMapping]
|
3904
4258
|
#
|
4259
|
+
# @!attribute [rw] timeout
|
4260
|
+
# @return [Types::ListenerTimeout]
|
4261
|
+
#
|
3905
4262
|
# @!attribute [rw] tls
|
3906
4263
|
# A reference to an object that represents the Transport Layer
|
3907
4264
|
# Security (TLS) properties for a listener.
|
@@ -3912,6 +4269,7 @@ module Aws::AppMesh
|
|
3912
4269
|
class Listener < Struct.new(
|
3913
4270
|
:health_check,
|
3914
4271
|
:port_mapping,
|
4272
|
+
:timeout,
|
3915
4273
|
:tls)
|
3916
4274
|
include Aws::Structure
|
3917
4275
|
end
|
@@ -3960,6 +4318,16 @@ module Aws::AppMesh
|
|
3960
4318
|
# },
|
3961
4319
|
# tcp_retry_events: ["connection-error"], # accepts connection-error
|
3962
4320
|
# },
|
4321
|
+
# timeout: {
|
4322
|
+
# idle: {
|
4323
|
+
# unit: "ms", # accepts ms, s
|
4324
|
+
# value: 1,
|
4325
|
+
# },
|
4326
|
+
# per_request: {
|
4327
|
+
# unit: "ms", # accepts ms, s
|
4328
|
+
# value: 1,
|
4329
|
+
# },
|
4330
|
+
# },
|
3963
4331
|
# }
|
3964
4332
|
#
|
3965
4333
|
# @!attribute [rw] action
|
@@ -3976,12 +4344,16 @@ module Aws::AppMesh
|
|
3976
4344
|
# An object that represents a retry policy.
|
3977
4345
|
# @return [Types::GrpcRetryPolicy]
|
3978
4346
|
#
|
4347
|
+
# @!attribute [rw] timeout
|
4348
|
+
# @return [Types::GrpcTimeout]
|
4349
|
+
#
|
3979
4350
|
# @see http://docs.aws.amazon.com/goto/WebAPI/appmesh-2019-01-25/GrpcRoute AWS API Documentation
|
3980
4351
|
#
|
3981
4352
|
class GrpcRoute < Struct.new(
|
3982
4353
|
:action,
|
3983
4354
|
:match,
|
3984
|
-
:retry_policy
|
4355
|
+
:retry_policy,
|
4356
|
+
:timeout)
|
3985
4357
|
include Aws::Structure
|
3986
4358
|
end
|
3987
4359
|
|
@@ -4197,7 +4569,7 @@ module Aws::AppMesh
|
|
4197
4569
|
# The AWS IAM account ID of the service mesh owner. If the account ID
|
4198
4570
|
# is not your own, then it's the ID of the account that shared the
|
4199
4571
|
# mesh with your account. For more information about mesh sharing, see
|
4200
|
-
# [Working with
|
4572
|
+
# [Working with shared meshes][1].
|
4201
4573
|
#
|
4202
4574
|
#
|
4203
4575
|
#
|
@@ -4348,6 +4720,16 @@ module Aws::AppMesh
|
|
4348
4720
|
# },
|
4349
4721
|
# tcp_retry_events: ["connection-error"], # accepts connection-error
|
4350
4722
|
# },
|
4723
|
+
# timeout: {
|
4724
|
+
# idle: {
|
4725
|
+
# unit: "ms", # accepts ms, s
|
4726
|
+
# value: 1,
|
4727
|
+
# },
|
4728
|
+
# per_request: {
|
4729
|
+
# unit: "ms", # accepts ms, s
|
4730
|
+
# value: 1,
|
4731
|
+
# },
|
4732
|
+
# },
|
4351
4733
|
# },
|
4352
4734
|
# http2_route: {
|
4353
4735
|
# action: { # required
|
@@ -4388,6 +4770,16 @@ module Aws::AppMesh
|
|
4388
4770
|
# },
|
4389
4771
|
# tcp_retry_events: ["connection-error"], # accepts connection-error
|
4390
4772
|
# },
|
4773
|
+
# timeout: {
|
4774
|
+
# idle: {
|
4775
|
+
# unit: "ms", # accepts ms, s
|
4776
|
+
# value: 1,
|
4777
|
+
# },
|
4778
|
+
# per_request: {
|
4779
|
+
# unit: "ms", # accepts ms, s
|
4780
|
+
# value: 1,
|
4781
|
+
# },
|
4782
|
+
# },
|
4391
4783
|
# },
|
4392
4784
|
# http_route: {
|
4393
4785
|
# action: { # required
|
@@ -4428,6 +4820,16 @@ module Aws::AppMesh
|
|
4428
4820
|
# },
|
4429
4821
|
# tcp_retry_events: ["connection-error"], # accepts connection-error
|
4430
4822
|
# },
|
4823
|
+
# timeout: {
|
4824
|
+
# idle: {
|
4825
|
+
# unit: "ms", # accepts ms, s
|
4826
|
+
# value: 1,
|
4827
|
+
# },
|
4828
|
+
# per_request: {
|
4829
|
+
# unit: "ms", # accepts ms, s
|
4830
|
+
# value: 1,
|
4831
|
+
# },
|
4832
|
+
# },
|
4431
4833
|
# },
|
4432
4834
|
# priority: 1,
|
4433
4835
|
# tcp_route: {
|
@@ -4439,6 +4841,12 @@ module Aws::AppMesh
|
|
4439
4841
|
# },
|
4440
4842
|
# ],
|
4441
4843
|
# },
|
4844
|
+
# timeout: {
|
4845
|
+
# idle: {
|
4846
|
+
# unit: "ms", # accepts ms, s
|
4847
|
+
# value: 1,
|
4848
|
+
# },
|
4849
|
+
# },
|
4442
4850
|
# },
|
4443
4851
|
# },
|
4444
4852
|
# tags: [
|
@@ -4468,7 +4876,7 @@ module Aws::AppMesh
|
|
4468
4876
|
# is not your own, then the account that you specify must share the
|
4469
4877
|
# mesh with your account before you can create the resource in the
|
4470
4878
|
# service mesh. For more information about mesh sharing, see [Working
|
4471
|
-
# with
|
4879
|
+
# with shared meshes][1].
|
4472
4880
|
#
|
4473
4881
|
#
|
4474
4882
|
#
|
@@ -4510,6 +4918,27 @@ module Aws::AppMesh
|
|
4510
4918
|
include Aws::Structure
|
4511
4919
|
end
|
4512
4920
|
|
4921
|
+
# @note When making an API call, you may pass TcpTimeout
|
4922
|
+
# data as a hash:
|
4923
|
+
#
|
4924
|
+
# {
|
4925
|
+
# idle: {
|
4926
|
+
# unit: "ms", # accepts ms, s
|
4927
|
+
# value: 1,
|
4928
|
+
# },
|
4929
|
+
# }
|
4930
|
+
#
|
4931
|
+
# @!attribute [rw] idle
|
4932
|
+
# An object that represents a duration of time.
|
4933
|
+
# @return [Types::Duration]
|
4934
|
+
#
|
4935
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/appmesh-2019-01-25/TcpTimeout AWS API Documentation
|
4936
|
+
#
|
4937
|
+
class TcpTimeout < Struct.new(
|
4938
|
+
:idle)
|
4939
|
+
include Aws::Structure
|
4940
|
+
end
|
4941
|
+
|
4513
4942
|
# @note When making an API call, you may pass UpdateRouteInput
|
4514
4943
|
# data as a hash:
|
4515
4944
|
#
|
@@ -4558,6 +4987,16 @@ module Aws::AppMesh
|
|
4558
4987
|
# },
|
4559
4988
|
# tcp_retry_events: ["connection-error"], # accepts connection-error
|
4560
4989
|
# },
|
4990
|
+
# timeout: {
|
4991
|
+
# idle: {
|
4992
|
+
# unit: "ms", # accepts ms, s
|
4993
|
+
# value: 1,
|
4994
|
+
# },
|
4995
|
+
# per_request: {
|
4996
|
+
# unit: "ms", # accepts ms, s
|
4997
|
+
# value: 1,
|
4998
|
+
# },
|
4999
|
+
# },
|
4561
5000
|
# },
|
4562
5001
|
# http2_route: {
|
4563
5002
|
# action: { # required
|
@@ -4598,6 +5037,16 @@ module Aws::AppMesh
|
|
4598
5037
|
# },
|
4599
5038
|
# tcp_retry_events: ["connection-error"], # accepts connection-error
|
4600
5039
|
# },
|
5040
|
+
# timeout: {
|
5041
|
+
# idle: {
|
5042
|
+
# unit: "ms", # accepts ms, s
|
5043
|
+
# value: 1,
|
5044
|
+
# },
|
5045
|
+
# per_request: {
|
5046
|
+
# unit: "ms", # accepts ms, s
|
5047
|
+
# value: 1,
|
5048
|
+
# },
|
5049
|
+
# },
|
4601
5050
|
# },
|
4602
5051
|
# http_route: {
|
4603
5052
|
# action: { # required
|
@@ -4638,6 +5087,16 @@ module Aws::AppMesh
|
|
4638
5087
|
# },
|
4639
5088
|
# tcp_retry_events: ["connection-error"], # accepts connection-error
|
4640
5089
|
# },
|
5090
|
+
# timeout: {
|
5091
|
+
# idle: {
|
5092
|
+
# unit: "ms", # accepts ms, s
|
5093
|
+
# value: 1,
|
5094
|
+
# },
|
5095
|
+
# per_request: {
|
5096
|
+
# unit: "ms", # accepts ms, s
|
5097
|
+
# value: 1,
|
5098
|
+
# },
|
5099
|
+
# },
|
4641
5100
|
# },
|
4642
5101
|
# priority: 1,
|
4643
5102
|
# tcp_route: {
|
@@ -4649,6 +5108,12 @@ module Aws::AppMesh
|
|
4649
5108
|
# },
|
4650
5109
|
# ],
|
4651
5110
|
# },
|
5111
|
+
# timeout: {
|
5112
|
+
# idle: {
|
5113
|
+
# unit: "ms", # accepts ms, s
|
5114
|
+
# value: 1,
|
5115
|
+
# },
|
5116
|
+
# },
|
4652
5117
|
# },
|
4653
5118
|
# },
|
4654
5119
|
# virtual_router_name: "ResourceName", # required
|
@@ -4671,7 +5136,7 @@ module Aws::AppMesh
|
|
4671
5136
|
# The AWS IAM account ID of the service mesh owner. If the account ID
|
4672
5137
|
# is not your own, then it's the ID of the account that shared the
|
4673
5138
|
# mesh with your account. For more information about mesh sharing, see
|
4674
|
-
# [Working with
|
5139
|
+
# [Working with shared meshes][1].
|
4675
5140
|
#
|
4676
5141
|
#
|
4677
5142
|
#
|
@@ -4747,6 +5212,16 @@ module Aws::AppMesh
|
|
4747
5212
|
# },
|
4748
5213
|
# tcp_retry_events: ["connection-error"], # accepts connection-error
|
4749
5214
|
# },
|
5215
|
+
# timeout: {
|
5216
|
+
# idle: {
|
5217
|
+
# unit: "ms", # accepts ms, s
|
5218
|
+
# value: 1,
|
5219
|
+
# },
|
5220
|
+
# per_request: {
|
5221
|
+
# unit: "ms", # accepts ms, s
|
5222
|
+
# value: 1,
|
5223
|
+
# },
|
5224
|
+
# },
|
4750
5225
|
# }
|
4751
5226
|
#
|
4752
5227
|
# @!attribute [rw] action
|
@@ -4763,12 +5238,16 @@ module Aws::AppMesh
|
|
4763
5238
|
# An object that represents a retry policy.
|
4764
5239
|
# @return [Types::HttpRetryPolicy]
|
4765
5240
|
#
|
5241
|
+
# @!attribute [rw] timeout
|
5242
|
+
# @return [Types::HttpTimeout]
|
5243
|
+
#
|
4766
5244
|
# @see http://docs.aws.amazon.com/goto/WebAPI/appmesh-2019-01-25/HttpRoute AWS API Documentation
|
4767
5245
|
#
|
4768
5246
|
class HttpRoute < Struct.new(
|
4769
5247
|
:action,
|
4770
5248
|
:match,
|
4771
|
-
:retry_policy
|
5249
|
+
:retry_policy,
|
5250
|
+
:timeout)
|
4772
5251
|
include Aws::Structure
|
4773
5252
|
end
|
4774
5253
|
|
@@ -4788,7 +5267,7 @@ module Aws::AppMesh
|
|
4788
5267
|
# The AWS IAM account ID of the service mesh owner. If the account ID
|
4789
5268
|
# is not your own, then it's the ID of the account that shared the
|
4790
5269
|
# mesh with your account. For more information about mesh sharing, see
|
4791
|
-
# [Working with
|
5270
|
+
# [Working with shared meshes][1].
|
4792
5271
|
#
|
4793
5272
|
#
|
4794
5273
|
#
|