Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
AWS pagination - naming of fields used for pagination
{
"shapes": {
"input_token=NextToken;limit_key=MaxResults;output_token=NextToken": 725,
"input_token=nextToken;limit_key=maxResults;output_token=nextToken": 305,
"input_token=Marker;limit_key=MaxRecords;output_token=Marker": 141,
"input_token=NextToken;limit_key=Limit;output_token=NextToken": 72,
"input_token=NextToken;output_token=NextToken": 68,
"input_token=nextToken;output_token=nextToken": 41,
"input_token=Marker;limit_key=MaxItems;more_results=IsTruncated;output_token=Marker": 27,
"input_token=nextToken;limit_key=limit;output_token=nextToken": 22,
"input_token=pageToken;output_token=nextPageToken": 20,
"input_token=Marker;limit_key=MaxItems;more_results=CloudFrontOriginAccessIdentityList.IsTruncated;output_token=CloudFrontOriginAccessIdentityList.NextMarker": 19,
"input_token=Marker;limit_key=MaxItems;more_results=DistributionList.IsTruncated;output_token=DistributionList.NextMarker": 19,
"input_token=Marker;limit_key=MaxItems;more_results=InvalidationList.IsTruncated;output_token=InvalidationList.NextMarker": 19,
"input_token=Marker;limit_key=MaxItems;more_results=StreamingDistributionList.IsTruncated;output_token=StreamingDistributionList.NextMarker": 19,
"input_token=Marker;limit_key=Limit;output_token=Marker": 18,
"input_token=position;limit_key=limit;output_token=position": 18,
"input_token=NextToken;limit_key=MaxRecords;output_token=NextToken": 16,
"input_token=NextMarker;limit_key=Limit;output_token=NextMarker": 15,
"input_token=PageToken;limit_key=PageSize;output_token=NextPageToken": 14,
"input_token=Marker;limit_key=MaxItems;output_token=NextMarker": 13,
"input_token=marker;limit_key=pageSize;output_token=nextMarker": 12,
"input_token=Marker;output_token=Marker": 10,
"input_token=Marker;limit_key=PageSize;output_token=NextMarker": 9,
"input_token=NextToken;limit_key=MaxItems;output_token=NextToken": 8,
"input_token=nextPageToken;limit_key=maximumPageSize;output_token=nextPageToken": 7,
"input_token=Marker;limit_key=MaxRecords;output_token=EngineDefaults.Marker": 6,
"input_token=NextToken;limit_key=PageSize;output_token=NextToken": 5,
"input_token=marker;limit_key=limit;output_token=Marker": 4,
"input_token=PageToken;output_token=NextPageToken": 4,
"input_token=Marker;limit_key=Limit;more_results=Truncated;output_token=NextMarker": 4,
"input_token=Marker;limit_key=MaxItems;output_token=NextPageMarker": 3,
"input_token=Marker;limit_key=MaxItems;more_results=IsTruncated;output_token=NextMarker": 2,
"input_token=Marker;limit_key=NumberOfLines;more_results=AdditionalDataPending;output_token=Marker": 2,
"input_token=ExclusiveStartKey;limit_key=Limit;output_token=LastEvaluatedKey": 2,
"input_token=marker;more_results=hasMoreResults;output_token=marker": 2,
"input_token=PageToken;limit_key=PageSize;output_token=PageToken": 2,
"input_token=PaginationToken;output_token=PaginationToken": 2,
"input_token=Marker;limit_key=Limit;output_token=NextMarker": 2,
"input_token=(array):StartRecordName,StartRecordType,StartRecordIdentifier;limit_key=MaxItems;more_results=IsTruncated;output_token=(array):NextRecordName,NextRecordType,NextRecordIdentifier": 1,
"input_token=ExclusiveStartBackupArn;limit_key=Limit;output_token=LastEvaluatedBackupArn": 1,
"input_token=ExclusiveStartTableName;limit_key=Limit;output_token=LastEvaluatedTableName": 1,
"input_token=marker;limit_key=limit;more_results=hasMoreResults;output_token=marker": 1,
"input_token=(array):KeyMarker,UploadIdMarker;limit_key=MaxUploads;more_results=IsTruncated;output_token=(array):NextKeyMarker,NextUploadIdMarker": 1,
"input_token=(array):KeyMarker,VersionIdMarker;limit_key=MaxKeys;more_results=IsTruncated;output_token=(array):NextKeyMarker,NextVersionIdMarker": 1,
"input_token=Marker;limit_key=MaxKeys;more_results=IsTruncated;output_token=NextMarker || Contents[-1].Key": 1,
"input_token=ContinuationToken;limit_key=MaxKeys;more_results=IsTruncated;output_token=NextContinuationToken": 1,
"input_token=PartNumberMarker;limit_key=MaxParts;more_results=IsTruncated;output_token=NextPartNumberMarker": 1,
"input_token=PaginationToken;limit_key=Limit;output_token=PaginationToken": 1,
"input_token=PaginationToken;limit_key=ResourcesPerPage;output_token=PaginationToken": 1,
"input_token=PaginationToken;limit_key=MaxResults;output_token=PaginationToken": 1,
"input_token=NextToken;limit_key=MaxRows;output_token=NextToken": 1,
"input_token=Marker;limit_key=MaxRecords;output_token=DefaultClusterParameters.Marker": 1,
"input_token=NextToken;limit_key=MaxNumberOfDomains;output_token=NextToken": 1,
"input_token=Marker;limit_key=MaxJobs;more_results=IsTruncated;output_token=Jobs[-1].JobId": 1,
"input_token=ExclusiveStartShardId;limit_key=Limit;more_results=StreamDescription.HasMoreShards;output_token=StreamDescription.Shards[-1].ShardId": 1,
"input_token=ExclusiveStartStreamName;limit_key=Limit;more_results=HasMoreStreams;output_token=StreamNames[-1]": 1,
"input_token=NextMarker;output_token=NextMarker": 1,
"input_token=NextToken;limit_key=MaxDatapoints;output_token=NextToken": 1
},
"keys": {
"input_token": {
"NextToken": 897,
"nextToken": 368,
"Marker": 316,
"pageToken": 20,
"PageToken": 20,
"marker": 19,
"position": 18,
"NextMarker": 16,
"nextPageToken": 7,
"PaginationToken": 5,
"ExclusiveStartKey": 2,
"(array):StartRecordName,StartRecordType,StartRecordIdentifier": 1,
"ExclusiveStartBackupArn": 1,
"ExclusiveStartTableName": 1,
"(array):KeyMarker,UploadIdMarker": 1,
"(array):KeyMarker,VersionIdMarker": 1,
"ContinuationToken": 1,
"PartNumberMarker": 1,
"ExclusiveStartShardId": 1,
"ExclusiveStartStreamName": 1
},
"limit_key": {
"MaxResults": 726,
"maxResults": 305,
"MaxRecords": 164,
"MaxItems": 130,
"Limit": 118,
"limit": 45,
"PageSize": 30,
"pageSize": 12,
"maximumPageSize": 7,
"MaxKeys": 3,
"NumberOfLines": 2,
"MaxUploads": 1,
"MaxParts": 1,
"ResourcesPerPage": 1,
"MaxRows": 1,
"MaxNumberOfDomains": 1,
"MaxJobs": 1,
"MaxDatapoints": 1
},
"output_token": {
"NextToken": 897,
"nextToken": 368,
"Marker": 202,
"NextMarker": 46,
"nextPageToken": 27,
"CloudFrontOriginAccessIdentityList.NextMarker": 19,
"DistributionList.NextMarker": 19,
"InvalidationList.NextMarker": 19,
"StreamingDistributionList.NextMarker": 19,
"NextPageToken": 18,
"position": 18,
"nextMarker": 12,
"EngineDefaults.Marker": 6,
"PaginationToken": 5,
"marker": 3,
"NextPageMarker": 3,
"LastEvaluatedKey": 2,
"PageToken": 2,
"(array):NextRecordName,NextRecordType,NextRecordIdentifier": 1,
"LastEvaluatedBackupArn": 1,
"LastEvaluatedTableName": 1,
"(array):NextKeyMarker,NextUploadIdMarker": 1,
"(array):NextKeyMarker,NextVersionIdMarker": 1,
"NextMarker || Contents[-1].Key": 1,
"NextContinuationToken": 1,
"NextPartNumberMarker": 1,
"DefaultClusterParameters.Marker": 1,
"Jobs[-1].JobId": 1,
"StreamDescription.Shards[-1].ShardId": 1,
"StreamNames[-1]": 1
},
"more_results": {
"IsTruncated": 36,
"CloudFrontOriginAccessIdentityList.IsTruncated": 19,
"DistributionList.IsTruncated": 19,
"InvalidationList.IsTruncated": 19,
"StreamingDistributionList.IsTruncated": 19,
"Truncated": 4,
"hasMoreResults": 3,
"AdditionalDataPending": 2,
"StreamDescription.HasMoreShards": 1,
"HasMoreStreams": 1
}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment