mirror of
https://github.com/SociallyDev/Spaces-API.git
synced 2025-08-20 13:23:47 -07:00
v2: Updates
* Simplifies & beautifies everything * Introduces a new Class system. * Errors are defaulted to AWS's handler. * New function names & more efficient handling. * Should fix a majority of the errors. Please read the README for more!
This commit is contained in:
parent
ad0726e41e
commit
e6d7753dc8
1095 changed files with 45088 additions and 2911 deletions
|
@ -120,28 +120,62 @@ use Aws\PresignUrlMiddleware;
|
|||
* @method \GuzzleHttp\Promise\Promise revokeDBSecurityGroupIngressAsync(array $args = [])
|
||||
* @method \Aws\Result addRoleToDBCluster(array $args = []) (supported in versions 2014-10-31)
|
||||
* @method \GuzzleHttp\Promise\Promise addRoleToDBClusterAsync(array $args = []) (supported in versions 2014-10-31)
|
||||
* @method \Aws\Result addRoleToDBInstance(array $args = []) (supported in versions 2014-10-31)
|
||||
* @method \GuzzleHttp\Promise\Promise addRoleToDBInstanceAsync(array $args = []) (supported in versions 2014-10-31)
|
||||
* @method \Aws\Result applyPendingMaintenanceAction(array $args = []) (supported in versions 2014-10-31)
|
||||
* @method \GuzzleHttp\Promise\Promise applyPendingMaintenanceActionAsync(array $args = []) (supported in versions 2014-10-31)
|
||||
* @method \Aws\Result backtrackDBCluster(array $args = []) (supported in versions 2014-10-31)
|
||||
* @method \GuzzleHttp\Promise\Promise backtrackDBClusterAsync(array $args = []) (supported in versions 2014-10-31)
|
||||
* @method \Aws\Result cancelExportTask(array $args = []) (supported in versions 2014-10-31)
|
||||
* @method \GuzzleHttp\Promise\Promise cancelExportTaskAsync(array $args = []) (supported in versions 2014-10-31)
|
||||
* @method \Aws\Result copyDBClusterParameterGroup(array $args = []) (supported in versions 2014-10-31)
|
||||
* @method \GuzzleHttp\Promise\Promise copyDBClusterParameterGroupAsync(array $args = []) (supported in versions 2014-10-31)
|
||||
* @method \Aws\Result copyDBClusterSnapshot(array $args = []) (supported in versions 2014-10-31)
|
||||
* @method \GuzzleHttp\Promise\Promise copyDBClusterSnapshotAsync(array $args = []) (supported in versions 2014-10-31)
|
||||
* @method \Aws\Result createCustomAvailabilityZone(array $args = []) (supported in versions 2014-10-31)
|
||||
* @method \GuzzleHttp\Promise\Promise createCustomAvailabilityZoneAsync(array $args = []) (supported in versions 2014-10-31)
|
||||
* @method \Aws\Result createDBCluster(array $args = []) (supported in versions 2014-10-31)
|
||||
* @method \GuzzleHttp\Promise\Promise createDBClusterAsync(array $args = []) (supported in versions 2014-10-31)
|
||||
* @method \Aws\Result createDBClusterEndpoint(array $args = []) (supported in versions 2014-10-31)
|
||||
* @method \GuzzleHttp\Promise\Promise createDBClusterEndpointAsync(array $args = []) (supported in versions 2014-10-31)
|
||||
* @method \Aws\Result createDBClusterParameterGroup(array $args = []) (supported in versions 2014-10-31)
|
||||
* @method \GuzzleHttp\Promise\Promise createDBClusterParameterGroupAsync(array $args = []) (supported in versions 2014-10-31)
|
||||
* @method \Aws\Result createDBClusterSnapshot(array $args = []) (supported in versions 2014-10-31)
|
||||
* @method \GuzzleHttp\Promise\Promise createDBClusterSnapshotAsync(array $args = []) (supported in versions 2014-10-31)
|
||||
* @method \Aws\Result createDBProxy(array $args = []) (supported in versions 2014-10-31)
|
||||
* @method \GuzzleHttp\Promise\Promise createDBProxyAsync(array $args = []) (supported in versions 2014-10-31)
|
||||
* @method \Aws\Result createGlobalCluster(array $args = []) (supported in versions 2014-10-31)
|
||||
* @method \GuzzleHttp\Promise\Promise createGlobalClusterAsync(array $args = []) (supported in versions 2014-10-31)
|
||||
* @method \Aws\Result deleteCustomAvailabilityZone(array $args = []) (supported in versions 2014-10-31)
|
||||
* @method \GuzzleHttp\Promise\Promise deleteCustomAvailabilityZoneAsync(array $args = []) (supported in versions 2014-10-31)
|
||||
* @method \Aws\Result deleteDBCluster(array $args = []) (supported in versions 2014-10-31)
|
||||
* @method \GuzzleHttp\Promise\Promise deleteDBClusterAsync(array $args = []) (supported in versions 2014-10-31)
|
||||
* @method \Aws\Result deleteDBClusterEndpoint(array $args = []) (supported in versions 2014-10-31)
|
||||
* @method \GuzzleHttp\Promise\Promise deleteDBClusterEndpointAsync(array $args = []) (supported in versions 2014-10-31)
|
||||
* @method \Aws\Result deleteDBClusterParameterGroup(array $args = []) (supported in versions 2014-10-31)
|
||||
* @method \GuzzleHttp\Promise\Promise deleteDBClusterParameterGroupAsync(array $args = []) (supported in versions 2014-10-31)
|
||||
* @method \Aws\Result deleteDBClusterSnapshot(array $args = []) (supported in versions 2014-10-31)
|
||||
* @method \GuzzleHttp\Promise\Promise deleteDBClusterSnapshotAsync(array $args = []) (supported in versions 2014-10-31)
|
||||
* @method \Aws\Result deleteDBInstanceAutomatedBackup(array $args = []) (supported in versions 2014-10-31)
|
||||
* @method \GuzzleHttp\Promise\Promise deleteDBInstanceAutomatedBackupAsync(array $args = []) (supported in versions 2014-10-31)
|
||||
* @method \Aws\Result deleteDBProxy(array $args = []) (supported in versions 2014-10-31)
|
||||
* @method \GuzzleHttp\Promise\Promise deleteDBProxyAsync(array $args = []) (supported in versions 2014-10-31)
|
||||
* @method \Aws\Result deleteGlobalCluster(array $args = []) (supported in versions 2014-10-31)
|
||||
* @method \GuzzleHttp\Promise\Promise deleteGlobalClusterAsync(array $args = []) (supported in versions 2014-10-31)
|
||||
* @method \Aws\Result deleteInstallationMedia(array $args = []) (supported in versions 2014-10-31)
|
||||
* @method \GuzzleHttp\Promise\Promise deleteInstallationMediaAsync(array $args = []) (supported in versions 2014-10-31)
|
||||
* @method \Aws\Result deregisterDBProxyTargets(array $args = []) (supported in versions 2014-10-31)
|
||||
* @method \GuzzleHttp\Promise\Promise deregisterDBProxyTargetsAsync(array $args = []) (supported in versions 2014-10-31)
|
||||
* @method \Aws\Result describeAccountAttributes(array $args = []) (supported in versions 2014-10-31)
|
||||
* @method \GuzzleHttp\Promise\Promise describeAccountAttributesAsync(array $args = []) (supported in versions 2014-10-31)
|
||||
* @method \Aws\Result describeCertificates(array $args = []) (supported in versions 2014-10-31)
|
||||
* @method \GuzzleHttp\Promise\Promise describeCertificatesAsync(array $args = []) (supported in versions 2014-10-31)
|
||||
* @method \Aws\Result describeCustomAvailabilityZones(array $args = []) (supported in versions 2014-10-31)
|
||||
* @method \GuzzleHttp\Promise\Promise describeCustomAvailabilityZonesAsync(array $args = []) (supported in versions 2014-10-31)
|
||||
* @method \Aws\Result describeDBClusterBacktracks(array $args = []) (supported in versions 2014-10-31)
|
||||
* @method \GuzzleHttp\Promise\Promise describeDBClusterBacktracksAsync(array $args = []) (supported in versions 2014-10-31)
|
||||
* @method \Aws\Result describeDBClusterEndpoints(array $args = []) (supported in versions 2014-10-31)
|
||||
* @method \GuzzleHttp\Promise\Promise describeDBClusterEndpointsAsync(array $args = []) (supported in versions 2014-10-31)
|
||||
* @method \Aws\Result describeDBClusterParameterGroups(array $args = []) (supported in versions 2014-10-31)
|
||||
* @method \GuzzleHttp\Promise\Promise describeDBClusterParameterGroupsAsync(array $args = []) (supported in versions 2014-10-31)
|
||||
* @method \Aws\Result describeDBClusterParameters(array $args = []) (supported in versions 2014-10-31)
|
||||
|
@ -152,10 +186,24 @@ use Aws\PresignUrlMiddleware;
|
|||
* @method \GuzzleHttp\Promise\Promise describeDBClusterSnapshotsAsync(array $args = []) (supported in versions 2014-10-31)
|
||||
* @method \Aws\Result describeDBClusters(array $args = []) (supported in versions 2014-10-31)
|
||||
* @method \GuzzleHttp\Promise\Promise describeDBClustersAsync(array $args = []) (supported in versions 2014-10-31)
|
||||
* @method \Aws\Result describeDBInstanceAutomatedBackups(array $args = []) (supported in versions 2014-10-31)
|
||||
* @method \GuzzleHttp\Promise\Promise describeDBInstanceAutomatedBackupsAsync(array $args = []) (supported in versions 2014-10-31)
|
||||
* @method \Aws\Result describeDBProxies(array $args = []) (supported in versions 2014-10-31)
|
||||
* @method \GuzzleHttp\Promise\Promise describeDBProxiesAsync(array $args = []) (supported in versions 2014-10-31)
|
||||
* @method \Aws\Result describeDBProxyTargetGroups(array $args = []) (supported in versions 2014-10-31)
|
||||
* @method \GuzzleHttp\Promise\Promise describeDBProxyTargetGroupsAsync(array $args = []) (supported in versions 2014-10-31)
|
||||
* @method \Aws\Result describeDBProxyTargets(array $args = []) (supported in versions 2014-10-31)
|
||||
* @method \GuzzleHttp\Promise\Promise describeDBProxyTargetsAsync(array $args = []) (supported in versions 2014-10-31)
|
||||
* @method \Aws\Result describeDBSnapshotAttributes(array $args = []) (supported in versions 2014-10-31)
|
||||
* @method \GuzzleHttp\Promise\Promise describeDBSnapshotAttributesAsync(array $args = []) (supported in versions 2014-10-31)
|
||||
* @method \Aws\Result describeEngineDefaultClusterParameters(array $args = []) (supported in versions 2014-10-31)
|
||||
* @method \GuzzleHttp\Promise\Promise describeEngineDefaultClusterParametersAsync(array $args = []) (supported in versions 2014-10-31)
|
||||
* @method \Aws\Result describeExportTasks(array $args = []) (supported in versions 2014-10-31)
|
||||
* @method \GuzzleHttp\Promise\Promise describeExportTasksAsync(array $args = []) (supported in versions 2014-10-31)
|
||||
* @method \Aws\Result describeGlobalClusters(array $args = []) (supported in versions 2014-10-31)
|
||||
* @method \GuzzleHttp\Promise\Promise describeGlobalClustersAsync(array $args = []) (supported in versions 2014-10-31)
|
||||
* @method \Aws\Result describeInstallationMedia(array $args = []) (supported in versions 2014-10-31)
|
||||
* @method \GuzzleHttp\Promise\Promise describeInstallationMediaAsync(array $args = []) (supported in versions 2014-10-31)
|
||||
* @method \Aws\Result describePendingMaintenanceActions(array $args = []) (supported in versions 2014-10-31)
|
||||
* @method \GuzzleHttp\Promise\Promise describePendingMaintenanceActionsAsync(array $args = []) (supported in versions 2014-10-31)
|
||||
* @method \Aws\Result describeSourceRegions(array $args = []) (supported in versions 2014-10-31)
|
||||
|
@ -164,20 +212,40 @@ use Aws\PresignUrlMiddleware;
|
|||
* @method \GuzzleHttp\Promise\Promise describeValidDBInstanceModificationsAsync(array $args = []) (supported in versions 2014-10-31)
|
||||
* @method \Aws\Result failoverDBCluster(array $args = []) (supported in versions 2014-10-31)
|
||||
* @method \GuzzleHttp\Promise\Promise failoverDBClusterAsync(array $args = []) (supported in versions 2014-10-31)
|
||||
* @method \Aws\Result importInstallationMedia(array $args = []) (supported in versions 2014-10-31)
|
||||
* @method \GuzzleHttp\Promise\Promise importInstallationMediaAsync(array $args = []) (supported in versions 2014-10-31)
|
||||
* @method \Aws\Result modifyCertificates(array $args = []) (supported in versions 2014-10-31)
|
||||
* @method \GuzzleHttp\Promise\Promise modifyCertificatesAsync(array $args = []) (supported in versions 2014-10-31)
|
||||
* @method \Aws\Result modifyCurrentDBClusterCapacity(array $args = []) (supported in versions 2014-10-31)
|
||||
* @method \GuzzleHttp\Promise\Promise modifyCurrentDBClusterCapacityAsync(array $args = []) (supported in versions 2014-10-31)
|
||||
* @method \Aws\Result modifyDBCluster(array $args = []) (supported in versions 2014-10-31)
|
||||
* @method \GuzzleHttp\Promise\Promise modifyDBClusterAsync(array $args = []) (supported in versions 2014-10-31)
|
||||
* @method \Aws\Result modifyDBClusterEndpoint(array $args = []) (supported in versions 2014-10-31)
|
||||
* @method \GuzzleHttp\Promise\Promise modifyDBClusterEndpointAsync(array $args = []) (supported in versions 2014-10-31)
|
||||
* @method \Aws\Result modifyDBClusterParameterGroup(array $args = []) (supported in versions 2014-10-31)
|
||||
* @method \GuzzleHttp\Promise\Promise modifyDBClusterParameterGroupAsync(array $args = []) (supported in versions 2014-10-31)
|
||||
* @method \Aws\Result modifyDBClusterSnapshotAttribute(array $args = []) (supported in versions 2014-10-31)
|
||||
* @method \GuzzleHttp\Promise\Promise modifyDBClusterSnapshotAttributeAsync(array $args = []) (supported in versions 2014-10-31)
|
||||
* @method \Aws\Result modifyDBProxy(array $args = []) (supported in versions 2014-10-31)
|
||||
* @method \GuzzleHttp\Promise\Promise modifyDBProxyAsync(array $args = []) (supported in versions 2014-10-31)
|
||||
* @method \Aws\Result modifyDBProxyTargetGroup(array $args = []) (supported in versions 2014-10-31)
|
||||
* @method \GuzzleHttp\Promise\Promise modifyDBProxyTargetGroupAsync(array $args = []) (supported in versions 2014-10-31)
|
||||
* @method \Aws\Result modifyDBSnapshot(array $args = []) (supported in versions 2014-10-31)
|
||||
* @method \GuzzleHttp\Promise\Promise modifyDBSnapshotAsync(array $args = []) (supported in versions 2014-10-31)
|
||||
* @method \Aws\Result modifyDBSnapshotAttribute(array $args = []) (supported in versions 2014-10-31)
|
||||
* @method \GuzzleHttp\Promise\Promise modifyDBSnapshotAttributeAsync(array $args = []) (supported in versions 2014-10-31)
|
||||
* @method \Aws\Result modifyGlobalCluster(array $args = []) (supported in versions 2014-10-31)
|
||||
* @method \GuzzleHttp\Promise\Promise modifyGlobalClusterAsync(array $args = []) (supported in versions 2014-10-31)
|
||||
* @method \Aws\Result promoteReadReplicaDBCluster(array $args = []) (supported in versions 2014-10-31)
|
||||
* @method \GuzzleHttp\Promise\Promise promoteReadReplicaDBClusterAsync(array $args = []) (supported in versions 2014-10-31)
|
||||
* @method \Aws\Result registerDBProxyTargets(array $args = []) (supported in versions 2014-10-31)
|
||||
* @method \GuzzleHttp\Promise\Promise registerDBProxyTargetsAsync(array $args = []) (supported in versions 2014-10-31)
|
||||
* @method \Aws\Result removeFromGlobalCluster(array $args = []) (supported in versions 2014-10-31)
|
||||
* @method \GuzzleHttp\Promise\Promise removeFromGlobalClusterAsync(array $args = []) (supported in versions 2014-10-31)
|
||||
* @method \Aws\Result removeRoleFromDBCluster(array $args = []) (supported in versions 2014-10-31)
|
||||
* @method \GuzzleHttp\Promise\Promise removeRoleFromDBClusterAsync(array $args = []) (supported in versions 2014-10-31)
|
||||
* @method \Aws\Result removeRoleFromDBInstance(array $args = []) (supported in versions 2014-10-31)
|
||||
* @method \GuzzleHttp\Promise\Promise removeRoleFromDBInstanceAsync(array $args = []) (supported in versions 2014-10-31)
|
||||
* @method \Aws\Result resetDBClusterParameterGroup(array $args = []) (supported in versions 2014-10-31)
|
||||
* @method \GuzzleHttp\Promise\Promise resetDBClusterParameterGroupAsync(array $args = []) (supported in versions 2014-10-31)
|
||||
* @method \Aws\Result restoreDBClusterFromS3(array $args = []) (supported in versions 2014-10-31)
|
||||
|
@ -188,8 +256,18 @@ use Aws\PresignUrlMiddleware;
|
|||
* @method \GuzzleHttp\Promise\Promise restoreDBClusterToPointInTimeAsync(array $args = []) (supported in versions 2014-10-31)
|
||||
* @method \Aws\Result restoreDBInstanceFromS3(array $args = []) (supported in versions 2014-10-31)
|
||||
* @method \GuzzleHttp\Promise\Promise restoreDBInstanceFromS3Async(array $args = []) (supported in versions 2014-10-31)
|
||||
* @method \Aws\Result startActivityStream(array $args = []) (supported in versions 2014-10-31)
|
||||
* @method \GuzzleHttp\Promise\Promise startActivityStreamAsync(array $args = []) (supported in versions 2014-10-31)
|
||||
* @method \Aws\Result startDBCluster(array $args = []) (supported in versions 2014-10-31)
|
||||
* @method \GuzzleHttp\Promise\Promise startDBClusterAsync(array $args = []) (supported in versions 2014-10-31)
|
||||
* @method \Aws\Result startDBInstance(array $args = []) (supported in versions 2014-10-31)
|
||||
* @method \GuzzleHttp\Promise\Promise startDBInstanceAsync(array $args = []) (supported in versions 2014-10-31)
|
||||
* @method \Aws\Result startExportTask(array $args = []) (supported in versions 2014-10-31)
|
||||
* @method \GuzzleHttp\Promise\Promise startExportTaskAsync(array $args = []) (supported in versions 2014-10-31)
|
||||
* @method \Aws\Result stopActivityStream(array $args = []) (supported in versions 2014-10-31)
|
||||
* @method \GuzzleHttp\Promise\Promise stopActivityStreamAsync(array $args = []) (supported in versions 2014-10-31)
|
||||
* @method \Aws\Result stopDBCluster(array $args = []) (supported in versions 2014-10-31)
|
||||
* @method \GuzzleHttp\Promise\Promise stopDBClusterAsync(array $args = []) (supported in versions 2014-10-31)
|
||||
* @method \Aws\Result stopDBInstance(array $args = []) (supported in versions 2014-10-31)
|
||||
* @method \GuzzleHttp\Promise\Promise stopDBInstanceAsync(array $args = []) (supported in versions 2014-10-31)
|
||||
*/
|
||||
|
@ -234,6 +312,15 @@ class RdsClient extends AwsClient
|
|||
$api['shapes']['CopyDBSnapshotMessage']['members']['SourceRegion'] = ['shape' => 'SourceRegion'];
|
||||
$api['shapes']['CreateDBInstanceReadReplicaMessage']['members']['SourceRegion'] = ['shape' => 'SourceRegion'];
|
||||
|
||||
// Add the DestinationRegion parameter
|
||||
$docs['shapes']['DestinationRegion']['base']
|
||||
= '<div class="alert alert-info">The SDK will populate this '
|
||||
. 'parameter on your behalf using the configured region value of '
|
||||
. 'the client.</div>';
|
||||
$api['shapes']['DestinationRegion'] = ['type' => 'string'];
|
||||
$api['shapes']['CopyDBSnapshotMessage']['members']['DestinationRegion'] = ['shape' => 'DestinationRegion'];
|
||||
$api['shapes']['CreateDBInstanceReadReplicaMessage']['members']['DestinationRegion'] = ['shape' => 'DestinationRegion'];
|
||||
|
||||
// Several parameters in presign APIs are optional.
|
||||
$docs['shapes']['String']['refs']['CopyDBSnapshotMessage$PreSignedUrl']
|
||||
= '<div class="alert alert-info">The SDK will compute this value '
|
||||
|
@ -256,6 +343,9 @@ class RdsClient extends AwsClient
|
|||
$api['shapes']['CopyDBClusterSnapshotMessage']['members']['SourceRegion'] = ['shape' => 'SourceRegion'];
|
||||
$api['shapes']['CreateDBClusterMessage']['members']['SourceRegion'] = ['shape' => 'SourceRegion'];
|
||||
|
||||
$api['shapes']['CopyDBClusterSnapshotMessage']['members']['DestinationRegion'] = ['shape' => 'DestinationRegion'];
|
||||
$api['shapes']['CreateDBClusterMessage']['members']['DestinationRegion'] = ['shape' => 'DestinationRegion'];
|
||||
|
||||
// Several parameters in presign APIs are optional.
|
||||
$docs['shapes']['String']['refs']['CopyDBClusterSnapshotMessage$PreSignedUrl']
|
||||
= '<div class="alert alert-info">The SDK will compute this value '
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue