@Override
    public DescribeReplicationGroupsResult apply(DescribeReplicationGroupsRequest describeReplicationGroupsRequest) {
        return client.describeReplicationGroups(describeReplicationGroupsRequest);
    }
Makes a call to the operation specified by the waiter by taking the corresponding request and returns the
corresponding result

@param describeReplicationGroupsRequest
       Corresponding request for the operation
@return Corresponding result of the operation
aws-java-sdk-elasticache/src/main/java/com/amazonaws/services/elasticache/waiters/DescribeReplicationGroupsFunction.java