NAME

Paws::CognitoSync::ListRecords - Arguments for method ListRecords on Paws::CognitoSync

DESCRIPTION

This class represents the parameters used for calling the method ListRecords on the Amazon Cognito Sync service. Use the attributes of this class as arguments to method ListRecords.

You shouldn't make instances of this class. Each attribute should be used as a named argument in the call to ListRecords.

SYNOPSIS

my $cognito-sync = Paws->service('CognitoSync');
my $ListRecordsResponse = $cognito -sync->ListRecords(
  DatasetName      => 'MyDatasetName',
  IdentityId       => 'MyIdentityId',
  IdentityPoolId   => 'MyIdentityPoolId',
  LastSyncCount    => 1,                       # OPTIONAL
  MaxResults       => 1,                       # OPTIONAL
  NextToken        => 'MyString',              # OPTIONAL
  SyncSessionToken => 'MySyncSessionToken',    # OPTIONAL
);

# Results:
my $Count = $ListRecordsResponse->Count;
my $DatasetDeletedAfterRequestedSyncCount =
  $ListRecordsResponse->DatasetDeletedAfterRequestedSyncCount;
my $DatasetExists      = $ListRecordsResponse->DatasetExists;
my $DatasetSyncCount   = $ListRecordsResponse->DatasetSyncCount;
my $LastModifiedBy     = $ListRecordsResponse->LastModifiedBy;
my $MergedDatasetNames = $ListRecordsResponse->MergedDatasetNames;
my $NextToken          = $ListRecordsResponse->NextToken;
my $Records            = $ListRecordsResponse->Records;
my $SyncSessionToken   = $ListRecordsResponse->SyncSessionToken;

# Returns a L<Paws::CognitoSync::ListRecordsResponse> object.

Values for attributes that are native types (Int, String, Float, etc) can passed as-is (scalar values). Values for complex Types (objects) can be passed as a HashRef. The keys and values of the hashref will be used to instance the underlying object. For the AWS API documentation, see https://docs.aws.amazon.com/goto/WebAPI/cognito-sync/ListRecords

ATTRIBUTES

REQUIRED DatasetName => Str

A string of up to 128 characters. Allowed characters are a-z, A-Z, 0-9, '_' (underscore), '-' (dash), and '.' (dot).

REQUIRED IdentityId => Str

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.

REQUIRED IdentityPoolId => Str

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.

LastSyncCount => Int

The last server sync count for this record.

MaxResults => Int

The maximum number of results to be returned.

NextToken => Str

A pagination token for obtaining the next page of results.

SyncSessionToken => Str

A token containing a session ID, identity ID, and expiration.

SEE ALSO

This class forms part of Paws, documenting arguments for method ListRecords in Paws::CognitoSync

BUGS and CONTRIBUTIONS

The source code is located here: https://github.com/pplu/aws-sdk-perl

Please report bugs to: https://github.com/pplu/aws-sdk-perl/issues