All checks were successful
Build, Push and Deploy / build-and-push (push) Successful in 3m3s
Gitea Actions Demo / Explore-Gitea-Actions (push) Successful in 16s
Build, Push and Deploy / deploy-staging (push) Successful in 32s
Build, Push and Deploy / deploy-production (push) Has been skipped
Build, Push and Deploy / cleanup (push) Successful in 1s
31 lines
587 B
PHP
31 lines
587 B
PHP
<?php
|
|
namespace Aws\Retry;
|
|
|
|
/**
|
|
* Provides access to retry configuration
|
|
*/
|
|
interface ConfigurationInterface
|
|
{
|
|
/**
|
|
* Returns the retry mode. Available modes include 'legacy', 'standard', and
|
|
* 'adapative'.
|
|
*
|
|
* @return string
|
|
*/
|
|
public function getMode();
|
|
|
|
/**
|
|
* Returns the maximum number of attempts that will be used for a request
|
|
*
|
|
* @return string
|
|
*/
|
|
public function getMaxAttempts();
|
|
|
|
/**
|
|
* Returns the configuration as an associative array
|
|
*
|
|
* @return array
|
|
*/
|
|
public function toArray();
|
|
}
|