Class: Aws::AppMesh::Types::GrpcRetryPolicy
- Inherits:
-
Struct
- Object
- Struct
- Aws::AppMesh::Types::GrpcRetryPolicy
- Defined in:
- gems/aws-sdk-appmesh/lib/aws-sdk-appmesh/types.rb
Overview
An object that represents a retry policy. Specify at least one value
for at least one of the types of RetryEvents
, a value for
maxRetries
, and a value for perRetryTimeout
. Both server-error
and gateway-error
under httpRetryEvents
include the Envoy reset
policy. For more information on the reset
policy, see the Envoy
documentation.
Constant Summary collapse
- SENSITIVE =
[]
Instance Attribute Summary collapse
-
#grpc_retry_events ⇒ Array<String>
Specify at least one of the valid values.
-
#http_retry_events ⇒ Array<String>
Specify at least one of the following values.
-
#max_retries ⇒ Integer
The maximum number of retry attempts.
-
#per_retry_timeout ⇒ Types::Duration
The timeout for each retry attempt.
-
#tcp_retry_events ⇒ Array<String>
Specify a valid value.
Instance Attribute Details
#grpc_retry_events ⇒ Array<String>
Specify at least one of the valid values.
1947 1948 1949 1950 1951 1952 1953 1954 1955 |
# File 'gems/aws-sdk-appmesh/lib/aws-sdk-appmesh/types.rb', line 1947 class GrpcRetryPolicy < Struct.new( :grpc_retry_events, :http_retry_events, :max_retries, :per_retry_timeout, :tcp_retry_events) SENSITIVE = [] include Aws::Structure end |
#http_retry_events ⇒ Array<String>
Specify at least one of the following values.
server-error – HTTP status codes 500, 501, 502, 503, 504, 505, 506, 507, 508, 510, and 511
gateway-error – HTTP status codes 502, 503, and 504
client-error – HTTP status code 409
stream-error – Retry on refused stream
1947 1948 1949 1950 1951 1952 1953 1954 1955 |
# File 'gems/aws-sdk-appmesh/lib/aws-sdk-appmesh/types.rb', line 1947 class GrpcRetryPolicy < Struct.new( :grpc_retry_events, :http_retry_events, :max_retries, :per_retry_timeout, :tcp_retry_events) SENSITIVE = [] include Aws::Structure end |
#max_retries ⇒ Integer
The maximum number of retry attempts.
1947 1948 1949 1950 1951 1952 1953 1954 1955 |
# File 'gems/aws-sdk-appmesh/lib/aws-sdk-appmesh/types.rb', line 1947 class GrpcRetryPolicy < Struct.new( :grpc_retry_events, :http_retry_events, :max_retries, :per_retry_timeout, :tcp_retry_events) SENSITIVE = [] include Aws::Structure end |
#per_retry_timeout ⇒ Types::Duration
The timeout for each retry attempt.
1947 1948 1949 1950 1951 1952 1953 1954 1955 |
# File 'gems/aws-sdk-appmesh/lib/aws-sdk-appmesh/types.rb', line 1947 class GrpcRetryPolicy < Struct.new( :grpc_retry_events, :http_retry_events, :max_retries, :per_retry_timeout, :tcp_retry_events) SENSITIVE = [] include Aws::Structure end |
#tcp_retry_events ⇒ Array<String>
Specify a valid value. The event occurs before any processing of a request has started and is encountered when the upstream is temporarily or permanently unavailable.
1947 1948 1949 1950 1951 1952 1953 1954 1955 |
# File 'gems/aws-sdk-appmesh/lib/aws-sdk-appmesh/types.rb', line 1947 class GrpcRetryPolicy < Struct.new( :grpc_retry_events, :http_retry_events, :max_retries, :per_retry_timeout, :tcp_retry_events) SENSITIVE = [] include Aws::Structure end |