$clients
$clients : array
Trait of the manage clients.
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 |