ConfigurationInterface.php 1.0 KB

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