aws-sdk-appmesh 1.13.0 → 1.14.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 +4 -4
- data/lib/aws-sdk-appmesh.rb +1 -1
- data/lib/aws-sdk-appmesh/client.rb +87 -1
- data/lib/aws-sdk-appmesh/client_api.rb +38 -0
- data/lib/aws-sdk-appmesh/types.rb +239 -1
- metadata +2 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 6244249a5a30a9e6861753e3e8ea04850781f6bc
|
|
4
|
+
data.tar.gz: 8371786f96daf5d31cef965b3e0c59554609ca51
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: ea0768e3a46140b58c89949bfc9b45c10aa12a27abbfd26c60c199f8af1135caa91237dac50de5890da794c1c9f362d25273291430dc1f329764974ecf536228
|
|
7
|
+
data.tar.gz: a28ad48b9e9fd7c6918027ab19b02467dea1907c68b23c085ef89afe128aafb6c165cb17dd6d4393e495bc3ad08cc891e6730881f134a3257e755ae91072ca6d
|
data/lib/aws-sdk-appmesh.rb
CHANGED
|
@@ -382,9 +382,28 @@ module Aws::AppMesh
|
|
|
382
382
|
# ],
|
|
383
383
|
# },
|
|
384
384
|
# match: { # required
|
|
385
|
+
# headers: [
|
|
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: "connect", # accepts connect, delete, get, head, options, patch, post, put, trace
|
|
385
402
|
# prefix: "String", # required
|
|
403
|
+
# scheme: "http", # accepts http, https
|
|
386
404
|
# },
|
|
387
405
|
# },
|
|
406
|
+
# priority: 1,
|
|
388
407
|
# tcp_route: {
|
|
389
408
|
# action: { # required
|
|
390
409
|
# weighted_targets: [ # required
|
|
@@ -417,7 +436,19 @@ module Aws::AppMesh
|
|
|
417
436
|
# resp.route.spec.http_route.action.weighted_targets #=> Array
|
|
418
437
|
# resp.route.spec.http_route.action.weighted_targets[0].virtual_node #=> String
|
|
419
438
|
# resp.route.spec.http_route.action.weighted_targets[0].weight #=> Integer
|
|
439
|
+
# resp.route.spec.http_route.match.headers #=> Array
|
|
440
|
+
# resp.route.spec.http_route.match.headers[0].invert #=> Boolean
|
|
441
|
+
# resp.route.spec.http_route.match.headers[0].match.exact #=> String
|
|
442
|
+
# resp.route.spec.http_route.match.headers[0].match.prefix #=> String
|
|
443
|
+
# resp.route.spec.http_route.match.headers[0].match.range.end #=> Integer
|
|
444
|
+
# resp.route.spec.http_route.match.headers[0].match.range.start #=> Integer
|
|
445
|
+
# resp.route.spec.http_route.match.headers[0].match.regex #=> String
|
|
446
|
+
# resp.route.spec.http_route.match.headers[0].match.suffix #=> String
|
|
447
|
+
# resp.route.spec.http_route.match.headers[0].name #=> String
|
|
448
|
+
# resp.route.spec.http_route.match.method #=> String, one of "connect", "delete", "get", "head", "options", "patch", "post", "put", "trace"
|
|
420
449
|
# resp.route.spec.http_route.match.prefix #=> String
|
|
450
|
+
# resp.route.spec.http_route.match.scheme #=> String, one of "http", "https"
|
|
451
|
+
# resp.route.spec.priority #=> Integer
|
|
421
452
|
# resp.route.spec.tcp_route.action.weighted_targets #=> Array
|
|
422
453
|
# resp.route.spec.tcp_route.action.weighted_targets[0].virtual_node #=> String
|
|
423
454
|
# resp.route.spec.tcp_route.action.weighted_targets[0].weight #=> Integer
|
|
@@ -831,7 +862,19 @@ module Aws::AppMesh
|
|
|
831
862
|
# resp.route.spec.http_route.action.weighted_targets #=> Array
|
|
832
863
|
# resp.route.spec.http_route.action.weighted_targets[0].virtual_node #=> String
|
|
833
864
|
# resp.route.spec.http_route.action.weighted_targets[0].weight #=> Integer
|
|
865
|
+
# resp.route.spec.http_route.match.headers #=> Array
|
|
866
|
+
# resp.route.spec.http_route.match.headers[0].invert #=> Boolean
|
|
867
|
+
# resp.route.spec.http_route.match.headers[0].match.exact #=> String
|
|
868
|
+
# resp.route.spec.http_route.match.headers[0].match.prefix #=> String
|
|
869
|
+
# resp.route.spec.http_route.match.headers[0].match.range.end #=> Integer
|
|
870
|
+
# resp.route.spec.http_route.match.headers[0].match.range.start #=> Integer
|
|
871
|
+
# resp.route.spec.http_route.match.headers[0].match.regex #=> String
|
|
872
|
+
# resp.route.spec.http_route.match.headers[0].match.suffix #=> String
|
|
873
|
+
# resp.route.spec.http_route.match.headers[0].name #=> String
|
|
874
|
+
# resp.route.spec.http_route.match.method #=> String, one of "connect", "delete", "get", "head", "options", "patch", "post", "put", "trace"
|
|
834
875
|
# resp.route.spec.http_route.match.prefix #=> String
|
|
876
|
+
# resp.route.spec.http_route.match.scheme #=> String, one of "http", "https"
|
|
877
|
+
# resp.route.spec.priority #=> Integer
|
|
835
878
|
# resp.route.spec.tcp_route.action.weighted_targets #=> Array
|
|
836
879
|
# resp.route.spec.tcp_route.action.weighted_targets[0].virtual_node #=> String
|
|
837
880
|
# resp.route.spec.tcp_route.action.weighted_targets[0].weight #=> Integer
|
|
@@ -1064,7 +1107,19 @@ module Aws::AppMesh
|
|
|
1064
1107
|
# resp.route.spec.http_route.action.weighted_targets #=> Array
|
|
1065
1108
|
# resp.route.spec.http_route.action.weighted_targets[0].virtual_node #=> String
|
|
1066
1109
|
# resp.route.spec.http_route.action.weighted_targets[0].weight #=> Integer
|
|
1110
|
+
# resp.route.spec.http_route.match.headers #=> Array
|
|
1111
|
+
# resp.route.spec.http_route.match.headers[0].invert #=> Boolean
|
|
1112
|
+
# resp.route.spec.http_route.match.headers[0].match.exact #=> String
|
|
1113
|
+
# resp.route.spec.http_route.match.headers[0].match.prefix #=> String
|
|
1114
|
+
# resp.route.spec.http_route.match.headers[0].match.range.end #=> Integer
|
|
1115
|
+
# resp.route.spec.http_route.match.headers[0].match.range.start #=> Integer
|
|
1116
|
+
# resp.route.spec.http_route.match.headers[0].match.regex #=> String
|
|
1117
|
+
# resp.route.spec.http_route.match.headers[0].match.suffix #=> String
|
|
1118
|
+
# resp.route.spec.http_route.match.headers[0].name #=> String
|
|
1119
|
+
# resp.route.spec.http_route.match.method #=> String, one of "connect", "delete", "get", "head", "options", "patch", "post", "put", "trace"
|
|
1067
1120
|
# resp.route.spec.http_route.match.prefix #=> String
|
|
1121
|
+
# resp.route.spec.http_route.match.scheme #=> String, one of "http", "https"
|
|
1122
|
+
# resp.route.spec.priority #=> Integer
|
|
1068
1123
|
# resp.route.spec.tcp_route.action.weighted_targets #=> Array
|
|
1069
1124
|
# resp.route.spec.tcp_route.action.weighted_targets[0].virtual_node #=> String
|
|
1070
1125
|
# resp.route.spec.tcp_route.action.weighted_targets[0].weight #=> Integer
|
|
@@ -1692,9 +1747,28 @@ module Aws::AppMesh
|
|
|
1692
1747
|
# ],
|
|
1693
1748
|
# },
|
|
1694
1749
|
# match: { # required
|
|
1750
|
+
# headers: [
|
|
1751
|
+
# {
|
|
1752
|
+
# invert: false,
|
|
1753
|
+
# match: {
|
|
1754
|
+
# exact: "HeaderMatch",
|
|
1755
|
+
# prefix: "HeaderMatch",
|
|
1756
|
+
# range: {
|
|
1757
|
+
# end: 1, # required
|
|
1758
|
+
# start: 1, # required
|
|
1759
|
+
# },
|
|
1760
|
+
# regex: "HeaderMatch",
|
|
1761
|
+
# suffix: "HeaderMatch",
|
|
1762
|
+
# },
|
|
1763
|
+
# name: "HeaderName", # required
|
|
1764
|
+
# },
|
|
1765
|
+
# ],
|
|
1766
|
+
# method: "connect", # accepts connect, delete, get, head, options, patch, post, put, trace
|
|
1695
1767
|
# prefix: "String", # required
|
|
1768
|
+
# scheme: "http", # accepts http, https
|
|
1696
1769
|
# },
|
|
1697
1770
|
# },
|
|
1771
|
+
# priority: 1,
|
|
1698
1772
|
# tcp_route: {
|
|
1699
1773
|
# action: { # required
|
|
1700
1774
|
# weighted_targets: [ # required
|
|
@@ -1721,7 +1795,19 @@ module Aws::AppMesh
|
|
|
1721
1795
|
# resp.route.spec.http_route.action.weighted_targets #=> Array
|
|
1722
1796
|
# resp.route.spec.http_route.action.weighted_targets[0].virtual_node #=> String
|
|
1723
1797
|
# resp.route.spec.http_route.action.weighted_targets[0].weight #=> Integer
|
|
1798
|
+
# resp.route.spec.http_route.match.headers #=> Array
|
|
1799
|
+
# resp.route.spec.http_route.match.headers[0].invert #=> Boolean
|
|
1800
|
+
# resp.route.spec.http_route.match.headers[0].match.exact #=> String
|
|
1801
|
+
# resp.route.spec.http_route.match.headers[0].match.prefix #=> String
|
|
1802
|
+
# resp.route.spec.http_route.match.headers[0].match.range.end #=> Integer
|
|
1803
|
+
# resp.route.spec.http_route.match.headers[0].match.range.start #=> Integer
|
|
1804
|
+
# resp.route.spec.http_route.match.headers[0].match.regex #=> String
|
|
1805
|
+
# resp.route.spec.http_route.match.headers[0].match.suffix #=> String
|
|
1806
|
+
# resp.route.spec.http_route.match.headers[0].name #=> String
|
|
1807
|
+
# resp.route.spec.http_route.match.method #=> String, one of "connect", "delete", "get", "head", "options", "patch", "post", "put", "trace"
|
|
1724
1808
|
# resp.route.spec.http_route.match.prefix #=> String
|
|
1809
|
+
# resp.route.spec.http_route.match.scheme #=> String, one of "http", "https"
|
|
1810
|
+
# resp.route.spec.priority #=> Integer
|
|
1725
1811
|
# resp.route.spec.tcp_route.action.weighted_targets #=> Array
|
|
1726
1812
|
# resp.route.spec.tcp_route.action.weighted_targets[0].virtual_node #=> String
|
|
1727
1813
|
# resp.route.spec.tcp_route.action.weighted_targets[0].weight #=> Integer
|
|
@@ -1998,7 +2084,7 @@ module Aws::AppMesh
|
|
|
1998
2084
|
params: params,
|
|
1999
2085
|
config: config)
|
|
2000
2086
|
context[:gem_name] = 'aws-sdk-appmesh'
|
|
2001
|
-
context[:gem_version] = '1.
|
|
2087
|
+
context[:gem_version] = '1.14.0'
|
|
2002
2088
|
Seahorse::Client::Request.new(handlers, context)
|
|
2003
2089
|
end
|
|
2004
2090
|
|
|
@@ -22,6 +22,7 @@ module Aws::AppMesh
|
|
|
22
22
|
Backend = Shapes::StructureShape.new(name: 'Backend')
|
|
23
23
|
Backends = Shapes::ListShape.new(name: 'Backends')
|
|
24
24
|
BadRequestException = Shapes::StructureShape.new(name: 'BadRequestException')
|
|
25
|
+
Boolean = Shapes::BooleanShape.new(name: 'Boolean')
|
|
25
26
|
ConflictException = Shapes::StructureShape.new(name: 'ConflictException')
|
|
26
27
|
CreateMeshInput = Shapes::StructureShape.new(name: 'CreateMeshInput')
|
|
27
28
|
CreateMeshOutput = Shapes::StructureShape.new(name: 'CreateMeshOutput')
|
|
@@ -59,14 +60,21 @@ module Aws::AppMesh
|
|
|
59
60
|
FileAccessLog = Shapes::StructureShape.new(name: 'FileAccessLog')
|
|
60
61
|
FilePath = Shapes::StringShape.new(name: 'FilePath')
|
|
61
62
|
ForbiddenException = Shapes::StructureShape.new(name: 'ForbiddenException')
|
|
63
|
+
HeaderMatch = Shapes::StringShape.new(name: 'HeaderMatch')
|
|
64
|
+
HeaderMatchMethod = Shapes::StructureShape.new(name: 'HeaderMatchMethod')
|
|
65
|
+
HeaderName = Shapes::StringShape.new(name: 'HeaderName')
|
|
62
66
|
HealthCheckIntervalMillis = Shapes::IntegerShape.new(name: 'HealthCheckIntervalMillis')
|
|
63
67
|
HealthCheckPolicy = Shapes::StructureShape.new(name: 'HealthCheckPolicy')
|
|
64
68
|
HealthCheckThreshold = Shapes::IntegerShape.new(name: 'HealthCheckThreshold')
|
|
65
69
|
HealthCheckTimeoutMillis = Shapes::IntegerShape.new(name: 'HealthCheckTimeoutMillis')
|
|
66
70
|
Hostname = Shapes::StringShape.new(name: 'Hostname')
|
|
71
|
+
HttpMethod = Shapes::StringShape.new(name: 'HttpMethod')
|
|
67
72
|
HttpRoute = Shapes::StructureShape.new(name: 'HttpRoute')
|
|
68
73
|
HttpRouteAction = Shapes::StructureShape.new(name: 'HttpRouteAction')
|
|
74
|
+
HttpRouteHeader = Shapes::StructureShape.new(name: 'HttpRouteHeader')
|
|
75
|
+
HttpRouteHeaders = Shapes::ListShape.new(name: 'HttpRouteHeaders')
|
|
69
76
|
HttpRouteMatch = Shapes::StructureShape.new(name: 'HttpRouteMatch')
|
|
77
|
+
HttpScheme = Shapes::StringShape.new(name: 'HttpScheme')
|
|
70
78
|
InternalServerErrorException = Shapes::StructureShape.new(name: 'InternalServerErrorException')
|
|
71
79
|
LimitExceededException = Shapes::StructureShape.new(name: 'LimitExceededException')
|
|
72
80
|
ListMeshesInput = Shapes::StructureShape.new(name: 'ListMeshesInput')
|
|
@@ -90,6 +98,7 @@ module Aws::AppMesh
|
|
|
90
98
|
Listeners = Shapes::ListShape.new(name: 'Listeners')
|
|
91
99
|
Logging = Shapes::StructureShape.new(name: 'Logging')
|
|
92
100
|
Long = Shapes::IntegerShape.new(name: 'Long')
|
|
101
|
+
MatchRange = Shapes::StructureShape.new(name: 'MatchRange')
|
|
93
102
|
MeshData = Shapes::StructureShape.new(name: 'MeshData')
|
|
94
103
|
MeshList = Shapes::ListShape.new(name: 'MeshList')
|
|
95
104
|
MeshRef = Shapes::StructureShape.new(name: 'MeshRef')
|
|
@@ -106,6 +115,7 @@ module Aws::AppMesh
|
|
|
106
115
|
ResourceName = Shapes::StringShape.new(name: 'ResourceName')
|
|
107
116
|
RouteData = Shapes::StructureShape.new(name: 'RouteData')
|
|
108
117
|
RouteList = Shapes::ListShape.new(name: 'RouteList')
|
|
118
|
+
RoutePriority = Shapes::IntegerShape.new(name: 'RoutePriority')
|
|
109
119
|
RouteRef = Shapes::StructureShape.new(name: 'RouteRef')
|
|
110
120
|
RouteSpec = Shapes::StructureShape.new(name: 'RouteSpec')
|
|
111
121
|
RouteStatus = Shapes::StructureShape.new(name: 'RouteStatus')
|
|
@@ -353,6 +363,13 @@ module Aws::AppMesh
|
|
|
353
363
|
ForbiddenException.add_member(:message, Shapes::ShapeRef.new(shape: String, location_name: "message"))
|
|
354
364
|
ForbiddenException.struct_class = Types::ForbiddenException
|
|
355
365
|
|
|
366
|
+
HeaderMatchMethod.add_member(:exact, Shapes::ShapeRef.new(shape: HeaderMatch, location_name: "exact"))
|
|
367
|
+
HeaderMatchMethod.add_member(:prefix, Shapes::ShapeRef.new(shape: HeaderMatch, location_name: "prefix"))
|
|
368
|
+
HeaderMatchMethod.add_member(:range, Shapes::ShapeRef.new(shape: MatchRange, location_name: "range"))
|
|
369
|
+
HeaderMatchMethod.add_member(:regex, Shapes::ShapeRef.new(shape: HeaderMatch, location_name: "regex"))
|
|
370
|
+
HeaderMatchMethod.add_member(:suffix, Shapes::ShapeRef.new(shape: HeaderMatch, location_name: "suffix"))
|
|
371
|
+
HeaderMatchMethod.struct_class = Types::HeaderMatchMethod
|
|
372
|
+
|
|
356
373
|
HealthCheckPolicy.add_member(:healthy_threshold, Shapes::ShapeRef.new(shape: HealthCheckThreshold, required: true, location_name: "healthyThreshold"))
|
|
357
374
|
HealthCheckPolicy.add_member(:interval_millis, Shapes::ShapeRef.new(shape: HealthCheckIntervalMillis, required: true, location_name: "intervalMillis"))
|
|
358
375
|
HealthCheckPolicy.add_member(:path, Shapes::ShapeRef.new(shape: String, location_name: "path"))
|
|
@@ -369,7 +386,17 @@ module Aws::AppMesh
|
|
|
369
386
|
HttpRouteAction.add_member(:weighted_targets, Shapes::ShapeRef.new(shape: WeightedTargets, required: true, location_name: "weightedTargets"))
|
|
370
387
|
HttpRouteAction.struct_class = Types::HttpRouteAction
|
|
371
388
|
|
|
389
|
+
HttpRouteHeader.add_member(:invert, Shapes::ShapeRef.new(shape: Boolean, location_name: "invert"))
|
|
390
|
+
HttpRouteHeader.add_member(:match, Shapes::ShapeRef.new(shape: HeaderMatchMethod, location_name: "match"))
|
|
391
|
+
HttpRouteHeader.add_member(:name, Shapes::ShapeRef.new(shape: HeaderName, required: true, location_name: "name"))
|
|
392
|
+
HttpRouteHeader.struct_class = Types::HttpRouteHeader
|
|
393
|
+
|
|
394
|
+
HttpRouteHeaders.member = Shapes::ShapeRef.new(shape: HttpRouteHeader)
|
|
395
|
+
|
|
396
|
+
HttpRouteMatch.add_member(:headers, Shapes::ShapeRef.new(shape: HttpRouteHeaders, location_name: "headers"))
|
|
397
|
+
HttpRouteMatch.add_member(:method, Shapes::ShapeRef.new(shape: HttpMethod, location_name: "method"))
|
|
372
398
|
HttpRouteMatch.add_member(:prefix, Shapes::ShapeRef.new(shape: String, required: true, location_name: "prefix"))
|
|
399
|
+
HttpRouteMatch.add_member(:scheme, Shapes::ShapeRef.new(shape: HttpScheme, location_name: "scheme"))
|
|
373
400
|
HttpRouteMatch.struct_class = Types::HttpRouteMatch
|
|
374
401
|
|
|
375
402
|
InternalServerErrorException.add_member(:message, Shapes::ShapeRef.new(shape: String, location_name: "message"))
|
|
@@ -441,6 +468,10 @@ module Aws::AppMesh
|
|
|
441
468
|
Logging.add_member(:access_log, Shapes::ShapeRef.new(shape: AccessLog, location_name: "accessLog"))
|
|
442
469
|
Logging.struct_class = Types::Logging
|
|
443
470
|
|
|
471
|
+
MatchRange.add_member(:end, Shapes::ShapeRef.new(shape: Long, required: true, location_name: "end"))
|
|
472
|
+
MatchRange.add_member(:start, Shapes::ShapeRef.new(shape: Long, required: true, location_name: "start"))
|
|
473
|
+
MatchRange.struct_class = Types::MatchRange
|
|
474
|
+
|
|
444
475
|
MeshData.add_member(:mesh_name, Shapes::ShapeRef.new(shape: ResourceName, required: true, location_name: "meshName"))
|
|
445
476
|
MeshData.add_member(:metadata, Shapes::ShapeRef.new(shape: ResourceMetadata, required: true, location_name: "metadata"))
|
|
446
477
|
MeshData.add_member(:spec, Shapes::ShapeRef.new(shape: MeshSpec, required: true, location_name: "spec"))
|
|
@@ -493,6 +524,7 @@ module Aws::AppMesh
|
|
|
493
524
|
RouteRef.struct_class = Types::RouteRef
|
|
494
525
|
|
|
495
526
|
RouteSpec.add_member(:http_route, Shapes::ShapeRef.new(shape: HttpRoute, location_name: "httpRoute"))
|
|
527
|
+
RouteSpec.add_member(:priority, Shapes::ShapeRef.new(shape: RoutePriority, location_name: "priority"))
|
|
496
528
|
RouteSpec.add_member(:tcp_route, Shapes::ShapeRef.new(shape: TcpRoute, location_name: "tcpRoute"))
|
|
497
529
|
RouteSpec.struct_class = Types::RouteSpec
|
|
498
530
|
|
|
@@ -969,9 +1001,11 @@ module Aws::AppMesh
|
|
|
969
1001
|
o.input = Shapes::ShapeRef.new(shape: ListTagsForResourceInput)
|
|
970
1002
|
o.output = Shapes::ShapeRef.new(shape: ListTagsForResourceOutput)
|
|
971
1003
|
o.errors << Shapes::ShapeRef.new(shape: BadRequestException)
|
|
1004
|
+
o.errors << Shapes::ShapeRef.new(shape: ForbiddenException)
|
|
972
1005
|
o.errors << Shapes::ShapeRef.new(shape: InternalServerErrorException)
|
|
973
1006
|
o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
|
|
974
1007
|
o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException)
|
|
1008
|
+
o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
|
|
975
1009
|
o[:pager] = Aws::Pager.new(
|
|
976
1010
|
limit_key: "limit",
|
|
977
1011
|
tokens: {
|
|
@@ -1047,9 +1081,11 @@ module Aws::AppMesh
|
|
|
1047
1081
|
o.input = Shapes::ShapeRef.new(shape: TagResourceInput)
|
|
1048
1082
|
o.output = Shapes::ShapeRef.new(shape: TagResourceOutput)
|
|
1049
1083
|
o.errors << Shapes::ShapeRef.new(shape: BadRequestException)
|
|
1084
|
+
o.errors << Shapes::ShapeRef.new(shape: ForbiddenException)
|
|
1050
1085
|
o.errors << Shapes::ShapeRef.new(shape: InternalServerErrorException)
|
|
1051
1086
|
o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
|
|
1052
1087
|
o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException)
|
|
1088
|
+
o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
|
|
1053
1089
|
o.errors << Shapes::ShapeRef.new(shape: TooManyTagsException)
|
|
1054
1090
|
end)
|
|
1055
1091
|
|
|
@@ -1060,9 +1096,11 @@ module Aws::AppMesh
|
|
|
1060
1096
|
o.input = Shapes::ShapeRef.new(shape: UntagResourceInput)
|
|
1061
1097
|
o.output = Shapes::ShapeRef.new(shape: UntagResourceOutput)
|
|
1062
1098
|
o.errors << Shapes::ShapeRef.new(shape: BadRequestException)
|
|
1099
|
+
o.errors << Shapes::ShapeRef.new(shape: ForbiddenException)
|
|
1063
1100
|
o.errors << Shapes::ShapeRef.new(shape: InternalServerErrorException)
|
|
1064
1101
|
o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
|
|
1065
1102
|
o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException)
|
|
1103
|
+
o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
|
|
1066
1104
|
end)
|
|
1067
1105
|
|
|
1068
1106
|
api.add_operation(:update_mesh, Seahorse::Model::Operation.new.tap do |o|
|
|
@@ -881,6 +881,49 @@ module Aws::AppMesh
|
|
|
881
881
|
include Aws::Structure
|
|
882
882
|
end
|
|
883
883
|
|
|
884
|
+
# An object representing the HTTP header in the request.
|
|
885
|
+
#
|
|
886
|
+
# @note When making an API call, you may pass HttpRouteHeader
|
|
887
|
+
# data as a hash:
|
|
888
|
+
#
|
|
889
|
+
# {
|
|
890
|
+
# invert: false,
|
|
891
|
+
# match: {
|
|
892
|
+
# exact: "HeaderMatch",
|
|
893
|
+
# prefix: "HeaderMatch",
|
|
894
|
+
# range: {
|
|
895
|
+
# end: 1, # required
|
|
896
|
+
# start: 1, # required
|
|
897
|
+
# },
|
|
898
|
+
# regex: "HeaderMatch",
|
|
899
|
+
# suffix: "HeaderMatch",
|
|
900
|
+
# },
|
|
901
|
+
# name: "HeaderName", # required
|
|
902
|
+
# }
|
|
903
|
+
#
|
|
904
|
+
# @!attribute [rw] invert
|
|
905
|
+
# Specify `True` to match the opposite of the `HeaderMatchMethod`
|
|
906
|
+
# method and value. The default value is `False`.
|
|
907
|
+
# @return [Boolean]
|
|
908
|
+
#
|
|
909
|
+
# @!attribute [rw] match
|
|
910
|
+
# The `HeaderMatchMethod` object.
|
|
911
|
+
# @return [Types::HeaderMatchMethod]
|
|
912
|
+
#
|
|
913
|
+
# @!attribute [rw] name
|
|
914
|
+
# A name for the HTTP header in the client request that will be
|
|
915
|
+
# matched on.
|
|
916
|
+
# @return [String]
|
|
917
|
+
#
|
|
918
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/appmesh-2019-01-25/HttpRouteHeader AWS API Documentation
|
|
919
|
+
#
|
|
920
|
+
class HttpRouteHeader < Struct.new(
|
|
921
|
+
:invert,
|
|
922
|
+
:match,
|
|
923
|
+
:name)
|
|
924
|
+
include Aws::Structure
|
|
925
|
+
end
|
|
926
|
+
|
|
884
927
|
# @!attribute [rw] virtual_service
|
|
885
928
|
# The full description of your virtual service.
|
|
886
929
|
# @return [Types::VirtualServiceData]
|
|
@@ -1215,6 +1258,34 @@ module Aws::AppMesh
|
|
|
1215
1258
|
include Aws::Structure
|
|
1216
1259
|
end
|
|
1217
1260
|
|
|
1261
|
+
# The range of values to match on. The first character of the range is
|
|
1262
|
+
# included in the range, though the last character is not. For example,
|
|
1263
|
+
# if the range specified were 1-100, only values 1-99 would be matched.
|
|
1264
|
+
#
|
|
1265
|
+
# @note When making an API call, you may pass MatchRange
|
|
1266
|
+
# data as a hash:
|
|
1267
|
+
#
|
|
1268
|
+
# {
|
|
1269
|
+
# end: 1, # required
|
|
1270
|
+
# start: 1, # required
|
|
1271
|
+
# }
|
|
1272
|
+
#
|
|
1273
|
+
# @!attribute [rw] end
|
|
1274
|
+
# End of the range value.
|
|
1275
|
+
# @return [Integer]
|
|
1276
|
+
#
|
|
1277
|
+
# @!attribute [rw] start
|
|
1278
|
+
# Start of the range value.
|
|
1279
|
+
# @return [Integer]
|
|
1280
|
+
#
|
|
1281
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/appmesh-2019-01-25/MatchRange AWS API Documentation
|
|
1282
|
+
#
|
|
1283
|
+
class MatchRange < Struct.new(
|
|
1284
|
+
:end,
|
|
1285
|
+
:start)
|
|
1286
|
+
include Aws::Structure
|
|
1287
|
+
end
|
|
1288
|
+
|
|
1218
1289
|
# @note When making an API call, you may pass ListMeshesInput
|
|
1219
1290
|
# data as a hash:
|
|
1220
1291
|
#
|
|
@@ -1790,9 +1861,35 @@ module Aws::AppMesh
|
|
|
1790
1861
|
# data as a hash:
|
|
1791
1862
|
#
|
|
1792
1863
|
# {
|
|
1864
|
+
# headers: [
|
|
1865
|
+
# {
|
|
1866
|
+
# invert: false,
|
|
1867
|
+
# match: {
|
|
1868
|
+
# exact: "HeaderMatch",
|
|
1869
|
+
# prefix: "HeaderMatch",
|
|
1870
|
+
# range: {
|
|
1871
|
+
# end: 1, # required
|
|
1872
|
+
# start: 1, # required
|
|
1873
|
+
# },
|
|
1874
|
+
# regex: "HeaderMatch",
|
|
1875
|
+
# suffix: "HeaderMatch",
|
|
1876
|
+
# },
|
|
1877
|
+
# name: "HeaderName", # required
|
|
1878
|
+
# },
|
|
1879
|
+
# ],
|
|
1880
|
+
# method: "connect", # accepts connect, delete, get, head, options, patch, post, put, trace
|
|
1793
1881
|
# prefix: "String", # required
|
|
1882
|
+
# scheme: "http", # accepts http, https
|
|
1794
1883
|
# }
|
|
1795
1884
|
#
|
|
1885
|
+
# @!attribute [rw] headers
|
|
1886
|
+
# The client request headers to match on.
|
|
1887
|
+
# @return [Array<Types::HttpRouteHeader>]
|
|
1888
|
+
#
|
|
1889
|
+
# @!attribute [rw] method
|
|
1890
|
+
# The client request header method to match on.
|
|
1891
|
+
# @return [String]
|
|
1892
|
+
#
|
|
1796
1893
|
# @!attribute [rw] prefix
|
|
1797
1894
|
# Specifies the path to match requests with. This parameter must
|
|
1798
1895
|
# always start with `/`, which by itself matches all requests to the
|
|
@@ -1802,10 +1899,17 @@ module Aws::AppMesh
|
|
|
1802
1899
|
# `my-service.local/metrics`, your prefix should be `/metrics`.
|
|
1803
1900
|
# @return [String]
|
|
1804
1901
|
#
|
|
1902
|
+
# @!attribute [rw] scheme
|
|
1903
|
+
# The client request scheme to match on.
|
|
1904
|
+
# @return [String]
|
|
1905
|
+
#
|
|
1805
1906
|
# @see http://docs.aws.amazon.com/goto/WebAPI/appmesh-2019-01-25/HttpRouteMatch AWS API Documentation
|
|
1806
1907
|
#
|
|
1807
1908
|
class HttpRouteMatch < Struct.new(
|
|
1808
|
-
:
|
|
1909
|
+
:headers,
|
|
1910
|
+
:method,
|
|
1911
|
+
:prefix,
|
|
1912
|
+
:scheme)
|
|
1809
1913
|
include Aws::Structure
|
|
1810
1914
|
end
|
|
1811
1915
|
|
|
@@ -2270,6 +2374,59 @@ module Aws::AppMesh
|
|
|
2270
2374
|
include Aws::Structure
|
|
2271
2375
|
end
|
|
2272
2376
|
|
|
2377
|
+
# An object representing the method and value to match the header value
|
|
2378
|
+
# sent with a request. Specify one match method.
|
|
2379
|
+
#
|
|
2380
|
+
# @note When making an API call, you may pass HeaderMatchMethod
|
|
2381
|
+
# data as a hash:
|
|
2382
|
+
#
|
|
2383
|
+
# {
|
|
2384
|
+
# exact: "HeaderMatch",
|
|
2385
|
+
# prefix: "HeaderMatch",
|
|
2386
|
+
# range: {
|
|
2387
|
+
# end: 1, # required
|
|
2388
|
+
# start: 1, # required
|
|
2389
|
+
# },
|
|
2390
|
+
# regex: "HeaderMatch",
|
|
2391
|
+
# suffix: "HeaderMatch",
|
|
2392
|
+
# }
|
|
2393
|
+
#
|
|
2394
|
+
# @!attribute [rw] exact
|
|
2395
|
+
# The header value sent by the client must match the specified value
|
|
2396
|
+
# exactly.
|
|
2397
|
+
# @return [String]
|
|
2398
|
+
#
|
|
2399
|
+
# @!attribute [rw] prefix
|
|
2400
|
+
# The header value sent by the client must begin with the specified
|
|
2401
|
+
# characters.
|
|
2402
|
+
# @return [String]
|
|
2403
|
+
#
|
|
2404
|
+
# @!attribute [rw] range
|
|
2405
|
+
# The object that specifies the range of numbers within which the
|
|
2406
|
+
# header value sent by the client must be included.
|
|
2407
|
+
# @return [Types::MatchRange]
|
|
2408
|
+
#
|
|
2409
|
+
# @!attribute [rw] regex
|
|
2410
|
+
# The header value sent by the client must include the specified
|
|
2411
|
+
# characters.
|
|
2412
|
+
# @return [String]
|
|
2413
|
+
#
|
|
2414
|
+
# @!attribute [rw] suffix
|
|
2415
|
+
# The header value sent by the client must end with the specified
|
|
2416
|
+
# characters.
|
|
2417
|
+
# @return [String]
|
|
2418
|
+
#
|
|
2419
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/appmesh-2019-01-25/HeaderMatchMethod AWS API Documentation
|
|
2420
|
+
#
|
|
2421
|
+
class HeaderMatchMethod < Struct.new(
|
|
2422
|
+
:exact,
|
|
2423
|
+
:prefix,
|
|
2424
|
+
:range,
|
|
2425
|
+
:regex,
|
|
2426
|
+
:suffix)
|
|
2427
|
+
include Aws::Structure
|
|
2428
|
+
end
|
|
2429
|
+
|
|
2273
2430
|
# @!attribute [rw] mesh
|
|
2274
2431
|
# The service mesh that was deleted.
|
|
2275
2432
|
# @return [Types::MeshData]
|
|
@@ -2331,9 +2488,28 @@ module Aws::AppMesh
|
|
|
2331
2488
|
# ],
|
|
2332
2489
|
# },
|
|
2333
2490
|
# match: { # required
|
|
2491
|
+
# headers: [
|
|
2492
|
+
# {
|
|
2493
|
+
# invert: false,
|
|
2494
|
+
# match: {
|
|
2495
|
+
# exact: "HeaderMatch",
|
|
2496
|
+
# prefix: "HeaderMatch",
|
|
2497
|
+
# range: {
|
|
2498
|
+
# end: 1, # required
|
|
2499
|
+
# start: 1, # required
|
|
2500
|
+
# },
|
|
2501
|
+
# regex: "HeaderMatch",
|
|
2502
|
+
# suffix: "HeaderMatch",
|
|
2503
|
+
# },
|
|
2504
|
+
# name: "HeaderName", # required
|
|
2505
|
+
# },
|
|
2506
|
+
# ],
|
|
2507
|
+
# method: "connect", # accepts connect, delete, get, head, options, patch, post, put, trace
|
|
2334
2508
|
# prefix: "String", # required
|
|
2509
|
+
# scheme: "http", # accepts http, https
|
|
2335
2510
|
# },
|
|
2336
2511
|
# },
|
|
2512
|
+
# priority: 1,
|
|
2337
2513
|
# tcp_route: {
|
|
2338
2514
|
# action: { # required
|
|
2339
2515
|
# weighted_targets: [ # required
|
|
@@ -2499,9 +2675,28 @@ module Aws::AppMesh
|
|
|
2499
2675
|
# ],
|
|
2500
2676
|
# },
|
|
2501
2677
|
# match: { # required
|
|
2678
|
+
# headers: [
|
|
2679
|
+
# {
|
|
2680
|
+
# invert: false,
|
|
2681
|
+
# match: {
|
|
2682
|
+
# exact: "HeaderMatch",
|
|
2683
|
+
# prefix: "HeaderMatch",
|
|
2684
|
+
# range: {
|
|
2685
|
+
# end: 1, # required
|
|
2686
|
+
# start: 1, # required
|
|
2687
|
+
# },
|
|
2688
|
+
# regex: "HeaderMatch",
|
|
2689
|
+
# suffix: "HeaderMatch",
|
|
2690
|
+
# },
|
|
2691
|
+
# name: "HeaderName", # required
|
|
2692
|
+
# },
|
|
2693
|
+
# ],
|
|
2694
|
+
# method: "connect", # accepts connect, delete, get, head, options, patch, post, put, trace
|
|
2502
2695
|
# prefix: "String", # required
|
|
2696
|
+
# scheme: "http", # accepts http, https
|
|
2503
2697
|
# },
|
|
2504
2698
|
# },
|
|
2699
|
+
# priority: 1,
|
|
2505
2700
|
# tcp_route: {
|
|
2506
2701
|
# action: { # required
|
|
2507
2702
|
# weighted_targets: [ # required
|
|
@@ -2698,9 +2893,28 @@ module Aws::AppMesh
|
|
|
2698
2893
|
# ],
|
|
2699
2894
|
# },
|
|
2700
2895
|
# match: { # required
|
|
2896
|
+
# headers: [
|
|
2897
|
+
# {
|
|
2898
|
+
# invert: false,
|
|
2899
|
+
# match: {
|
|
2900
|
+
# exact: "HeaderMatch",
|
|
2901
|
+
# prefix: "HeaderMatch",
|
|
2902
|
+
# range: {
|
|
2903
|
+
# end: 1, # required
|
|
2904
|
+
# start: 1, # required
|
|
2905
|
+
# },
|
|
2906
|
+
# regex: "HeaderMatch",
|
|
2907
|
+
# suffix: "HeaderMatch",
|
|
2908
|
+
# },
|
|
2909
|
+
# name: "HeaderName", # required
|
|
2910
|
+
# },
|
|
2911
|
+
# ],
|
|
2912
|
+
# method: "connect", # accepts connect, delete, get, head, options, patch, post, put, trace
|
|
2701
2913
|
# prefix: "String", # required
|
|
2914
|
+
# scheme: "http", # accepts http, https
|
|
2702
2915
|
# },
|
|
2703
2916
|
# },
|
|
2917
|
+
# priority: 1,
|
|
2704
2918
|
# tcp_route: {
|
|
2705
2919
|
# action: { # required
|
|
2706
2920
|
# weighted_targets: [ # required
|
|
@@ -2717,6 +2931,11 @@ module Aws::AppMesh
|
|
|
2717
2931
|
# The HTTP routing information for the route.
|
|
2718
2932
|
# @return [Types::HttpRoute]
|
|
2719
2933
|
#
|
|
2934
|
+
# @!attribute [rw] priority
|
|
2935
|
+
# The priority for the route. Routes are matched based on the
|
|
2936
|
+
# specified value, where 0 is the highest priority.
|
|
2937
|
+
# @return [Integer]
|
|
2938
|
+
#
|
|
2720
2939
|
# @!attribute [rw] tcp_route
|
|
2721
2940
|
# The TCP routing information for the route.
|
|
2722
2941
|
# @return [Types::TcpRoute]
|
|
@@ -2725,6 +2944,7 @@ module Aws::AppMesh
|
|
|
2725
2944
|
#
|
|
2726
2945
|
class RouteSpec < Struct.new(
|
|
2727
2946
|
:http_route,
|
|
2947
|
+
:priority,
|
|
2728
2948
|
:tcp_route)
|
|
2729
2949
|
include Aws::Structure
|
|
2730
2950
|
end
|
|
@@ -2744,7 +2964,25 @@ module Aws::AppMesh
|
|
|
2744
2964
|
# ],
|
|
2745
2965
|
# },
|
|
2746
2966
|
# match: { # required
|
|
2967
|
+
# headers: [
|
|
2968
|
+
# {
|
|
2969
|
+
# invert: false,
|
|
2970
|
+
# match: {
|
|
2971
|
+
# exact: "HeaderMatch",
|
|
2972
|
+
# prefix: "HeaderMatch",
|
|
2973
|
+
# range: {
|
|
2974
|
+
# end: 1, # required
|
|
2975
|
+
# start: 1, # required
|
|
2976
|
+
# },
|
|
2977
|
+
# regex: "HeaderMatch",
|
|
2978
|
+
# suffix: "HeaderMatch",
|
|
2979
|
+
# },
|
|
2980
|
+
# name: "HeaderName", # required
|
|
2981
|
+
# },
|
|
2982
|
+
# ],
|
|
2983
|
+
# method: "connect", # accepts connect, delete, get, head, options, patch, post, put, trace
|
|
2747
2984
|
# prefix: "String", # required
|
|
2985
|
+
# scheme: "http", # accepts http, https
|
|
2748
2986
|
# },
|
|
2749
2987
|
# }
|
|
2750
2988
|
#
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: aws-sdk-appmesh
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 1.
|
|
4
|
+
version: 1.14.0
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Amazon Web Services
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2019-
|
|
11
|
+
date: 2019-08-15 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: aws-sdk-core
|