\AlibabaCloud\Client\Request\TraitsAcsTrait

Trait AcsTrait

Summary

Methods
Properties
Constants
action()
endpointSuffix()
network()
version()
product()
endpointType()
serviceCode()
resolveHost()
realRegionId()
$version
$product
$action
$serviceCode
$endpointType
$network
$endpointMap
$endpointRegional
$endpointSuffix
$uri
No constants found
No protected methods found
No protected properties found
N/A
resolveHostWays()
hostResolver()
No private properties found
N/A

Properties

$version

$version : string

Type

string

$product

$product : string

Type

string

$action

$action : string

Type

string

$serviceCode

$serviceCode : string

Type

string

$endpointType

$endpointType : string

Type

string

$network

$network : string|null

Type

string|null

$endpointMap

$endpointMap : array|null

Type

array|null

$endpointRegional

$endpointRegional : string|null

Type

string|null

$endpointSuffix

$endpointSuffix : string

Type

string

$uri

$uri : \GuzzleHttp\Psr7\Uri

Type

\GuzzleHttp\Psr7\Uri

Methods

action()

action(string  $action) : $this

Parameters

string $action

Throws

\AlibabaCloud\Client\Exception\ClientException

Returns

$this

endpointSuffix()

endpointSuffix(string  $endpointSuffix) : \AlibabaCloud\Client\Request\Traits\AcsTrait

Parameters

string $endpointSuffix

Throws

\AlibabaCloud\Client\Exception\ClientException

Returns

\AlibabaCloud\Client\Request\Traits\AcsTrait

network()

network(string  $network) 

Parameters

string $network

version()

version(string  $version) : $this

Parameters

string $version

Throws

\AlibabaCloud\Client\Exception\ClientException

Returns

$this

product()

product(string  $product) : $this

Parameters

string $product

Throws

\AlibabaCloud\Client\Exception\ClientException

Returns

$this

endpointType()

endpointType(string  $endpointType) : $this

Parameters

string $endpointType

Throws

\AlibabaCloud\Client\Exception\ClientException

Returns

$this

serviceCode()

serviceCode(string  $serviceCode) : $this

Parameters

string $serviceCode

Throws

\AlibabaCloud\Client\Exception\ClientException

Returns

$this

resolveHost()

resolveHost() 

Resolve Host.

Throws

\AlibabaCloud\Client\Exception\ClientException
\AlibabaCloud\Client\Exception\ServerException

realRegionId()

realRegionId() : string

Throws

\AlibabaCloud\Client\Exception\ClientException

Returns

string

resolveHostWays()

resolveHostWays(string  $host, string  $region_id) 

Parameters

string $host
string $region_id

Throws

\AlibabaCloud\Client\Exception\ClientException
\AlibabaCloud\Client\Exception\ServerException

hostResolver()

hostResolver(string  $host, string  $region_id) 

Parameters

string $host
string $region_id

Throws

\AlibabaCloud\Client\Exception\ClientException
\AlibabaCloud\Client\Exception\ServerException