Struct aws_sdk_cognitosync::client::fluent_builders::ListRecords [−][src]
pub struct ListRecords<C = DynConnector, M = AwsMiddleware, R = Standard> { /* fields omitted */ }
Expand description
Fluent builder constructing a request to ListRecords
.
Gets paginated records, optionally changed after a particular sync count for a dataset and identity. With Amazon Cognito Sync, each identity has access only to its own data. Thus, the credentials used to make this API call need to have access to the identity data.
ListRecords can be called with temporary user credentials provided by Cognito Identity or with developer credentials. You should use Cognito Identity credentials to make this API call.
{ “Operation”: “com.amazonaws.cognito.sync.model#ListRecords”, “Service”: “com.amazonaws.cognito.sync.model#AWSCognitoSyncService”, “Input”: { “IdentityPoolId”: “IDENTITY_POOL_ID”, “IdentityId”: “IDENTITY_ID”, “DatasetName”: “newDataSet” } }
{ “Output”: { “__type”: “com.amazonaws.cognito.sync.model#ListRecordsResponse”, “Count”: 0, “DatasetDeletedAfterRequestedSyncCount”: false, “DatasetExists”: false, “DatasetSyncCount”: 0, “LastModifiedBy”: null, “MergedDatasetNames”: null, “NextToken”: null, “Records”: [], “SyncSessionToken”: “SYNC_SESSION_TOKEN” }, “Version”: “1.0” }
Implementations
impl<C, M, R> ListRecords<C, M, R> where
C: SmithyConnector,
M: SmithyMiddleware<C>,
R: NewRequestPolicy,
impl<C, M, R> ListRecords<C, M, R> where
C: SmithyConnector,
M: SmithyMiddleware<C>,
R: NewRequestPolicy,
pub async fn send(self) -> Result<ListRecordsOutput, SdkError<ListRecordsError>> where
R::Policy: SmithyRetryPolicy<ListRecordsInputOperationOutputAlias, ListRecordsOutput, ListRecordsError, ListRecordsInputOperationRetryAlias>,
pub async fn send(self) -> Result<ListRecordsOutput, SdkError<ListRecordsError>> where
R::Policy: SmithyRetryPolicy<ListRecordsInputOperationOutputAlias, ListRecordsOutput, ListRecordsError, ListRecordsInputOperationRetryAlias>,
Sends the request and returns the response.
If an error occurs, an SdkError
will be returned with additional details that
can be matched against.
By default, any retryable failures will be retried twice. Retry behavior is configurable with the RetryConfig, which can be set when configuring the client.
A name-spaced GUID (for example, us-east-1:23EC4050-6AEA-7089-A2DD-08002EXAMPLE) created by Amazon Cognito. GUID generation is unique within a region.
A name-spaced GUID (for example, us-east-1:23EC4050-6AEA-7089-A2DD-08002EXAMPLE) created by Amazon Cognito. GUID generation is unique within a region.
A name-spaced GUID (for example, us-east-1:23EC4050-6AEA-7089-A2DD-08002EXAMPLE) created by Amazon Cognito. GUID generation is unique within a region.
A name-spaced GUID (for example, us-east-1:23EC4050-6AEA-7089-A2DD-08002EXAMPLE) created by Amazon Cognito. GUID generation is unique within a region.
A string of up to 128 characters. Allowed characters are a-z, A-Z, 0-9, ‘_’ (underscore), ‘-’ (dash), and ‘.’ (dot).
A string of up to 128 characters. Allowed characters are a-z, A-Z, 0-9, ‘_’ (underscore), ‘-’ (dash), and ‘.’ (dot).
The last server sync count for this record.
The last server sync count for this record.
A pagination token for obtaining the next page of results.
A pagination token for obtaining the next page of results.
The maximum number of results to be returned.
The maximum number of results to be returned.
A token containing a session ID, identity ID, and expiration.
A token containing a session ID, identity ID, and expiration.
Trait Implementations
Auto Trait Implementations
impl<C = DynConnector, M = AwsMiddleware, R = Standard> !RefUnwindSafe for ListRecords<C, M, R>
impl<C, M, R> Unpin for ListRecords<C, M, R>
impl<C = DynConnector, M = AwsMiddleware, R = Standard> !UnwindSafe for ListRecords<C, M, R>
Blanket Implementations
Mutably borrows from an owned value. Read more
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more