The London Perl and Raku Workshop takes place on 26th Oct 2024. If your company depends on Perl, please consider sponsoring and/or attending.

NAME

Paws::AppMesh::GrpcRetryPolicy

USAGE

This class represents one of two things:

Arguments in a call to a service

Use the attributes of this class as arguments to methods. You shouldn't make instances of this class. Each attribute should be used as a named argument in the calls that expect this type of object.

As an example, if Att1 is expected to be a Paws::AppMesh::GrpcRetryPolicy object:

  $service_obj->Method(Att1 => { GrpcRetryEvents => $value, ..., TcpRetryEvents => $value  });

Results returned from an API call

Use accessors for each attribute. If Att1 is expected to be an Paws::AppMesh::GrpcRetryPolicy object:

  $result = $service_obj->Method(...);
  $result->Att1->GrpcRetryEvents

DESCRIPTION

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 (https://www.envoyproxy.io/docs/envoy/latest/configuration/http/http_filters/router_filter#x-envoy-retry-on).

ATTRIBUTES

GrpcRetryEvents => ArrayRef[Str|Undef]

Specify at least one of the valid values.

HttpRetryEvents => ArrayRef[Str|Undef]

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

REQUIRED MaxRetries => Int

The maximum number of retry attempts.

REQUIRED PerRetryTimeout => Paws::AppMesh::Duration

The timeout for each retry attempt.

TcpRetryEvents => ArrayRef[Str|Undef]

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.

SEE ALSO

This class forms part of Paws, describing an object used in Paws::AppMesh

BUGS and CONTRIBUTIONS

The source code is located here: https://github.com/pplu/aws-sdk-perl

Please report bugs to: https://github.com/pplu/aws-sdk-perl/issues