public static ListIndexRequest getListIndexRequest(final String attributeName,
                                                       final String attributeValue,
                                                       final ObjectReference reference,
                                                       final AmazonCloudDirectoryProperties cloud) {
        val range = getObjectAttributeRanges(cloud.getSchemaArn(), cloud.getFacetName(),
            attributeName, attributeValue);

        return ListIndexRequest.builder()
            .directoryArn(cloud.getDirectoryArn())
            .indexReference(reference)
            .rangesOnIndexedValues(range)
            .build();
    }
Gets list index request.

@param attributeName  the attribute name
@param attributeValue the attribute value
@param reference      the reference
@param cloud          the cloud
@return the list index request
support/cas-server-support-cloud-directory-authentication/src/main/java/org/apereo/cas/clouddirectory/AmazonCloudDirectoryUtils.java