CONNECT_TIMEOUT
CONNECT_TIMEOUT = 5
Request Connect Timeout
Retrieving assume role credentials.
$uri : \GuzzleHttp\Psr7\Uri
__construct(\AlibabaCloud\Client\Credentials\RamRoleArnCredential $arnCredential)
AssumeRole constructor.
| \AlibabaCloud\Client\Credentials\RamRoleArnCredential | $arnCredential |
request() : \AlibabaCloud\Client\Result\Result
createClient(\AlibabaCloud\Client\Request\Request $request = null) : \GuzzleHttp\Client
| \AlibabaCloud\Client\Request\Request | $request |
setMethod( $method) : $this
| $method |
| codeCoverageIgnore |
|---|
setProtocol( $scheme) : $this
| $scheme |
| codeCoverageIgnore |
|---|
| codeCoverageIgnore |
|---|
setProtocolType( $scheme) : $this
| $scheme |
| codeCoverageIgnore |
|---|
setActionName( $actionName) : $this
| $actionName |
| codeCoverageIgnore |
|---|
setAcceptFormat( $format) : $this
| $format |
| codeCoverageIgnore |
|---|
| codeCoverageIgnore |
|---|
| codeCoverageIgnore |
|---|
| codeCoverageIgnore |
|---|
| codeCoverageIgnore |
|---|
addHeader( $headerKey, $headerValue) : $this
| $headerKey | ||
| $headerValue |
| codeCoverageIgnore |
|---|
| codeCoverageIgnore |
|---|
setQueryParameters( $name, $value) : $this
| $name | ||
| $value |
| codeCoverageIgnore |
|---|
| codeCoverageIgnore |
|---|
putDomainParameters( $name, $value) : $this
| $name | ||
| $value |
| codeCoverageIgnore |
|---|
| codeCoverageIgnore |
|---|
| codeCoverageIgnore |
|---|
| codeCoverageIgnore |
|---|
| codeCoverageIgnore |
|---|
timeout(integer|float $seconds) : $this
| integer|float | $seconds |
| None found |
timeoutMilliseconds(integer $milliseconds) : $this
| integer | $milliseconds |
| None found |
connectTimeout(integer|float $seconds) : $this
| integer|float | $seconds |
| None found |
connectTimeoutMilliseconds(integer $milliseconds) : $this
| integer | $milliseconds |
| None found |
| None found |
| codeCoverageIgnore |
|---|
| codeCoverageIgnore |
|---|
| None found |
| None found |
regionId(string $regionId) : $this
| string | $regionId |
| None found |
| None found |
credential() : \AlibabaCloud\Client\Credentials\AccessKeyCredential|\AlibabaCloud\Client\Credentials\BearerTokenCredential|\AlibabaCloud\Client\Credentials\CredentialsInterface|\AlibabaCloud\Client\Credentials\StsCredential
Return credentials directly if it is an AssumeRole or GenerateSessionAccessKey.
| None found |
httpClient() : \AlibabaCloud\Client\Clients\Client
Get the client based on the request's settings.
| None found |
mergeOptionsIntoClient()
Merged with the client's options, the same name will be overwritten.
| None found |
action(string $action) : $this
| string | $action |
| None found |
endpointSuffix(string $endpointSuffix) : \AlibabaCloud\Client\Request\Traits\AcsTrait
| string | $endpointSuffix |
| codeCoverageIgnore |
|---|
| None found |
version(string $version) : $this
| string | $version |
| None found |
product(string $product) : $this
| string | $product |
| None found |
endpointType(string $endpointType) : $this
| string | $endpointType |
| None found |
serviceCode(string $serviceCode) : $this
| string | $serviceCode |
| None found |
resolveHost()
Resolve Host.
| None found |
realRegionId() : string
| None found |
offsetGet(string $offset) : mixed|null
This method returns a reference to the variable to allow for indirect array modification (e.g., $foo['bar']['baz'] = 'qux').
| string | $offset |
| None found |
offsetSet(string $offset, string|mixed $value)
| string | $offset | |
| string|mixed | $value |
| None found |
| None found |
| None found |
| None found |
| None found |
| None found |
| None found |
retryByServer(integer $times, array $strings, array $statusCodes = array()) : $this
| integer | $times | |
| array | $strings | |
| array | $statusCodes |
| None found |
retryByClient(integer $times, array $strings, array $codes = array()) : $this
| integer | $times | |
| array | $strings | |
| array | $codes |
| None found |
| None found |
| None found |
| None found |
resolveCommonParameters()
Resolve Common Parameters.
| None found |
resolveSecurityToken()
| None found |
resolveBearerToken()
| None found |
signature() : mixed
Sign the parameters.
| None found |
| None found |
| None found |
| codeCoverageIgnore |
|---|
| codeCoverageIgnore |
|---|
resolveHostWays(string $host, string $region_id)
| string | $host | |
| string | $region_id |
| None found |
hostResolver(string $host, string $region_id)
| string | $host | |
| string | $region_id |
| codeCoverageIgnore |
|---|
shouldServerRetry(\AlibabaCloud\Client\Result\Result $result) : boolean
| \AlibabaCloud\Client\Result\Result | $result |
| None found |
shouldClientRetry(\Exception $exception) : boolean
| \Exception | $exception |
| None found |