/* * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. * A copy of the License is located at * * http://aws.amazon.com/apache2.0 * * or in the "license" file accompanying this file. This file is distributed * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either * express or implied. See the License for the specific language governing * permissions and limitations under the License. */ /* * Do not modify this file. This file is generated from the qldb-2019-01-02.normal.json service model. */ using System; using System.Collections.Generic; using Amazon.Runtime; using Amazon.QLDB.Model; namespace Amazon.QLDB { /// /// Interface for accessing QLDB /// /// The resource management API for Amazon QLDB /// public partial interface IAmazonQLDB : IAmazonService, IDisposable { #if BCL45 || AWS_ASYNC_ENUMERABLES_API /// /// Paginators for the service /// IQLDBPaginatorFactory Paginators { get; } #endif #region CancelJournalKinesisStream /// /// Ends a given Amazon QLDB journal stream. Before a stream can be canceled, its current /// status must be ACTIVE. /// /// /// /// You can't restart a stream after you cancel it. Canceled QLDB stream resources are /// subject to a 7-day retention period, so they are automatically deleted after this /// limit expires. /// /// /// Container for the necessary parameters to execute the CancelJournalKinesisStream service method. /// /// The response from the CancelJournalKinesisStream service method, as returned by QLDB. /// /// One or more parameters in the request aren't valid. /// /// /// The specified resource doesn't exist. /// /// /// The operation failed because a condition wasn't satisfied in advance. /// /// REST API Reference for CancelJournalKinesisStream Operation CancelJournalKinesisStreamResponse CancelJournalKinesisStream(CancelJournalKinesisStreamRequest request); /// /// Initiates the asynchronous execution of the CancelJournalKinesisStream operation. /// /// /// Container for the necessary parameters to execute the CancelJournalKinesisStream operation on AmazonQLDBClient. /// An AsyncCallback delegate that is invoked when the operation completes. /// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property. /// /// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndCancelJournalKinesisStream /// operation. /// REST API Reference for CancelJournalKinesisStream Operation IAsyncResult BeginCancelJournalKinesisStream(CancelJournalKinesisStreamRequest request, AsyncCallback callback, object state); /// /// Finishes the asynchronous execution of the CancelJournalKinesisStream operation. /// /// /// The IAsyncResult returned by the call to BeginCancelJournalKinesisStream. /// /// Returns a CancelJournalKinesisStreamResult from QLDB. /// REST API Reference for CancelJournalKinesisStream Operation CancelJournalKinesisStreamResponse EndCancelJournalKinesisStream(IAsyncResult asyncResult); #endregion #region CreateLedger /// /// Creates a new ledger in your Amazon Web Services account in the current Region. /// /// Container for the necessary parameters to execute the CreateLedger service method. /// /// The response from the CreateLedger service method, as returned by QLDB. /// /// One or more parameters in the request aren't valid. /// /// /// You have reached the limit on the maximum number of resources allowed. /// /// /// The specified resource already exists. /// /// /// The specified resource can't be modified at this time. /// /// REST API Reference for CreateLedger Operation CreateLedgerResponse CreateLedger(CreateLedgerRequest request); /// /// Initiates the asynchronous execution of the CreateLedger operation. /// /// /// Container for the necessary parameters to execute the CreateLedger operation on AmazonQLDBClient. /// An AsyncCallback delegate that is invoked when the operation completes. /// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property. /// /// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndCreateLedger /// operation. /// REST API Reference for CreateLedger Operation IAsyncResult BeginCreateLedger(CreateLedgerRequest request, AsyncCallback callback, object state); /// /// Finishes the asynchronous execution of the CreateLedger operation. /// /// /// The IAsyncResult returned by the call to BeginCreateLedger. /// /// Returns a CreateLedgerResult from QLDB. /// REST API Reference for CreateLedger Operation CreateLedgerResponse EndCreateLedger(IAsyncResult asyncResult); #endregion #region DeleteLedger /// /// Deletes a ledger and all of its contents. This action is irreversible. /// /// /// /// If deletion protection is enabled, you must first disable it before you can delete /// the ledger. You can disable it by calling the UpdateLedger operation /// to set this parameter to false. /// /// /// Container for the necessary parameters to execute the DeleteLedger service method. /// /// The response from the DeleteLedger service method, as returned by QLDB. /// /// One or more parameters in the request aren't valid. /// /// /// The specified resource can't be modified at this time. /// /// /// The specified resource doesn't exist. /// /// /// The operation failed because a condition wasn't satisfied in advance. /// /// REST API Reference for DeleteLedger Operation DeleteLedgerResponse DeleteLedger(DeleteLedgerRequest request); /// /// Initiates the asynchronous execution of the DeleteLedger operation. /// /// /// Container for the necessary parameters to execute the DeleteLedger operation on AmazonQLDBClient. /// An AsyncCallback delegate that is invoked when the operation completes. /// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property. /// /// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndDeleteLedger /// operation. /// REST API Reference for DeleteLedger Operation IAsyncResult BeginDeleteLedger(DeleteLedgerRequest request, AsyncCallback callback, object state); /// /// Finishes the asynchronous execution of the DeleteLedger operation. /// /// /// The IAsyncResult returned by the call to BeginDeleteLedger. /// /// Returns a DeleteLedgerResult from QLDB. /// REST API Reference for DeleteLedger Operation DeleteLedgerResponse EndDeleteLedger(IAsyncResult asyncResult); #endregion #region DescribeJournalKinesisStream /// /// Returns detailed information about a given Amazon QLDB journal stream. The output /// includes the Amazon Resource Name (ARN), stream name, current status, creation time, /// and the parameters of the original stream creation request. /// /// /// /// This action does not return any expired journal streams. For more information, see /// Expiration /// for terminal streams in the Amazon QLDB Developer Guide. /// /// /// Container for the necessary parameters to execute the DescribeJournalKinesisStream service method. /// /// The response from the DescribeJournalKinesisStream service method, as returned by QLDB. /// /// One or more parameters in the request aren't valid. /// /// /// The specified resource doesn't exist. /// /// /// The operation failed because a condition wasn't satisfied in advance. /// /// REST API Reference for DescribeJournalKinesisStream Operation DescribeJournalKinesisStreamResponse DescribeJournalKinesisStream(DescribeJournalKinesisStreamRequest request); /// /// Initiates the asynchronous execution of the DescribeJournalKinesisStream operation. /// /// /// Container for the necessary parameters to execute the DescribeJournalKinesisStream operation on AmazonQLDBClient. /// An AsyncCallback delegate that is invoked when the operation completes. /// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property. /// /// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndDescribeJournalKinesisStream /// operation. /// REST API Reference for DescribeJournalKinesisStream Operation IAsyncResult BeginDescribeJournalKinesisStream(DescribeJournalKinesisStreamRequest request, AsyncCallback callback, object state); /// /// Finishes the asynchronous execution of the DescribeJournalKinesisStream operation. /// /// /// The IAsyncResult returned by the call to BeginDescribeJournalKinesisStream. /// /// Returns a DescribeJournalKinesisStreamResult from QLDB. /// REST API Reference for DescribeJournalKinesisStream Operation DescribeJournalKinesisStreamResponse EndDescribeJournalKinesisStream(IAsyncResult asyncResult); #endregion #region DescribeJournalS3Export /// /// Returns information about a journal export job, including the ledger name, export /// ID, creation time, current status, and the parameters of the original export creation /// request. /// /// /// /// This action does not return any expired export jobs. For more information, see Export /// job expiration in the Amazon QLDB Developer Guide. /// /// /// /// If the export job with the given ExportId doesn't exist, then throws /// ResourceNotFoundException. /// /// /// /// If the ledger with the given Name doesn't exist, then throws ResourceNotFoundException. /// /// /// Container for the necessary parameters to execute the DescribeJournalS3Export service method. /// /// The response from the DescribeJournalS3Export service method, as returned by QLDB. /// /// The specified resource doesn't exist. /// /// REST API Reference for DescribeJournalS3Export Operation DescribeJournalS3ExportResponse DescribeJournalS3Export(DescribeJournalS3ExportRequest request); /// /// Initiates the asynchronous execution of the DescribeJournalS3Export operation. /// /// /// Container for the necessary parameters to execute the DescribeJournalS3Export operation on AmazonQLDBClient. /// An AsyncCallback delegate that is invoked when the operation completes. /// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property. /// /// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndDescribeJournalS3Export /// operation. /// REST API Reference for DescribeJournalS3Export Operation IAsyncResult BeginDescribeJournalS3Export(DescribeJournalS3ExportRequest request, AsyncCallback callback, object state); /// /// Finishes the asynchronous execution of the DescribeJournalS3Export operation. /// /// /// The IAsyncResult returned by the call to BeginDescribeJournalS3Export. /// /// Returns a DescribeJournalS3ExportResult from QLDB. /// REST API Reference for DescribeJournalS3Export Operation DescribeJournalS3ExportResponse EndDescribeJournalS3Export(IAsyncResult asyncResult); #endregion #region DescribeLedger /// /// Returns information about a ledger, including its state, permissions mode, encryption /// at rest settings, and when it was created. /// /// Container for the necessary parameters to execute the DescribeLedger service method. /// /// The response from the DescribeLedger service method, as returned by QLDB. /// /// One or more parameters in the request aren't valid. /// /// /// The specified resource doesn't exist. /// /// REST API Reference for DescribeLedger Operation DescribeLedgerResponse DescribeLedger(DescribeLedgerRequest request); /// /// Initiates the asynchronous execution of the DescribeLedger operation. /// /// /// Container for the necessary parameters to execute the DescribeLedger operation on AmazonQLDBClient. /// An AsyncCallback delegate that is invoked when the operation completes. /// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property. /// /// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndDescribeLedger /// operation. /// REST API Reference for DescribeLedger Operation IAsyncResult BeginDescribeLedger(DescribeLedgerRequest request, AsyncCallback callback, object state); /// /// Finishes the asynchronous execution of the DescribeLedger operation. /// /// /// The IAsyncResult returned by the call to BeginDescribeLedger. /// /// Returns a DescribeLedgerResult from QLDB. /// REST API Reference for DescribeLedger Operation DescribeLedgerResponse EndDescribeLedger(IAsyncResult asyncResult); #endregion #region ExportJournalToS3 /// /// Exports journal contents within a date and time range from a ledger into a specified /// Amazon Simple Storage Service (Amazon S3) bucket. A journal export job can write the /// data objects in either the text or binary representation of Amazon Ion format, or /// in JSON Lines text format. /// /// /// /// If the ledger with the given Name doesn't exist, then throws ResourceNotFoundException. /// /// /// /// If the ledger with the given Name is in CREATING status, /// then throws ResourcePreconditionNotMetException. /// /// /// /// You can initiate up to two concurrent journal export requests for each ledger. Beyond /// this limit, journal export requests throw LimitExceededException. /// /// /// Container for the necessary parameters to execute the ExportJournalToS3 service method. /// /// The response from the ExportJournalToS3 service method, as returned by QLDB. /// /// The specified resource doesn't exist. /// /// /// The operation failed because a condition wasn't satisfied in advance. /// /// REST API Reference for ExportJournalToS3 Operation ExportJournalToS3Response ExportJournalToS3(ExportJournalToS3Request request); /// /// Initiates the asynchronous execution of the ExportJournalToS3 operation. /// /// /// Container for the necessary parameters to execute the ExportJournalToS3 operation on AmazonQLDBClient. /// An AsyncCallback delegate that is invoked when the operation completes. /// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property. /// /// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndExportJournalToS3 /// operation. /// REST API Reference for ExportJournalToS3 Operation IAsyncResult BeginExportJournalToS3(ExportJournalToS3Request request, AsyncCallback callback, object state); /// /// Finishes the asynchronous execution of the ExportJournalToS3 operation. /// /// /// The IAsyncResult returned by the call to BeginExportJournalToS3. /// /// Returns a ExportJournalToS3Result from QLDB. /// REST API Reference for ExportJournalToS3 Operation ExportJournalToS3Response EndExportJournalToS3(IAsyncResult asyncResult); #endregion #region GetBlock /// /// Returns a block object at a specified address in a journal. Also returns a proof of /// the specified block for verification if DigestTipAddress is provided. /// /// /// /// For information about the data contents in a block, see Journal /// contents in the Amazon QLDB Developer Guide. /// /// /// /// If the specified ledger doesn't exist or is in DELETING status, then /// throws ResourceNotFoundException. /// /// /// /// If the specified ledger is in CREATING status, then throws ResourcePreconditionNotMetException. /// /// /// /// If no block exists with the specified address, then throws InvalidParameterException. /// /// /// Container for the necessary parameters to execute the GetBlock service method. /// /// The response from the GetBlock service method, as returned by QLDB. /// /// One or more parameters in the request aren't valid. /// /// /// The specified resource doesn't exist. /// /// /// The operation failed because a condition wasn't satisfied in advance. /// /// REST API Reference for GetBlock Operation GetBlockResponse GetBlock(GetBlockRequest request); /// /// Initiates the asynchronous execution of the GetBlock operation. /// /// /// Container for the necessary parameters to execute the GetBlock operation on AmazonQLDBClient. /// An AsyncCallback delegate that is invoked when the operation completes. /// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property. /// /// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndGetBlock /// operation. /// REST API Reference for GetBlock Operation IAsyncResult BeginGetBlock(GetBlockRequest request, AsyncCallback callback, object state); /// /// Finishes the asynchronous execution of the GetBlock operation. /// /// /// The IAsyncResult returned by the call to BeginGetBlock. /// /// Returns a GetBlockResult from QLDB. /// REST API Reference for GetBlock Operation GetBlockResponse EndGetBlock(IAsyncResult asyncResult); #endregion #region GetDigest /// /// Returns the digest of a ledger at the latest committed block in the journal. The response /// includes a 256-bit hash value and a block address. /// /// Container for the necessary parameters to execute the GetDigest service method. /// /// The response from the GetDigest service method, as returned by QLDB. /// /// One or more parameters in the request aren't valid. /// /// /// The specified resource doesn't exist. /// /// /// The operation failed because a condition wasn't satisfied in advance. /// /// REST API Reference for GetDigest Operation GetDigestResponse GetDigest(GetDigestRequest request); /// /// Initiates the asynchronous execution of the GetDigest operation. /// /// /// Container for the necessary parameters to execute the GetDigest operation on AmazonQLDBClient. /// An AsyncCallback delegate that is invoked when the operation completes. /// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property. /// /// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndGetDigest /// operation. /// REST API Reference for GetDigest Operation IAsyncResult BeginGetDigest(GetDigestRequest request, AsyncCallback callback, object state); /// /// Finishes the asynchronous execution of the GetDigest operation. /// /// /// The IAsyncResult returned by the call to BeginGetDigest. /// /// Returns a GetDigestResult from QLDB. /// REST API Reference for GetDigest Operation GetDigestResponse EndGetDigest(IAsyncResult asyncResult); #endregion #region GetRevision /// /// Returns a revision data object for a specified document ID and block address. Also /// returns a proof of the specified revision for verification if DigestTipAddress /// is provided. /// /// Container for the necessary parameters to execute the GetRevision service method. /// /// The response from the GetRevision service method, as returned by QLDB. /// /// One or more parameters in the request aren't valid. /// /// /// The specified resource doesn't exist. /// /// /// The operation failed because a condition wasn't satisfied in advance. /// /// REST API Reference for GetRevision Operation GetRevisionResponse GetRevision(GetRevisionRequest request); /// /// Initiates the asynchronous execution of the GetRevision operation. /// /// /// Container for the necessary parameters to execute the GetRevision operation on AmazonQLDBClient. /// An AsyncCallback delegate that is invoked when the operation completes. /// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property. /// /// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndGetRevision /// operation. /// REST API Reference for GetRevision Operation IAsyncResult BeginGetRevision(GetRevisionRequest request, AsyncCallback callback, object state); /// /// Finishes the asynchronous execution of the GetRevision operation. /// /// /// The IAsyncResult returned by the call to BeginGetRevision. /// /// Returns a GetRevisionResult from QLDB. /// REST API Reference for GetRevision Operation GetRevisionResponse EndGetRevision(IAsyncResult asyncResult); #endregion #region ListJournalKinesisStreamsForLedger /// /// Returns all Amazon QLDB journal streams for a given ledger. /// /// /// /// This action does not return any expired journal streams. For more information, see /// Expiration /// for terminal streams in the Amazon QLDB Developer Guide. /// /// /// /// This action returns a maximum of MaxResults items. It is paginated so /// that you can retrieve all the items by calling ListJournalKinesisStreamsForLedger /// multiple times. /// /// /// Container for the necessary parameters to execute the ListJournalKinesisStreamsForLedger service method. /// /// The response from the ListJournalKinesisStreamsForLedger service method, as returned by QLDB. /// /// One or more parameters in the request aren't valid. /// /// /// The specified resource doesn't exist. /// /// /// The operation failed because a condition wasn't satisfied in advance. /// /// REST API Reference for ListJournalKinesisStreamsForLedger Operation ListJournalKinesisStreamsForLedgerResponse ListJournalKinesisStreamsForLedger(ListJournalKinesisStreamsForLedgerRequest request); /// /// Initiates the asynchronous execution of the ListJournalKinesisStreamsForLedger operation. /// /// /// Container for the necessary parameters to execute the ListJournalKinesisStreamsForLedger operation on AmazonQLDBClient. /// An AsyncCallback delegate that is invoked when the operation completes. /// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property. /// /// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndListJournalKinesisStreamsForLedger /// operation. /// REST API Reference for ListJournalKinesisStreamsForLedger Operation IAsyncResult BeginListJournalKinesisStreamsForLedger(ListJournalKinesisStreamsForLedgerRequest request, AsyncCallback callback, object state); /// /// Finishes the asynchronous execution of the ListJournalKinesisStreamsForLedger operation. /// /// /// The IAsyncResult returned by the call to BeginListJournalKinesisStreamsForLedger. /// /// Returns a ListJournalKinesisStreamsForLedgerResult from QLDB. /// REST API Reference for ListJournalKinesisStreamsForLedger Operation ListJournalKinesisStreamsForLedgerResponse EndListJournalKinesisStreamsForLedger(IAsyncResult asyncResult); #endregion #region ListJournalS3Exports /// /// Returns all journal export jobs for all ledgers that are associated with the current /// Amazon Web Services account and Region. /// /// /// /// This action returns a maximum of MaxResults items, and is paginated so /// that you can retrieve all the items by calling ListJournalS3Exports multiple /// times. /// /// /// /// This action does not return any expired export jobs. For more information, see Export /// job expiration in the Amazon QLDB Developer Guide. /// /// /// Container for the necessary parameters to execute the ListJournalS3Exports service method. /// /// The response from the ListJournalS3Exports service method, as returned by QLDB. /// REST API Reference for ListJournalS3Exports Operation ListJournalS3ExportsResponse ListJournalS3Exports(ListJournalS3ExportsRequest request); /// /// Initiates the asynchronous execution of the ListJournalS3Exports operation. /// /// /// Container for the necessary parameters to execute the ListJournalS3Exports operation on AmazonQLDBClient. /// An AsyncCallback delegate that is invoked when the operation completes. /// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property. /// /// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndListJournalS3Exports /// operation. /// REST API Reference for ListJournalS3Exports Operation IAsyncResult BeginListJournalS3Exports(ListJournalS3ExportsRequest request, AsyncCallback callback, object state); /// /// Finishes the asynchronous execution of the ListJournalS3Exports operation. /// /// /// The IAsyncResult returned by the call to BeginListJournalS3Exports. /// /// Returns a ListJournalS3ExportsResult from QLDB. /// REST API Reference for ListJournalS3Exports Operation ListJournalS3ExportsResponse EndListJournalS3Exports(IAsyncResult asyncResult); #endregion #region ListJournalS3ExportsForLedger /// /// Returns all journal export jobs for a specified ledger. /// /// /// /// This action returns a maximum of MaxResults items, and is paginated so /// that you can retrieve all the items by calling ListJournalS3ExportsForLedger /// multiple times. /// /// /// /// This action does not return any expired export jobs. For more information, see Export /// job expiration in the Amazon QLDB Developer Guide. /// /// /// Container for the necessary parameters to execute the ListJournalS3ExportsForLedger service method. /// /// The response from the ListJournalS3ExportsForLedger service method, as returned by QLDB. /// REST API Reference for ListJournalS3ExportsForLedger Operation ListJournalS3ExportsForLedgerResponse ListJournalS3ExportsForLedger(ListJournalS3ExportsForLedgerRequest request); /// /// Initiates the asynchronous execution of the ListJournalS3ExportsForLedger operation. /// /// /// Container for the necessary parameters to execute the ListJournalS3ExportsForLedger operation on AmazonQLDBClient. /// An AsyncCallback delegate that is invoked when the operation completes. /// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property. /// /// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndListJournalS3ExportsForLedger /// operation. /// REST API Reference for ListJournalS3ExportsForLedger Operation IAsyncResult BeginListJournalS3ExportsForLedger(ListJournalS3ExportsForLedgerRequest request, AsyncCallback callback, object state); /// /// Finishes the asynchronous execution of the ListJournalS3ExportsForLedger operation. /// /// /// The IAsyncResult returned by the call to BeginListJournalS3ExportsForLedger. /// /// Returns a ListJournalS3ExportsForLedgerResult from QLDB. /// REST API Reference for ListJournalS3ExportsForLedger Operation ListJournalS3ExportsForLedgerResponse EndListJournalS3ExportsForLedger(IAsyncResult asyncResult); #endregion #region ListLedgers /// /// Returns all ledgers that are associated with the current Amazon Web Services account /// and Region. /// /// /// /// This action returns a maximum of MaxResults items and is paginated so /// that you can retrieve all the items by calling ListLedgers multiple times. /// /// /// Container for the necessary parameters to execute the ListLedgers service method. /// /// The response from the ListLedgers service method, as returned by QLDB. /// REST API Reference for ListLedgers Operation ListLedgersResponse ListLedgers(ListLedgersRequest request); /// /// Initiates the asynchronous execution of the ListLedgers operation. /// /// /// Container for the necessary parameters to execute the ListLedgers operation on AmazonQLDBClient. /// An AsyncCallback delegate that is invoked when the operation completes. /// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property. /// /// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndListLedgers /// operation. /// REST API Reference for ListLedgers Operation IAsyncResult BeginListLedgers(ListLedgersRequest request, AsyncCallback callback, object state); /// /// Finishes the asynchronous execution of the ListLedgers operation. /// /// /// The IAsyncResult returned by the call to BeginListLedgers. /// /// Returns a ListLedgersResult from QLDB. /// REST API Reference for ListLedgers Operation ListLedgersResponse EndListLedgers(IAsyncResult asyncResult); #endregion #region ListTagsForResource /// /// Returns all tags for a specified Amazon QLDB resource. /// /// Container for the necessary parameters to execute the ListTagsForResource service method. /// /// The response from the ListTagsForResource service method, as returned by QLDB. /// /// One or more parameters in the request aren't valid. /// /// /// The specified resource doesn't exist. /// /// REST API Reference for ListTagsForResource Operation ListTagsForResourceResponse ListTagsForResource(ListTagsForResourceRequest request); /// /// Initiates the asynchronous execution of the ListTagsForResource operation. /// /// /// Container for the necessary parameters to execute the ListTagsForResource operation on AmazonQLDBClient. /// An AsyncCallback delegate that is invoked when the operation completes. /// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property. /// /// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndListTagsForResource /// operation. /// REST API Reference for ListTagsForResource Operation IAsyncResult BeginListTagsForResource(ListTagsForResourceRequest request, AsyncCallback callback, object state); /// /// Finishes the asynchronous execution of the ListTagsForResource operation. /// /// /// The IAsyncResult returned by the call to BeginListTagsForResource. /// /// Returns a ListTagsForResourceResult from QLDB. /// REST API Reference for ListTagsForResource Operation ListTagsForResourceResponse EndListTagsForResource(IAsyncResult asyncResult); #endregion #region StreamJournalToKinesis /// /// Creates a journal stream for a given Amazon QLDB ledger. The stream captures every /// document revision that is committed to the ledger's journal and delivers the data /// to a specified Amazon Kinesis Data Streams resource. /// /// Container for the necessary parameters to execute the StreamJournalToKinesis service method. /// /// The response from the StreamJournalToKinesis service method, as returned by QLDB. /// /// One or more parameters in the request aren't valid. /// /// /// The specified resource doesn't exist. /// /// /// The operation failed because a condition wasn't satisfied in advance. /// /// REST API Reference for StreamJournalToKinesis Operation StreamJournalToKinesisResponse StreamJournalToKinesis(StreamJournalToKinesisRequest request); /// /// Initiates the asynchronous execution of the StreamJournalToKinesis operation. /// /// /// Container for the necessary parameters to execute the StreamJournalToKinesis operation on AmazonQLDBClient. /// An AsyncCallback delegate that is invoked when the operation completes. /// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property. /// /// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndStreamJournalToKinesis /// operation. /// REST API Reference for StreamJournalToKinesis Operation IAsyncResult BeginStreamJournalToKinesis(StreamJournalToKinesisRequest request, AsyncCallback callback, object state); /// /// Finishes the asynchronous execution of the StreamJournalToKinesis operation. /// /// /// The IAsyncResult returned by the call to BeginStreamJournalToKinesis. /// /// Returns a StreamJournalToKinesisResult from QLDB. /// REST API Reference for StreamJournalToKinesis Operation StreamJournalToKinesisResponse EndStreamJournalToKinesis(IAsyncResult asyncResult); #endregion #region TagResource /// /// Adds one or more tags to a specified Amazon QLDB resource. /// /// /// /// A resource can have up to 50 tags. If you try to create more than 50 tags for a resource, /// your request fails and returns an error. /// /// /// Container for the necessary parameters to execute the TagResource service method. /// /// The response from the TagResource service method, as returned by QLDB. /// /// One or more parameters in the request aren't valid. /// /// /// The specified resource doesn't exist. /// /// REST API Reference for TagResource Operation TagResourceResponse TagResource(TagResourceRequest request); /// /// Initiates the asynchronous execution of the TagResource operation. /// /// /// Container for the necessary parameters to execute the TagResource operation on AmazonQLDBClient. /// An AsyncCallback delegate that is invoked when the operation completes. /// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property. /// /// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndTagResource /// operation. /// REST API Reference for TagResource Operation IAsyncResult BeginTagResource(TagResourceRequest request, AsyncCallback callback, object state); /// /// Finishes the asynchronous execution of the TagResource operation. /// /// /// The IAsyncResult returned by the call to BeginTagResource. /// /// Returns a TagResourceResult from QLDB. /// REST API Reference for TagResource Operation TagResourceResponse EndTagResource(IAsyncResult asyncResult); #endregion #region UntagResource /// /// Removes one or more tags from a specified Amazon QLDB resource. You can specify up /// to 50 tag keys to remove. /// /// Container for the necessary parameters to execute the UntagResource service method. /// /// The response from the UntagResource service method, as returned by QLDB. /// /// One or more parameters in the request aren't valid. /// /// /// The specified resource doesn't exist. /// /// REST API Reference for UntagResource Operation UntagResourceResponse UntagResource(UntagResourceRequest request); /// /// Initiates the asynchronous execution of the UntagResource operation. /// /// /// Container for the necessary parameters to execute the UntagResource operation on AmazonQLDBClient. /// An AsyncCallback delegate that is invoked when the operation completes. /// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property. /// /// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndUntagResource /// operation. /// REST API Reference for UntagResource Operation IAsyncResult BeginUntagResource(UntagResourceRequest request, AsyncCallback callback, object state); /// /// Finishes the asynchronous execution of the UntagResource operation. /// /// /// The IAsyncResult returned by the call to BeginUntagResource. /// /// Returns a UntagResourceResult from QLDB. /// REST API Reference for UntagResource Operation UntagResourceResponse EndUntagResource(IAsyncResult asyncResult); #endregion #region UpdateLedger /// /// Updates properties on a ledger. /// /// Container for the necessary parameters to execute the UpdateLedger service method. /// /// The response from the UpdateLedger service method, as returned by QLDB. /// /// One or more parameters in the request aren't valid. /// /// /// The specified resource doesn't exist. /// /// REST API Reference for UpdateLedger Operation UpdateLedgerResponse UpdateLedger(UpdateLedgerRequest request); /// /// Initiates the asynchronous execution of the UpdateLedger operation. /// /// /// Container for the necessary parameters to execute the UpdateLedger operation on AmazonQLDBClient. /// An AsyncCallback delegate that is invoked when the operation completes. /// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property. /// /// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndUpdateLedger /// operation. /// REST API Reference for UpdateLedger Operation IAsyncResult BeginUpdateLedger(UpdateLedgerRequest request, AsyncCallback callback, object state); /// /// Finishes the asynchronous execution of the UpdateLedger operation. /// /// /// The IAsyncResult returned by the call to BeginUpdateLedger. /// /// Returns a UpdateLedgerResult from QLDB. /// REST API Reference for UpdateLedger Operation UpdateLedgerResponse EndUpdateLedger(IAsyncResult asyncResult); #endregion #region UpdateLedgerPermissionsMode /// /// Updates the permissions mode of a ledger. /// /// /// /// Before you switch to the STANDARD permissions mode, you must first create /// all required IAM policies and table tags to avoid disruption to your users. To learn /// more, see Migrating /// to the standard permissions mode in the Amazon QLDB Developer Guide. /// /// /// /// Container for the necessary parameters to execute the UpdateLedgerPermissionsMode service method. /// /// The response from the UpdateLedgerPermissionsMode service method, as returned by QLDB. /// /// One or more parameters in the request aren't valid. /// /// /// The specified resource doesn't exist. /// /// REST API Reference for UpdateLedgerPermissionsMode Operation UpdateLedgerPermissionsModeResponse UpdateLedgerPermissionsMode(UpdateLedgerPermissionsModeRequest request); /// /// Initiates the asynchronous execution of the UpdateLedgerPermissionsMode operation. /// /// /// Container for the necessary parameters to execute the UpdateLedgerPermissionsMode operation on AmazonQLDBClient. /// An AsyncCallback delegate that is invoked when the operation completes. /// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property. /// /// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndUpdateLedgerPermissionsMode /// operation. /// REST API Reference for UpdateLedgerPermissionsMode Operation IAsyncResult BeginUpdateLedgerPermissionsMode(UpdateLedgerPermissionsModeRequest request, AsyncCallback callback, object state); /// /// Finishes the asynchronous execution of the UpdateLedgerPermissionsMode operation. /// /// /// The IAsyncResult returned by the call to BeginUpdateLedgerPermissionsMode. /// /// Returns a UpdateLedgerPermissionsModeResult from QLDB. /// REST API Reference for UpdateLedgerPermissionsMode Operation UpdateLedgerPermissionsModeResponse EndUpdateLedgerPermissionsMode(IAsyncResult asyncResult); #endregion } }