VERSION
VERSION = '1.5.29'
Version of the Client
Class AlibabaCloud
$logger : \Psr\Log\LoggerInterface
set(string $clientName, \AlibabaCloud\Client\Clients\Client $client) : \AlibabaCloud\Client\Clients\Client
| string | $clientName | |
| \AlibabaCloud\Client\Clients\Client | $client |
getDefaultClient() : \AlibabaCloud\Client\Clients\Client
Get the default client.
| None found |
get(string $clientName) : \AlibabaCloud\Client\Clients\Client
Get the Client instance by name.
| string | $clientName |
| None found |
has(string $clientName) : boolean
Determine whether there is a client.
| string | $clientName |
| None found |
load() : array
A list of additional files to load.
when a file has a syntax error or does not exist or is not readable
| None found |
client(\AlibabaCloud\Client\Credentials\CredentialsInterface $credentials, \AlibabaCloud\Client\Signature\SignatureInterface $signature) : \AlibabaCloud\Client\Clients\Client
Custom Client.
| \AlibabaCloud\Client\Credentials\CredentialsInterface | $credentials | |
| \AlibabaCloud\Client\Signature\SignatureInterface | $signature |
| None found |
accessKeyClient(string $accessKeyId, string $accessKeySecret) : \AlibabaCloud\Client\Clients\AccessKeyClient
Use the AccessKey to complete the authentication.
| string | $accessKeyId | |
| string | $accessKeySecret |
| None found |
ramRoleArnClient(string $accessKeyId, string $accessKeySecret, string $roleArn, string $roleSessionName, string|array $policy = '') : \AlibabaCloud\Client\Clients\RamRoleArnClient
Use the AssumeRole of the RAM account to complete the authentication.
| string | $accessKeyId | |
| string | $accessKeySecret | |
| string | $roleArn | |
| string | $roleSessionName | |
| string|array | $policy |
| None found |
ecsRamRoleClient(string $roleName) : \AlibabaCloud\Client\Clients\EcsRamRoleClient
Use the RAM role of an ECS instance to complete the authentication.
| string | $roleName |
| None found |
bearerTokenClient(string $bearerToken) : \AlibabaCloud\Client\Clients\BearerTokenClient
Use the Bearer Token to complete the authentication.
| string | $bearerToken |
| None found |
stsClient(string $accessKeyId, string $accessKeySecret, string $securityToken = '') : \AlibabaCloud\Client\Clients\StsClient
Use the STS Token to complete the authentication.
| string | $accessKeyId | Access key ID |
| string | $accessKeySecret | Access Key Secret |
| string | $securityToken | Security Token |
| None found |
rsaKeyPairClient(string $publicKeyId, string $privateKeyFile) : \AlibabaCloud\Client\Clients\RsaKeyPairClient
Use the RSA key pair to complete the authentication (supported only on Japanese site)
| string | $publicKeyId | |
| string | $privateKeyFile |
| None found |
setGlobalRegionId( $regionId)
| $regionId |
| codeCoverageIgnore |
|---|
| codeCoverageIgnore |
|---|
getDefaultRegionId() : string|null
Get the default RegionId.
| None found |
setDefaultRegionId(string $regionId)
Set the default RegionId.
| string | $regionId |
| None found |
resolveHost(string $product, string $regionId = \AlibabaCloud\Client\Regions\LocationService::GLOBAL_REGION) : string
Resolve host based on product name and region.
| string | $product | |
| string | $regionId |
| None found |
| None found |
resolveHostByStatic(string $product, string $regionId) : string
| string | $product | |
| string | $regionId |
| None found |
addHost(string $product, string $host, string $regionId = \AlibabaCloud\Client\Regions\LocationService::GLOBAL_REGION) : void
Add host based on product name and region.
| string | $product | |
| string | $host | |
| string | $regionId |
| None found |
resolveHostByRule(\AlibabaCloud\Client\Request\Request $request) : string
| \AlibabaCloud\Client\Request\Request | $request |
| None found |
appendUserAgent(string $name, string $value)
| string | $name | |
| string | $value |
| None found |
| None found |
rpcRequest(array $options = array()) : \AlibabaCloud\Client\Request\RpcRequest
| array | $options |
| codeCoverageIgnore |
|---|
rpc(array $options = array()) : \AlibabaCloud\Client\Request\RpcRequest
| array | $options |
| None found |
roaRequest(array $options = array()) : \AlibabaCloud\Client\Request\RoaRequest
| array | $options |
| codeCoverageIgnore |
|---|
roa(array $options = array()) : \AlibabaCloud\Client\Request\RoaRequest
| array | $options |
| None found |
mockResponse(integer $status = 200, array $headers = array(), array|string|object $body = null)
| integer | $status | |
| array | $headers | |
| array|string|object | $body |
| None found |
mockRequestException(string $message, \Psr\Http\Message\RequestInterface $request, \Psr\Http\Message\ResponseInterface|null $response = null, \Exception|null $previous = null, array $handlerContext = array())
| string | $message | |
| \Psr\Http\Message\RequestInterface | $request | |
| \Psr\Http\Message\ResponseInterface|null | $response | |
| \Exception|null | $previous | |
| array | $handlerContext |
| None found |
| None found |
| None found |
| None found |
| None found |
| None found |
| None found |
| None found |
| None found |
| None found |
| None found |
getLogger() : \Psr\Log\LoggerInterface
| None found |
setLogger(\Psr\Log\LoggerInterface $logger)
| \Psr\Log\LoggerInterface | $logger |
| None found |
| None found |
setLogFormat(string $formatter)
Apache Common Log Format.
| string | $formatter |
| None found |
__callStatic(string $product, array $arguments) : object
This static method can directly call the specific service.
| string | $product | |
| array | $arguments |
| codeCoverageIgnore |
|---|
| None found |
| None found |