Метод | Описание | |
---|---|---|
BeginDeleteDataset ( string datasetName, AsyncCallback callback, object state ) : IAsyncResult |
Initiates the asynchronous execution of the DeleteDataset operation.
|
|
BeginGetDatasetMetadata ( string datasetName, AsyncCallback callback, object state ) : IAsyncResult |
Initiates the asynchronous execution of the GetDatasetMetadata operation.
|
|
BeginListDatasetMetadata ( AsyncCallback callback, object state ) : IAsyncResult |
Initiates the asynchronous execution of the ListDatasetMetadata operation.
|
|
BeginListUpdates ( string datasetName, long lastSyncCount, AsyncCallback callback, object state ) : IAsyncResult |
Initiates the asynchronous execution of the ListUpdates operation.
|
|
BeginPutRecords ( string datasetName, List |
Initiates the asynchronous execution of the PutRecords operation.
|
|
DeleteDataset ( string datasetName ) : void |
Deletes a dataset.
|
|
DeleteDatasetAsync ( string datasetName, CancellationToken cancellationToken ) : Task |
Deletes a dataset.
|
|
EndDeleteDataset ( IAsyncResult asyncResult ) : void |
Finishes the asynchronous execution of the DeleteDataset operation.
|
|
EndGetDatasetMetadata ( IAsyncResult asyncResult ) : DatasetMetadata |
Finishes the asynchronous execution of the GetDatasetMetadata operation.
|
|
EndListDatasetMetadata ( IAsyncResult asyncResult ) : List |
Finishes the asynchronous execution of the ListDatasetMetadata operation.
|
|
EndListUpdates ( IAsyncResult asyncResult ) : DatasetUpdates |
Finishes the asynchronous execution of the ListUpdates operation.
|
|
EndPutRecords ( IAsyncResult asyncResult ) : List |
Finishes the asynchronous execution of the PutRecords operation.
|
|
GetDatasetMetadata ( string datasetName ) : DatasetMetadata |
Retrieves the metadata of a dataset.
|
|
GetDatasetMetadataAsync ( string datasetName, CancellationToken cancellationToken ) : Task |
Retrieves the metadata of a dataset.
|
|
ListDatasetMetadata ( ) : List |
Gets a list of DatasetMetadata
|
|
ListDatasetMetadataAsync ( CancellationToken cancellationToken ) : Task
|
Gets a list of DatasetMetadata
|
|
ListUpdates ( string datasetName, long lastSyncCount ) : DatasetUpdates |
Gets a list of records which have been updated since lastSyncCount (inclusive). If the value of a record equals null, then the record is deleted. If you pass 0 as lastSyncCount, the full list of records will be returned.
|
|
ListUpdatesAsync ( string datasetName, long lastSyncCount, CancellationToken cancellationToken ) : Task |
Gets a list of records which have been updated since lastSyncCount (inclusive). If the value of a record equals null, then the record is deleted. If you pass 0 as lastSyncCount, the full list of records will be returned.
|
|
PutRecords ( string datasetName, List |
Post updates to remote storage. Each record has a sync count. If the sync count doesn't match what's on the remote storage, i.e. the record is modified by a different device, this operation throws ConflictException. Otherwise it returns a list of records that are updated successfully.
|
|
PutRecordsAsync ( string datasetName, List
|
Post updates to remote storage. Each record has a sync count. If the sync count doesn't match what's on the remote storage, i.e. the record is modified by a different device, this operation throws ConflictException. Otherwise it returns a list of records that are updated successfully.
|
Метод | Описание | |
---|---|---|
ExtractRecords ( Amazon.CognitoSync.Model.UpdateRecordsResponse response ) : List |
||
PopulateListDatasetMetadata ( string nextToken, List |
||
PopulateListDatasetMetadata ( string nextToken, List
|
||
PopulateListUpdates ( string datasetName, long lastSyncCount, List |
||
PopulateListUpdatesAsync ( string datasetName, long lastSyncCount, List |
||
PrepareDeleteDatasetRequest ( string datasetName ) : DeleteDatasetRequest | ||
PrepareDescribeDatasetRequest ( string datasetName ) : DescribeDatasetRequest | ||
PrepareListDatasetsRequest ( ) : ListDatasetsRequest | ||
PrepareListRecordsRequest ( string datasetName, long lastSyncCount ) : ListRecordsRequest | ||
PrepareUpdateRecordsRequest ( string datasetName, List |
public BeginDeleteDataset ( string datasetName, AsyncCallback callback, object state ) : IAsyncResult | ||
datasetName | string | Dataset name. |
callback | AsyncCallback | An AsyncCallback delegate that is invoked when the operation completes. |
state | object | A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property. |
Результат | IAsyncResult |
public BeginGetDatasetMetadata ( string datasetName, AsyncCallback callback, object state ) : IAsyncResult | ||
datasetName | string | Dataset name. |
callback | AsyncCallback | An AsyncCallback delegate that is invoked when the operation completes. |
state | object | A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property. |
Результат | IAsyncResult |
public BeginListDatasetMetadata ( AsyncCallback callback, object state ) : IAsyncResult | ||
callback | AsyncCallback | An AsyncCallback delegate that is invoked when the operation completes. |
state | object | A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property. |
Результат | IAsyncResult |
public BeginListUpdates ( string datasetName, long lastSyncCount, AsyncCallback callback, object state ) : IAsyncResult | ||
datasetName | string | Dataset name. |
lastSyncCount | long | Last sync count. |
callback | AsyncCallback | An AsyncCallback delegate that is invoked when the operation completes. |
state | object | A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property. |
Результат | IAsyncResult |
public BeginPutRecords ( string datasetName, List |
||
datasetName | string | Dataset name. |
records | List |
Records. |
syncSessionToken | string | Sync session token. |
callback | AsyncCallback | An AsyncCallback delegate that is invoked when the operation completes. |
state | object | A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property. |
Результат | IAsyncResult |
public DeleteDataset ( string datasetName ) : void | ||
datasetName | string | Dataset name. |
Результат | void |
public DeleteDatasetAsync ( string datasetName, CancellationToken cancellationToken ) : Task | ||
datasetName | string | Dataset name. |
cancellationToken | CancellationToken | /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// |
Результат | Task |
public EndDeleteDataset ( IAsyncResult asyncResult ) : void | ||
asyncResult | IAsyncResult | The IAsyncResult returned by the call to BeginDeleteDataset. |
Результат | void |
public EndGetDatasetMetadata ( IAsyncResult asyncResult ) : DatasetMetadata | ||
asyncResult | IAsyncResult | The IAsyncResult returned by the call to BeginGetDatasetMetadata. |
Результат | DatasetMetadata |
public EndListDatasetMetadata ( IAsyncResult asyncResult ) : List |
||
asyncResult | IAsyncResult | The IAsyncResult returned by the call to BeginListDatasetMetadata. |
Результат | List |
public EndListUpdates ( IAsyncResult asyncResult ) : DatasetUpdates | ||
asyncResult | IAsyncResult | The IAsyncResult returned by the call to BeginListUpdates. |
Результат | DatasetUpdates |
public EndPutRecords ( IAsyncResult asyncResult ) : List |
||
asyncResult | IAsyncResult | The IAsyncResult returned by the call to BeginPutRecords. |
Результат | List |
public GetDatasetMetadata ( string datasetName ) : DatasetMetadata | ||
datasetName | string | Dataset name. |
Результат | DatasetMetadata |
public GetDatasetMetadataAsync ( string datasetName, CancellationToken cancellationToken ) : Task |
||
datasetName | string | Dataset name. |
cancellationToken | CancellationToken | /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// |
Результат | Task |
public ListDatasetMetadataAsync ( CancellationToken cancellationToken ) : Task
|
||
cancellationToken | CancellationToken | /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// |
Результат | Task
|
public ListUpdates ( string datasetName, long lastSyncCount ) : DatasetUpdates | ||
datasetName | string | Dataset name. |
lastSyncCount | long | Last sync count. |
Результат | DatasetUpdates |
public ListUpdatesAsync ( string datasetName, long lastSyncCount, CancellationToken cancellationToken ) : Task |
||
datasetName | string | Dataset name. |
lastSyncCount | long | Last sync count. |
cancellationToken | CancellationToken | /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// |
Результат | Task |
public PutRecords ( string datasetName, List |
||
datasetName | string | Dataset name. |
records | List |
Records. |
syncSessionToken | string | Sync session token. |
Результат | List |
public PutRecordsAsync ( string datasetName, List
|
||
datasetName | string | Dataset name. |
records | List |
Records. |
syncSessionToken | string | Sync session token. |
cancellationToken | CancellationToken | /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// |
Результат | Task
|