// 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.
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.
// 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 .
func (c *Client) ListRecords(ctx context.Context, params *ListRecordsInput, optFns ...func(*Options)) (*ListRecordsOutput, error) {
	if params == nil {
		params = &ListRecordsInput{}
	}
	result, metadata, err := c.invokeOperation(ctx, "ListRecords", params, optFns, addOperationListRecordsMiddlewares)
	if err != nil {
		return nil, err
	}
	out := result.(*ListRecordsOutput)
	out.ResultMetadata = metadata
	return out, nil
}
func ( c * Client ) ListRecords ( ctx context . Context , params * ListRecordsInput , optFns ... func ( * Options ) ) ( * ListRecordsOutput , error ) { if params == nil { params = & ListRecordsInput { } } result , metadata , err := c . invokeOperation ( ctx , " " , params , optFns , addOperationListRecordsMiddlewares ) if err != nil { return nil , err } out := result . ( * ListRecordsOutput ) out . ResultMetadata = metadata return out , nil }
Gets paginated records, optionally changed after a particular sync count for a
dataset and identity.
Gets paginated records optionally changed after a particular sync count for a dataset and identity .