| 1 |
<?php |
| 2 |
|
| 3 |
namespace Dudlewebs\WPMCS\s3\Aws\DefaultsMode; |
| 4 |
|
| 5 |
/** |
| 6 |
* Provides access to defaultsMode configuration |
| 7 |
*/ |
| 8 |
interface ConfigurationInterface |
| 9 |
{ |
| 10 |
/** |
| 11 |
* Returns the configuration mode. Available modes include 'legacy', 'standard', and |
| 12 |
* 'adapative'. |
| 13 |
* |
| 14 |
* @return string |
| 15 |
*/ |
| 16 |
public function getMode(); |
| 17 |
/** |
| 18 |
* Returns the sts regional endpoints option |
| 19 |
* |
| 20 |
* @return bool |
| 21 |
*/ |
| 22 |
public function getStsRegionalEndpoints(); |
| 23 |
/** |
| 24 |
* Returns the s3 us-east-1 regional endpoints option |
| 25 |
* |
| 26 |
* @return bool |
| 27 |
*/ |
| 28 |
public function getS3UsEast1RegionalEndpoints(); |
| 29 |
/** |
| 30 |
* Returns the connection timeout in milliseconds |
| 31 |
* |
| 32 |
* @return int |
| 33 |
*/ |
| 34 |
public function getConnectTimeoutInMillis(); |
| 35 |
/** |
| 36 |
* Returns the http request timeout in milliseconds |
| 37 |
* |
| 38 |
* @return int |
| 39 |
*/ |
| 40 |
public function getHttpRequestTimeoutInMillis(); |
| 41 |
/** |
| 42 |
* Returns the configuration as an associative array |
| 43 |
* |
| 44 |
* @return array |
| 45 |
*/ |
| 46 |
public function toArray(); |
| 47 |
} |
| 48 |
|