Configuration
in package
implements
ConfigurationInterface
Table of Contents
Interfaces
- ConfigurationInterface
- Provides access to defaultsMode configuration
Methods
- __construct() : mixed
- getConnectTimeoutInMillis() : int
- Returns the connection timeout in milliseconds
- getHttpRequestTimeoutInMillis() : int
- Returns the http request timeout in milliseconds
- getMode() : string
- Returns the configuration mode. Available modes include 'legacy', 'standard', and 'adapative'.
- getRetryMode() : mixed
- {@inheritdoc}
- getS3UsEast1RegionalEndpoints() : bool
- Returns the s3 us-east-1 regional endpoints option
- getStsRegionalEndpoints() : bool
- Returns the sts regional endpoints option
- toArray() : array<string|int, mixed>
- Returns the configuration as an associative array
Methods
__construct()
public
__construct([mixed $mode = 'legacy' ]) : mixed
Parameters
- $mode : mixed = 'legacy'
getConnectTimeoutInMillis()
Returns the connection timeout in milliseconds
public
getConnectTimeoutInMillis() : int
Return values
intgetHttpRequestTimeoutInMillis()
Returns the http request timeout in milliseconds
public
getHttpRequestTimeoutInMillis() : int
Return values
intgetMode()
Returns the configuration mode. Available modes include 'legacy', 'standard', and 'adapative'.
public
getMode() : string
Return values
stringgetRetryMode()
{@inheritdoc}
public
getRetryMode() : mixed
getS3UsEast1RegionalEndpoints()
Returns the s3 us-east-1 regional endpoints option
public
getS3UsEast1RegionalEndpoints() : bool
Return values
boolgetStsRegionalEndpoints()
Returns the sts regional endpoints option
public
getStsRegionalEndpoints() : bool
Return values
booltoArray()
Returns the configuration as an associative array
public
toArray() : array<string|int, mixed>