aws-sdk-appmesh 1.15.0 → 1.16.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 72c810c7cf582016cb4013006e536172d27cccbb
4
- data.tar.gz: 9583d4d7018c2faab5703bf82063a18226516e95
3
+ metadata.gz: e4f49e84634af4bb9ae3600e4eba7504dbb3ed16
4
+ data.tar.gz: b1692d1eb27e11af1f72379ef88a28a382076a5b
5
5
  SHA512:
6
- metadata.gz: bd1938849bc9dab604a5cae7c430cd2b1a0476c9dd2c5c6057b0e50833948ee5c6c85331236e9965537fcf521b775da8bd502fcb9dbf19d5441656773c102555
7
- data.tar.gz: 443fdc5bbb006683b728c3c45fa4e9fec56d3581ceae2a705ffebd32914f7162146edc077c8961b2d8c97f8757d6556ff5b007332d360e02c358092c6c23f1c3
6
+ metadata.gz: 0ea7eb36164d0edb1ff9be0c07eb17904fcbcd45cb2a60df9b0577641204ae29fe04ad756005ed3052891dde8ba6df3815a568809bede4ecc247dd32f7ab3eff
7
+ data.tar.gz: 2af8796202c9207794dbd1704d617af051871b39c5125a7346108891b0d66bcc64cf84bd4c3570705b5760a4c3aa7c42680bfc45750630fde2c080b440105fbf
@@ -42,6 +42,6 @@ require_relative 'aws-sdk-appmesh/customizations'
42
42
  # @service
43
43
  module Aws::AppMesh
44
44
 
45
- GEM_VERSION = '1.15.0'
45
+ GEM_VERSION = '1.16.0'
46
46
 
47
47
  end
@@ -402,6 +402,15 @@ module Aws::AppMesh
402
402
  # prefix: "String", # required
403
403
  # scheme: "http", # accepts http, https
404
404
  # },
405
+ # retry_policy: {
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
+ # },
405
414
  # },
406
415
  # priority: 1,
407
416
  # tcp_route: {
@@ -448,6 +457,13 @@ module Aws::AppMesh
448
457
  # resp.route.spec.http_route.match.method #=> String, one of "CONNECT", "DELETE", "GET", "HEAD", "OPTIONS", "PATCH", "POST", "PUT", "TRACE"
449
458
  # resp.route.spec.http_route.match.prefix #=> String
450
459
  # resp.route.spec.http_route.match.scheme #=> String, one of "http", "https"
460
+ # resp.route.spec.http_route.retry_policy.http_retry_events #=> Array
461
+ # resp.route.spec.http_route.retry_policy.http_retry_events[0] #=> String
462
+ # resp.route.spec.http_route.retry_policy.max_retries #=> Integer
463
+ # resp.route.spec.http_route.retry_policy.per_retry_timeout.unit #=> String, one of "ms", "s"
464
+ # resp.route.spec.http_route.retry_policy.per_retry_timeout.value #=> Integer
465
+ # resp.route.spec.http_route.retry_policy.tcp_retry_events #=> Array
466
+ # resp.route.spec.http_route.retry_policy.tcp_retry_events[0] #=> String, one of "connection-error"
451
467
  # resp.route.spec.priority #=> Integer
452
468
  # resp.route.spec.tcp_route.action.weighted_targets #=> Array
453
469
  # resp.route.spec.tcp_route.action.weighted_targets[0].virtual_node #=> String
@@ -874,6 +890,13 @@ module Aws::AppMesh
874
890
  # resp.route.spec.http_route.match.method #=> String, one of "CONNECT", "DELETE", "GET", "HEAD", "OPTIONS", "PATCH", "POST", "PUT", "TRACE"
875
891
  # resp.route.spec.http_route.match.prefix #=> String
876
892
  # resp.route.spec.http_route.match.scheme #=> String, one of "http", "https"
893
+ # resp.route.spec.http_route.retry_policy.http_retry_events #=> Array
894
+ # resp.route.spec.http_route.retry_policy.http_retry_events[0] #=> String
895
+ # resp.route.spec.http_route.retry_policy.max_retries #=> Integer
896
+ # resp.route.spec.http_route.retry_policy.per_retry_timeout.unit #=> String, one of "ms", "s"
897
+ # resp.route.spec.http_route.retry_policy.per_retry_timeout.value #=> Integer
898
+ # resp.route.spec.http_route.retry_policy.tcp_retry_events #=> Array
899
+ # resp.route.spec.http_route.retry_policy.tcp_retry_events[0] #=> String, one of "connection-error"
877
900
  # resp.route.spec.priority #=> Integer
878
901
  # resp.route.spec.tcp_route.action.weighted_targets #=> Array
879
902
  # resp.route.spec.tcp_route.action.weighted_targets[0].virtual_node #=> String
@@ -1119,6 +1142,13 @@ module Aws::AppMesh
1119
1142
  # resp.route.spec.http_route.match.method #=> String, one of "CONNECT", "DELETE", "GET", "HEAD", "OPTIONS", "PATCH", "POST", "PUT", "TRACE"
1120
1143
  # resp.route.spec.http_route.match.prefix #=> String
1121
1144
  # resp.route.spec.http_route.match.scheme #=> String, one of "http", "https"
1145
+ # resp.route.spec.http_route.retry_policy.http_retry_events #=> Array
1146
+ # resp.route.spec.http_route.retry_policy.http_retry_events[0] #=> String
1147
+ # resp.route.spec.http_route.retry_policy.max_retries #=> Integer
1148
+ # resp.route.spec.http_route.retry_policy.per_retry_timeout.unit #=> String, one of "ms", "s"
1149
+ # resp.route.spec.http_route.retry_policy.per_retry_timeout.value #=> Integer
1150
+ # resp.route.spec.http_route.retry_policy.tcp_retry_events #=> Array
1151
+ # resp.route.spec.http_route.retry_policy.tcp_retry_events[0] #=> String, one of "connection-error"
1122
1152
  # resp.route.spec.priority #=> Integer
1123
1153
  # resp.route.spec.tcp_route.action.weighted_targets #=> Array
1124
1154
  # resp.route.spec.tcp_route.action.weighted_targets[0].virtual_node #=> String
@@ -1767,6 +1797,15 @@ module Aws::AppMesh
1767
1797
  # prefix: "String", # required
1768
1798
  # scheme: "http", # accepts http, https
1769
1799
  # },
1800
+ # retry_policy: {
1801
+ # http_retry_events: ["HttpRetryPolicyEvent"],
1802
+ # max_retries: 1, # required
1803
+ # per_retry_timeout: { # required
1804
+ # unit: "ms", # accepts ms, s
1805
+ # value: 1,
1806
+ # },
1807
+ # tcp_retry_events: ["connection-error"], # accepts connection-error
1808
+ # },
1770
1809
  # },
1771
1810
  # priority: 1,
1772
1811
  # tcp_route: {
@@ -1807,6 +1846,13 @@ module Aws::AppMesh
1807
1846
  # resp.route.spec.http_route.match.method #=> String, one of "CONNECT", "DELETE", "GET", "HEAD", "OPTIONS", "PATCH", "POST", "PUT", "TRACE"
1808
1847
  # resp.route.spec.http_route.match.prefix #=> String
1809
1848
  # resp.route.spec.http_route.match.scheme #=> String, one of "http", "https"
1849
+ # resp.route.spec.http_route.retry_policy.http_retry_events #=> Array
1850
+ # resp.route.spec.http_route.retry_policy.http_retry_events[0] #=> String
1851
+ # resp.route.spec.http_route.retry_policy.max_retries #=> Integer
1852
+ # resp.route.spec.http_route.retry_policy.per_retry_timeout.unit #=> String, one of "ms", "s"
1853
+ # resp.route.spec.http_route.retry_policy.per_retry_timeout.value #=> Integer
1854
+ # resp.route.spec.http_route.retry_policy.tcp_retry_events #=> Array
1855
+ # resp.route.spec.http_route.retry_policy.tcp_retry_events[0] #=> String, one of "connection-error"
1810
1856
  # resp.route.spec.priority #=> Integer
1811
1857
  # resp.route.spec.tcp_route.action.weighted_targets #=> Array
1812
1858
  # resp.route.spec.tcp_route.action.weighted_targets[0].virtual_node #=> String
@@ -2084,7 +2130,7 @@ module Aws::AppMesh
2084
2130
  params: params,
2085
2131
  config: config)
2086
2132
  context[:gem_name] = 'aws-sdk-appmesh'
2087
- context[:gem_version] = '1.15.0'
2133
+ context[:gem_version] = '1.16.0'
2088
2134
  Seahorse::Client::Request.new(handlers, context)
2089
2135
  end
2090
2136
 
@@ -55,6 +55,9 @@ module Aws::AppMesh
55
55
  DescribeVirtualServiceInput = Shapes::StructureShape.new(name: 'DescribeVirtualServiceInput')
56
56
  DescribeVirtualServiceOutput = Shapes::StructureShape.new(name: 'DescribeVirtualServiceOutput')
57
57
  DnsServiceDiscovery = Shapes::StructureShape.new(name: 'DnsServiceDiscovery')
58
+ Duration = Shapes::StructureShape.new(name: 'Duration')
59
+ DurationUnit = Shapes::StringShape.new(name: 'DurationUnit')
60
+ DurationValue = Shapes::IntegerShape.new(name: 'DurationValue')
58
61
  EgressFilter = Shapes::StructureShape.new(name: 'EgressFilter')
59
62
  EgressFilterType = Shapes::StringShape.new(name: 'EgressFilterType')
60
63
  FileAccessLog = Shapes::StructureShape.new(name: 'FileAccessLog')
@@ -69,6 +72,9 @@ module Aws::AppMesh
69
72
  HealthCheckTimeoutMillis = Shapes::IntegerShape.new(name: 'HealthCheckTimeoutMillis')
70
73
  Hostname = Shapes::StringShape.new(name: 'Hostname')
71
74
  HttpMethod = Shapes::StringShape.new(name: 'HttpMethod')
75
+ HttpRetryPolicy = Shapes::StructureShape.new(name: 'HttpRetryPolicy')
76
+ HttpRetryPolicyEvent = Shapes::StringShape.new(name: 'HttpRetryPolicyEvent')
77
+ HttpRetryPolicyEvents = Shapes::ListShape.new(name: 'HttpRetryPolicyEvents')
72
78
  HttpRoute = Shapes::StructureShape.new(name: 'HttpRoute')
73
79
  HttpRouteAction = Shapes::StructureShape.new(name: 'HttpRouteAction')
74
80
  HttpRouteHeader = Shapes::StructureShape.new(name: 'HttpRouteHeader')
@@ -99,6 +105,7 @@ module Aws::AppMesh
99
105
  Logging = Shapes::StructureShape.new(name: 'Logging')
100
106
  Long = Shapes::IntegerShape.new(name: 'Long')
101
107
  MatchRange = Shapes::StructureShape.new(name: 'MatchRange')
108
+ MaxRetries = Shapes::IntegerShape.new(name: 'MaxRetries')
102
109
  MeshData = Shapes::StructureShape.new(name: 'MeshData')
103
110
  MeshList = Shapes::ListShape.new(name: 'MeshList')
104
111
  MeshRef = Shapes::StructureShape.new(name: 'MeshRef')
@@ -132,6 +139,8 @@ module Aws::AppMesh
132
139
  TagResourceOutput = Shapes::StructureShape.new(name: 'TagResourceOutput')
133
140
  TagValue = Shapes::StringShape.new(name: 'TagValue')
134
141
  TagsLimit = Shapes::IntegerShape.new(name: 'TagsLimit')
142
+ TcpRetryPolicyEvent = Shapes::StringShape.new(name: 'TcpRetryPolicyEvent')
143
+ TcpRetryPolicyEvents = Shapes::ListShape.new(name: 'TcpRetryPolicyEvents')
135
144
  TcpRoute = Shapes::StructureShape.new(name: 'TcpRoute')
136
145
  TcpRouteAction = Shapes::StructureShape.new(name: 'TcpRouteAction')
137
146
  Timestamp = Shapes::TimestampShape.new(name: 'Timestamp')
@@ -354,6 +363,10 @@ module Aws::AppMesh
354
363
  DnsServiceDiscovery.add_member(:hostname, Shapes::ShapeRef.new(shape: Hostname, required: true, location_name: "hostname"))
355
364
  DnsServiceDiscovery.struct_class = Types::DnsServiceDiscovery
356
365
 
366
+ Duration.add_member(:unit, Shapes::ShapeRef.new(shape: DurationUnit, location_name: "unit"))
367
+ Duration.add_member(:value, Shapes::ShapeRef.new(shape: DurationValue, location_name: "value"))
368
+ Duration.struct_class = Types::Duration
369
+
357
370
  EgressFilter.add_member(:type, Shapes::ShapeRef.new(shape: EgressFilterType, required: true, location_name: "type"))
358
371
  EgressFilter.struct_class = Types::EgressFilter
359
372
 
@@ -379,8 +392,17 @@ module Aws::AppMesh
379
392
  HealthCheckPolicy.add_member(:unhealthy_threshold, Shapes::ShapeRef.new(shape: HealthCheckThreshold, required: true, location_name: "unhealthyThreshold"))
380
393
  HealthCheckPolicy.struct_class = Types::HealthCheckPolicy
381
394
 
395
+ HttpRetryPolicy.add_member(:http_retry_events, Shapes::ShapeRef.new(shape: HttpRetryPolicyEvents, location_name: "httpRetryEvents"))
396
+ HttpRetryPolicy.add_member(:max_retries, Shapes::ShapeRef.new(shape: MaxRetries, required: true, location_name: "maxRetries"))
397
+ HttpRetryPolicy.add_member(:per_retry_timeout, Shapes::ShapeRef.new(shape: Duration, required: true, location_name: "perRetryTimeout"))
398
+ HttpRetryPolicy.add_member(:tcp_retry_events, Shapes::ShapeRef.new(shape: TcpRetryPolicyEvents, location_name: "tcpRetryEvents"))
399
+ HttpRetryPolicy.struct_class = Types::HttpRetryPolicy
400
+
401
+ HttpRetryPolicyEvents.member = Shapes::ShapeRef.new(shape: HttpRetryPolicyEvent)
402
+
382
403
  HttpRoute.add_member(:action, Shapes::ShapeRef.new(shape: HttpRouteAction, required: true, location_name: "action"))
383
404
  HttpRoute.add_member(:match, Shapes::ShapeRef.new(shape: HttpRouteMatch, required: true, location_name: "match"))
405
+ HttpRoute.add_member(:retry_policy, Shapes::ShapeRef.new(shape: HttpRetryPolicy, location_name: "retryPolicy"))
384
406
  HttpRoute.struct_class = Types::HttpRoute
385
407
 
386
408
  HttpRouteAction.add_member(:weighted_targets, Shapes::ShapeRef.new(shape: WeightedTargets, required: true, location_name: "weightedTargets"))
@@ -552,6 +574,8 @@ module Aws::AppMesh
552
574
 
553
575
  TagResourceOutput.struct_class = Types::TagResourceOutput
554
576
 
577
+ TcpRetryPolicyEvents.member = Shapes::ShapeRef.new(shape: TcpRetryPolicyEvent)
578
+
555
579
  TcpRoute.add_member(:action, Shapes::ShapeRef.new(shape: TcpRouteAction, required: true, location_name: "action"))
556
580
  TcpRoute.struct_class = Types::TcpRoute
557
581
 
@@ -1829,6 +1829,32 @@ module Aws::AppMesh
1829
1829
  include Aws::Structure
1830
1830
  end
1831
1831
 
1832
+ # An object representing the duration between retry attempts.
1833
+ #
1834
+ # @note When making an API call, you may pass Duration
1835
+ # data as a hash:
1836
+ #
1837
+ # {
1838
+ # unit: "ms", # accepts ms, s
1839
+ # value: 1,
1840
+ # }
1841
+ #
1842
+ # @!attribute [rw] unit
1843
+ # The unit of time between retry attempts.
1844
+ # @return [String]
1845
+ #
1846
+ # @!attribute [rw] value
1847
+ # The duration of time between retry attempts.
1848
+ # @return [Integer]
1849
+ #
1850
+ # @see http://docs.aws.amazon.com/goto/WebAPI/appmesh-2019-01-25/Duration AWS API Documentation
1851
+ #
1852
+ class Duration < Struct.new(
1853
+ :unit,
1854
+ :value)
1855
+ include Aws::Structure
1856
+ end
1857
+
1832
1858
  # The request contains a client token that was used for a previous
1833
1859
  # update resource call with different specifications. Try the request
1834
1860
  # again with a new client token.
@@ -2319,6 +2345,57 @@ module Aws::AppMesh
2319
2345
  include Aws::Structure
2320
2346
  end
2321
2347
 
2348
+ # An object that represents a retry policy.
2349
+ #
2350
+ # @note When making an API call, you may pass HttpRetryPolicy
2351
+ # data as a hash:
2352
+ #
2353
+ # {
2354
+ # http_retry_events: ["HttpRetryPolicyEvent"],
2355
+ # max_retries: 1, # required
2356
+ # per_retry_timeout: { # required
2357
+ # unit: "ms", # accepts ms, s
2358
+ # value: 1,
2359
+ # },
2360
+ # tcp_retry_events: ["connection-error"], # accepts connection-error
2361
+ # }
2362
+ #
2363
+ # @!attribute [rw] http_retry_events
2364
+ # Specify at least one of the following values.
2365
+ #
2366
+ # * **server-error** – HTTP status codes 500, 501, 502, 503, 504, 505,
2367
+ # 506, 507, 508, 510, and 511
2368
+ #
2369
+ # * **gateway-error** – HTTP status codes 502, 503, and 504
2370
+ #
2371
+ # * **client-error** – HTTP status code 409
2372
+ #
2373
+ # * **stream-error** – Retry on refused stream
2374
+ # @return [Array<String>]
2375
+ #
2376
+ # @!attribute [rw] max_retries
2377
+ # The maximum number of retry attempts. If no value is specified, the
2378
+ # default is 1.
2379
+ # @return [Integer]
2380
+ #
2381
+ # @!attribute [rw] per_retry_timeout
2382
+ # An object that represents the retry duration.
2383
+ # @return [Types::Duration]
2384
+ #
2385
+ # @!attribute [rw] tcp_retry_events
2386
+ # Specify a valid value.
2387
+ # @return [Array<String>]
2388
+ #
2389
+ # @see http://docs.aws.amazon.com/goto/WebAPI/appmesh-2019-01-25/HttpRetryPolicy AWS API Documentation
2390
+ #
2391
+ class HttpRetryPolicy < Struct.new(
2392
+ :http_retry_events,
2393
+ :max_retries,
2394
+ :per_retry_timeout,
2395
+ :tcp_retry_events)
2396
+ include Aws::Structure
2397
+ end
2398
+
2322
2399
  # @note When making an API call, you may pass DescribeVirtualRouterInput
2323
2400
  # data as a hash:
2324
2401
  #
@@ -2508,6 +2585,15 @@ module Aws::AppMesh
2508
2585
  # prefix: "String", # required
2509
2586
  # scheme: "http", # accepts http, https
2510
2587
  # },
2588
+ # retry_policy: {
2589
+ # http_retry_events: ["HttpRetryPolicyEvent"],
2590
+ # max_retries: 1, # required
2591
+ # per_retry_timeout: { # required
2592
+ # unit: "ms", # accepts ms, s
2593
+ # value: 1,
2594
+ # },
2595
+ # tcp_retry_events: ["connection-error"], # accepts connection-error
2596
+ # },
2511
2597
  # },
2512
2598
  # priority: 1,
2513
2599
  # tcp_route: {
@@ -2695,6 +2781,15 @@ module Aws::AppMesh
2695
2781
  # prefix: "String", # required
2696
2782
  # scheme: "http", # accepts http, https
2697
2783
  # },
2784
+ # retry_policy: {
2785
+ # http_retry_events: ["HttpRetryPolicyEvent"],
2786
+ # max_retries: 1, # required
2787
+ # per_retry_timeout: { # required
2788
+ # unit: "ms", # accepts ms, s
2789
+ # value: 1,
2790
+ # },
2791
+ # tcp_retry_events: ["connection-error"], # accepts connection-error
2792
+ # },
2698
2793
  # },
2699
2794
  # priority: 1,
2700
2795
  # tcp_route: {
@@ -2913,6 +3008,15 @@ module Aws::AppMesh
2913
3008
  # prefix: "String", # required
2914
3009
  # scheme: "http", # accepts http, https
2915
3010
  # },
3011
+ # retry_policy: {
3012
+ # http_retry_events: ["HttpRetryPolicyEvent"],
3013
+ # max_retries: 1, # required
3014
+ # per_retry_timeout: { # required
3015
+ # unit: "ms", # accepts ms, s
3016
+ # value: 1,
3017
+ # },
3018
+ # tcp_retry_events: ["connection-error"], # accepts connection-error
3019
+ # },
2916
3020
  # },
2917
3021
  # priority: 1,
2918
3022
  # tcp_route: {
@@ -2984,6 +3088,15 @@ module Aws::AppMesh
2984
3088
  # prefix: "String", # required
2985
3089
  # scheme: "http", # accepts http, https
2986
3090
  # },
3091
+ # retry_policy: {
3092
+ # http_retry_events: ["HttpRetryPolicyEvent"],
3093
+ # max_retries: 1, # required
3094
+ # per_retry_timeout: { # required
3095
+ # unit: "ms", # accepts ms, s
3096
+ # value: 1,
3097
+ # },
3098
+ # tcp_retry_events: ["connection-error"], # accepts connection-error
3099
+ # },
2987
3100
  # }
2988
3101
  #
2989
3102
  # @!attribute [rw] action
@@ -2994,11 +3107,16 @@ module Aws::AppMesh
2994
3107
  # The criteria for determining an HTTP request match.
2995
3108
  # @return [Types::HttpRouteMatch]
2996
3109
  #
3110
+ # @!attribute [rw] retry_policy
3111
+ # An object that represents a retry policy.
3112
+ # @return [Types::HttpRetryPolicy]
3113
+ #
2997
3114
  # @see http://docs.aws.amazon.com/goto/WebAPI/appmesh-2019-01-25/HttpRoute AWS API Documentation
2998
3115
  #
2999
3116
  class HttpRoute < Struct.new(
3000
3117
  :action,
3001
- :match)
3118
+ :match,
3119
+ :retry_policy)
3002
3120
  include Aws::Structure
3003
3121
  end
3004
3122
 
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.15.0
4
+ version: 1.16.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-08-19 00:00:00.000000000 Z
11
+ date: 2019-09-09 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: aws-sdk-core