mirror of
https://github.com/SociallyDev/Spaces-API.git
synced 2025-08-20 21:33:43 -07:00
spaces.php
This commit is contained in:
parent
7755490b81
commit
eefa32741e
845 changed files with 50409 additions and 0 deletions
84
aws/Aws/CloudHsm/CloudHsmClient.php
Normal file
84
aws/Aws/CloudHsm/CloudHsmClient.php
Normal file
|
@ -0,0 +1,84 @@
|
|||
<?php
|
||||
namespace Aws\CloudHsm;
|
||||
|
||||
use Aws\Api\ApiProvider;
|
||||
use Aws\Api\DocModel;
|
||||
use Aws\Api\Service;
|
||||
use Aws\AwsClient;
|
||||
|
||||
/**
|
||||
* This client is used to interact with **AWS CloudHSM**.
|
||||
*
|
||||
* @method \Aws\Result addTagsToResource(array $args = [])
|
||||
* @method \GuzzleHttp\Promise\Promise addTagsToResourceAsync(array $args = [])
|
||||
* @method \Aws\Result createHapg(array $args = [])
|
||||
* @method \GuzzleHttp\Promise\Promise createHapgAsync(array $args = [])
|
||||
* @method \Aws\Result createHsm(array $args = [])
|
||||
* @method \GuzzleHttp\Promise\Promise createHsmAsync(array $args = [])
|
||||
* @method \Aws\Result createLunaClient(array $args = [])
|
||||
* @method \GuzzleHttp\Promise\Promise createLunaClientAsync(array $args = [])
|
||||
* @method \Aws\Result deleteHapg(array $args = [])
|
||||
* @method \GuzzleHttp\Promise\Promise deleteHapgAsync(array $args = [])
|
||||
* @method \Aws\Result deleteHsm(array $args = [])
|
||||
* @method \GuzzleHttp\Promise\Promise deleteHsmAsync(array $args = [])
|
||||
* @method \Aws\Result deleteLunaClient(array $args = [])
|
||||
* @method \GuzzleHttp\Promise\Promise deleteLunaClientAsync(array $args = [])
|
||||
* @method \Aws\Result describeHapg(array $args = [])
|
||||
* @method \GuzzleHttp\Promise\Promise describeHapgAsync(array $args = [])
|
||||
* @method \Aws\Result describeHsm(array $args = [])
|
||||
* @method \GuzzleHttp\Promise\Promise describeHsmAsync(array $args = [])
|
||||
* @method \Aws\Result describeLunaClient(array $args = [])
|
||||
* @method \GuzzleHttp\Promise\Promise describeLunaClientAsync(array $args = [])
|
||||
* @method \Aws\Result getConfig(array $args = [])
|
||||
* @method \GuzzleHttp\Promise\Promise getConfigAsync(array $args = [])
|
||||
* @method \Aws\Result listAvailableZones(array $args = [])
|
||||
* @method \GuzzleHttp\Promise\Promise listAvailableZonesAsync(array $args = [])
|
||||
* @method \Aws\Result listHapgs(array $args = [])
|
||||
* @method \GuzzleHttp\Promise\Promise listHapgsAsync(array $args = [])
|
||||
* @method \Aws\Result listHsms(array $args = [])
|
||||
* @method \GuzzleHttp\Promise\Promise listHsmsAsync(array $args = [])
|
||||
* @method \Aws\Result listLunaClients(array $args = [])
|
||||
* @method \GuzzleHttp\Promise\Promise listLunaClientsAsync(array $args = [])
|
||||
* @method \Aws\Result listTagsForResource(array $args = [])
|
||||
* @method \GuzzleHttp\Promise\Promise listTagsForResourceAsync(array $args = [])
|
||||
* @method \Aws\Result modifyHapg(array $args = [])
|
||||
* @method \GuzzleHttp\Promise\Promise modifyHapgAsync(array $args = [])
|
||||
* @method \Aws\Result modifyHsm(array $args = [])
|
||||
* @method \GuzzleHttp\Promise\Promise modifyHsmAsync(array $args = [])
|
||||
* @method \Aws\Result modifyLunaClient(array $args = [])
|
||||
* @method \GuzzleHttp\Promise\Promise modifyLunaClientAsync(array $args = [])
|
||||
* @method \Aws\Result removeTagsFromResource(array $args = [])
|
||||
* @method \GuzzleHttp\Promise\Promise removeTagsFromResourceAsync(array $args = [])
|
||||
*/
|
||||
class CloudHsmClient extends AwsClient
|
||||
{
|
||||
public function __call($name, array $args)
|
||||
{
|
||||
// Overcomes a naming collision with `AwsClient::getConfig`.
|
||||
if (lcfirst($name) === 'getConfigFiles') {
|
||||
$name = 'GetConfig';
|
||||
} elseif (lcfirst($name) === 'getConfigFilesAsync') {
|
||||
$name = 'GetConfigAsync';
|
||||
}
|
||||
|
||||
return parent::__call($name, $args);
|
||||
}
|
||||
|
||||
/**
|
||||
* @internal
|
||||
* @codeCoverageIgnore
|
||||
*/
|
||||
public static function applyDocFilters(array $api, array $docs)
|
||||
{
|
||||
// Overcomes a naming collision with `AwsClient::getConfig`.
|
||||
$api['operations']['GetConfigFiles'] = $api['operations']['GetConfig'];
|
||||
$docs['operations']['GetConfigFiles'] = $docs['operations']['GetConfig'];
|
||||
unset($api['operations']['GetConfig'], $docs['operations']['GetConfig']);
|
||||
ksort($api['operations']);
|
||||
|
||||
return [
|
||||
new Service($api, ApiProvider::defaultProvider()),
|
||||
new DocModel($docs)
|
||||
];
|
||||
}
|
||||
}
|
9
aws/Aws/CloudHsm/Exception/CloudHsmException.php
Normal file
9
aws/Aws/CloudHsm/Exception/CloudHsmException.php
Normal file
|
@ -0,0 +1,9 @@
|
|||
<?php
|
||||
namespace Aws\CloudHsm\Exception;
|
||||
|
||||
use Aws\Exception\AwsException;
|
||||
|
||||
/**
|
||||
* AWS CloudHSM exception.
|
||||
*/
|
||||
class CloudHsmException extends AwsException {}
|
Loading…
Add table
Add a link
Reference in a new issue