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:
Devang Srivastava 2020-09-28 15:32:51 +05:30
commit e6d7753dc8
1095 changed files with 45088 additions and 2911 deletions

View file

@ -0,0 +1,9 @@
<?php
namespace Aws\QLDB\Exception;
use Aws\Exception\AwsException;
/**
* Represents an error interacting with the **Amazon QLDB** service.
*/
class QLDBException extends AwsException {}

View file

@ -0,0 +1,47 @@
<?php
namespace Aws\QLDB;
use Aws\AwsClient;
/**
* This client is used to interact with the **Amazon QLDB** service.
* @method \Aws\Result cancelJournalKinesisStream(array $args = [])
* @method \GuzzleHttp\Promise\Promise cancelJournalKinesisStreamAsync(array $args = [])
* @method \Aws\Result createLedger(array $args = [])
* @method \GuzzleHttp\Promise\Promise createLedgerAsync(array $args = [])
* @method \Aws\Result deleteLedger(array $args = [])
* @method \GuzzleHttp\Promise\Promise deleteLedgerAsync(array $args = [])
* @method \Aws\Result describeJournalKinesisStream(array $args = [])
* @method \GuzzleHttp\Promise\Promise describeJournalKinesisStreamAsync(array $args = [])
* @method \Aws\Result describeJournalS3Export(array $args = [])
* @method \GuzzleHttp\Promise\Promise describeJournalS3ExportAsync(array $args = [])
* @method \Aws\Result describeLedger(array $args = [])
* @method \GuzzleHttp\Promise\Promise describeLedgerAsync(array $args = [])
* @method \Aws\Result exportJournalToS3(array $args = [])
* @method \GuzzleHttp\Promise\Promise exportJournalToS3Async(array $args = [])
* @method \Aws\Result getBlock(array $args = [])
* @method \GuzzleHttp\Promise\Promise getBlockAsync(array $args = [])
* @method \Aws\Result getDigest(array $args = [])
* @method \GuzzleHttp\Promise\Promise getDigestAsync(array $args = [])
* @method \Aws\Result getRevision(array $args = [])
* @method \GuzzleHttp\Promise\Promise getRevisionAsync(array $args = [])
* @method \Aws\Result listJournalKinesisStreamsForLedger(array $args = [])
* @method \GuzzleHttp\Promise\Promise listJournalKinesisStreamsForLedgerAsync(array $args = [])
* @method \Aws\Result listJournalS3Exports(array $args = [])
* @method \GuzzleHttp\Promise\Promise listJournalS3ExportsAsync(array $args = [])
* @method \Aws\Result listJournalS3ExportsForLedger(array $args = [])
* @method \GuzzleHttp\Promise\Promise listJournalS3ExportsForLedgerAsync(array $args = [])
* @method \Aws\Result listLedgers(array $args = [])
* @method \GuzzleHttp\Promise\Promise listLedgersAsync(array $args = [])
* @method \Aws\Result listTagsForResource(array $args = [])
* @method \GuzzleHttp\Promise\Promise listTagsForResourceAsync(array $args = [])
* @method \Aws\Result streamJournalToKinesis(array $args = [])
* @method \GuzzleHttp\Promise\Promise streamJournalToKinesisAsync(array $args = [])
* @method \Aws\Result tagResource(array $args = [])
* @method \GuzzleHttp\Promise\Promise tagResourceAsync(array $args = [])
* @method \Aws\Result untagResource(array $args = [])
* @method \GuzzleHttp\Promise\Promise untagResourceAsync(array $args = [])
* @method \Aws\Result updateLedger(array $args = [])
* @method \GuzzleHttp\Promise\Promise updateLedgerAsync(array $args = [])
*/
class QLDBClient extends AwsClient {}