SDK for PHP 3.x

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
int

getHttpRequestTimeoutInMillis()

Returns the http request timeout in milliseconds

public getHttpRequestTimeoutInMillis() : int
Return values
int

getMode()

Returns the configuration mode. Available modes include 'legacy', 'standard', and 'adapative'.

public getMode() : string
Return values
string

getRetryMode()

{@inheritdoc}

public getRetryMode() : mixed

getS3UsEast1RegionalEndpoints()

Returns the s3 us-east-1 regional endpoints option

public getS3UsEast1RegionalEndpoints() : bool
Return values
bool

getStsRegionalEndpoints()

Returns the sts regional endpoints option

public getStsRegionalEndpoints() : bool
Return values
bool

toArray()

Returns the configuration as an associative array

public toArray() : array<string|int, mixed>
Return values
array<string|int, mixed>
On this page