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