private PutItemRequest buildPutItemRequest(final TicketPayload payload) {
        val metadata = this.ticketCatalog.find(payload.getOriginalTicket());
        val values = buildTableAttributeValuesMapFromTicket(payload);
        LOGGER.debug("Building a put request for ticket id [{}] with attribute values [{}]", payload.getEncodedTicket().getId(), values);
        return PutItemRequest.builder().tableName(metadata.getProperties().getStorageName()).item(values).build();
    }
Gets entities with attributes.

@param tableName        the table name
@param filterExpression the filter expression
@param attributeNames   the attribute names
@param attributeValues  the attribute values
@return the entities with attributes
support/cas-server-support-dynamodb-ticket-registry/src/main/java/org/apereo/cas/ticket/registry/DynamoDbTicketRegistryFacilitator.java